[TWRP][JOAN][V30/V30+/V30S][UNOFFICIAL] 3.2.3-7 Oreo final

Search This thread

ChazzMatt

Recognized Contributor
Nov 30, 2010
18,583
14,415
Atlanta, Georgia
why do i need to enter the *password* in order to mount the SD card once i boot into TWRP?
I didn't set a password whatsoever. If i press cancel, i would not be able to access my internal storage or external SD card. i cannot install anything throught twrp.
Thanks
Because you didn't install TWRP + root files correctly. You didn't follow the instructions.

See recent similar question here:

TWRP asks for password to decrypt data?
https://forum.xda-developers.com/lg-v30/help/twrp-password-to-decrypt-data-t3974609

I assume you just installed Pie KDZ probably?

In every Pie KDZ thread I maintain and in the WTF bootloader thread, are instructions how to install TWRP and the 3 root files. There are specific steps what to do.

TWRP flashable zips have the LG encryption already removed. But for KDZ you have to do yourself when you're installing TWRP.
 
Last edited:
  • Like
Reactions: tech_infinity

ChazzMatt

Recognized Contributor
Nov 30, 2010
18,583
14,415
Atlanta, Georgia
I see. Can I get access to external sdcard for flashing no-verity-opt-encrypt.zip?

Yes. Here's the instructions:

INSTALL or REINSTALL TWRP on PIE stock KDZ with ALREADY-UNLOCKED BOOTLOADER
https://forum.xda-developers.com/lg-v30/how-to/wtf-lg-v30-t3790500/post79972584#post79972584

You need to follow the specific order in the instructions. You also need to flash the root checker disabler.

The KDZ TWRP-flashable zips already have that decryption removed, but for people who don't want to wait on TWRP-flashable zips (or their variant may not get one) to update to Pie, they have to follow these instructions to install or reinstall TWRP on Pie.
 

johnleo

Member
Mar 17, 2011
26
5
Yes. Here's the instructions:

INSTALL or REINSTALL TWRP on PIE stock KDZ with ALREADY-UNLOCKED BOOTLOADER
https://forum.xda-developers.com/lg-v30/how-to/wtf-lg-v30-t3790500/post79972584#post79972584

You need to follow the specific order in the instructions. You also need to flash the root checker disabler.

The KDZ TWRP-flashable zips already have that decryption removed, but for people who don't want to wait on TWRP-flashable zips (or their variant may not get one) to update to Pie, they have to follow these instructions to install or reinstall TWRP on Pie.
i am just trying to flash twrp on my 10d in order to flash to oreo or pie at a later time. It's a second hand h932 and has already been rooted. But there's no recovery.
I managed to mount the external storage and flash no-verity-opt-encrypt.zip. It showed a success but after reboot i still have to enter the *password*.
 

ChazzMatt

Recognized Contributor
Nov 30, 2010
18,583
14,415
Atlanta, Georgia
time. It's a second hand h932 and has already been rooted. But there's no recovery.

It's been rooted but there's no TWRP Recovery? How did that happen?



I managed to mount the external storage and flash no-verity-opt-encrypt.zip. It showed a success but after reboot i still have to enter the *password*.

Read the steps. You have to do more than flash the encryption disabler file.
 
  • Like
Reactions: tech_infinity

xprog

Senior Member
Dec 28, 2010
57
7
From what I gathered it looked like encryption does not work in this TWRP. I came from other devices with working encryption in twrp so I assumed it would work here too. What are the downsides of not having an encrypted phone, all my data is insecure if i lose my phone right? Is there a method to have root and encryption but lose TWRP and just have to reformat my device whenever I want to use TWRP. I don't feel comfortable having an unencrypted phone and would rather wipe between flashing rom updates if that is what it took to keep encryption. Otherwise I am forced to go back to stock to keep encryption?

I am running h932 currently on lineage 16 rom.
 
Last edited:

seadersn

