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

Search This thread

Xsavi

Senior Member
Mar 29, 2014
73
124
Georgia, USA
randomnessbyxx.com
SUPERSEDED: Go Here

Prerequisites:
V35 Engineering Bootloader flashed to your device (Stock bootloader will NOT work for this)
USB 2.0 (USB 3.x does not work well with ADB or Fastboot)
The V40 Pie Conversion Tool
Be in fastboot mode before attempting this
Patience
ADB and Fastboot DRIVERS. Platform tools are already included in the archive
Windows. The tool is not designed for Linux.
This will NOT sim unlock your phone[/CENTER]

Note: I'm not responsible for any bricks that come about from using this tool. Once you crossflash, there's NO going back unless you have backups of your partitions, or a KDZ specifically for your device. I'm going to say this again, DO NOT use USB 3.x while attempting this. You will run into errors. You won't see anything for a little bit when it gets to flashing system_a and vendor_a because it has to load those images into ram.

Download the tool: Google Drive

1. Download the archive and unzip the tool.
2. Navigate to the folder you unzipped the tool to.
3. Enter the folder and inside the folder you should find "V40PIECONVERSION.cmd". Ignore the one with the "Stock Boot" at the end. All it does is flash the stock boot image instead of the TWRP that is required to do this.
4. Execute the batch file and follow the instructions. When the batch file is done, Pie will be flashed, but it will not boot due to encryption. We're going to disable that.
5. Boot TWRP by performing a master reset. To perform a master reset: Press and hold Vol- and Power. When you see the "V40 ThinQ" logo release the power button and quickly press back down. Keep holding Vol- and Power until you see a factory reset screen. Finally, follow the prompts (yes) and you should be in TWRP.


TWRP Instructions

Head over to the wipe menu and format data (to remove encryption).

Next, head over to mount and mount vendor. Mount ONLY vendor.

Now, open a command prompt, navigate to the folder where you extracted the tool, and open a command prompt inside the folder (Type "CMD" in File Explorer's Address Bar)

ig7ntpwL3bCWBr1tv2MBtea-gGnZUdPlMtGNGZa_o9uOvE3XwbiQi_lT--xi4QsOQFHGpEmyZSDl7mkgLHuKCtnWArArdV8pZgn3zXnZPW6f5skNpaokpEiK1q-VP_3Ro4awPKn_aoIefURT_U9E4PwndbOfJmergECGK62C-wU-Dn4ZpQ0XK2jvRvtemSKWrtXHI96uAYzjZnM2f783Dqklp9rp_RucTAeKQDY64b4JmJbExlxHCZlJV_mQDzhggCrzKleKRkYFS5G3GKzzLlNw8QRmufuLsMtBvNyrQkfpvbs61EY6uRC0aSLiKOixMEvFbXEGENx597qA28-eW5YrOgZ7HR4tel1Sx3QLRS-0I6q2iJvcP6X1v2YQMfrZNRpOpa9-r55ROcL5Eyp1zDO6WAdrP5aAKjZJDwg6w6PUWbeLDy9Wem_hV6hOQJvNNeQzjKmPj1NSOxaUgcnMileDyR-0hCzaxF1auegPKmo2Qi7Ayqpe9HF4Jrl4eAduc2TgXHaL84Og3GGHaK0_faAWzUBKhrkP0R_tFeQKTd7JE_Ygtg5fEaJxSo445AQ3rpw6IhDhrkLhmoFYLhs4wtjMJyNM2EIs2mDmkdBS6WknmxVj-p19xgd2gnc6q05u84WmKc30H-L5fPxnhE8NPqxRGttl1lz82U99liObbbhinm_GeABV3vKs7Il-nPMFbaaWd6JACbpJYljoSWshlX4PfA=w1096-h615-no


Execute the adb command:
Code:
adb pull /vendor/etc/fstab.judypn

Edit the file (fstab.judypn) in your favorite text editor and on the /data mountpoint change "forceencrypt" to "encryptable".

Save and Close the file and push the file back with the command:
Code:
adb push fstab.judypn /vendor/etc

Now that encryption is disabled, you NEED to flash back the ORIGINAL boot image that's included with the tool. In order to do that, we need to get back into fastboot.

To get back into fastboot, we need to: Make sure USB is still plugged into the phone. Press and hold VOL+ (Or vol up). Power off the phone (Via TWRP reboot menu) while still holding vol+. Keep holding VOL+ until you see download mode flash for a brief second and you should be in fastboot. The fastboot you see now isn't the V35 Engineering Bootloader. It's the stock pie bootloader. Wiping the laf_a partition allows access to fastboot on devices that are locked (Nearly all US Carriers).

Finally, run the commands:
Code:
fastboot flash boot_a boot_a.image
and
Code:
fastboot format userdata

You should run into an "encryption unsuccessful" screen. Just hit reset phone. You may have to reboot once or twice to get to the setup screen.

For those of you that want root, here's a patched Magisk boot image: Google Drive

You can flash it by running the command:
Code:
fastboot flash boot_a magisk_patched.img

Make sure you open a command prompt in the directory you downloaded the image in. If you don't have adb and fastboot in your environment path, just place it in the V40PIEConversion folder and flash it from there.
 
Last edited by a moderator:

avaie

Senior Member
Nov 9, 2014
57
9
Would this method work on the T-Mobile variant? Is there a fee [anywhere]?

---------- Post added at 04:16 PM ---------- Previous post was at 04:12 PM ----------

Can someone comment on this?

 

rmgibbs1861

Senior Member
Dec 20, 2011
131
49
You are very welcome! Feel free to contact me if you run into any issues. :)

