[ROM] [RECOVERY] TWRP RECOVERY AND PORTED LOS16 FOR ALCATEL IDEALXTRA 5059r - Miscellaneous Android Development

UPDATE:
As i don't have much time, here is the link to our Alcatel tetra and ideal xtra development and support group on telegram.
ALL THE FILES THAT USED TO BE LINKED HERE ARE AVAILABLE AT THE MENTIONED TELEGRAM GROUP
https://t.me/Android_General_Chat
Any questions for myself need go there.
Thanks.
LgPWNd
Ok so I am here today to give you a TWRP recovery and A Liniage OS 16 Rom ported from a GSI.
And a quick how to on setting it all up..
DISCLAIMER:
I Am In No WAY responsible for ANYTHING YOU choose to do to your phone.
If you use this and your Dog eats your Cat, Your phone catches fire and burns down your house, or you loose all your game-saves pictures and other files it's NOT MY FAULT.
THIS WILL WIPE YOUR DATA AND FORMAT YOUR PHONE!!!
YOU'VE BEEN WARNED
MY FASTBOOT DOESN"T WORK !
See-This:
Just grab this package I made for @Sloogle_Flugelmann
https://drive.google.com/open?id=1CiGKCPGBJAPvl8R3_24kvdvrQB5V3abI
So requirements are :
#1: Willingness to format your phone and loose all apps and data.{MAKE A BACK-UP}
#2: ADB and Fastboot working on your PC.
#3: The Files I Will Link to or attach .
# Some Time to work on it, and half a Brain
There will be Two methods to accomplish basically the same thing,
Method 1 gives you the long way and it leaves you with the bare basic LOS 16 installed no root no gapps...
on the other hand Method 2 will leave you with LOS 16 and My favorite version of the pixil launcher and stock Gapps included and basically everything working.
METHOD 1-THE LONG ROAD:
STEP 1:
download the package that I will upload for everyone...
STEP 2:
Unlock your bootloader.... there may be multiple ways to do so but for me I enabled usb debugging and OEM unlocking in developers options {if you don't know how to do that you should run far away now !} then I gave the command
Code:
adb reboot bootloader
and this takes you to fastboot mode...
once there issue the following command to unlock your bootloader AND factory-reset the phone
Code:
fastboot oem unlock
then
Code:
fastboot reboot
Now your bootloader is unlocked and your device has been wiped in the process...
so let it boot up then go through the setup wizard and I just skip through everything as we will be wiping it once again in a minute... and just need to get to developer options and re-enable adb...
so do that...
STEP 3: Now that your bootloader is unlocked comes the fun stuff...
Firstly you need an SD-card with at least 4-6 GB free space and before continuing we want to move our LOS-16 System.img to our sd-card so we can install it from TWRP so once that's on the root of Sd-card's storage continue with this guide....
we need to disable DM-Varity to use twrp so we flash a magisk-patched-boot.img
so move the files Patched_boot.img AND twrp_alcatel_5059r_v3-2-3.img to a folder on desktop and open a command prompt /terminal/powershell-window at the file's location.. then issue this command to the phone .
Code:
adb reboot bootloader
and once again we are in fastboot mode.
now we want to use fastboot to replace the stock boot image and stock recovery with our patched boot image and twrp recovery image..
Code:
fastboot flash boot patched_boot.img
then
Code:
fastboot flash recovery twrp_alcatel_5059r_v3-2-3.img
after this we want to reboot to recovery using the hardware keys. because if we don't the stock system will erase our twrp and replace it with stock recovery on boot.
so we do
Code:
fastboot reboot
and soon as you press enter on your keyboard grab the phone and continually hold down the volume-up key and hold the power key .
once you see the alcatel logo and message about unlocked bootloader, you quickly release ONLY the power key for a second then repress and hold it for a count of 5 seconds. then release the power key again and quickly repress it for another 5 seconds and keep doing that for a moment until the screen flashes white then displays the TWRP splash screen.
once we are in twrp it'll ask for the encryption password...
WE DONT HAVE ONE , So just hit Cancel
then it'll ask about system modifications and whatnot,
just swipe to allow modifications.
now we want to head to Wipe > Advanced-Wipe > Format Data
you'll have to type in
Code:
yes
and let it do it's thing.
once done with that we need to reboot to recovery so click the back arrow several times until you are back at twrp's min screen.
head over to Reboot>Recovery
the phone should reboot right back to twrp, you shouldn't see the encryption password screen this time as we formatted DATA.
so now swipe to allow modifications and head back to
Wipe>Advanced-Wipe and check the boxes for system,dalvik-cache,cache,data....
then swipe to wipe them.
then you want to hit the back arrow again till at the main twrp screen again.
Head to Install click on select storage, choose your Sd-card
Click on install zip to change it to install image.
select the LOS image we moved to the Sd-card prieviously,
click on System as the install location.
and finally swipe to flash it.
let it do it's thing.
once completed you will want to click the back arrow again until main twrp screen and reboot to recovery once more....
now once in recovery again you swipe to allow modifications and need to replace the GSI's build.prop file with the one I am including in the zip.
I used adb to accomplish this...
on your PC move the included build.prop file to your working directory{folder your working out of}
and use the terminal/command prompt/powershell to give the following commands
Code:
adb devices
you should see the device identified by serial number and the word recovery next to it
then
Code:
adb shell
you should have a root shell on the device,
Code:
rm -rf /system/build.prop
then
Code:
exit
now your back to pc terminal so type:
Code:
adb push build.prop /system/build.prop
Code:
adb shell
back to root shell
Code:
chmod 0644 /system/build.prop
and then
Code:
reboot now
at this point your phone should reboot and everything was done correctly it'll go past the alcatel logo and bootlock message and then display the LOS 16 boot animation then it'll show a funny looking screen that has an android guy and the message " Please wait while your device is being encrypted"
it'll have a progress counter and when the count-down reacheds zero it'll just hang there....
that's ok, hold the power key until the phone reboots and you should get the los bootanimation followed by the LOS setup wizard start screen.
and you go through the set-up wizard and you'll be in LOS 16 PIE
Now if you want google apps to work there's a few more steps and they will be the same for both method 1 and method 2
if you flash gapps after rebooting from that you'll get a million messages about google play services and google apps crashing ... it's ok
you need to enable usb debugging in the LOS 16 and then sideload the apk ( Device+ID.apk )
Code:
adb sideload "Device+ID.apk"
once installed
open it to get the GSF registration number for your device.
then if you open the play store you'll be greeted by the google DEVICE UNCERTIFIED page...
Don't fret , this is why we fixed the build.prop to reflect our devices orig. build fingerprint...
So scroll down to the bottom of that page and see the last option about Custom Roms
there is a link there... long press that link and choose open in browser
you'll be greeted by the registration page for google...
make sure you are signed into google through your browser...( <---VERY IMPORTANT ) by opening another page to google gmail or the like and signing in with your google account.
then go back to the registration page and hit refresh ...
now it should recognize you by your gmail account in the top right corner i think.
anyhow... go to that ( Device+ID.apk ) that we sideloaded and click on the second set of numbers down the list it should mention (GSF) and choose copy . it'll copy the numbers to your clipboard.
now go back to the browser page from google about registration and paste the copied number into the place next to the (Register) button and then click the register button
it should then list your id converted to decimal on the page...
I did this several times from my PC and got no where but after doing it from the phone it's self a couple minutes later i clicked on one of the error messages about google play services and wholy-krap it finnally let me open google-play-store.
at this point your ready to go....
for an informative article with pictures about this check here:
https://www.xda-developers.com/how-to-fix-device-not-certified-by-google-error/
Now for Method 2
method two involves all the same steps as method 1 up until you get to TWRP... except that instead of moving the LOS16 system.img to your Sdcard before begining you'll want to extract the alcatel-idelXTRA-5059r-LOS16-modded-2019-05-23.zip I've included and move that whole folder to the sdcard...then
go back and read method 1 and once you are booted into twrp for the first time STOP and come back here to Method 2
Now once you get to twrp the first time the first thing to do is click cancel on the encryption screen then swipe to allow modifications on the next screen. then once at the main twrp screen we need to make a back-up that we will likely never use...
so go to Backup>choose storage (micro sd-card) and then make a back-up, Name the back-up My-Backup so that you can easily find it later. to save space and time I'd recommend backing up just the boot partition.
that'll complete quickly...
now for the weird work-around/Dirty-Hack stuff
you should have the contents of alcatel-idelXTRA-5059r-LOS16-modded-2019-05-23.zip a folder called (alcatel-idelXTRA-5059r-LOS16-modded-2019-05-23) on the root of your sd-card's storage...
and we just made our first back-up from twrp of our boot partition.
so from the main twrp screen we go to Advanced>File-manageer>external_sd we should find a folder labeled(TWRP)
inside that should be a folder labled (BACKUPS) and inside that should be yet one more folder with your device's serial or android ID as the label mine is (49NJ6TORP****VRG) your's may read differently. and finally inside That folder you should find the back-up you previously made (My-Backup) if you followed my instructions.
now we need to go back to the root of our sd-card's storage by clicking (up a level) several times and then click on the folder i had you move there earlier (alcatel-idelXTRA-5059r-LOS16-modded-2019-05-23) and once you click it you'll see files inside look down to the right hand corner in twrp
you should see a little blue folder button with a check-mark , Click that button
then it'll show you options....
click (Move) button then click (up a level) it'll look like it took you all the way back to the beginning top level of file manager, now we navigate to where we want the folder Moved to, so click external_sd > TWRP>BACKUPS>49NJ6TORP****VRG"or what-ever it named your device" > and when you see your (My-Backup) folder STOP... now click the folder button bottom right again, and you're presented with a screen saying moving blah blah blah : to : blah blah blah...
just swipe to move it there.
once you've done that click the back arrow to leave file manager and back out to the main twrp screen again...
Now click Restore>select storage> Micro Sdcard >ok and you should see two things to choose from...
(My-Backup) " the one you created earlier "
and
(alcatel-idelXTRA-5059r-LOS16-modded-2019-05-23)
obviously choose the second one (alcatel-idelXTRA-5059r-LOS16-modded-2019-05-23)
it'll ask you which partitons to restore
make sure ALL of the available boxes are checked should be boot, recovery, cache, and system
then swipe to restore...
after that's done we want to make sure we don't have any issues so back out to the main twrp screen
go to Wipe>Advanced Wipe and choose Dalvik/art Cache and also Cache and Data
swipe to wipe.
then back out once more and goto Wipe>Format Data and type yes and click the blue check mark on the keyboard to continue
after formating data
back out to main twrp screen and go to Reboot>System and if prompted choose NOT to install TWRP app
it wont work for you any way.
it should now reboot and do the please wait while encrypting your device thing again ...
after it counts down to zero it'll hang so just hold down the power button until it reboots and you'll get los boot animation followed by Los setup wizard.
go ahead and setup your device once completed the setup wizard you'll want to follow the part at the end of Method 1 above to get google apps and playstore working.....
then you're Done.
enjoy
NOTE with method two you'll also have a modified /system/etc/hosts file so you'll basically have ad malware and porn protection too. if you don't want that you can replace the content of your hosts file with
Code:
127.0.0.1 localhost
::1 localhost
from twrp etc.
if you like what I've done and want to motivate me to do even more please click thanks and consider a small donation of the price of a coffee or stout Beer
AIO-Package = https://drive.google.com/open?id=14fXqm4fjHtNJ8gm9M2SUdybuFAbIyHjJ
EDIT Somehow forgot to add the magisk patched boot.img to the file
will upload separately later
EDIT: 2
here's the zip with patched_boot.img
UNZIP IT
https://drive.google.com/file/d/1R8Sar9yx6mI7by02v83uEprmBOc7_9I1/view?usp=sharing
Edit 3:
Alternate "Better" recovery. !
there are two other recovery ports and I'd recommend either of them over this TWRP.
That being said, if you use method 2 to restore my back-up above...
Please do so with the twrp linked here as thats what made the back-up.
Here's The link to other better recoverys...
keep digging for it
almost there..
.
Link: https://forum.xda-developers.com/android/development/recovery-pitchblack-redwolf-recoverys-t3947609
EDIT 4:
Making Magisk Just WORK Dammit!
So here is something Nice, We now can have Magisk root on any Pie GSI's by flashing this zip-file .
NOTE TO THREAD HOPPERZ:
THIS IS INTENDED ONLY FOR THIS DEVICE.
IT WILL LIKELY WORK ALSO ON THE ALCATEL TETRA SINCE THE FILES AND PATH ARE THE SAME
DO NOT FLASH THIS TO ANYTHING ELSE!!!
Credit for this go's to a guy who figured out the lib file was missing in most gsi images,
My-self for putting it all together in a flashable zip.
and to @TheExploitedOne for his help fixing error 6 on my updater script and blindly flashing it first
The-Good-Stuff: https://drive.google.com/open?id=1qgZJyEOfVuN7POv_YKAunm-62oNRFhUb

Credit where it's due:
 @Sloogle_Flugelmann and @riskybusiness
for the thread located:
https://forum.xda-developers.com/android/help/alcatel-idealxtra-5059r-root-t3885536
Which got me thinking....
also 
 @Andy Yan for building the GSI that I used to port this
 @phhusson for all the work on treble and GSI'S that made this possible
 @topjohnwu for magisk
and Alcatel / TCL for making it easy this time.

Ok so I found a way to disable forced encryption.
allowing TWRP to use our /Data partition again Yeay!!!
So here's how to do it...
Download the attached file from this post....
put it on your desktop or what ever folder your working out of...
Extract IT and find fstab.mt6739
open your terminal/CMD window and then boot to TWRP.
once in TWRP go ahead and go to Mounts>vendor
and make sure /vendor partition is mounted...
then go back to the pc and type...
Code:
adb shell rm -rf /vendor/etc/fstab.mt6739
Code:
adb push fstab.mt6739 /vendor/etc/fstab.mt6739
Code:
adb shell chmod 0644 /vendor/etc/fstab.mt6739
now go back over to fone, and in twrp back out to main screen and then go to wipe>format Data >type yes
let it do that....
once finished go ahead and reboot to android system
It'll boot up and takes a few minutes to go through the whole set-up wizard again.
but this time you will NOT see the darn little Encrypting the Krap out of android screen...
PROFIT !!!!!
Method 2:
NO PC NEEDED
Download attached file , EXTRACT IT , move fstab.mt6739 to your external sd card....
reboot to twrp,
in twrp at main screen go to
Mount>vendor and make sure /vendor is mounted, and mount> Micro SD Card make sure you have sdcard mounted...
then hit back arrow.
from main screen go to Advanced > File Manager > vendor > etc > fstab.mt6739
click the file and then click Delete
now scroll back to top (Up A Level) > (Up A Level) > external_sd
now look for the file you downloaded with the name fstab.mt6739
click on it then click Move
then once again vendor > etc
now click the little blue folder icon bottom right corner
It'll say,
Moving
Blahblahblah
to
Blahblahblah
just swipe to confirm
after that hit Back
now to fix the permissions
(up a level) > vendor > etc > click on fstab.mt6739
click on chmod
it'll show
Permissions
0000
go ahead and delete the zeros and then type 0644
then hit the checkmark to complete action (bottom right corner)
once done just hit back back back...
till main twrp screen
now to format data to remove the encryption...
back out to main screen and then go to wipe>format Data >type yes
let it do that....
once finished go ahead and reboot to android system
It'll boot up and takes a few minutes to go through the whole set-up wizard again.
but this time you will NOT see the darn little Encrypting the Krap out of android screen...
PROFIT !!!!!
If this helped you, please consider the thanks button....
If this saved your day maybe you'd like to buy me a cup of coffee?
ENJOY

Network unlock package available now
Ok so I have found a way to network unlock the fone but developing it has cost me nearly $80
I am considering sharing a restore package that you can use to restore a back-up from twrp to get your fone Unlocked for any GSM carrier...
But as I have seen NO ONE post in this thread yet, I'll save it...
I may even make it a gift for anyone who donates anything more than $3 to me for my time effort and expenses in developing all this stuff.
if anyone's interested either hit thanks and post about your interest here...
or shoot me a private message...

Got it fully rooted
I got the los 16 pie gsi rooted through a long combination of dirty hacks that in the end allows the official los 16 addonsu to work correctly.
Don't know if ill ever get around to sharing exact details but I will upload a rooted los 16 rom here very soon
will work on that getting that rooted system.img uploaded sometime this week hopefully

Alcatel Da And Auth Files
I scoured the net and finally took apart another program to get these but here's the AUTH & DA files for this device....
also going to add an archive containing all ALCATEL DA and AUTH files I have now....
of course it seems I'm the only one interested in this device...
so probably no one will ever think to look here for them...
but if you do , And if this helps in any way....
Don't forget to click thanks button

Come a long way on this device...
Too bad no one else seems interested ?

Fastboot mode is disabled on mine. adb reboot bootloader just restarts mine.

I have a fix for you
Sloogle_Flugelmann said:
Fastboot mode is disabled on mine. adb reboot bootloader just restarts mine.
Click to expand...
Click to collapse
I'll load up a lk.bin that you can flash using root and DD.
I'll include a ReadMe with exact instructions.
For temp root to flash the lk.bin you're gonna want to use mtk-su
I'll include everything needed in a zip and load it up here.
May take me a little bit since I'm hanging with the family for 4th.
Happy 4th of July

Sloogle_Flugelmann said:
Fastboot mode is disabled on mine. adb reboot bootloader just restarts mine.
Click to expand...
Click to collapse
@Sloogle_Flugelmann
Thanks for bringing that to my attention,
I been so busy developing for the tetra lately because no one seemed interested here.
If you go back and re-read OP,
I've added a fastboot fix zip with everything needed and instructions
the zip is for a windows user ,
for linux just replace the ./adb.exe with adb
in the commands issued to pc
Let me know if you need help.

LgPWN'd said:
@Sloogle_Flugelmann
Thanks for bringing that to my attention,
I been so busy developing for the tetra lately because no one seemed interested here.
If you go back and re-read OP,
I've added a fastboot fix zip with everything needed and instructions
the zip is for a windows user ,
for linux just replace the ./adb.exe with adb
in the commands issued to pc
Let me know if you need help.
Click to expand...
Click to collapse
Awesome! Thank you. Yeah I just got this phone as a secondary/backup phone and assumed nobody would even be interested in doing anything with this phone. Was kinda surprised to see any progress.
Also, I recommend using Wordpad because Notepad made it one long line of text

Regardless of what or how many times I try, I always end up on a stuck boot screen with circle crossing the screen on the LOS16 rom.

Sloogle_Flugelmann said:
Regardless of what or how many times I try, I always end up on a stuck boot screen with circle crossing the screen on the LOS16 rom.
Click to expand...
Click to collapse
It take a while to boot up
Did u try the backup/restore method?
It always takes mine a bit to boot up.

LgPWN'd said:
@Sloogle_Flugelmann
Thanks for bringing that to my attention,
I been so busy developing for the tetra lately because no one seemed interested here.
If you go back and re-read OP,
I've added a fastboot fix zip with everything needed and instructions
the zip is for a windows user ,
for linux just replace the ./adb.exe with adb
in the commands issued to pc
Let me know if you need help.
Click to expand...
Click to collapse
Can you patch fastboot in my Alcatel A7 XL?? Please, it's disabled...
I can use mtk-su since is arm64 MT6750.
Here is the lk.bin:
https://drive.google.com/file/d/1-ATD4aw5tQZHSWpvcM70qhdAcOYGCXKM/view?usp=drivesdk

Rortiz2;798[INDENT said:
[/INDENT]49897]Can you patch fastboot in my Alcatel A7 XL?? Please, it's disabled...
I can use mtk-su since is arm64 MT6750.
Here is the lk.bin:
https://drive.google.com/file/d/1-ATD4aw5tQZHSWpvcM70qhdAcOYGCXKM/view?usp=drivesdk
Click to expand...
Click to collapse
The issue will be this:
If I modify that in any way and you flash it
You will have a brick .
You can only flash modded images after you unlock the bootloader.
Best advice is to look for older or other copies of firmware from the manufacturer and hopefully one of those will allow you to get fastboot.
Anything not signed by manufacturer will brick u .

LgPWN'd said:
The issue will be this:
If I modify that in any way and you flash it
You will have a brick .
You can only flash modded images after you unlock the bootloader.
Best advice is to look for older or other copies of firmware from the manufacturer and hopefully one of those will allow you to get fastboot.
Anything not signed by manufacturer will brick u .
Click to expand...
Click to collapse
Ugh, so it will enter in a red state and it will refuse to boot...
So there's no any way?
PS: I can't find stock FW in any site...

LgPWN'd said:
@Sloogle_Flugelmann
Thanks for bringing that to my attention,
I been so busy developing for the tetra lately because no one seemed interested here.
If you go back and re-read OP,
I've added a fastboot fix zip with everything needed and instructions
the zip is for a windows user ,
for linux just replace the ./adb.exe with adb
in the commands issued to pc
Let me know if you need help.
Click to expand...
Click to collapse
LgPWN'd said:
It take a while to boot up
Did u try the backup/restore method?
It always takes mine a bit to boot up.
Click to expand...
Click to collapse
I left it for over 30 mins. I'll try the backup/restore method tonight.
UPDATE: The backup/restore method worked and I was able to get it booted. Thank you so much! This is awesome

What would u like to see for it next?
Sloogle_Flugelmann said:
Awesome! Thank you. Yeah I just got this phone as a secondary/backup phone and assumed nobody would even be interested in doing anything with this phone. Was kinda surprised to see any progress.
Also, I recommend using Wordpad because Notepad made it one long line of text
Click to expand...
Click to collapse
Ive got several other recoveries for it.
Going to start work on several other device specific
System images for it.
Open for suggestions

I've been intrested a while now!
NOTE: I do have fastboot now from your package
Are you able to upload a copy of the unlocked bootloader images? I currently can't use fastboot because it requires USB 2.0 rather than 3.0 (which is bs in my opinion). I just plan to flash the images and unlock without the data wipe. Thank you again for your work sir!!!!

You'll have to use fastboot to unlock bootloader.
TheExploitedOne said:
I've been intrested a while now!
NOTE: I do have fastboot now from your package
Are you able to upload a copy of the unlocked bootloader images? I currently can't use fastboot because it requires USB 2.0 rather than 3.0 (which is bs in my opinion). I just plan to flash the images and unlock without the data wipe. Thank you again for your work sir!!!!
Click to expand...
Click to collapse
No way around fastboot oem unlock....
But.
I've done it from another Android with a usbotg cable between the two

Related

[Root] lenovo k4 note running on marshmallow (6.0) official rom

This procedure has been tested on LENOVO K4 NOTE MARSHMALLOW (S219) and it worked perfectly fine.
i posted this thread since the previous procedures only covers rooting prior to S218.
verified working on s219
DISCLAIMER:
I JUST FOLLOWED THE PROCEDURE PROVIDED BY "AYAN CHOUDHURY" ON YOUTUBE CHANNEL SO CREDIT GOES TO HIM.
IF SO HAPPENED THE PROCEDURE WAS MADE BY ANOTHER DEV AND WASN'T QUOTED PROPERLY BY MR. AYAN COUDHURY. MY APOLOGIES AND GIVE CREDIT TO THE ORIGINAL OWNER OF THE PROCEDURE
I WON'T BE RESPONSIBLE FOR ANY DAMAGE, SOFT BRICK, HARD BRICK, AND OTHER INSTANCES FOR YOUR DEVICES AS IT WORKED PERFECTLY FOR ME 3-4X BEFORE POSTING THIS THREAD.
original vid: https://www.youtube.com/watch?v=fPx8QWnYLNo
Before we start:
Here is the details of my handset
Model: Lenovo K4 note (PH) [MTK MT6753 8CORE 1.3GHZ 3.00GB RAM]
Model #: A7010a48
OSv: marshmallow 6.0
Android security patch level: April 1, 2016
Kernel ver: 3.18.19+ [email protected] #1, su jun12 18:27:10 CST 2016
Build number: A7010a48_S218_160612_ROW
Step 1:
download all necessary files.
all files and links are not mine and credit goes to the owner of the files
adb tools : https://drive.google.com/open?id=0B16daNyhWTx1djhqSkJ6QkFKaUk...
recovery(i.e TWRP) : https://drive.google.com/open?id=0B16daNyhWTx1RlB0U01sUkVHMjg...
aroma file manager: https://drive.google.com/open?id=0B16daNyhWTx1TmJqRmxIUUI3YUU...
Super Su : https://drive.google.com/open?id=0B16daNyhWTx1V2ZobTI0RVpKQ1E...
xposed installer : https://drive.google.com/open?id=0B16daNyhWTx1N2RDc2Y4TzlWaWM...
xposed framework : https://drive.google.com/open?id=0B16daNyhWTx1QmlRTHhXOUMydDQ...
step 2:
a. back up any necessary files from your handset.
b. since some computers doesn't show your lenovo k4 note while on recovery mode, it is imperative to put aroma file manager and supersu on your sd card. "do not extract. just copy them as it is"
take note that the next step will definitely hard reset your device.
step 3:
a. enable developer option on your handset. go to system settings/about and click build 7x or as it says "you are now a developer"
b. go to developer option do this two things
enable oem unlock
allow usb debugging
c. once you are done please connect your device to your laptop
step 4:
a. run adb server (go to adb folder, shift+right mouse click and choose open command window here.
b. it will prompt you to allow your pc to connect/control your devices just click YES
c. on your command window, type ADB DEVICES (it will detect your lenovo k4 note)
d. once detected type ADB REBOOT-BOOTLOADER (your device will reboot)
e. once rebooted, type FASTBOOT DEVICES to verify if you are already in fastboot mode
f. if connected proceed to step 5. if not please repeat procedure
step 5:
a. once connected go to adb folder on your computer. you will see a file named unlock recovery.bat
if not, copy this text
call adb.exe devices
call adb.exe reboot bootloader
call fastboot.exe getvar all
call fastboot.exe oem unlock
call fastboot.exe format userdata
call fastboot.exe erase recovery
call fastboot.exe flash recovery recovery/recovery.by.gursewak.img
call fastboot.exe getvar all
call fastboot.exe reboot
echo done successful please press any key to continue
echo disconnect your phone and press power button untill phone reboots
pause
Click to expand...
Click to collapse
to notepad and save as batch file, name it as UNLOCK_RECOVERY.bat
b. click the UNLOCK_RECOVERY.BAT then it will ask you on your device to confirm, (will add screen shot later on) just press volume up button
c. once the process has been done, (will take few seconds) extract recovery.img to adb folder
d. go to your previously opened command window and type
FASTBOOT FLASH RECOVERY RECOVERY.IMG (the one you extracted)
step 6:
a. once flashed, disconnect your device (it will show a tiny text telling you transmission ok)
b. press and hold the power button for few seconds to turn off the device
IT IS IMPERATIVE THAT YOU WON'T TURN ON THE DEVICE UNLESS THE NEXT STEPS ARE DONE. IF YOU ACCIDENTALLY TURNED ON YOUR DEVICE REPEAT TO STEP 1.
c. press and hold vol up+vol down+ powerbutton simultaneously for few seconds, once you felt a vibration, release power button whilst still holding the vol up and down button
it will show the lenovo screen then go black. (don't worry it means you successfully flashed recovery.img)
d. connect the device to your computer
if lenovo shows on your device, now is the time to recopy aroma file manager and supersu. if not just wait for the screen to turn back on.
e. once twrp recovery is on, go to mount and check SYSTEM. (do not touch anything aside what i unstructed)
d. go back to previous menu and go to install
install aroma file manager and wait for it to finish
f. once installed it will go directly to aroma file manager, go to system folder and scroll down. look for recovery-from-boot.p and delet it
g. once deleted exit aroma file manager (button can be found on right corner)
h. go back and install beta supersu which you copied. (browse sd card)
i. once flashed, reboot system,
step 7:
a. if you made it this far, then you are almost done.
b. just finish the lenovo start up.
c. once done, connect your device again on your computer and copy xposed apk and xposed arm to internal or sdcard
d. install xposed apk
e. turn off your device
step8:
a. reboot to recovery (press vol up and down and power button simultaneously, once you felt a vibration release power button whilst holding vol up and down button. lenovo screen will show and it will eventually go to twrp recovery)
b. click install and install xposed arm
c. onced install. reboot system.
THERE YOU GO... YOU ARE DONE. YOU CAN VERIFY ROOT BY DOWNLOADING ROOT CHECKER FROM GOOGLE PLAY STORE.
WELL I WAS FORCED TO ROOT MY K4 NOTE JUST TO PLAY POKEMON GO.
I WILL UPLOAD SCREEN SHOT ONCE I ALREADY COMPILED THEM. THANK YOU
IF YOU LIKE AND HELPED YOU A LOT PLEASE HIT THANKS AND LEAVE A MSG.
IF YOU HAVE QUESTIONS, JUST COMMENT IT HERE.
Thanks it worked. I was about to complain when twrp recovery does not show up. BUT IT WORKED THANKS
xposed isn't necessary to root the phone. Am I right? Maybe you should explain that in the OP. You'll get people confused down the road if they don't already know what they're flashing.
Sent from my f320 using XDA Labs
Will it work on s219?
I just badly wanna root amd this is the easiest way i found..
Thanks:cyclops:
And yes,one more question,
During unlocking the bootloader, will it only format my phone or both phone and sd card?
infected_162k said:
Will it work on s219?
I just badly wanna root amd this is the easiest way i found..
Thanks:cyclops:
And yes,one more question,
During unlocking the bootloader, will it only format my phone or both phone and sd card?
Click to expand...
Click to collapse
yup....and yuhooooo.
it worked like a charm.thank you very very much:fingers-crossed:
infected_162k said:
yup....and yuhooooo.
it worked like a charm.thank you very very much:fingers-crossed:
Click to expand...
Click to collapse
hi
will it erase internal phone memory (i mean after flushing ROM can i get my data using any recovery software)
i am also using same s219 Rom model lenovo k4 note phone.
Actually i deleted some files unexpectedly from internal memory but i want them back, so i tried many ways but no software is identifying internal memory as a drive. I tried to root using root apps but marshmallow not allowing.
i found this topic, but i have only doubt is after flushing the rom can i recover my data using any recovery software?
Thanks in advance
thank you so much!
now to answer some queries and give thanks...
@Duffy144: glad you like it.
@Bdwilk: thank you for the input, i will do that.
@infected_162k: i haven't tried yet since i haven't been able to check latest OTA, but i will try it now since s218 causes lag and memory leak when using facebook messenger. and as you've said. thanks for the confirmation for s219, at least i am more confident. btw, does this really solve the memory leak of the s218?
@anvesh.k yes it will delete all files as the procedure requires you to factory reset your handset.
Rooted K4 Marshmallow
Damn. Finally. I got root. Can finally get rid of that Cell Broadcast. Thanks Sir ansei. The unlocking of bootloader, flashing of twrp and supersu process is pretty much straight forward and will only take you about less than 10 minutes.
Am not sure if this is a systemless root i have. If so, it's great. I am on S_219. Zero performance or stability issues.
I feel my K4 Note runs smoother and snappier compared to S150 row. Still getting the hang of the revamped user interface though.
Overall, Marshmallow 6.0 S_219 runs great with unlocked bootloader, twrp and supersu.
Can someone confirm if this works with 2 gb / 32 variant?
RK_D2502 said:
Damn. Finally. I got root. Can finally get rid of that Cell Broadcast. Thanks Sir ansei. The unlocking of bootloader, flashing of twrp and supersu process is pretty much straight forward and will only take you about less than 10 minutes.
Am not sure if this is a systemless root i have. If so, it's great. I am on S_219. Zero performance or stability issues.
I feel my K4 Note runs smoother and snappier compared to S150 row. Still getting the hang of the revamped user interface though.
Overall, Marshmallow 6.0 S_219 runs great with unlocked bootloader, twrp and supersu.
Click to expand...
Click to collapse
Can you recovered old data after rooting the device?
anzei19 said:
@infected_162k: i haven't tried yet since i haven't been able to check latest OTA, but i will try it now since s218 causes lag and memory leak when using facebook messenger. and as you've said. thanks for the confirmation for s219, at least i am more confident. btw, does this really solve the memory leak of the s218?
Click to expand...
Click to collapse
Amm, about that memory leak thing, i basically know what that is cause it was a huge problem in my father's phone(gionee m3). But i exactly don't know how to know if it's still there or not as I use messenger hardly 2-3 times a week. guide me about this so I can tell you exactly.
Another thing that will help other users: I have to factory reset my phone due to a google error ( unable to communicate with Google server). I was not sure about root and xposed will be gone or not. But here is the result : lost both, root and xposed. Just flashed both again, super su and xposed framwork, worked
anvesh.k said:
Can you recovered old data after rooting the device?
Click to expand...
Click to collapse
Old data? Not sure what you are referring to. After the unlocking of bootloader, flashing or twrp and root, restarted the phone in normal mode. Went through the setup wizard and all. Reinstalled my usual stuff. Back to where I left in Lollipop. Zero issues with Marshmallow 6.0 S_219.
Sir Ansei, everything is fine except 1 minor issue, when rebooting to TWRP, I often get the black screen. Power cycling the phone works. Any ideas?
RK_D2502 said:
Old data? Not sure what you are referring to. After the unlocking of bootloader, flashing or twrp and root, restarted the phone in normal mode. Went through the setup wizard and all. Reinstalled my usual stuff. Back to where I left in Lollipop. Zero issues with Marshmallow 6.0 S_219.
Click to expand...
Click to collapse
May be what he trying to tell is he accidentally deleted some of his important stuff and now he wants to get it back with the apps that use root to dig around. But as per my experience, it only work if that portion of sd card of internal storage is stayed untouched not if overwritten by something else. But if you already rooted, just give it a try...maybe you'll be lucky...
infected_162k said:
May be what he trying to tell is he accidentally deleted some of his important stuff and now he wants to get it back with the apps that use root to dig around. But as per my experience, it only work if that portion of sd card of internal storage is stayed untouched not if overwritten by something else. But if you already rooted, just give it a try...maybe you'll be lucky...
Click to expand...
Click to collapse
Thanks for understanding my problem
call fastboot.exe flash recovery recovery/recovery.by.gursewak.img - needs to be edited? make sure path is correct and image name.
call fastboot.exe flash recovery recovery.img
Just put recovery.img in the same folder
I cannot get fastboot to recognize my device & perform the bootloader unlock. Whenever I type in " adb reboot bootloader" or click on that "unlock_recovery.bat" file, I get booted into a dark screen where "fastboot" is written at the bottom & the command prompt window says < waiting for device> & I am stuck there until I reboot my phone.
Please tell how to get past this!
sujitmohanty2012 said:
I cannot get fastboot to recognize my device & perform the bootloader unlock. Whenever I type in " adb reboot bootloader" or click on that "unlock_recovery.bat" file, I get booted into a dark screen where "fastboot" is written at the bottom & the command prompt window says < waiting for device> & I am stuck there until I reboot my phone.
Please tell how to get past this!
Click to expand...
Click to collapse
you should install fastboot driver
setpam25 said:
you should install fastboot driver
Click to expand...
Click to collapse
@setpam25 Is there a specific driver for that.? If yes, could you please share the link to download that?
My system currently has the lenovo usb driver 1.16, windows 10 mtk vcom preloader & ADB interface driver (by google) properly installed!
Does this work on s230 update marshmallow
Please help me,
I am stuck there until I reboot system

Step by step guide for lg v20 h918 unlocking, downgrading, rooting and twrp

STEP BY STEP GUIDE FOR LG V20 H918 UNLOCKING BOOTLOADER, DOWNGRADING, ROOTING AND INSTALLING CUSTOM ROMS (NOOB FRIENDLY)
DISCLAIMER: I'M NOT THE DEVELOPER OF ANY OF THE BELOW SOFTWARE'S AND YOU PROCEED WITH YOUR OWN RISK AS THIS INVOLVES BRICKING OR DAMAGING YOUR MOBILE IF THE PROCEDURE IS NOT FOLLOWED CORRECTLY. I'M JUST SHARING THE WHOLE PROCESS WHICH I HAVE FOLLOWED TO ROOT AND INSTALL TWRP IN MY LGV20 H918 UNLOCKED T MOBILE.
AND I HAVE TESTED THIS IN MY OWN DEVICE AND WAS ABLE TO ROOT AND ACHIEVE TWRP.
THIS IS ONLY FOR LGV20 H918 VERSION
ENSURE INTERNET IS UP AND RUNNING IN YOUR PC
EDIT: THE WHOLE PROCESS HAS NOW BEEN AUTOMATED IN TWO SIMPLE STEPS TO PREVENT ANY POTENTIAL DAMAGE TO YOUR DEVICE. THANKS TO THE LAFSPLOIT CREATOR BRIAN @runningnak3d.
JUST FOLLOW THE PROCEDURE BELOW AND YOU SHOULD HAVE YOUR DEVICE ROOTED IN NO TIME
1. BACKUP ALL YOUR IMPORTANT DATA BEFORE PROCEEDING.
2.MAKE SURE YOU HAVE CHARGED YOUR PHONE TO AT LEAST 90 PERCENT
CHECK YOUR PHONE SOFTWARE VERSION IN SETTINGS---ABOUT PHONE----SOFTWARE INFO
IF IT IS ANYTHING BETWEEN H91810P TO H91810U MEANS IT IS ARB1 (ANTI ROLL BACK 1) AND YOU NEED TO USE LAFSPLOIT METHOD TO ROOT AND INSTALL TWRP,
IF YOUR VERSION IS H91810O OR BELOW (ARB0), YOU CAN EITHER USE DIRTYCOW OR LAFSPLOIT METHOD FOR THE SAME.
IF YOU ARE ON ARB1, PLEASE FOLLOW THE METHOD BELOW,
PART 1: DOWNGRADING
IF YOUR VERSION IS H91810 (Q, R, S, T, U) YOU NEED TO DOWNGRADE TO A LOWER VERSION ( H91810P) TO EXECUTE LAFSPLOIT.
IF YOU ARE ALREADY ON H91810P, YOU STILL NEED TO RE FLASH THE H91810P KDZ AGAIN FOR THE LAFSPLOIT SCRIPT TO WORK CORRECTLY.
DOWNLOAD H91810P KDZ FILE FROM BELOW
https://androidfilehost.com/?w=files&flid=282709
DOWNLOAD AND INSTALL ALL THE FILES BELOW IN YOUR PC
UPPERCUT AND LGUP----
http://downloads.codefi.re/autoprime/LG/Flash_Tools/LGUP/
LG DRIVERS---
http://tool.cdn.gdms.lge.com/dn/downloader.dev?fileKey=UW00120120425
CONNECT YOUR MOBILE TO YOUR PC IN DOWNLOAD MODE (SWITCH OFF YOUR MOBILE AND CONNECT THE USB FROM PC WHILE HOLDING THE VOLUME UP BUTTON SIMULTANEOUSLY)
RUN UPPERCUT.EXE WHICH WOULD OPEN LG'S UPDATER TOOL AUTOMATICALLY.
INSIDE THE LG UPDATER TOOL, CLICK ON BIN AND SELECT THE H91810P KDZ FILE DOWNLOADED EARLIER.
NOW SELECT UPGRADE AND FLASH
ENSURE THE USB CABLE IS CONNECTED THROUGH THE FLASHING PROCESS AND WAIT FOR YOUR PHONE TO REBOOT AND THEN REMOVE THE USB CABLE.
CHECK THE SOFTWARE VERSION AND ENSURE IT IS H91810P
PART 2: UNLOCKING BOOTLOADER
HEAD TO SETTINGS---ABOUT PHONE----SOFTWARE INFO (ENSURE IT IS H91810P)
ENABLE DEVELOPER OPTION IN YOUR PHONE BY CLICKING ON THE BUILD NUMBER MULTIPLE TIMES
NOW HEAD TO SETTINGS---DEVELOPER OPTIONS
TURN ON OEM UNLOCKING, ENABLE USB DEBUGGING AND DISABLE 'VERIFY APPS OVER USB'
NOW CONNECT YOUR PHONE TO PC AND OPEN ADB COMMAND CENTER PROMPT IN YOUR PC
adb devices---->CHECK IF YOUR MOBILE IS CORRECTLY RECOGNIZED IN ADB
adb reboot bootloader--->THIS REBOOTS YOUR DEVICE IN FASTBOOT MODE
fastboot devices---->CHECK IF YOUR MOBILE IS CORRECTLY RECOGNIZED IN FASTBOOT
fastboot oem unlock---->THIS COMMAND WOULD UNLOCK YOUR BOOTLOADER AND RESET's YOUR DEVICE.
fastboot oem device-info OR fastboot getvar unlocked ----->THIS WOULD CONFIRM IF YOUR BOOTLOADER HAS BEEN UNLOCKED OR NOT.
fastboot reboot-----> THIS WOULD REBOOT YOUR DEVICE
IF THE BOOTLOADER HAS BEEN SUCCESSFULLY UNLOCKED, THE DEVICE WILL SHOW AN UNLOCKED BOOTLOADER WARNING MESSAGE WHILE BOOTING (THIS CAN BE IGNORED OF COURSE)
PART 3: CREATING A BOOTABLE LINUX USB USING FWUL
DOWNLOAD FWUL_v2.7_x86_64_15GB.zip FROM THE LINK BELOW AND EXTRACT THE IMAGE FILE SOMEWHERE IN YOUR PC.
https://androidfilehost.com/?w=files&flid=214529
DOWNLOAD RUFUS FROM BELOW AND INSTALL
https://rufus.akeo.ie/
INSERT A PEN DRIVE IN YOUR PC AND RUN RUFUS.
INSIDE RUFUS SELECT THE IMAGE FILE AND SELECT START (AFTER SELECTING START SELECT DD MODE IN THE DIALOGUE BOX) TO CREATE A BOOTABLE PEN DRIVE (WARNING: THIS WOULD FORMAT YOUR PEN DRIVE)
NOW YOU SHOULD BOOT YOUR PC FROM THE BOOTABLE USB STICK WHICH YOU HAVE JUST CREATED
THIS WOULD MAKE YOUR PC RUN LINUX OS
TYPE PASSWORD AS linux AND ENTER
PART 4: INSTALLING TWRP AND ROOTING USING LAFSPLOIT
BEFORE PROCEEDING ENSURE YOU BOOT YOUR PHONE AND DONE ALL THE BASIC SETTINGS
NOW HEAD TO THE DEVELOPER OPTIONS IN YOUR DEVICE AND ENSURE OEM UNLOCKING AND USB DEBUGGING ARE SWITCHED ON.
NOW CONNECT YOUR DEVICE TO THE PC (RUNNING LINUX OS FROM PENDRIVE) IN DOWNLOAD MODE (SWITCH OFF YOUR MOBILE AND CONNECT THE USB FROM PC WHILE HOLDING THE VOLUME UP BUTTON SIMULTANEOUSLY)
DOUBLE CLICK ON THE LG FOLDER INSIDE FWUL DESKTOP
INSIDE THAT, DOUBLE CLICK ON LGLAF(RUNNINGNAK3D) ICON WHICH WILL OPEN A TERMINAL
ENTER THE BELOW COMMANDS
git pull
git checkout h918-miscwrte
./step1.sh
THE ABOVE COMMAND FLASHES TWRP RECOVERY ONTO YOUR DEVICE.
WAIT AND PULL OUT YOUR DEVICE WHEN IT ASKS TO.
RECOMMENDED: NOW THAT TWRP HAS SUCCESSFULLY INSTALLED, YOU CAN MANUALLY FORMAT,FLASH LATEST TWRP RECOVERY AND USE ANY METHOD LIKE MAGISK OR SU FOR ROOTING.
INSIDE TWRP RECOVERY. FIRST FORMAT USING WIPE--ADVANCED FORMAT--TYPE yes AND FULL DO A FULL FORMAT, THEN FLASH MAGISK AND THE LATEST TWRP RECOVERY BELOW.
MAGISK ZIP DOWNLOAD:
https://github.com/topjohnwu/Magisk/releases/download/v16.0/Magisk-v16.0.zip
LATEST TWRP BY PHOENIX(H918):
https://forum.xda-developers.com/v20/development/recovery-twrp-3-2-1-0-t3720239
OR
IF YOU ARE UNSURE ABOUT FORMATTING AND FLASHING, JUST USE THE BELOW COMMAND TO DO ALL THE WORK AUTOMATICALLY
CONNECT YOUR DEVICE AGAIN IN DOWNLOAD MODE AND ENTER THE FOLLOWING COMMAND
./step2.sh
THE ABOVE COMMAND FORMATS YOUR DEVICE AND FLASHES MAGISK TO ACQUIRE ROOT.
TIP : IF YOU FACE ANY ENCRYPTION ERROR AFTER USING STEP2. SH, DO A ADVANCED FORMAT WITHIN TWRP AND FLASH MAGISK AND LATEST TWRP BY PHOENIX MANUALLY.
YOU ARE NOW ROOTED WITH TWRP RECOVERY INSTALLED.
REMEMBER TO BACK UP THE CURRENT ROM BEFORE FLASHING ANYTHING..... DO CHECK POST #2 FOR OTHER TWEAKS
IF YOU WISH TO UPDATE TO LATEST STOCK (10U) AND KEEP ROOT AND TWRP, JUST FOLLOW THIS LINK AND DO REMEMBER TO ROOT USING MAGISK AFTER FLASHING THE ROM BEFORE YOU BOOT.
https://forum.xda-developers.com/v20/development/rom-h91810q-stock-rom-twrp-flashable-zip-t3681312
I WOULD LIKE TO THANK ALL THE DEVOLEPERS WHO HAVE CREATED THE ABOVE SOFTWARES WITHOUT WHICH THIS ISNT POSSIBLE.
CREDITS:
@autoprime FOR HIS UPPERCUT TOOL
@steadfasterX FOR HIS FWUL TOOL
@Phoenix591 FOR HIS WORKS ON TWRP RECOVERY
AND FINALLY, @runningnak3d FOR HIS EXCELLENT WORK IN ROOTING OUR DEVICE :good:
WHAT NEXT?
NOW THAT YOU HAVE ROOTED YOUR MOBILE, I WOULD RECOMMEND DOING THE BELOW TWEAKS FOR FURTHER ENHANCED EXPERIENCE....
1.THERMAL THROTTLING
IF YOUR ARE STILL ON A STOCK BASED ROM , I WOULD STRONGLY RECOMMEND TO RECONFIGURE YOUR THERMAL FILE TO PREVENT ANY POSSIBLE LAG WHEN USING EXTENSIVELY...
FIRST DOWNLOAD THE FILE BELOW:
https://drive.google.com/file/d/0B0W3xXHgfOxvLUpKNWhrWDE0TDg/view
USE A ROOT EXPLORER (PREFERABLY ES EXPLORER) AND GO TO ROOT/SYSTEM/ETC.
YOU SHOULD HAVE A FILE NAMED thermal-engine-8996.conf
RENAME IT TO thermal-engine-8996.conf.bak (JUST FOR A BACKUP IF ANYTHING GOES WRONG)
ENSURE THE ABOVE DOWNLOADED FILE IS IN .conf FORMAT
IF IT ISN'T , RENAME TO thermal-engine-8996.conf
NOW SAVE THE FILE TO THE SAME DIRECTORY VIZ ROOT/SYSTEM/ETC
GIVE PERMISSION TO THIS FILE TO rw-r--r-- USING THE ROOT EXPLORER ( SELECT FILE--->PERMISSION--->READ WRITE, READ, READ)
FINALLY SAVE AND REBOOT.
THIS WOULD OVERWRITE THE THERMAL LINKED PERFORMANCE OF THE CPU TO AVOID ANY LAG WHEN USING EXTENSIVELY.
2. RCTD REMOVER
ALSO I WOULD STRONGLY RECOMMEND TO REMOVE THE LG'S RCTD CCMD AND TRITON MONITORS AS THESE WOULD RUN CONTINUOUSLY IN A ROOTED LG PHONE AND CONSUME LOT OF RESOURCES...
JUST INSTALL THE RCTD REMOVER APP FROM BELOW LINK:
https://labs.xda-developers.com/store/app/com.zacharee1.rctdremoverforlg
GRANT SU PERMISSION AND CHECK THE DESIRED FILES (I CHOSE ALL THREE FILES) AND CLICK ON PATCH, FLASH IMAGE AND REBOOT (THIS WOULD PATCH THE BOOT FILE, SO AGAIN IT IS ADVISABLE TO CREATE A BACKUP OF THE CURRENT BOOT IMAGE USING TWRP OR WITHIN THIS APP ITSELF)
3. SCREEN CALIBRATION:
https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor
INSTALL KERNAL AUDITOR APP FROM PLAY STORE AND GRANT SU ACCESS
CHANGE THE BELOW VALUES WITHIN THIS APP (SCREEN SETTINGS)
Minimum RGB value = 35
Saturation Intensity = 27
Screen Hue = 1520
Screen Value = 112
Screen Contrast = 132
THIS WOULD SOMEWHAT REDUCE THE BLUE TINGE AND GHOST APPEARANCES OF THE SCREEN
CREDITS: @Holyman007 for his thermal tweak @Zacharee1 for his rctd remover app
I was just about to create a post asking for a step by step for dummies so thank you very much for this! Going to do this sometime tomorrow or Tuesday and will update if I succeed or not. :good:
Got a question. Does this method stop the second screen from working?
turdbait said:
I was just about to create a post asking for a step by step for dummies so thank you very much for this! Going to do this sometime tomorrow or Tuesday and will update if I succeed or not. :good:
Got a question. Does this method stop the second screen from working?
Click to expand...
Click to collapse
this would end up with a stock rooted phone with twrp recovery if all the methods are correctly followed..
......final result would be.... you would end up with a rooted stock rom with a twrp recovery....
your second screen will work perfectly.....
please let me know if you need a different thread for installing custom rom, and to reduce the lag., install sound mod to get maximum sound output and customize second screen... i will create a noob friendly thread for these as well......
Also check the original lafsploit thread @
https://forum.xda-developers.com/v20/how-to/root-lafsploit-h918-version-t3773443
kish9046 said:
Also check the original lafsploit thread @
https://forum.xda-developers.com/v20/how-to/root-lafsploit-h918-version-t3773443
Click to expand...
Click to collapse
Thank you, I've been reading up on the main lafsploit thread for awhile but I was still not sure about the whole flashing KDZ file and stuff so when you posted this thread it was a motivator to try it out. Got a day off from work tomorrow so gonna try it then so I don't got to worry about the time.
I'm interested in the max sound output and second screen customization if you got the time and its not to much to ask. If you want to wait till either someone else comes along thats interested or till I root just so you don't waste your time I shall update hopefully sometime tomorrow. Thanks again.
kish9046 said:
sha256sum h918-twrp.img ----> THIS WOULD AGAIN THROW A HASH, CHECK IF BOTH THE HASHES ARE ABSOLUTELY SIMILAR
Click to expand...
Click to collapse
Excellent. Just a friendly suggestion, however. I would change the instruction above to use the word EXACT instead of SIMILAR, otherwise people may continue erroneously. The hash numbers must be exact.
onlineaces said:
Excellent. Just a friendly suggestion, however. I would change the instruction above to use the word EXACT instead of SIMILAR, otherwise people may continue erroneously. The hash numbers must be exact.
Click to expand...
Click to collapse
Thanks for the heads up.... Changed to EXACT...
I successfully have root now, thank you! If you're still interested in doing a guide on how to do the second screen customization I'd be grateful.
turdbait said:
I successfully have root now, thank you! If you're still interested in doing a guide on how to do the second screen customization I'd be grateful.
Click to expand...
Click to collapse
great to hear that u have root now.... will post soon on other mods including a step-by-step process on removing rct soon....
All this stuff can be found already in the forums so you posting guides is redundant js
Sent from my LG-H910 using XDA Labs
cnjax said:
All this stuff can be found already in the forums so you posting guides is redundant js
Sent from my LG-H910 using XDA Labs
Click to expand...
Click to collapse
Thanks for the suggestion... but i thought this would help noobs like me to explore more about our device without doing any harm to it.....
Glad someone actually laid it out step by step.
kish9046 said:
Thanks for the suggestion... but i thought this would help noobs like me to explore more about our device without doing any harm to it.....
Click to expand...
Click to collapse
so i just wanted to say thank for for the very noobie step by step guide. im soooo use to odion and adb flash commands.
just 1 thing i had trouble with was trying to push magisk and twrp over. I rooted by pushing magisk over with otg but no twrp on recovery. then i saw it said it was on download mode. from dl mode i just flashed twrp to recovery.
BROKEN1981 said:
so i just wanted to say thank for for the very noobie step by step guide. im soooo use to odion and adb flash commands.
just 1 thing i had trouble with was trying to push magisk and twrp over. I rooted by pushing magisk over with otg but no twrp on recovery. then i saw it said it was on download mode. from dl mode i just flashed twrp to recovery.
Click to expand...
Click to collapse
So i assume you have both TWRP and root now?..... And can i ask which version r u in now....ARB0 or 1
kish9046 said:
So i assume you have both TWRP and root now?..... And can i ask which version r u in now....ARB0 or 1
Click to expand...
Click to collapse
Abr1 yes I am rooted with twrp.
As I said, the commands to push magisk and twrp to sd did not work. I used usb otg in twrp to push magisk, but forgot to put twrp to flash as well.
I forgot that twrp had replaced download mode, so I was going a bit nuts trying to figure out how to get twrp to recovery. Lolol
Now I'm on latest update with rtcd removed thanks to the op who hosted it on xda as a flashable zip.
Hi guys, sadly I'm at the last step and got stuck.
I did everything, and managed to get to the part where you WIPE de data using TWRP, Mount, but when I go and type
adb push Magisk...
adb push h18...
I get an error saying that Cannot stat : No such file or directory
I'm unable to figure out what I'm doing wrong
Any idea?
tenkensword said:
Hi guys, sadly I'm at the last step and got stuck.
I did everything, and managed to get to the part where you WIPE de data using TWRP, Mount, but when I go and type
adb push Magisk...
adb push h18...
I get an error saying that Cannot stat : No such file or directory
I'm unable to figure out what I'm doing wrong
Any idea?
Click to expand...
Click to collapse
As you are in twrp, you can manually flash magisk zip and twrp recovery.....
tenkensword said:
Hi guys, sadly I'm at the last step and got stuck.
I did everything, and managed to get to the part where you WIPE de data using TWRP, Mount, but when I go and type
adb push Magisk...
adb push h18...
I get an error saying that Cannot stat : No such file or directory
I'm unable to figure out what I'm doing wrong
Any idea?
Click to expand...
Click to collapse
Download magisk and twrp here https://androidfilehost.com/?fid=746010030569963731
While you are in the last step, in mount, select otg USB. You can push it to SD card and manual flash.
If you booted to system without magisk and flashing twrp, power off the phone, hold volume up, put in the USB, connect to PC. This will put you in twrp since download mode is replaced by twrp.
Now you can flash both files.
tenkensword said:
Hi guys, sadly I'm at the last step and got stuck.
I did everything, and managed to get to the part where you WIPE de data using TWRP, Mount, but when I go and type
adb push Magisk...
adb push h18...
I get an error saying that Cannot stat : No such file or directory
I'm unable to figure out what I'm doing wrong
Any idea?
Click to expand...
Click to collapse
Download magisk and twrp here https://androidfilehost.com/?fid=746010030569963731
While you are in the last step, in mount, select otg USB. You can push it to SD card and manual flash.
If you booted to system without magisk and flashing twrp, power off the phone, hold volume up, put in the USB, connect to PC. This will put you in twrp since download mode is replaced by twrp.
Now you can flash both files.

[guide] Blu Vivo XL4 | | Vivo Xi || Vivo Xi+

The BLU VIVO XL4 has arived.
Sorry this guide is not for very new users, it relies on certain amount of prior knowledge.
**NOTE**
Unlocking Bootloader WILL set warranty flag to "NO"
Make the read-back backup, BEFORE unlocking, so there is a possibility to restore warranty to "yes"
Getting SPFlash Tool to work on BLU VIVO XL4
I used sp flash tool version 5.18.28
Needs custom DA file and Auth file. Both have been found from a near clone device.
Open flash tool select the DA file and Auth file from the link below.
add the scatter file from archive. There is a preloader file in the archive also. This is needed for spflash tool to open the Auth file.
Stock Rom and Auth file
Then follow the guide found on youtube.
Not planning to go into too much detail about the actual pulling of the firmware, as there is already
a fantastic guide with step-by-step photos and also a video.
Just the basics
Pull stock rom with spflash tool once just from the "boot region" to get the preloader file.
Process that file with the Wwr_MTK tool to get partition table information.
And one more time pull as one large binary file from the "user region" then split it into
individual images using the tool called "Wwr_MTK" it can be found on other site(Hovatek). I cannot put a
link as it is against forum rules (no advertising other forums)
But there is a youtube video that describes the process. And gives link for download of the tool.
**NOTE-1**
The Wwr_MTK tool did not have the correct chip (mt6762 In fact the "family class" for the chip is mt6765) as an option. Because of this you will need to add it to the tool before using it. Open the downloaded zip.( I used "WwR_MTK_2.40_Eng" ). Open "Template.ini" with text editing software, in the section labeled "CPU" add "MT6765 2" , keep same format as the rest of the file. Save the changes and close Template.ini.
Now when you run the tool, you will be able to create the scatter file as you split the rom into files.
**NOTE-2**
The tool connects to internet and downloads fresh the files and scripts when you start it. There is a 30 second ad screen displayed. If you block internet to the tool, then the add screen turns into 2 minute wait screen. I am not suggesting that you hack the tool to by-pass it, just letting you know what to expect.
IT IS HIGHLY RECOMMENDED TO MAKE YOUR OWN FULL BACKUP BEFORE PERFORMING THESE STEPS
AFTER YOU HAVE MADE FULL BACKUPS
Now to start modifying
DOWNLOAD
UNLOCK BOOTLOADER
unlocking bootloader is no more complicated then then enabling OEM unlock toggle in dev options menu.
Then performing Command in terminal. Just like so many android devices.
Unlock Bootloader
1. Enable Developer options on phone:
open settings--> "about device"--> click build number 5-7 times--> go back one screen in settings
-->select more "more settings" --> scroll to bottom "Develpoer options" --> enable "usb debugging"
2. Open cmd or power shell terminal
3. reboot phone to bootloader with the following commands
Code:
adb reboot bootloader
4.Once the phone has finished loading into fastboot mode type this command
Code:
fastboot oem unlock
I also did --MIGHT be an optional step
Code:
fastboot flashing unlock
Do not think both were needed.
After each command when phone was rebooted,
it took extra time to open. But did not show the normal recovery screen while
it did the factory reset. But a reset did happen both times,
as I had the setup wizard each time.
Even after unlocking bootloader, doing a "fastboot boot *xyz.img" (boot or recovery test images)
Phone would only cycle to off then do a full reboot. Doing "fastboot flash boot boot.img" does flash the boot.
And "fastboot flash recovery recovery.img" does flash the recovery.
TWRP
1. Download TWRP From Link above
2. Enable Developer options on phone:
open settings--> "about device"--> click build number 5-7 times--> go back one screen in settings
-->select "more settings" --> scroll to bottom "Develpoer options" --> enable "usb debugging"
3. Open cmd or power shell terminal
4. reboot phone to bootloader with the following commands
Code:
adb reboot bootloader
5. Now give the command to flash twrp, assuming you downloaded the file to default download folder
Code:
fastboot flash recovery %userprofile%\downloads\TWRP-3_2_3-1020-OMFG-mod_b6-device-name-vivo-wipe-misc.img
5. Reboot to twrp. Needed to boot directly to twrp, or stock recovery will be re-flashed by phone.
Code:
fastboot oem reboot-recovery
Once inside twrp It is asking for password to unlock (decrypt)***automatic decrypt not work on this device as of YET***
this is supposed to be same password used to unlock phone.
Because this twrp does not work with encryption, every time you reboot you will have to select language, if changed from default.
To get recovery to be functional, you need to make phone patched for both "DM-Verity" and "Force-encryption"
I do this with
"Universal Disabler"
https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
There is similar utiliy built into this Recovery image.
to use the built in option , Select ADVANCED, Then RM Forceencrypt
This will flash the lazypatcher with options set to remove encryption both in boot.img and /vender/*fstab : remove dm-verity.
--OR-- manually do the following steps
Steps
1. Download Zip from Link above.
2. Open TWRP
3. Open Wipe menu
4. Select format /data
5. Key in "YES" and swipe
6. Return to Home Page of TWRP
7. Choose reboot menu then recovery
8. Recovery should now have access to Internal memory (temp for now)
9. Use abd push to put the zip file downloaded above to internal memory
Code:
adb push %userprofile%\downloads\Disable_Dm-Verity_ForceEncrypt_12.16.2018.zip /sdcard/
10. Select install menu , and install the Disable_Dm-Verity_ForceEncrypt_12.16.2018.zip
Do not rename the file. It installs and makes the patch base on the file name.
If you want to have root also, then flash Magisk at this point.
Now the dm-verity and force encryption are off. You can flash gsi custom rom, if you desire. At the moment, I have only been able to boot the phone with working cell data and calls on the PHH-Phusion --vanilla builds. Do not know why the gapps versions do not allow rill to function.
As of the writing of this I have put up V4 of the TWRP port. This version uses the correct mount points for this phone, not the ones from the source of the port. Also corrected the device name in default.prop, to match device name. Build fingerprint has been left as is. Fixed the micro sdcard name and OTG names. Added mipe to the "misc" /"para" partition to escape a factory reset recovery loop that [uu]could[/u] happen under certain situations.
And my prefered ported recovery from LRTeam TWRP-3_2_3-1020-OMFG-mod_b6-device-name-vivo-wipe-misc.img.
DOWNLOADS
Files
1. Sp Flash tool (v 5.18.28 or newer) https://androidmtk.com/smart-phone-flash-tool
2. stock XL4 ROM, DA file, TWRP all in shared folder https://androidfilehost.com/?w=files&flid=287088
3. stock Xi+ ROM, TWRP in shared folder https://androidfilehost.com/?w=files&flid=287703
4. Unviversal DM-Patch disable tool thread
5. Youtube Guide Video to use backup image splitter tool "WWR_MTK" https://www.youtube.com/watch?v=GMAytZ56hac
Kernel sources have been published 12-12-2018, by BLU
I have them synced to GitHub while I make test builds.
https://github.com/mrmazakblu/BLU-VIVO-XL4-kernel
Default defconfig should be arch/arm64/config/k62mv1_64_bsp_defconfig. Based off of build description in "getprop"
Built kernel has not been able to be booted yet.
TWRP is first ported and provided thanks to @Voinea12
.
placeholder not really welcomed here on XDA
just pm a moderator or report this thread when you`re ready to upload something, until then, thread closed
After seeing that the Blu vivo xl4 requires an "auth file" in order to flash with spflash tool, I asked BLU to supply the file.
They responded with a big fat NO.
.......
.......
THE NEXT DAY THE FILE WAS POSTED ON A DIFFERENT THREAD.
SO THERE HELP WAS NO LONGER NEEDED.
Just made successfull readback on preloader. and currently reading full rom.
will post link when done.
here is auth file and DA file I used.
pulled firmware is here.
there are more images in complete firmware, but the ones included should be enough , as long as you NEVER do format all from spflash tool.
STOCK ROM
So far all attempts to load twrp have failed.
Also just tried to flash boot.img with the built kernel. When rebooted, phone just stayed on black screen. No back-light , nothing.
Just a repeating connect disconnect sound from pc. Long pressing power and trying to get into the bootloader menu failed.
Was able to Que up sp flash tool and keep holding the volume down button , on the next time it cycled on off preloader was caught and i was able to flash back the correct boot.img.
Working version is available now
Thread was opened.
mrmazak said:
So far all attempts to load twrp have failed.
Also just tried to flash boot.img with the built kernel. When rebooted, phone just stayed on black screen. No back-light , nothing.
Just a repeating connect disconnect sound from pc. Long pressing power and trying to get into the bootloader menu failed.
Was able to Que up sp flash tool and keep holding the volume down button , on the next time it cycled on off preloader was caught and i was able to flash back the correct boot.img.
Click to expand...
Click to collapse
My streak with SP Flash is still a losing one, the auth file works for my phone as well (Blu Vivo XI+), I just used the preloader.img that was in the update.zip and ran it through the WwR MTK Tool and got the preloader.bin to go with the auth file as you indicated you had done, that was one hurdle that your post helped me solve, but for some reason when I start reading the full rom I get about 6-10 MB into it and then it disconnects from my phone and stops. Not sure if its driver related or what, which drivers did you use for the readback?
psychofad said:
My streak with SP Flash is still a losing one, the auth file works for my phone as well (Blu Vivo XI+), I just used the preloader.img that was in the update.zip and ran it through the WwR MTK Tool and got the preloader.bin to go with the auth file as you indicated you had done, that was one hurdle that your post helped me solve, but for some reason when I start reading the full rom I get about 6-10 MB into it and then it disconnects from my phone and stops. Not sure if its driver related or what, which drivers did you use for the readback?
Click to expand...
Click to collapse
To be honest I have not installed driver specific for this. I have vcomm drivers installed, same from couple years ago.
Is the readback stopping because you set wrong hex address length in the readback tab?
mrmazak said:
To be honest I have not installed driver specific for this. I have vcomm drivers installed, same from couple years ago.
Is the readback stopping because you set wrong hex address length in the readback tab?
Click to expand...
Click to collapse
No, I got the readback of the EMMC_USER just fine and ran it through the WwR MTK tool and it gave me the hex address to use for the full rom readback, t then told me
Code:
The file size is smaller than the start position of the LK (uboot). To determine the type of processor and memory, it is necessary to read the full firmware in the SP Flash Tool, specify the parameters for reading: Start address: 0x0, Lenght: 0x1D1EC00000.
So I entered those two addresses as EMMC_USER readback. If my phone is off and I just connect it to the usb without holding any keys it gives me another error.....and I'm an idiot. just figured it out as I was looking at logs, apparently I must have changed the usb speed in sp flash which changes it's pid causing it to try and read from another port. It's downloading now
Thanks to @hanuma there is now a material themed twrp port.
The V2 version loads. But has no adb or mtp access
https://forum.xda-developers.com/showpost.php?p=78498431&postcount=95
https://mega.nz/#F!225EzQwT!t8hvGvmFoNYNvXev-Li1fQ
******EDIT*****
Most of the following problems did not repeat in same way when I tried to repeat the install process.
Main issue was with simcard. But exact process to get installed and working is still not known.
-- install after already having rooted, encryption removed stock, seems to work.
-- fresh full stock rom, full encryption, then gsi seems to not work sim card.
PHH-treble gsi images do boot this device. I do not have a bug list as yet.
working:WITH encryption removed:
1. wifi
2. camera
3. fingerprint- unlock
4. music
5. video
NOT working :WITH encyyption removed:
1. cell signal
2. cell data
3. phone
4. sms
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
working:WITH encryption enabled
1. phone
2. sms
NOT working:WITH encryption enabled
1.. everything else
EDIT
Much of the force closing problems were from a corrupted external sdcard. When I removed the card , the force close messages did not come.
Getting 4G data connection was not stable. after a full reset and rom re-install I was not able to get data connection, and only able to have connection to make calls when set to 3G connection only.
some bugs in vendor I assume will need some help solving this.
EDIT 2
Finally got around to trying again. his time I started with vanilla version of phh-treble gsi.
4G data and sms, calls in out all work. Camera , video both work.
WiFi tethering did not work.
Setup that worked :
force encryption removed with universal dm-verity patcher, ( bothboot.img and vendor partitions both edited).
magisk patched boot
Would this work on Blu Vivo XI since same chipset?
sinkoo1979 said:
Would this work on Blu Vivo XI since same chipset?
Click to expand...
Click to collapse
It should. I have been working with few users with Xi+ it works for them. And another user of Xi provided a twrp port, but no details on if this read-back worked. It must have, I suppose it must have.
Please do try to do the readback for your self, and share the files. will help with twrp if I can
Guide has been revised.
The original guide suggests to format /data and patch device to remove force encryption. This works fine for stock rom, and modifying stock rom. But I have found that removing encryption will not allow the phone to work as a phone when flashed with GSI. The down side is, at the moment, there is no twrp that is working to read the encrypted /data.
mrmazak said:
Guide has been revised.
The original guide suggests to format /data and patch device to remove force encryption. This works fine for stock rom, and modifying stock rom. But I have found that removing encryption will not allow the phone to work as a phone when flashed with GSI. The down side is, at the moment, there is no twrp that is working to read the encrypted /data.
Click to expand...
Click to collapse
Can any of this be done without a computer
Decaphyz said:
Can any of this be done without a computer
Click to expand...
Click to collapse
No, you need fastboot(PC preogram) to unlock bootloader and either sp flash tool or fastboot to flash recovery.
mrmazak said:
No, need you fastboot(PC preogram) to unlock bootloader and either sp flash tool or fastboot to flash recovery.
Click to expand...
Click to collapse
Oof
mrmazak said:
Thanks to @hanuma there is now a material themed twrp port.
The V2 version loads. But has no adb or mtp access
https://forum.xda-developers.com/showpost.php?p=78498431&postcount=95
https://mega.nz/#F!225EzQwT!t8hvGvmFoNYNvXev-Li1fQ
Click to expand...
Click to collapse
I just did this, and it worked the first time. I got into the phone and set it up. But it was super laggy after a while. So I decided to reset the phone like how you would normally do to fix a problem, and now... it’s making me boot into the recovery each and every time I try and boot into the system... i installed the gsi rom "PixelExperience for AOnly" at max lees site
IndifferentBear said:
I just did this, and it worked the first time. I got into the phone and set it up. But it was super laggy after a while. So I decided to reset the phone like how you would normally do to fix a problem, and now... it’s making me boot into the recovery each and every time I try and boot into the system... i installed the gsi rom "PixelExperience for AOnly" at max lees site
Click to expand...
Click to collapse
dont panic. this is minor bug. Easiest way to solve is to flash stock recovery. and do factory reset from there.
You can install image from twrp or fastboot, even spflashtool.
It is from the flag that is set into para(misc) partition.
You can clear it manually with terminal also, or even use one of the othe rtwrp images I shared. One with "misc" in the file name.
If you use one of those recoveries and do reset will also clear that reboot condition
mrmazak said:
dont panic. this is minor bug. Easiest way to solve is to flash stock recovery. and do factory reset from there.
You can install image from twrp or fastboot, even spflashtool.
It is from the flag that is set into para(misc) partition.
You can clear it manually with terminal also, or even use one of the othe rtwrp images I shared. One with "misc" in the file name.
If you use one of those recoveries and do reset will also clear that reboot condition
Click to expand...
Click to collapse
thanks dude! can you give me the command to run in terminal to do it? ill try that first, then ill try flashing stock recovery!
---------- Post added at 02:47 AM ---------- Previous post was at 02:44 AM ----------
mrmazak said:
dont panic. this is minor bug. Easiest way to solve is to flash stock recovery. and do factory reset from there.
You can install image from twrp or fastboot, even spflashtool.
It is from the flag that is set into para(misc) partition.
You can clear it manually with terminal also, or even use one of the othe rtwrp images I shared. One with "misc" in the file name.
If you use one of those recoveries and do reset will also clear that reboot condition
Click to expand...
Click to collapse
but i was required to wipe the sys, data, cache, and dalvik/art to have a clean install.
---------- Post added at 03:33 AM ---------- Previous post was at 02:47 AM ----------
mrmazak said:
dont panic. this is minor bug. Easiest way to solve is to flash stock recovery. and do factory reset from there.
You can install image from twrp or fastboot, even spflashtool.
It is from the flag that is set into para(misc) partition.
You can clear it manually with terminal also, or even use one of the othe rtwrp images I shared. One with "misc" in the file name.
If you use one of those recoveries and do reset will also clear that reboot condition
Click to expand...
Click to collapse
YO! Oaky so basic laly when i flashed that misc recovery IT BOOTED!!!!! thank you soo much dude, your the best!

Lg V20 H910 (up to 20h) (root, twrp, and more!) Noob guide!

i am making this post because i have an lg v20 running 20h. there was no root guides available, so i decided to root mine using an older guide. it succeeded, but was very hard and time consuming. Being a noob at the time, i was also extremely nervous that i could possibly brick my phone or screw something up. i didn't, and no part of this should brick yours either. ***However - if you do somehow break your device in any way, that is on you. by completing these steps, you assume full responsibility. now that we have that out of the way, lets continue. at the end of this guide, you should have a rooted device with your choice of os (7 or 8 - or even a custom rom if you choose!). you should also have twrp. this guide would not have been possible without users runningnak3d and clsA
**** Also, during this Proccess, Your Phone WILL be wiped clean!!! don't forget to back up photos, videos, etc...*****
don't download any other files than from this guide.
1. download these files (required) https://lg-firmwares.com/downloads-file/4578/H91510e_00_VTR_CA_OP_1205.kdz (for a rootable os that we can flash, - get this also (required) https://forum.xda-developers.com/v20/how-to/guide-patch-lgup-to-unlock-features-t3652222 this program is called lg up and has been patched to work with this phone. you will also need this. https://androidfilehost.com/?fid=1322778262903990218. these are the root files and need to be all in the same folder as where lg up is installed. you will also need to have access to fastboot and need to have adb installed. that is pretty easy, give it a google search if you still need help.
if you are running 32 bit, get this https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
this is the OS. get nougat, which has like three less steps (you can't upgrade to oreo on this os once rooted) or scroll down and get the oreo file. nougat (really old version) https://drive.google.com/file/d/1S82HVNt2rAtXgBY499IBJnoCVFnpCf_X/view
Oreo - get this first file, and the ones under it. https://www.androidfilehost.com/?fid=1322778262904015326
***https://androidfilehost.com/?w=files&flid=283977*** You have to have this file if getting oreo. if you chose nougat, then don't get this.
2. Now that you have everything downloaded and installed, put your phone into download mode. (power it off, hold the volume down button and plug in a usb c cable attached to your pc. don't stop holding volume down until you see download mode.)
3. once it is in download mode, open up lg up. select your device, (it should be in standby mode, according to lg up) and click dump (this is a total backup of the phone, you are lucky you know this right now, I didn't when i rooted mine) . it will bring up a file explorer, select where you want it to save to. (I chose my desktop). once you have a folder selected., it will bring up a bunch of options for partitions. click select all and uncheck user data. ****Make SURE that you don't unplug your phone during any part of this process or any other process in this guide, it will permanently brick it. ***** ow that you have selected everything but userdata, click start.
4. once that finishes, you will have made a full backup of your phone in case something goes wrong.
then click the partition DL button and select the h915 v10e kdz file (the file that i said was the rootable os we can flash) (the first file you downloaded). make sure bin file stays checked. then click start. once that finishes, your phone should automatically reboot into an old nougat operating system. then go to settings, enable developer options, and turn on usb debugging. that is easy, if you can't figure it out, google is your friend. now you should have no cellular signal. this is not the permanent ROM.
5. go to the play store and download terminal emulator for android. (once usb debugging has been enabled
then go ahead and go to the folder where you extracted the root files/package. hold shift and right click to open a command windows there or powershell, whatever your pc says. open 2 of those windows. then, in the first one, type, adb logcat -s dirtysanta
****don't close this window.*****
then in the other window, type STEP1.BAT
*****don't close this window.***** It may take a minute, but after a while it will let you type again. once you can, type run-as con
chmod 0777 /storage/emulated/0/*
6. then, pull up the window you used the logcat command in. leave it there so you can watch it
then, on your phone, go to the terminal emulator and type applypatch /system/bin/atd /storage/emulated/0/dirtysanta
once you do that, glance at the logcat window. once it says to run step 2, go to the window where you typed step1.bat. type STEP2.BAT
at this point, your phone should go ahead and reboot and say fastboot mode up at the top. now, go to your window where you typed all the .bats and type STEP3.BAT. wait until your phone reboots and you will see a screen saying that you can;'t use your phone. this is bogus, just ignore it and wait like 10-15 seconds for it to get past that screen. then it will boot that android and you should get a green screen.
Now, quickly, pull the battery from your phone. leave it out for a little while while we prepare the next steps.
If you want oreo, scroll to where it says OREO in capital letters. if you want nougat, scroll to where it says NOUGAT.
NOUGAT
use the file that you downloaded if you selected nougat - it should be a zip. it will be called h910-10r. DO NOT, I REPEAT, DO NOT UNZIP THE FILE. place it on a pre formatted micro sd card. then, place the battery and sd card back in your phone. also, unplug the phone. then, hold down the volume down key and hold hold the power key. once you see the lg logo, release the power key and immediately hold the power key again. then, you should get a screen that asks if you want to reset your phone. use your volume keys to navigate and select yes, then again confirm it. then, after letting it reboot, it should go into twrp. once there, go to wipe\and select format data. then type yes to confirm. then, go back to the main screen and click wipe again. go ahead and click advanced and wipe your dalvik cache. once done, go to home screen and click install. select the select storage option down at the bottom and change to sd card. then find the h910 zip file and install it. then go ahead and reboot your phone, you will have a rooted android 7 rom. you will also have signal. then download supersu from the play store and open it to have root.
OREO
use the file that you downloaded if you selected oreo - it should be a zip. it will be called something along the lines of full stock oreo rooted. DO NOT, I REPEAT, DO NOT UNZIP THE FILE. place it on a pre formatted micro sd card. also, go to your root package folder and find the twrp image file and put that on your sd card. then go get the mk200 zip file and also place that on your sd card. then, place the battery and sd card back in your phone. also, unplug the phone. then, hold down the volume down key and hold hold the power key. once you see the lg logo, release the power key and immediately hold the power key again. then, you should get a screen that asks if you want to reset your phone. use your volume keys to navigate and select yes, then again confirm it. then, after letting it reboot, it should go into twrp. once there, go to wipe\and select format data. then type yes to confirm. then, go back to the main screen and click wipe again. go ahead and click advanced and wipe your dalvik cache. once done, go to home screen and click install. select the select storage option down at the bottom and change to sd card. then find the oreo full rooted zip and install it then, install the mk2000 file. after you have done this, click install image and select the twrp. the reason you need to re flash this is because that oreo file re installs the stock recovery. then install the twrp. now reboot your phone. you will have a rooted android 8 rom. you will also have signal. then download a magisk 6.0 manager apk from chrome browser to have root.
IF this worked and your enjoying root give me a thanks.
This is redundant to the existing h910 root guide, all you did was copy their work and re-post it
Sent from my LG-H910 using XDA Labs
cnjax said:
This is redundant to the existing h910 root guide, all you did was copy their work and re-post it
Sent from my LG-H910 using XDA Labs
Click to expand...
Click to collapse
Yes, that is why i gave them credit. However, It is more noob friendly and takes the time to explain what they are doing to their own phones as well as give them the option for nougat or oreo, something that none of the other guides have.
Ok, so I did it sucessfully, it's was still very complicated for me as some info is vague for a beginner. But after searching and retrying, and retrying, it worked. but go to runningnak3d post to get more info, and he wanted me to use sd card to root, but that did not work for me.. Your method worked for me. Thanks
the_R00ter said:
i am making this post because i have an lg v20 running 20h. there was no root guides available, so i decided to root mine using an older guide. it succeeded, but was very hard and time consuming....
Click to expand...
Click to collapse
your guide is good
+1 for for linking to the missing files from the old guide
+1 for mentioning me and @runningnak3d
you could break up the long paragraphs and bullet style the steps in order so it's easy to follow
theirs a video here of the steps and how the command windows should look > https://www.youtube.com/watch?v=jnRWnSHLGSc
this is where allot get confused in the guide.
I also don't remember you mentioning doing the battery pull after STEP1 when the phone sometimes hangs then run STEP2
I would also change the link to the H915 kdz to the android file host file in case LG changes it.
Their was a guy recently that could not get LGUP working you could make note that you may need the 32 bit VS 2010 > https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
Any how, the guide is OK and the steps are not that bad, after a few tries most anyone can learn it.
clsA said:
your guide is good
+1 for for linking to the missing files from the old guide
+1 for mentioning me and @runningnak3d
you could break up the long paragraphs and bullet style the steps in order so it's easy to follow
theirs a video here of the steps and how the command windows should look > https://www.youtube.com/watch?v=jnRWnSHLGSc
this is where allot get confused in the guide.
I also don't remember you mentioning doing the battery pull after STEP1 when the phone sometimes hangs then run STEP2
I would also change the link to the H915 kdz to the android file host file in case LG changes it.
Their was a guy recently that could not get LGUP working you could make note that you may need the 32 bit VS 2010 > https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
Any how, the guide is OK and the steps are not that bad, after a few tries most anyone can learn it.
Click to expand...
Click to collapse
alright, thank you so much for the advice! 1. i don't want to switch to bullets because when i was trying runningnak3d's guide, it seemed overwhelming. also people can comment on the step number that they were lost at. 2. i will change the kdz to something else if the file does change. i did in fact mention the battery pull step, if you ever need to find something in a page, hit control and f and then search the page.. i will add the 32 bit file. Thanks!
the_R00ter said:
i am making this post because i have an lg v20 running 20h. there was no root guides available
. . .
this guide would not have been possible without users runningnak3d and clsA
IF this worked and your enjoying root give me a thanks.
Click to expand...
Click to collapse
W O W . . .
What a way to rip-off runningnak3d's guide.
I mean, I can understand rewriting it... I did the same. But, just to parse it out for me to follow better.
But your statement "...there was no root guides available..." is just BS.
Below is my guide... for me to do the process.
Creation date on the text file was November 7, 2017. Just over a week after runningnak3d made the original post.
Difference is, I didn't feel the need to post someone else's work, in an attempt to try claiming credit for it, due to nothing more than a "rewrite".
What you meant to do is this: (FIFY)
Cool guide for rooting your LG V20. Works for 20h, too!
--------------------------------------------------------------------------------------------------------------------
Materials:
8+GB microSD Card - formatted exFAT or ext4
LG Up (patched)
C:\Program Files (x86)\LG Electronics\LGUP <- install here, or it won't read DLL correctly
ADB
DirtySanta root package - (No working Link)
H91510e_00_VTR_CA_OP_1205.kdz - http://lg-firmwares.com/downloads-file/4578/H91510e_00_VTR_CA_OP_1205.kdz
h910-10r.zip - https://drive.google.com/open?id=1S82HVNt2rAtXgBY499IBJnoCVFnpCf_X
- Check the SHA hash: 5451146030393e490dcfba3558b620badefe75cd
Terminal Emulator APK
Root Checker APK
Settings Database Editor APK
1) Copy h910-10r.zip, SuperSU-v2.82.ZIP, SuperSU.Pro.APK, Terminal Emulator, Root Checker, and Settings Database Editor to microSD Card and insert into phone.
2) Put phone into download mode (power off / hold vol. up & plug in USB cable)
Use LG UP to dump phone. When you run it, there will be additional radio buttons.
- Pick the one that says DUMP and click Start. You will be asked what partitions to dump, click the "select all" checkbox, and then you can uncheck "userdata".
3) When finished with the Dump, click the PARTITION DL radio button, pick the H915 v10e KDZ, and click start. Make sure all partitions are checked.
- Select H91510e_00_VTR_CA_OP_1205.kdz, Tick box to set as input file.
- Select all partitions
- Confirm all partition changes
- Once it is complete, phone will reboot into old Freedom Mobile ROM
- Disconnect USB Cable
- Complete Android setup, and you may not have signal (this is normal).
- Enable developer mode, and enable USB debugging.
- Enable Unknown Sources
- Connect USB Cable
- Make sure that your PC is authorized (tick always allow, and then OK).
4) Install Terminal Emulator for Android -- NOT Termux.
5) Extract root kit somewhere that you can run adb and fastboot from.
6) Open [2] Command Prompts in the directory containing ADB.EXE.
A) In first window, execute: adb logcat -s dirtysanta
B) In the secxond window, excute: STEP1.BAT
- Wait until prompt returns (several minutes)
C) Window 2: run-as con
D) Window 2: chmod 0777 /storage/emulated/0/*
E) Open Terminal Emulator on phone, enter: applypatch /system/bin/atd /storage/emulated/0/dirtysanta
- Watch window 1. Wait for "Finished. Please run Step 2 now."
F) Window 2: "exit"
- Window 2. "exit" again.
- STEP2.BAT (adb reboot bootloader)
- Phone now shows FASTBOOT MODE
G) STEP3.BAT
- This flashes TWRP and WW 2.0 kernal
- Phone will reboot on completion
7) If phone reboots to Android, in Window 2 execute: adb reboot recovery
- If phone is stuck at secure start-up, pull battery and boot into TWRP (same as factory reset)
8) In TWRP:
A) Settings: UN-Check Enable Screen timeout
B) Format Data (type "yes" to proceed)
C) Wipe Cache & Dalvic Cache
D) Install (flash) h910-10r.zip
E) Install (flash) SuperSU-v2.82.zip
F) Format Data
G) Reboot Phone
Problem Occured:
I seem to have a problem at running this, "run-as con chmod 0777 /storage/emulated/0/*" command.
the error i get is,
xelsa:/ $run-as con
chmod 0777 /storage/emulated/0/*run-as con
run-as: Package 'con' is unknown
Help?
SheMi363 said:
I seem to have a problem at running this, "run-as con chmod 0777 /storage/emulated/0/*" command.
the error i get is,
xelsa:/ $run-as con
chmod 0777 /storage/emulated/0/*run-as con
run-as: Package 'con' is unknown
Help?
Click to expand...
Click to collapse
This "run-as con chmod 0777 /storage/emulated/0/*" actually is a two commands:
- first type "run-as con" and press ENTER
- second type "chmod 0777 /storage/emulated/0/*" and press ENTER
Search in You Tube for "How to Root install TWRP for LG V20 H910 Edition!" from user NewTechBegins. This is very good video tutorial, step by step.
Hello, so nothing happens for me after I enter the code into terminal emulator, what am I missing?
After all these done I'm rebooted to secure start-up where I need to enter password. Tried my 4 digit VIN and didn't work. As suggested earlier in this thread I pulled battery and wipe everything and install Oreo_full_rooted.zip, mk2000, and TWRP 3.3.1-0. It boots up the same to the secure start-up.
I might have done differently in process.
1. H91510e_00_VTR_CA_OP_1205.kdz I downloaded did NOT match MD5 on its download page. Tried twice and it was the same. I went ahead and used it.
2. I ran into "adb server is out of date, killing.." message but was able to download an adbfix and somehow got through
3. STEP1.BAT and the rest of BAT were not accepted in Win10 powershell so I had to enter them by hand and it went smoothly with no error
4. I used twrp 3.3.1-0 as suggested in NewTechBegins' youtube clip
5. Phone boots into scramble messages like shattered warning sign before LG logo appeals. It will eventually enter twrp or secure start-up after some wait. Takes longer than it should, 5 minutes or so.
Wish to stay on Oreo but might try the 10R Rom if I have no other choice.
Please help.
(Secure start-up appeared the first time after step 3 where it was supposedly be a green screen and I can pull battery. It didn't. It went to secure start-up. I pulled battery anyways and rebooted into TWRP, I was asked to enter password again. After a few wrong attempts I was able to bypass it and enter TWRP to proceed with install)
edit: Eventually succeed by not installing TWRP after flashing OREO and MK2000. Rebooted into Secured Start-up again, pull battery and rebooted into FACTORY Recovery and deleted all user data from there. Rebooted and Android setup began.
Note: BE SURE TO FORMAT DATA AGAIN in TWRP after flashing OREO and MK2000 to have a clean start. Would be nice if it was mentioned in this tutorial.
the_R00ter said:
i am making this post because i have an lg v20 running 20h. there was no root guides available, so i decided to root mine using an older guide. it succeeded, but was very hard and time consuming. Being a noob at the time, i was also extremely nervous that i could possibly brick my phone or screw something up. i didn't, and no part of this should brick yours either. ***However - if you do somehow break your device in any way, that is on you. by completing these steps, you assume full responsibility. now that we have that out of the way, lets continue. at the end of this guide, you should have a rooted device with your choice of os (7 or 8 - or even a custom rom if you choose!). you should also have twrp. this guide would not have been possible without users runningnak3d and clsA
**** Also, during this Proccess, Your Phone WILL be wiped clean!!! don't forget to back up photos, videos, etc...*****
don't download any other files than from this guide.
1. download these files (required) https://lg-firmwares.com/downloads-file/4578/H91510e_00_VTR_CA_OP_1205.kdz (for a rootable os that we can flash, - get this also (required) https://forum.xda-developers.com/v20/how-to/guide-patch-lgup-to-unlock-features-t3652222 this program is called lg up and has been patched to work with this phone. you will also need this. https://androidfilehost.com/?fid=1322778262903990218. these are the root files and need to be all in the same folder as where lg up is installed. you will also need to have access to fastboot and need to have adb installed. that is pretty easy, give it a google search if you still need help.
if you are running 32 bit, get this https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
this is the OS. get nougat, which has like three less steps (you can't upgrade to oreo on this os once rooted) or scroll down and get the oreo file. nougat (really old version) https://drive.google.com/file/d/1S82HVNt2rAtXgBY499IBJnoCVFnpCf_X/view
Oreo - get this first file, and the ones under it. https://www.androidfilehost.com/?fid=1322778262904015326
***https://androidfilehost.com/?w=files&flid=283977*** You have to have this file if getting oreo. if you chose nougat, then don't get this.
2. Now that you have everything downloaded and installed, put your phone into download mode. (power it off, hold the volume down button and plug in a usb c cable attached to your pc. don't stop holding volume down until you see download mode.)
3. once it is in download mode, open up lg up. select your device, (it should be in standby mode, according to lg up) and click dump (this is a total backup of the phone, you are lucky you know this right now, I didn't when i rooted mine) . it will bring up a file explorer, select where you want it to save to. (I chose my desktop). once you have a folder selected., it will bring up a bunch of options for partitions. click select all and uncheck user data. ****Make SURE that you don't unplug your phone during any part of this process or any other process in this guide, it will permanently brick it. ***** ow that you have selected everything but userdata, click start.
4. once that finishes, you will have made a full backup of your phone in case something goes wrong.
then click the partition DL button and select the h915 v10e kdz file (the file that i said was the rootable os we can flash) (the first file you downloaded). make sure bin file stays checked. then click start. once that finishes, your phone should automatically reboot into an old nougat operating system. then go to settings, enable developer options, and turn on usb debugging. that is easy, if you can't figure it out, google is your friend. now you should have no cellular signal. this is not the permanent ROM.
5. go to the play store and download terminal emulator for android. (once usb debugging has been enabled
then go ahead and go to the folder where you extracted the root files/package. hold shift and right click to open a command windows there or powershell, whatever your pc says. open 2 of those windows. then, in the first one, type, adb logcat -s dirtysanta
****don't close this window.*****
then in the other window, type STEP1.BAT
*****don't close this window.***** It may take a minute, but after a while it will let you type again. once you can, type run-as con
chmod 0777 /storage/emulated/0/*
6. then, pull up the window you used the logcat command in. leave it there so you can watch it
then, on your phone, go to the terminal emulator and type applypatch /system/bin/atd /storage/emulated/0/dirtysanta
once you do that, glance at the logcat window. once it says to run step 2, go to the window where you typed step1.bat. type STEP2.BAT
at this point, your phone should go ahead and reboot and say fastboot mode up at the top. now, go to your window where you typed all the .bats and type STEP3.BAT. wait until your phone reboots and you will see a screen saying that you can;'t use your phone. this is bogus, just ignore it and wait like 10-15 seconds for it to get past that screen. then it will boot that android and you should get a green screen.
Now, quickly, pull the battery from your phone. leave it out for a little while while we prepare the next steps.
If you want oreo, scroll to where it says OREO in capital letters. if you want nougat, scroll to where it says NOUGAT.
NOUGAT
use the file that you downloaded if you selected nougat - it should be a zip. it will be called h910-10r. DO NOT, I REPEAT, DO NOT UNZIP THE FILE. place it on a pre formatted micro sd card. then, place the battery and sd card back in your phone. also, unplug the phone. then, hold down the volume down key and hold hold the power key. once you see the lg logo, release the power key and immediately hold the power key again. then, you should get a screen that asks if you want to reset your phone. use your volume keys to navigate and select yes, then again confirm it. then, after letting it reboot, it should go into twrp. once there, go to wipe\and select format data. then type yes to confirm. then, go back to the main screen and click wipe again. go ahead and click advanced and wipe your dalvik cache. once done, go to home screen and click install. select the select storage option down at the bottom and change to sd card. then find the h910 zip file and install it. then go ahead and reboot your phone, you will have a rooted android 7 rom. you will also have signal. then download supersu from the play store and open it to have root.
OREO
use the file that you downloaded if you selected oreo - it should be a zip. it will be called something along the lines of full stock oreo rooted. DO NOT, I REPEAT, DO NOT UNZIP THE FILE. place it on a pre formatted micro sd card. also, go to your root package folder and find the twrp image file and put that on your sd card. then go get the mk200 zip file and also place that on your sd card. then, place the battery and sd card back in your phone. also, unplug the phone. then, hold down the volume down key and hold hold the power key. once you see the lg logo, release the power key and immediately hold the power key again. then, you should get a screen that asks if you want to reset your phone. use your volume keys to navigate and select yes, then again confirm it. then, after letting it reboot, it should go into twrp. once there, go to wipe\and select format data. then type yes to confirm. then, go back to the main screen and click wipe again. go ahead and click advanced and wipe your dalvik cache. once done, go to home screen and click install. select the select storage option down at the bottom and change to sd card. then find the oreo full rooted zip and install it then, install the mk2000 file. after you have done this, click install image and select the twrp. the reason you need to re flash this is because that oreo file re installs the stock recovery. then install the twrp. now reboot your phone. you will have a rooted android 8 rom. you will also have signal. then download a magisk 6.0 manager apk from chrome browser to have root.
IF this worked and your enjoying root give me a thanks.
Click to expand...
Click to collapse
hey reply to me fast is it ok to flash h915 firmware in my h910 10I cuz already hard bricked the previous h918 motherboard cuz I don't know I accidentally flashed h990 firmware plz tell me also is it necessary to flash h915 in h910 to root and TWRP.
Isn't that what it says in the OP?
pakwarrior said:
hey reply to me fast is it ok to flash h915 firmware in my h910 10I ....
Click to expand...
Click to collapse
MaverickNextDoor said:
Isn't that what it says in the OP?
Click to expand...
Click to collapse
Dont try to install h915 instead just try dirty santa method which will install temporary twrp recovery there install h910 20h pre rooted 8.0 rom and install mk2000 v2.2 kernel and install newer version of twrp and you are good to go
No bricking risk and nothing dont try to do corss flashing of h915 its not that accurate also there is model issue in crossflashing instead doing that do dirsty santa and install h910 20h simple
pakwarrior said:
Dont try to install h915 instead just try dirty santa method which will install temporary twrp recovery there install h910 20h pre rooted 8.0 rom and install mk2000 v2.2 kernel and install newer version of twrp and you are good to go
No bricking risk and nothing dont try to do corss flashing of h915 its not that accurate also there is model issue in crossflashing instead doing that do dirsty santa and install h910 20h simple
Click to expand...
Click to collapse
So how do you use dirty santa method for h910 20h? All the guides I've seen want you to crossflash.
jxsilicon9 said:
So how do you use dirty santa method for h910 20h? All the guides I've seen want you to crossflash.
Click to expand...
Click to collapse
I didn't do crossflashing i first installed twrp throught dirty santa which then you have to open from recovery then there is android 8.0 h910 stock rom pre rooted i used or you can use your custom rom to flash then there is an kernel mk2000 file also to flash from twrp after you installed new rom for fixing errors like static screen and like that thats it also if you flash android 8.0 stock of h910 rom you will get a password during booting process just attempt it wrongs for many trys wrotten on it until you see wipe the data prompt and you will factory reset your phone and its ready to go maybe you will be promoted to twrp so you have to factory reset through wipe option ok and you are good to go one thing do it only on h910 not other model there is 0% chance of hard bricking your phone if you did this and no signal problem
Also to understand more go a see my qna with author of this post in this post obviously ok or if you meed more help reply me i will text you
pakwarrior said:
I didn't do crossflashing i first installed twrp throught dirty santa which then you have to open from recovery then there is android 8.0 h910 stock rom pre rooted i used or you can use your custom rom to flash then there is an kernel mk2000 file also to flash from twrp after you installed new rom for fixing errors like static screen and like that thats it also if you flash android 8.0 stock of h910 rom you will get a password during booting process just attempt it wrongs for many trys wrotten on it until you see wipe the data prompt and you will factory reset your phone and its ready to go maybe you will be promoted to twrp so you have to factory reset through wipe option ok and you are good to go one thing do it only on h910 not other model there is 0% chance of hard bricking your phone if you did this and no signal problem
Also to understand more go a see my qna with author of this post in this post obviously ok or if you meed more help reply me i will text you
Click to expand...
Click to collapse
Ok,you know where to get the latest firmware and files? Most dirtysanta tutorials bat have the downgrade added. How do I just add the twrp without the downgrade? Any dirtysanta bat and files?
jxsilicon9 said:
Ok,you know where to get the latest firmware and files? Most dirtysanta tutorials bat have the downgrade added. How do I just add the twrp without the downgrade? Any dirtysanta bat and files?
Click to expand...
Click to collapse
no no need to downgrade anything just find any video which says TWRP installation for LG v20 h910 dirty Santa and flash it but wait I seen in all zip files of dirty Santa there will a final step in that folder called step 3 that file is a batch file just open it in notepad and you will see there is written TWRP for I think us995 just rename it all of them to that name which TWRP in that folder ok for example if the name of the TWRP in dirty Santa folder is twrph910.img
you have to rewrite the same and exact name with .img in that batch file this ting will not tell any YouTuber or in the website cuz, I find it in curiosity and founded that the TWRP name was wrong so I just renamed it in that batch file and it worked before it it wasn't working also download the exact LG v20 h910 TWRP, not any other model TWRP or you will hard brick it man it feels so bad I one time hard bricked my LG next day I bought the device now I just sold it I change the mobo to LG h910 then I did all that root things and then I sell that phone no I have sony xz3 which is way better and have snapdragon 845 octa-core which is the thing I needed in just 135$ I found that it was japan model refurbished but has all things new and original like poled panel and stuff... well if you need more help just don't reply m on XDA you will not get the answer quickly here my social media account
discord: PAKWARRIOR#6115
Facebook: https://www.facebook.com/hafiz.saad.712161/
Instagram: https://www.instagram.com/zero_saad_sixs/
reply me on that I am online all the time but not online on XDA all the time ok
Installed twrp no problem. Had installation issues (error 7) and edited the file. Tried it again and came up with error 1. Saw someone else on xda say to extract the boot img and mount to the recovery partition successfully. Welp, I guess I wasn't so lucky. I can not get into twrp recovery or any recovery and my v20 (910) boots into the Lg android splash screen. My desktop can not see any adb device but it registers a device being plugged in. What's the verdict, soft or hard bricked? Everything was cleared besides twrp prior to error 7 and 1.
Lgv20usr said:
Installed twrp no problem. Had installation issues (error 7) and edited the file. Tried it again and came up with error 1. Saw someone else on xda say to extract the boot img and mount to the recovery partition successfully. Welp, I guess I wasn't so lucky. I can not get into twrp recovery or any recovery and my v20 (910) boots into the Lg android splash screen. My desktop can not see any adb device but it registers a device being plugged in. What's the verdict, soft or hard bricked? Everything was cleared besides twrp prior to error 7 and 1.
Click to expand...
Click to collapse
Re-flash the H91510e_00_VTR_CA_OP_1205.kdz with LG UP. And again.

Lenovo S5 Pro - L58041 (Global) [2020.03.21]

Welcome to this little thread in which I'll provide every useful information about this device based on my and other users's experiences. If you know something, that I didn't mention, please reply to this thread in order to help out each other even more effectively. Thanks and pleasant reading!​
The Lenovo S5 Pro is a very decent mid-ranger with good specs and even better pricing. We all know, that chinese manufacturers tend to install bloatware on their products time to time. In our case, Lenovo didn't release a single update since 2018 Novemer to this device. It means, that it came out with Android 8.1 Oreo (2018 November Security Patch) and left untouched. This is even worse, than Meizu which is famous for it's neglecting policy of software updates for global users. Now, that we know all this, it's not a surprise, that we are here on our favourite developer forum.
*** General information | Links | Downloads | Credits ***​
The official global firmware is now saved and available (thanks to our forum member nikosddesign) here: download & link to the post
Everything you will possibly need (PC software, drivers, stock camera app, VoLTE modem etc...) is available in this Yandex Disk, you just have to navigate to each one. (Most of the content is in russian, since Yandex is the russian Google, but it's not hard to find the files you'll need).
The previous links and the following tutorials are only available, because suninterbru (from 4pda forums) and radiationofthenation provided these informations and the tutorials, also so much thanks to everybody on the 4pda forums, who provided useful information and files, большое спасибо!
Even though the bootloader unlock, TWRP install and rooting should not cause data loss, be careful and create a backup. You can back up only your files and data or your whole ROM, it's up to you.
Please note, that after you've unlocked your bootloader, everytime your reboot or turn on your phone a warning will pop up during the boot process for about 1 second. On Android 9.0 Pie vendor the message pops up for about 5 seconds. The warning is about the side effects of modifying the system software and it also says, that it is not recommended to store any personal data on your device anymore. Please ignore this message, since it's only popping up, because manufacturers usually don't like, if you modify your device.
Pro tip: If you keep pressing your power button for a little longer you can skip the alert and boot faster.
*** Bootloader unlock ***
Please note, that your warranty will become invalid/void after you unlock your bootloader or root your device.​
0. In your device's developer settings enable bootloader/OEM unlock and USB debugging.
1. Visit the official ZUI bootloader unlock website.
2. Enter your IMEI1 number in the first field. (You can find your IMEI numbers in Settings\About or in the dialer enter: *#06#).
3. Enter your serial number in the second field. (You can find your serial number in the fastboot menu). The one in the settings is not good in this case! (To access the fastboot menu, turn off your phone, then press the power button and after you see your screen light up, immediately press the volume down (-) button or while it's turned on and USB Debugging is enabled, simply type in the terminal/cmd ,,adb reboot bootloader").
4. In the next field enter your email adress. (Please note, that Tutanota won't work, Gmail is recommended or other not secure email providers).
5. Enter the verification numbers in the last field.
6. Tick the checkbox.
8. Click on the blue button.
7. Now check your inbox and/or spam folder, because Lenovo just sent you your custom sn.img, only for your phone.
8. Save the sn.img to your PC and install ADB drivers system-wide. (Thank you Snoop05 for your work)!
9. Open a terminal/cmd on Windows. You should be in the same directory, where your sn.img file is, with the terminal. To change directories type ,,cd your directory goes here" and hit ENTER.
10. Run the following commands:
- adb reboot bootloader
- fastboot flash unlock sn.img
- fastboot oem unlock-go
11. Congratulations! Your bootloader is now unlocked!
*** TWRP Recovery ***​1. Download the .img file from here.
2. The steps are similar to the bootloader unlocking:
- adb reboot bootloader
- fastboot flash ,,downloaded" .img
- After the flashing is done DON'T reboot to the system, instead navigate to the ,,Reboot Recovery or Recovery Reboot" option and select it. (Volume keys and power key - you know the drill) This will ensure, that the TWRP Recovery doesn't get ereased on reboot(s)!
3. After you've successfully rebooted into TWRP, you should root your device with Magisk, to prevent the recovery erasure!
*** ROOT ***​1. The good old SuperSU is no longer in the picture, but don't worry a new player is in the game. Download Magisk from here. (Thank your for your work topjohnwu)!
2. After you've downloaded the flashable .zip copy it to the main directory/root of your device.
3. Reboot to TWRP.
4. Click install, select the flashable .zip file.
5. The installation process should start.
6. Reboot, after finished.
7. Check if Magisk Manager is installed or not, if yes tap and update it.
8. If you did not succeed, please check the Magisk topic for solutions or reply to this thread.
*** Factory reset | Stock ROM | Unbrick | LOST IMEI/PERSIST/EFS | QCN BACKUP/RESTORE ***
!!! NEVER EVER TICK ,,ERASE ALL BEFORE DOWNLOAD" IN QFIL, OTHERWISE YOU WILL LOSE YOUR IMEI AND THE ABILITY TO CONNECT TO MOBILE NETWORKS !!!​
If you accidentally clicked on that option you will have to restore someone elses QCN backup. (It will not work, if you backup your own QCN and rewrite your IMEI and restore it, so do not waste your time with that)! Luckily, a member of the 4PDA forums published their qcn backup. (большое спасибо geepnozeex)! QCN backup for Lenovo S5 Pro. (I modified the link, because the original one is no longer valid)
1. Download the linked QCN file.
2. Make sure, that you are on one of the Stock ROMs, however the recommended ROM is this one.
3. You will have to be rooted to put your device in diagnostics mode. To do that, follow this tutorial.
4. You will have to edit the QCN file with HxD, in order to write your own IMEI into.
5. Open the file with HxD and search for 08 8A 76 06 06 14 57 95 32. This is the IMEI 2. You will have to insert your IMEI 2 from the box here, but first you will have to convert it into Hexadecimal numbers.
6. Convert your IMEIs into Hexadecimal numbers here.
7. You will have to rewrite and insert your values insted of the previous one.
8. Search for 08 8A 76 06 06 04 67 98 72. This is IMEI 1. Convert your IMEI 1 into Hexadecimal numbers, too and replace.
9. Save the file (Ctrl + s)
10. Open QFIL and click on Tools, then QCN Backup/Restore.
11. Choose the QCN file, you wrote your IMEI into.
12. Click on Restore QCN.
13. There is a chance, that the process/progress bar won't finish till the end. No problem, just reboot to EDL mode through TWRP/Advanced and restore the recommended stock ROM.
14. You should have everything working fine, now.
To factory reset or unbrick your device, follow this tutorial on 4PDA. [Don't panic you don't have to know russian, just follow the instructions on the pictures! To see the pictures, click on the bold text.] ,,(спойлер (+) (Инструкция по прошивке)" ~ or ~ Download any of the previously linked STOCK ROMs to your device's main folder and flash them through TWRP. Most of them are in flashable .zip formats and should work well. A simple factory reset in TWRP is recommended before installing any of the ROMs, be careful this action will erease your data from your phone!
(Please note, that most of the time you'll have to use the QPST/QFIL method, because the flashable .zip files always expect a specific vendor version, usually a lower one, so you can upgrade with flashable .zips, but possibly can't downgrade, so you have to use QFIL)!
*** GSI custom ROMs ***
Our device is arm64-aonly, so please only use according GSIs. Note, that I will link only those GSIs, which are booted successfully on my device!​
~ phhusson's official GSI list: here
~ phhusson's AOSP GSI (Android Open Source Project): here
~ developerluke's ExpressLuke GSIs: here
~ eremitein's CAOS GSI Project: here
~ eremiten's LOSQ GSI Project: here
~ igors1974's Amber GSIs: here
~ tunasahinn's and yek4perf's Tunahan's GSI builds: here
~ mrsshunt3r's albus-gsi: here
Note, that you should keep up with the developments and update your system, if needed! These are just a few GSIs, that I've tested personally on my phone, but you can always keep up with the latest news and try new GSIs out, thanks to phhusson's official GSI list!
*** How to flash an Android 10 GSI ***​
1. Download the latest custom phh-magisk from here. (Thank you developerluke and phhusson)!
2. Download the latest Disable_Dm-Verity_ForceEncrypt from here. (Thank you Zackptg5 and others)!
3. Download your desired GSI.
4. You can flash from an USB-OTG flash drive or from the storage of your phone. (I personally have a dedicated USB for this purpose).
4.1 If you are coming from stock ROM you will most likely need to Format Data in this step, because the Disabler won't be able to decrypt the data and, that will cause a stuck at the boot logo!
4.2 Reboot Recovery
5. In TWRP perform a normal factory reset
6. Flash Disable_Dm-Verity_ForceEncrypt. (Cache wipe is optional).
7. Flash your GSI image.
8. Format Data (Skip this step if you already did this in 4.1)!
9. Reboot Recovery (Skip this step, too if you already did this in 4.2)!
10. Flash Magisk-phh
(11. Wipe cache/dalvik).
12. Reboot System
13. Enjoy!
*** Possible GSI bugs ***
Please note, that bugs can differ/vary on different GSIs, the numbers are not fully accurate!
​
1. The default camera app will work, however it doesn't support HDR, panorama or portrait modes. It also can't record in 4K resolution. Freezing is also possible. ~ 50%
2. First time, when you open the camera it'll stuck on loading, but after you go back and open it again it will work flawlessly. ~ 50%
3. No audio/microphone during phone calls. ~ 15%
*** Guaranteed GSI bugs*** ​1. The infrared face unlocking will not work, only fingerprint authentication is working. ~ 100%
2. You won't be able to charge your device while it's turned off, after you plug it in, it will automatically boot up. ~ 100%
3. Auto brightness. ~ 100% (There is a fix for auto brightness below)!
*** Camera fix (GSI) ***
(If you get ,,serious camera error" or your camera freezes on HDR)​
1. Download a custom camera app, where you can manually adjust the ISO level.
2. With OpenCamera, for example you have to adjust ISO to 800 and never above, because your camera will freeze!
3. So, always keep ISO 800 or under. With these settings even HDR shots are working!
*** Auto brightness (GSI) ***​1. Download framework-res__auto_generated_rro.apk from this thread.
2. Follow the instructions, which are described in this post. (You will need to have root to use ,,su" commands).
3. Thank you MishaalRahman and kAs1m for the apk and the instructions!
Twrp disappears when restarting
Help, twrp disappears when restarting. After installing it by: "fastboot flash recovery trwp.img". right there I start it with the "Vol + Power" keys and it starts correctly but when you turn it off and back in, "stock recovery" appears again. I also installed it again using the same twrp, but it disappears again.
kcire_eae said:
Help, twrp disappears when restarting. After installing it by: "fastboot flash recovery trwp.img". right there I start it with the "Vol + Power" keys and it starts correctly but when you turn it off and back in, "stock recovery" appears again. I also installed it again using the same twrp, but it disappears again.
Click to expand...
Click to collapse
Hello, please don't reboot after sending the recovery image to the phone. Execute the:" fastboot reboot recovery " command. Now it is going to work.
Halwer said:
Hello, please don't reboot after sending the recovery image to the phone. Execute the:" fastboot reboot recovery " command. Now it is going to work.
Click to expand...
Click to collapse
It didn't work, given: "fastboot: usage: unknown reboot target recovery" Sorry for the long time to answer, I only have mobile data, and from this same mobile I answer, and I use google translator, I'm from Mexico.
Halwer said:
Hello, please don't reboot after sending the recovery image to the phone. Execute the:" fastboot reboot recovery " command. Now it is going to work.
Click to expand...
Click to collapse
Foto
kcire_eae said:
Foto
Click to expand...
Click to collapse
Well, it looks good. Maybe only " reboot recovery " is enough.
Halwer said:
Well, it looks good. Maybe only " reboot recovery " is enough.
Click to expand...
Click to collapse
It didn't work, friend, but I appreciate the help.
kcire_eae said:
It didn't work, friend, but I appreciate the help.
Click to expand...
Click to collapse
I'm sorry. Do an internet search and check related TWRP forums for solutions for this specific issue. For me everything is working fine. Are you sure you unlocked your bootloader first?
Halwer said:
I'm sorry. Do an internet search and check related TWRP forums for solutions for this specific issue. For me everything is working fine. Are you sure you unlocked your bootloader first?
Click to expand...
Click to collapse
Help, I did the following and I no longer start my mobile:
-fasboot flash recovery twrp.img.
-fasboot flash boot twrp.img.
-fasboot reboot.
now just start twrp even if restart restart twrp again, in the twrp browser my sdcard files are shown, maybe you can still help me please.
kcire_eae said:
Help, I did the following and I no longer start my mobile:
-fasboot flash recovery twrp.img.
-fasboot flash boot twrp.img.
-fasboot reboot.
now just start twrp even if restart restart twrp again, in the twrp browser my sdcard files are shown, maybe you can still help me please.
Click to expand...
Click to collapse
You should not have flash the recovery image to the boot partition. These partitions are not the same, be careful! Now you can save your data from TWRP via MTP connection to your computer. After that restore your phone with QPST to the latest pie ROM or to the oreo ROM from yandex. The oreo ROM is flashable from recovery, it is easier.
Halwer said:
You should not have flash the recovery image to the boot partition. These partitions are not the same, be careful! Now you can save your data from TWRP via MTP connection to your computer. After that restore your phone with QPST to the latest pie ROM or to the oreo ROM from yandex. The oreo ROM is flashable from recovery, it is easier.
Click to expand...
Click to collapse
Is it possible to just flash the boot partition (boot) again, if I get the boot.img from another rom?
I don't want to lose the stock rom:crying:
kcire_eae said:
Is it possible to just flash the boot partition (boot) again, if I get the boot.img from another rom?
I don't want to lose the stock rom:crying:
Click to expand...
Click to collapse
Maybe you can try to download a ROM file, extract it and flash the boot image, but I'm not sure if it is going to work.
Halwer said:
Maybe you can try to download a ROM file, extract it and flash the boot image, but I'm not sure if it is going to work.
Click to expand...
Click to collapse
I'm going to try, and even,
on this page there are android 9, will it be true?
"https: // mirrors.lolinet.com/ firmware / lenovo /l58041/"
but first I will do it with the "O" stock, which you mention here.
I hope it will work again.
kcire_eae said:
I'm going to try, and even,
on this page there are android 9, will it be true?
"https: // mirrors.lolinet.com/ firmware / lenovo /l58041/"
but first I will do it with the "O" stock, which you mention here.
I hope it will work again.
Click to expand...
Click to collapse
You should do the oreo version, if your were on the global oreo ROM. After that you can try the pie version, if nothing works don't worry you can do a backup of your data from twrp to your computer and flash a custom ROM or the chinese Pie version, which is recommended. With root access you can easily debloat the chinese ROM and with AdAway you can disable all communications pointing to chinese servers or websites. I also found these. Maybe you can give them a try.
After a few hours I was finally able to install the "Chinese stock rom", although I struggled, since the files of the "rom" of the l58041 do not quite coincide with the "stupdroid" tutorial and some files have two different versions, something like that:
here I chose the "ddr" .
prog_emmc_firehose_xxxx_ddr.mbn (.elf). prog_emmc_firehose_xxxx.lite.mbn (.elf).
here I chose the "retain_userdata".
rawprogram0.xml. rawprogram0_retain_userdata.xml.
and in qfil "Flat Build", however I don't know if it was the right thing because at the beginning I was asked for a password ("but that's another topic").
To add a language (without root), use local more apk.
"https: // c. mi. com / thread-2098669-1-0.html"
To root the "radiationofthenation" thread worked me.
"https:. //forum .xda-developers . com/general/help/lenovo-s5-pro-root-global-firmware-help-t3895643/page2"
kcire_eae said:
After a few hours I was finally able to install the "Chinese stock rom", although I struggled, since the files of the "rom" of the l58041 do not quite coincide with the "stupdroid" tutorial and some files have two different versions, something like that:
here I chose the "ddr" prog_emmc_firehose_xxxx_ddr.mbn (.elf). prog_emmc_firehose_xxxx.lite.mbn (.elf).
here I chose the "retain_userdata" rawprogram0.xml. rawprogram0_retain_userdata.xml.
and in qfil "Flat Build", however I don't know if it was the right thing because at the beginning I was asked for a password ("but that's another topic").
To add a language (without root), use local more apk.
"https: // c. mi. com / thread-2098669-1-0.html"
To root the "radiationofthenation" thread worked me.
"https:. //forum .xda-developers . com/general/help/lenovo-s5-pro-root-global-firmware-help-t3895643/page2"
Click to expand...
Click to collapse
I'm glad it is working for you now. Yes, you are right the tutorials flap at some points, but there are other tutorials which you can follow and make it work. For the first time I was struggling with the restoration, too. You will see, that the chinese ROM is quite good, you just have to uninstall the bloatware and disable spying DNS requests.
Halwer said:
I'm glad it is working for you now. Yes, you are right the tutorials flap at some points, but there are other tutorials which you can follow and make it work. For the first time I was struggling with the restoration, too. You will see, that the chinese ROM is quite good, you just have to uninstall the bloatware and disable spying DNS requests.
Click to expand...
Click to collapse
Ohh, explain more about spying. And also if you know something about the message that Android told me when I start. I remember that I flashed twrp.img using "fastboot", and when I asked for a password to decrypt, it only allowed me to clear cache and dalvit cache (I did wipe), and when I started again I showed a message saying that I was encrypting and a percentage, just here, I interrupted the process by turning off the cell phone, and flashed again with qfil (download). So when I start I just remember that I said something about the cell phone being restored and then I could restore the copy with my Google account. So what I think is that when the message of "TO START ANDROID ENTER YOUR PASSWORD" is displayed, it may work to interrupt or perhaps to put the incorrect password many times to automatically reset or also choose "rawprogram0.xml" in qfil (but I did not dare because it deletes it the information related to the imeil and the signal or at least that says some comments ). Now there is only one who can interpret what happened and to have clearer the restoration process, the rom seems to me very much the problem of the language is solved with "more local", I am from Mexico (At & t).
good morning i have good new
i have been backing up the global rom
just wants to go a long time it is super compressed 3.5giga and it is regular size 10.6 g
nikosddesign said:
good morning i have good new
i have been backing up the global rom
just wants to go a long time it is super compressed 3.5giga and it is regular size 10.6 g
Click to expand...
Click to collapse
Thank you, I'm sure some people will find it very useful!
Hello
it's about 4gigabyte have to be patient.
i have very bad internet connection...

Categories

Resources