Recognized Developer
Nov 3, 2010
3,616
3,430
45
Germany
LG V30
OnePlus 7T Pro McLaren
From what I gathered it looked like encryption does not work in this TWRP. I came from other devices with working encryption in twrp so I assumed it would work here too. What are the downsides of not having an encrypted phone, all my data is insecure if i lose my phone right? Is there a method to have root and encryption but lose TWRP and just have to reformat my device whenever I want to use TWRP. I don't feel comfortable having an unencrypted phone and would rather wipe between flashing rom updates if that is what it took to keep encryption. Otherwise I am forced to go back to stock to keep encryption?

I am running h932 currently on lineage 16 rom.
if you switch to stock or lineage 15/15.1, then you'll have working encryption :) beginning with pie encryption is broken :( maybe it'll work in 10 again, we'll see.
 
  • Like
Reactions: xprog

rotanid

Member
Nov 9, 2016
41
15
if you switch to stock or lineage 15/15.1, then you'll have working encryption :) beginning with pie encryption is broken :( maybe it'll work in 10 again, we'll see.

i have the same problem, as i don't want to go without encryption.

are there up-to-date builds of LineageOS 15.x for this device? i don't need version 16, security (encryption + monthly updates) is much more important to me
 
if you switch to stock or lineage 15/15.1, then you'll have working encryption :) beginning with pie encryption is broken :( maybe it'll work in 10 again, we'll see.

So, i did some research and it looks like we need a system-as-root TWRP. Or in other words a small update to gain Android 10 Support (It will not longer support Android 9 if i'm not wrong. At least got someone bootloops flashing Android Pie with the system-as-root TWRP). Got that info from the Mix 2 LOS 17 Thread...

Don't know how it is possible that we can flash LOS 17 with the Oreo TWRP but in fact that it will be broken after flashing am i not longer wondering about that. Busybox within TWRP will not work anymore after being on Android 10 since TWRP can't access it, and that means updater-scripts will have issues up to a totally non working state.

Let Me know if i can give some more support!
BR
 
Last edited:
  • Like
Reactions: seadersn

ChazzMatt

Recognized Contributor
Nov 30, 2010
18,583
14,415
Atlanta, Georgia
Hi @ChazzMatt. Have you got Pie on your V30+? Or are you waiting?
My spare US998 V30+ flashed to US998 Pie via Refurbish mode with Dev Patched LGUP with no issues. It's not bootloader unlocked, full stock.

My bootloader unlocked and rooted US998 V30+ I use every day is still on Oreo for now.

My wife's and my mother's full stock US998 V30 phones I'm leaving on Oreo, unless we get US998 Pie KDZ I know has no issues. I just don't have time to set up their phones again if "Upgrade" mode with wonky US998 Pie KDZ fails -- and they would be annoyed at me when their phones work perfectly fine right now.
 
Last edited:

lingo2012

Senior Member
Oct 21, 2012
731
159
OnePlus 7 Pro
My spare V30+ flashed to Pie via Refurbish mode with Dev Patched LGUP with no issues. It's not bootloader unlocked, full stock.

My bootloader unlocked and rooted V30+ I use every day is still on Oreo for now.

My wife's and my mother's full stock V30 phones I'm leaving on Oreo, unless we get Pie KDZ I know has no issues. I just don't have time to set up their phones again if "Upgrade" mode fails and they would be annoyed at me when their phones work perfectly fine right now.
Lol same here but whenever I upgrade my dads phones wheather it be lg or samsung he asks about hundred questions lol hes not a phone guy neither is my mom.
 

gimpy1

Senior Member
Sep 1, 2013
1,125
315
Flagstaff
Well, I've learned that I don't mess with my wife's or anyone else's phone. Only my own. They absolutely will not let me. :).

Even now when a little something does not work for whatever reason, my wife really let's me have it about messing up my phone.

Much happier leaving her stuff alone. :mad:
 

ChazzMatt

Recognized Contributor
Nov 30, 2010
18,583
14,415
Atlanta, Georgia
Well, I've learned that I don't mess with my wife's or anyone else's phone. Only my own. They absolutely will not let me. :).

Even now when a little something does not work for whatever reason, my wife really let's me have it about messing up my phone.