On the plus side, your b-slot is untouched throughout all of this, so you can use that to re-root or flash backups should something go wrong, or update. Enjoy the pie.

Will this work on the LG V40 International?
 

awireless

Senior Member
Apr 9, 2018
348
97
How to get the v35 engineering bootloader on the phone the only method ive heard about is through octoplus jtag?
 

jass65

Senior Member
Dec 21, 2014
270
52
had my sprint v40 bootloader unlocked from octoplus and tried this cause i hate sprint SW (activation screen).it flashed everything from batch file fine but when i went to boot into twrp it booted into normal recovery with the rainbow circle "erasing" then rebooted into os but it was all korean and the android version was 8.1. wtf lol? trying it again now, yes im using "V40PIECONVERSION" not the stock one.
 

Ainz_Ooal_Gown

Senior Member
Feb 3, 2013
3,967
1,748
28
Los Osos
Sony Xperia 1 III
Google Pixel Watch
had my sprint v40 bootloader unlocked from octoplus and tried this cause i hate sprint SW (activation screen).it flashed everything from batch file fine but when i went to boot into twrp it booted into normal recovery with the rainbow circle "erasing" then rebooted into os but it was all korean and the android version was 8.1. wtf lol? trying it again now, yes im using "V40PIECONVERSION" not the stock one.

Did you check to make sure you are on Slot A and not B? Becuase i remember when i had everything flashed the first time i tried to boot TWRP in Slot A and somehow ended up switching to Slot B
 

asdfeproiu

Member
Jan 25, 2015
11
0
Hi guys,
I have a Sprint V40 bought off of Taobao that was rooted, sim unlocked, and crossflashed to US Cellular 11d but after I installed Pix3lify trying to get gestures on 8.1 I lost root. I don't seem to be able to get into fastboot, either with Vol- + cable or via adb, but I have an unlocked bootloader and I can get to download mode. Factory reset just reboots. Any tips as to how can I get root back, or upgrade to Pie? Can anybody please explain how to switch from slot a to slot b and vice versa?
Jeff
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    SUPERSEDED: Go Here

    Prerequisites:
    V35 Engineering Bootloader flashed to your device (Stock bootloader will NOT work for this)
    USB 2.0 (USB 3.x does not work well with ADB or Fastboot)
    The V40 Pie Conversion Tool
    Be in fastboot mode before attempting this
    Patience
    ADB and Fastboot DRIVERS. Platform tools are already included in the archive
    Windows. The tool is not designed for Linux.
    This will NOT sim unlock your phone[/CENTER]

    Note: I'm not responsible for any bricks that come about from using this tool. Once you crossflash, there's NO going back unless you have backups of your partitions, or a KDZ specifically for your device. I'm going to say this again, DO NOT use USB 3.x while attempting this. You will run into errors. You won't see anything for a little bit when it gets to flashing system_a and vendor_a because it has to load those images into ram.

    Download the tool: Google Drive

    1. Download the archive and unzip the tool.
    2. Navigate to the folder you unzipped the tool to.
    3. Enter the folder and inside the folder you should find "V40PIECONVERSION.cmd". Ignore the one with the "Stock Boot" at the end. All it does is flash the stock boot image instead of the TWRP that is required to do this.
    4. Execute the batch file and follow the instructions. When the batch file is done, Pie will be flashed, but it will not boot due to encryption. We're going to disable that.
    5. Boot TWRP by performing a master reset. To perform a master reset: Press and hold Vol- and Power. When you see the "V40 ThinQ" logo release the power button and quickly press back down. Keep holding Vol- and Power until you see a factory reset screen. Finally, follow the prompts (yes) and you should be in TWRP.


    TWRP Instructions

    Head over to the wipe menu and format data (to remove encryption).

    Next, head over to mount and mount vendor. Mount ONLY vendor.

    Now, open a command prompt, navigate to the folder where you extracted the tool, and open a command prompt inside the folder (Type "CMD" in File Explorer's Address Bar)

    ig7ntpwL3bCWBr1tv2MBtea-gGnZUdPlMtGNGZa_o9uOvE3XwbiQi_lT--xi4QsOQFHGpEmyZSDl7mkgLHuKCtnWArArdV8pZgn3zXnZPW6f5skNpaokpEiK1q-VP_3Ro4awPKn_aoIefURT_U9E4PwndbOfJmergECGK62C-wU-Dn4ZpQ0XK2jvRvtemSKWrtXHI96uAYzjZnM2f783Dqklp9rp_RucTAeKQDY64b4JmJbExlxHCZlJV_mQDzhggCrzKleKRkYFS5G3GKzzLlNw8QRmufuLsMtBvNyrQkfpvbs61EY6uRC0aSLiKOixMEvFbXEGENx597qA28-eW5YrOgZ7HR4tel1Sx3QLRS-0I6q2iJvcP6X1v2YQMfrZNRpOpa9-r55ROcL5Eyp1zDO6WAdrP5aAKjZJDwg6w6PUWbeLDy9Wem_hV6hOQJvNNeQzjKmPj1NSOxaUgcnMileDyR-0hCzaxF1auegPKmo2Qi7Ayqpe9HF4Jrl4eAduc2TgXHaL84Og3GGHaK0_faAWzUBKhrkP0R_tFeQKTd7JE_Ygtg5fEaJxSo445AQ3rpw6IhDhrkLhmoFYLhs4wtjMJyNM2EIs2mDmkdBS6WknmxVj-p19xgd2gnc6q05u84WmKc30H-L5fPxnhE8NPqxRGttl1lz82U99liObbbhinm_GeABV3vKs7Il-nPMFbaaWd6JACbpJYljoSWshlX4PfA=w1096-h615-no


    Execute the adb command:
    Code:
    adb pull /vendor/etc/fstab.judypn

    Edit the file (fstab.judypn) in your favorite text editor and on the /data mountpoint change "forceencrypt" to "encryptable".

    Save and Close the file and push the file back with the command:
    Code:
    adb push fstab.judypn /vendor/etc

    Now that encryption is disabled, you NEED to flash back the ORIGINAL boot image that's included with the tool. In order to do that, we need to get back into fastboot.

    To get back into fastboot, we need to: Make sure USB is still plugged into the phone. Press and hold VOL+ (Or vol up). Power off the phone (Via TWRP reboot menu) while still holding vol+. Keep holding VOL+ until you see download mode flash for a brief second and you should be in fastboot. The fastboot you see now isn't the V35 Engineering Bootloader. It's the stock pie bootloader. Wiping the laf_a partition allows access to fastboot on devices that are locked (Nearly all US Carriers).

    Finally, run the commands:
    Code:
    fastboot flash boot_a boot_a.image
    and
    Code:
    fastboot format userdata

    You should run into an "encryption unsuccessful" screen. Just hit reset phone. You may have to reboot once or twice to get to the setup screen.

    For those of you that want root, here's a patched Magisk boot image: Google Drive

    You can flash it by running the command:
    Code:
    fastboot flash boot_a magisk_patched.img

    Make sure you open a command prompt in the directory you downloaded the image in. If you don't have adb and fastboot in your environment path, just place it in the V40PIEConversion folder and flash it from there.
    2
    How do you get the v35 bootloader on stock Att ?

    Contact @vbenkovskyy on Telegram. He is an awesome guy. Of course, it isn't free, but his prices are better.
    2
    Confirmed working - thanks Xsavi for an excellent guide!
    2
    Confirmed working on my att variant. ? Thanks again for the great guide ?
    2
    One more question, How will further updates be done after cross flashing? Thank you!

    By flashing System, Vendor, and boot. :)