Much happier leaving her stuff alone. :mad:
Yeah on our Moto Quark phones, I had both mine and my wife's rooted, running RR. I also installed custom ROMs for friends with LG 2 and LG G3, and kept them updated. I don't have time for that anymore. I only do my own phone.
 

seadersn

Recognized Developer
Nov 3, 2010
3,616
3,430
45
Germany
LG V30
OnePlus 7T Pro McLaren
So, i did some research and it looks like we need a system-as-root TWRP. Or in other words a small update to gain Android 10 Support (It will not longer support Android 9 if i'm not wrong. At least got someone bootloops flashing Android Pie with the system-as-root TWRP). Got that info from the Mix 2 LOS 17 Thread...

Don't know how it is possible that we can flash LOS 17 with the Oreo TWRP but in fact that it will be broken after flashing am i not longer wondering about that. Busybox within TWRP will not work anymore after being on Android 10 since TWRP can't access it, and that means updater-scripts will have issues up to a totally non working state.

Let Me know if i can give some more support!
BR
scoped storage, system as root, and other new 10 stuff will get me some funny hours of testing lol... but don't suspect working decryption for 10, we'd need native 10 support / rom / firmware from lg for that. maybe markus can perform some magic to get encryption work with "old" keymaster hals in h8s roms, maybe then it's possible for twrp to decrypt, but pls don't count on that for now.
 
scoped storage, system as root, and other new 10 stuff will get me some funny hours of testing lol... but don't suspect working decryption for 10, we'd need native 10 support / rom / firmware from lg for that. maybe markus can perform some magic to get encryption work with "old" keymaster hals in h8s roms, maybe then it's possible for twrp to decrypt, but pls don't count on that for now.

I can imagine :fingers-crossed: Would be nice to get encryption working, but i'm wondering if we can help from the System Side with stuff like that:
Code:
ro.storage_encryption_type=2
ro.storage_structure=8
persist.sys.storage_preload=1
ro.securestorage.support=true
ro.crypto.scrypt_params=16:3:1
ro.crypto.allow_encrypt_override=true
ro.crypto.volume.filenames_mode=aes-256-cts

I remember from some old Devices that we had to edit some USB Lines like that on the build.prop to get ADB/USB working on CWM/TWRP like:
Code:
ro.sys.usb.default.config=charging
ro.usb_host=1
persist.sys.usb.config=adb
persist.sys.usb.config.extra=mtp

Values of the Lines may be different but i know that the System can affect Recoveries and vice versa. HTC for example had always by default at least that two Lines on every Firmware:
Code:
ro.storage_encryption_type=2
ro.storage_structure=8
But they also had some pretty strange security/bootloader stuff like the HTC Security Check "S-OFF or S-ON".

An example of the Configs:
FUSE with SD Card
Code:
ro.storage_structure=10 (FUSE: 0x8, FAT: 0x4, SD: 0x2, INS: 0x1)
or:
Encryption Level/Type
Code:
ro.storage_encryption_type=2 (Not supporting encryption: 0x0 block level: 0x1 file level: 0x2)
Changing this Configs may end up in various effects...
Don't know if that will change something or works on LG Devices, just had My 5 Minutes :silly:
 
Last edited:
  • Like
Reactions: seadersn

Top Liked Posts

  • There are no posts matching your filters.
  • 58
    Hi!

    !!! First things first: big phat huge !!!THANKS!!! to the full TeamWin Team, SGCMarkus (initial twrp tree), Phoenix591 (for inspiration), Dees Troy (for his trees), z31s1g for his brilliant theme and Captain Throwback (inspiration, too) !!!

    For Pie ROMs you should use 3.3.1 recovery, either OrangeFox (based on TWRP with many very useful additions, with Magisk module manager being only one of it :good: ), or good old TWRP itself. 3.3.1 needed for decryption of pie ROMs!

    Feature list:
    - capable of installing treble and/or vendorized ROMs
    - Possibility to leave out lockscreen settings when restoring a backup (sometimes you have to delete them manually, otherwise no login into your restored ROM possible -.- You can bypass this with this. Note: lockscreensettings are independent from your encryption settings)
    - Time and date is showed correctly, independent of /data
    - some extra partitions (see below)
    - Oreo 3.2.3-7: compiled with (modified) 8.1 TWRP branch
    - Oreo recovery: Decryption of AOSP up to 8.1 and stock ROMs userdata is working (cherrypicked stuff for bringing that up), so, with this recovery, the urgent need for flashing no-verity-opt-encrypt zip isn't there anymore :)
    Pie is not decryptable for the moment, neither with old Oreo recovery nor with newer PIe recovery: this is being worked on. Encryption changed in Pie, this needs some extra "love"
    - everything working: backup, restore, decryption, time, mtp, adb, installing of treble or vendorized builds, themeable, .........
    - modem image support: backup, restore, flashing of modem images either taken directly from kdz or via diskdump (this already was available but then broken at some point of time, sry for that! ;)).
    - Same for OP image

    Don't forget your timezone settings after flashing. Also there are some extra partitions you can mount/backup/flash/explore, like LAF, persist-LG and OP configs. There's the thought of some people to flash TWRP as a second copy to LAF partition to be on the sure side when it comes to ROM switching or sth like that. You can do this, anyway it's not really recommended (by me and some others) because you'll lose download mode, but you now have the option.
    Also, if you want to restore an older backup, don't restore 'firmware' from it!!! This will break your WLAN, at least, and you have to flash a modem.img to get it back working.

    For extra partitions: Some of them are needed for decryption (modem / persist-lg (drm)), some are for VoLTE (OP), time is stored on /persist/time (and /data/vendor/time), modem should be known and the LAF partition should be known already (described above).

    For decryption: it works as it should. Therefore it is a little bit tricky to restore a ROM which has encrypted userdata, when you'd installed any other ROM in between. or formatted data There are some points to remember when restoring, a little guide is available in 3rd post, and some tipps too.

    Some instructions:
    How to flash?
    If starting fresh with an unmodified phone, this thread should help you installing it
    When you already have TWRP installed, you can flash this recovery from within TWRP:
    - Tap "Install"
    - Tap "Install image" button, located down right
    - Locate your downloaded image and select it
    - Select "recovery" from the list which shows up then
    - Install; and reboot to recovery after installing immediately, don't use it for any other tasks until rebooted pls, as it may not function. Things can go bollox when phone wasn't rebooted to recovery after installing.
    And of course you can flash it via fastbootmode. Reboot to bootloader (adb reboot bootloader; when magisk is installed, you can use magisk manager => module => menu on the top right => reboot to bootloader. You can reboot to recovery from there too) and then:
    fastboot flash recovery <twrp-image-name.img>

    When you experience errors or sth isn't working as it should in your opinion:
    When an error occurs, pls supply me a log from TWRP, taken immediately after the error showed up. You can use the "Copy to SDCard" option (advanced options) in TWRP for this. Grab this file then and upload its content to pastebin.org.
    I can't help without as much detailed info as you can supply. This should include at least following information: phone model, used TWRP image (exact name of image), task you wanted to do (which ROM e.g.).

    There's now an optional version of TWRP available, which contains the inclusion of internal storage in data backups (IntSD version). Exclusions (folders which won't be backed up): TWRP, Movies, Music and Download folders. These won't be included in backups, as they can be really big.
    With the recovery including internal storage you can backup to internal and external storage, no matter. The data_image recovery can backup its data image to external sd only, of course.

    If you want to use data_image, system_image or internal storage included in data backup, first check your filesystem on your external sdcard. It needs to be capable of writing big files, which isn't the case with fat/fat16/fat32. You need exFAT (for stock) or ext4/ntfs (only available with custom kernel and/or AOSP based builds).


    DOWNLOADS:

    Oreo and Pie capable 3.2.3-7 TWRP:
    Download links (always the latest and newest only; one version for all):
    File name: TWRP-3.2.3-7-DataIMG.img (default)
    MD5sum: aac1525f9bd85d6efbc0fb65bda4a904
    MAIN Download: AndroidFileHost - TWRP-3.2.3-7-DataIMG latest
    File name: TWRP-3.2.3-7-IntSD.img (non-default, includes main part of internal storage in data backup)
    MD5sum: 23113ad33772a5f783dcabd09fa97ebb
    MAIN Download: AndroidFileHost - TWRP-3.2.3-7-IntSD latest

    Some additional words to different versions;
    I personally use internal w/ sdcard backup, all my pics and almost everything possible app related on my phone is on external SDcard. Some data always remains on intSD (e.g. whatsapp, the Android folder which contains settings and app data too, k-9 mail folder and others), this needs to be in a backup for me. This is, what the intSD version does: but it leaves out the big folders (download, music, movie and TWRP).

    As always: Use it at your own risk! You are the one who changes stuff on your phone, I'm not responsible for anything which happens to your phone. TWRP is powerful, be careful at what you do with it :good: And it just works.

    All you need to compile this yourself:
    [url]https://github.com/seader/android_device_lge_joan-twrp[/url]
    [url]https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni[/url]
    [url]https://github.com/seader/android_kernel_lge_msm8998[/url] (not really needed as a prebuilt kernel is used)
    [url]https://github.com/seader/bootable_recovery-twrp[/url] (copy of twrp recovery with encryption cherrypicks and the stuff added. encrypt-8.1 branch = intSD version, master branch = DataIMG version)
    19
    grmpf... no progress til now, regarding crypto (but at least some other stuff found and fixed). but: there are plenty of possibilities left, so hope isn't dead :D next continuing day: sunday, eventually maybe an evening in between. could be that new twrp already works (partially) for unencrypted pie ota phones, if it is i can release a test version (with crypto disabled) on sunday :good: press a thumb pls :)
    15
    i had some additional hours yesterday and the result was absolutely better than expected :) after some finetuning and flag playing most of the services needed for pie decryption are coming up and are listening. it even recognizes correctly if a pattern, pw or pin was used for secure startup; but unfortunately doesn't decrypt it... looks like vold changes are needed. i hope it's easily solveable and doesn't eat up much more valuable time :D when this is done, then there are some additional tasks to do for a flawless twrp experience, but this should be more easy to solve.

    i'll keep you updated :good: :) i would like to say that coming wednesday is the day, but i can't promise it, sry. maybe a first beta / pre-final can be released then: btw, it would be nice if someone with oreo stock encrypted fw installed could do one or two tests with the new recovery, because we want and need a single recovery which is fully working for both oreo and pie, stock and aosp. hard goal i believe...
    14
    good morning :)
    ok, after yesterdays edits with 3.3 recovery i think: we will stay with 8.1 recovery... for me it looks like pie branch (3.3.1) is really supposed to be used for a/b native oreo / pie devices, which our v30 simply isn't. 8.1 branch should be able to decrypt pie too, it's used for a big pallette of older legacy devices which got updates for pie, and some of them have twrp decrypt enabled. beside that there's not much changed in 3.3.1, which makes it no "absolutely must have" update: all it offers is available in 3.2 too, there's no critical new stuff for us. for a/b devices there is ;) but...

    so, for now, 3.2.3 / 8.1 oreo branch is the one to use for our v30, even with pie. it's capable of flashing everything (3.3 isn't, our dmverity and rct disabler zips e.g. won't flash and will abort with an error). it works just fine with a non-encrypted v30 updated to beta pie ota. it's too much work to change everything to make it working nicely with our older device. so if you're on pie ota already, install 3.2.3 and flash rct / dmverity / encryption disabler and you're good to go for backups, flashing etc pp :good:

    i've got a 3weeks vacation in 1½weeks, and have ~ 1week of free time available then to work on this: the other two weeks we drive away. i think we will get an update then ;) hopefully then there's already official pie available for us. for now i'll concentrate on work, it's a hard time because we are missing manpower (due to vacation time ;)) and it really fuggs me hard... let's wait for time in which my brain and body is more fit and can concentrate better on this :)

    see ya! :good:
    14
    update available: with some OP partitions available now, an OP image flashing function is added, beside a sources update.

    have fun and a nice weekend! :good: