yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 Questions & Answers] Zombie:
F2fs on system is not supported with oos ROMs I believe. I'm not sure about los based roms
[OnePlus 5 Questions & Answers] Hitman478™:
...and it's doing the right thing :good:
[OnePlus 5 Questions & Answers] maikvitesse:
It is indeed. Tried F2FS to many times and it's always causing issues after a few months. EXT4 is rock solid and the way to go
[OnePlus 5 Questions & Answers] Hitman478™:
i can absolutely confirm this.. I came from a bad experience with f2fs :eek: as for now, ext4 is 10 way the best
[OnePlus 5 Questions & Answers] Balino:
Op3t has f2fs and it gave me no problems. I don't understand why they dropped it with the 5! Using f2fs on system partition is quite useless, no files are being written to that partition, ext4 is better in this case
[OnePlus 5 Questions & Answers] meiax93:
I try use F2FS partition on my OnePlus 3T and everything smooth, no issue.

But when i use on OnePlus 5, got some little problem, such like cannot choose picture to upload on Instagram.

Honestly F2FS faster than EXT4 but F2FS still buggy, unstable i think and EXT4 stable hahaha

Wonder why on 3T, OnePlus using F2FS and on 5 using EXT4 -_-
[OnePlus 5 Questions & Answers] nadejo:
There is still hope for f2fs. As arter97 from aospa team has a possible fix for the f2fs performance issues we might see later this year. But as for now its recommended to use ext4 on all partitions as it is more stable and doesnt get laggy after long usage.
[OnePlus 5 Questions & Answers] furious.builder:
Thanks a lot for your answers! I'm on f2fs only on data, I'll see if I have any trouble due to instability. For now I'm really happy w/ it 784.62 MB/s and 220.08 MB/s for reading and writing speed :)
[OnePlus 5 Questions & Answers] ALEX37330:
Want to try the last beta with f2fs and just want to know if it still enough stable and fonctional ? And if I switch only for data or other partition ? I have see somewhere that with Oreo f2fs had a better support and I don't know if I need a special kernel or no ?
[Samsung Galaxy S8 Questions and Answers] marcel112:
My wife is using easy mode for the big font size and icons, but the size in apps, like mobile strike is tiny.

Someone can tell me how i can resize them too ( without root )
[Samsung Galaxy S8 Questions and Answers] BenjyTec:
I think this is impossible. The system font size setting does not affect some games because the surface of games usually isn't created with Android <Textview> or <Button> objects, much more often 'handmade'. You just could look if the app offers a font size setting itself.

Some android devices have the option to zoom. At my Android 6.0.1 it is at Accessibility -> Magnification gestures. I don't know if and where it is present in the Samsung software.
[LG V20 Questions & Answers] celestial0513:
Is there any root yet for H918 10p if so... Please direct me to it asap lol. If not I might have to warranty exchange and then root or wait.. Thanks guys!
[LG V20 Questions & Answers] runningnak3d:
10p currently can not be rooted. There are some thoughts and ideas floating around, but more than likely another Linux kernel exploit will need to be found. Also, just an FYI, T-Mobile incremented the ARB version for 10p, so don't try to force an older version to flash -- that will blow the qfuse, and that is a hardware issue that can't be fixed without replacing the CPU.

-- Brian
[LG V20 Questions & Answers] pbedard:
Yea lg played us dirty
[LG V20 Questions & Answers] Amd4life:
I wonder if the V30 will be locked down like this?? I really DONT like the current/ future status of US based TMobile devices and the lack of root options.
[LG V20 Questions & Answers] celestial0513:
You think I should call T-Mobile for a warranty exchange or just wait it out for root I'm probably gonna get the v30 anyway I just miss rooting. Lol
[LG V20 Questions & Answers] celestial0513:
Yeah they did. Well we did it to ourselves no? We updated lol
[LG V20 Questions & Answers] pbedard:
Yea its trye
[LG V20 Questions & Answers] runningnak3d:
My first Android phone was an HTC EVO 4G (the original WiMAX version). The first one that I got had an HBOOT with S-ON (locked bootloader). Reading on here, I found out that there were versions with an older HBOOT that had S-OFF, so I carted my butt down to the Sprint store and didn't even make up a story. I told them flat out what I wanted, and since I was still within the window of being able to cancel my contract, they took me back and let me look at the boxes that they had. I found one with the proper version, opened it up, verified that it was truly S-OFF and that was it.

Now, that was back in 2012 and things have changed since then. But if you just bought the phone, take it back and tell them exactly what you want. The LG V20 box has the software version that is installed on the UPC sticker.

-- Brian
[LG V20 Questions & Answers] celestial0513:
Nah my man I've had it since day one I'll just wait till September. 28 for the V30 or when ever it comes out.
[LG V20 Questions & Answers] whojabacod6:
I rooted soon as I got the phone... Then the USB port over heated and melted so I sent it in for repair. Came back with 10p on it.... Mfer..
[LG V20 Questions & Answers] mookiexl:
Damn that sucks
[LG V20 Questions & Answers] joesee:
Brian,

I'm not sure what version of the V20 you have, but I've got the H918 and I'm running 10p rooted with Magisk. I started with SuperSU, but wanted to start over and try out a systemless root. Real simple steps too..

1. Unlock bootloader

2. Flash SuperSU or Magisk

3. Root achieved.

I attached a couple of screenshots. How easy LG phones are to unlock the bootloader and flash root is the reason why I always buy LG phones, not Samsung.

Cheers!
[LG V20 Questions & Answers] whojabacod6:
Can't flash an su method if you can write to the boot partition (twrp)
[LG V20 Questions & Answers] TempezT:
So no way possible to root then? My V20 is running H91810k and I have been looking for a way to root it but moments ago it turn off by it self on 13% and the update for 10p was in schedule....

Guess Im out of luck if when it turn on update itself.
[LG V20 Questions & Answers] runningnak3d:
[MENTION=546837]joesee[/MENTION] You were on stock 10p? If so, how did you flash TWRP so that you could flash SuperSU? fastboot flash recovery does not work with 10p.

-- Brian
[LG V20 Questions & Answers] dudeawsome:
how did you root! and get twrp?
[LG V20 Questions & Answers] zeruth:
Don't know where you get your information from, but a qfuse will never be triggered with oem unlock on. and all it is is a warranty bit. just states that your warranty is void to the manufacturer.

They do have an anti-rollback counter but that is something totally different than a qfuse.
[LG V20 Questions & Answers] popwar:
He probably rooted with original build out of the box firmware and installed a rooted 10p via twrp
[LG V20 Questions & Answers] MrPolite:
Has an ARB system ever been rooted?

I'm new to LG anti roll back.

We have a quasi-root with 10P, if starting from 10J.
[LG V20 Questions & Answers] zeruth:
They only upped the ARB number because DirtyCow was fixed. Likely wont up it again until the next root is patched.

Doubt there is a way to mess with KDZ's to be able to make them flash. someone would have done it already.
[LG V20 Questions & Answers] runningnak3d:
[MENTION=3676383]zeruth[/MENTION] I got my information about Qualcomm's implementation of ARB protection by reading. Unfortunately I read up on it AFTER I had already blown mine by forcing an older version of the boot loader, with an older ARB version.

If you think I am wrong, by all means, try it. The end result of a blown qfuse is the Qualcomm CPU dropping you into 9008 mode. However, since the qfuse is physically blown, there is no recovering. 9008 mode can be recovered from as long as only XBL, or ABOOT is no longer signed. You just need to reflash the signed versions, and you can recover your phone.

I don't know where the ARB version is stored (and I don't believe anyone else has figured that out either), but my guess is that it is stored in the NON-HLOS, and there is no messing with that because of the aforementioned qfuse.

-- Brian
[LG V20 Questions & Answers] dudeawsome:
so, Can you let me know more so if I were to try to flash will it brick my device or just trip the qfuse and the device will function as normal or will you just have a brick. I tried to read on it but could't find anything.

thanks
[LG V20 Questions & Answers] zeruth:
What he's saying, is if you force an older bootloader, it is a hard brick.
[LG V20 Questions & Answers] whojabacod6:
Can the unlock.bin for the us996 be edited to work for the h918? If so according to lgs website you can flash boot images. If so... Maybe profit?
[LG V20 Questions & Answers] runningnak3d:
Unlocking the bootloader isn't the problem. The lack of fastboot commands is.

I am working on a procedure that involves using the patched LG UP to flash older firmware, but keep XBL. XBL is what increments ARB. So if you use the partition dl feature to flash just boot (which is the kernel) then it won't increment ARB, but -- viola -- dirtycow is back.

I need to make sure that as long as the boot loader is unlocked, that it doesn't break protected boot.

If it doesn't, root is coming for 10p :)
[LG V20 Questions & Answers] popwar:
Any timeframe when you will know?
[LG V20 Questions & Answers] whojabacod6:
Yea I got that... I was alluding to that on lgs site it states that if you unlock it via their method it allows for fastboot commands .. bit if you got something in the work then that is okie dokie [emoji16]
[LG V20 Questions & Answers] runningnak3d:
I will have time tomorrow. The problem is that I will be stuck with 10p no matter what. I can flash the boot stack and not lose TWRP, or root to test this theory, but I still don't like the idea of incrementing my ARB.

However, the stock 10k kernel may not boot with the 10p bootstack. If that is the case, then next up will be to see if the 10p XBL will load the 10k ABOOT (and the rest of the 10k boot stack). That is where the risk comes in. If the 10p XBL no longer recognizes the 10k ABOOT, one of two things is going to happen:

1 - I get thrown into 9008 land -- off to LG she goes

2 - I just get a boot loop, and get to reflash -- but I am now stuck with an incremented ARB :)

-- Brian
[LG V20 Questions & Answers] bigshotrob22:
Ive tried flashing a rooted modified system.img through LGUP but it wouldn't boot past the LG Logo.
[LG V20 Questions & Answers] runningnak3d:
What version was the system.img from?

-- Brian
[LG V20 Questions & Answers] bigshotrob22:
I don't know. Someone linked it here. I'm assuming 10p
[LG V20 Questions & Answers] popwar:
I wonder if using LG method to unlock the bootloader with their unlock key will give you a little more freedom going forward , trying to root .
[LG V20 Questions & Answers] meth0dGSX:
oops
[LG V20 Questions & Answers] zeruth:
You can't root system since marshmallow. You have to root the kernel.

"With the introduction of Marshmallow, however, Google strengthened the security that was first put in place in Lollipop, essentially making it unfeasible to launch the su daemon with the required permissions just by modifying the /system partition. The systemless method was resurrected, and that’s now the default rooting method for phones running Marshmallow. It’s also worth mentioning that this is also true for Android Nougat."

Here is the kernel ripped straight from the 10p kdz.:

https://drive.google.com/open?id=0BzB50-W5pBf8b3N2VWZwdTJ2LVU

So when I flash recovery it boots just fine. however i obviously get the no command

If i'm not mistaken, isn't recovery replaced by default on boot to combat twrp?

Honestly the easiest way to do this (lol) would probably be to edit the kernel to be SEL permissive, if we can achieve that, then we will have access to partitions via dd, and would regain control of recovery.

EDIT: sigh, after i was forced into fastboot mode i noticed something was up. I restored to stock using kdz. After that went right into LG's download mode, dumped boot, then attempted to re-flash it immediately with no changes. after reboot it goes straight to fastboot mode. so something is wrong here if you can't flash what you dumped. the V20 notices.
[LG V20 Questions & Answers] runningnak3d:
I thought all fastboot commands were gone in 10p. You are correct. There is a file (recovery-from-boot.p) that gets executed on each boot and restores stock recovery from recoverybak. If the flash command IS still there, then flash both recovery and recoverybak.

Now that I am satisfied with the H910 v10m root method, I am going to install 10p on this H918 and stop talking about theories ... and actually get in the 10p game :)
[LG V20 Questions & Answers] zeruth:
The flash command isn't there, however they did manage to figure out how to flash partitions using LGUP. I did try to modify the kernel cmdline to set SEL permissive but doing so found out you can't flash kernel at all. even flashing a just dumped copy, it force boots to fastboot mode. So i'll try flashing twrp to both recoveries and report back, though i doubt thatll work.

Looking through the H918 DLL using resource hacker I see there isn't even a listing in there for recoverybak, so you can't flash it. god damn you LG.

The flashable partitions using LGUP manually with this dll are as follows:

modem

sbll

rpm

sdi

aboot

rpmb

abootb

eksst

pad

modemst1

modemst2

misc

persist

laf

boot

recovery

fsg

ssd

sbllb

encrypt

rct

DDR

drm

sns

factory

fota

mpt

cust

system

cache

userdata

grow

I would like to note though that the kdz DOES flash recoverybak. don't know how though.
[LG V20 Questions & Answers] runningnak3d:
If that doesn't work. Try flashing TWRP to boot. If it works at all, that would boot your phone straight into TWRP, and well, it is game over ... flash the actual recovery, fix boot, and enjoy.

But I don't have hopes for this method either since you say it doesn't like modified boot images.

Another question, when you have flashed TWRP, did you try immediately pulling the battery and then going into recovery via the key combination?
[LG V20 Questions & Answers] zeruth:
I will try because it couldn't hurt, but it doesn't work like that.

haha the funny thing is it doesn't like unmodified kernels either. I made zero modifications to the kernel before I pushed. it went like this: Dump kernel > Flash kernel > fastboot-loop

haha funny you ask that because that's the first thing I did to try to avoid the recovery flash. but it went to fastboot. curious as to why it throws fastboot after any flash
[LG V20 Questions & Answers] runningnak3d:
TWRP is just a kernel with an initrd that loads all the TWRP code. You can flash TWRP to boot on any phone and have insta-boot TWRP. "I heard you like TWRP, so I put TWRP in your boot so you can boot to TWRP while you are booting to TWRP dawg!" ... Sorry couldn't resist.
[LG V20 Questions & Answers] zeruth:
haha tried it and no dice.. straight to fastboot. To me it looks like they are verifying the partitions. which would really suck. that would pretty much mean we'd never get it back.
[LG V20 Questions & Answers] runningnak3d:
Time to take a risk then. I will flash the 10k aboot. If it doesn't brick my phone, then that will solve this. If it does. Root isn't looking so good.

---------- Post added at 09:31 AM ---------- Previous post was at 09:04 AM ----------

@zeruth what method are you using to flash individual modified partitions with LG UP? Did you roll your own dz (tot) file, or did you figure out another way? Wanted to ask before I continue research on making my own dz (which is all a TOT is).

-- Brian
[LG V20 Questions & Answers] zeruth:
I really wouldn't do that if I were you.

First I extract the LGUPc.dll from 10p kdz using "WindowsLGFirmwareExtract" (http://www.mediafire.com/file/97fq8oxgpllyv8k/KDZ_extract.rar)

Then I move that DLL into the h918 model directory. (renamed to LGUP_c.dll)

After that, using the DLL and patched LGUP.exe(http://www.mediafire.com/file/mhkglulce4zp73f/LGUP.rar)

You can dump any partition from the phone.

You can also flash MOST partitions on the phone (One you cannot is recoverybak. conveniently.)

You have to be very specific with filename and extensions. ie boot.img

One thing I did note however, is that the 10p kdz DOES flash recoverybak for sure. I think that's our ticket in.

I ended up using Resource Hacker to dive into the LGUPc.dll from before to look into why it lets you flash while other dll's don't. Something interesting I noticed was all manually flashable partitions were explicitly listed in that dll. There is something special that seperates the kdz (can flash all partitions) from the small list you can manually flash in the dll.

Last night I thought I had it figured out, Patched myself the 10p kernel with SEL disabled at the cmdline (hopefully) and went to flash it. It went straight to fastboot :(

Even worse news.

If you dump say "boot", and make 0 changes

then immediately re-flash the pristine boot, it will fastboot-loop

the LG V20 knows you've flashed it. without making any changes.

I really think we need to sneak in by kdz. And if that can't happen, we will need a new exploit.

---------- Post added at 05:09 PM ---------- Previous post was at 04:42 PM ----------

PS, if anyone wanted that 10p BOOT with selinux disabled (you can dd twrp to recovery from android if you get this to flash correctly)

Here it is: http://www.mediafire.com/file/0976l3gldlb706x/H91810p_SELD_BOOT.img

---------- Post added at 05:22 PM ---------- Previous post was at 05:09 PM ----------

https://xdaforums.com/android/development/guide-fixing-hard-bricks-t3403868

9008 can be fixed, still best not to test the devil.
[LG V20 Questions & Answers] scottyrick:
Magisk 14.0 allows root by patching boot.img and then you flash the patched boot image. I have done the boot.img 10p patching successfully. Wonder if the flashing would work. I am not ready to try myself. Take a look.
[LG V20 Questions & Answers] zeruth:
upload the image, ill flash it np
[LG V20 Questions & Answers] dimm0k:
don't mind me, subscribed out of interest!
[LG V20 Questions & Answers] dudeawsome:
This sounds compelling seem like a viable option. I would try flashing but don't want to risk it but the other guy is willing to so please upload the file and I might take a look into it.
[LG V20 Questions & Answers] popwar:
Has anyone tested these exploits after using LGs method to unlock the bootloader to allow fastboot commands with the unlock key?
[LG V20 Questions & Answers] runningnak3d:
[MENTION=5150087]popwar[/MENTION] You can only get the unlock.bin from LG if you have a US996. Even if you could figure out the format of the file (it is tied to your IMEI, serial number, and the name of your first child), the H918 aboot wouldn't do anything with an unlock.bin -- the code path isn't there.
[LG V20 Questions & Answers] scottyrick:
Here is the patched_boot.img

https://drive.google.com/drive/folders/0B_1tCzzXsAA0QnotTWNZUEUzSWc?usp=sharing

Here you go. Good luck and thanks for testing this.
[LG V20 Questions & Answers] dimm0k:
somewhat unrelated, but related to 10P. I got the update to 10P downloaded to /data/data/com.google.android.gms/download so I zero'd out the file so that it was a zero byte file. then i removed otacerts.zip, but the update icon wouldn't disappear even after a few reboots. as a result i clicked the update icon to install hoping it would go away and with an empty update.zip that it would fail anyway. after the phone restarted it now goes straight to TWRP. any idea what i should do now to avoid a brick? i flashed stock boot.img, but still goes into twrp and mounting /system in TWRP still looks intact
[LG V20 Questions & Answers] runningnak3d:
[MENTION=5687667]dimm0k[/MENTION] You have a flag set in your misc partition that is sending it to recovery to flash the OTA. Hopefully you have a backup of you misc partition -- right? :P

If not, then for now to get your phone back, backup misc, then zero it out. Sorry, I don't know what flag gets set. That will get your phone back up and running. I can send you a misc file that you can do a hex compare on, figure out what changed (there will be thing like MAC address, BT MAC, etc), but it will be kinda obvious as to what you need to change -- it should just be one byte.

-- Brian
[LG V20 Questions & Answers] dimm0k:
thanks! actually I do have that partition backed up, just no immediate access to it! thanks for the help and the offer on the misc partition, I was able to use one someone sent me not too long ago to compare with my current one and see exactly what you meant with the flag. it was actually more than one byte. I could see this bit right at the beginning of the misc partition and clearing it got me back on track!

boot-recovery

recovery
--update_package=@/cache/recovery/block.map
--locale=en_US

apologies for the sidetrack to this topic...
[LG V20 Questions & Answers] runningnak3d:
[MENTION=5687667]dimm0k[/MENTION] Yea, off-topic, but good info to have. You might consider starting a thread to address that in case anyone else ends up in that situation. :)

Back on topic...

So I grabbed the demo copy of Hopper to decompile the xbl. I figured before I just blindly flash aboot from 10k I would see if there was anything obvious that would brick my phone.

Unfortunately, my limited knowledge of decompiling x86 code did not help in any way, shape or form trying to follow decompiled arm64 (this is now I my learn to do list).

But -- with that said, I did come across this:

OEM_IMAGE_UUID_STRING=Q_SENTINEL_{DFB639AA-5DFC-44C2-9DC6-2825DA89F42A} // this is 10k xbl
OEM_IMAGE_UUID_STRING=Q_SENTINEL_{CCED8A44-07EA-41AC-878A-5ADFAFD76BBD} // this is 10p xbl

Again, I wasn't able to follow the code path to try and see what this is for. BUT Q Sentinel (also called QSEE) is Qualcomm's secure execution environment.

I can make a guess that the is the UUID of some partition -- but that is just a guess. If it is the UUID of boot, then getting an altered kernel to boot may be as simple as changing the UUID of the image to match.

When you dump the boot partition with LG UP, the UUID gets changed. That is probably why you can't just flash an unaltered image back on and have it boot. The reason that they have consistent UUIDs when you flash an entire KDZ is because the GPT gets written, and that sets the UUIDs of the partitions.

Which leads me to the first test that needs to be done if someone hasn't already done it. Use LG UP to flash boot straight from the KDZ and see if the phone will boot. If not, that definitely adds to this speculation.

-- Brian
[LG V20 Questions & Answers] dudeawsome:
did anyone try getting magisk 14 and use patch boot method without recovery? their new option
[LG V20 Questions & Answers] eric.clay42:
How would we flash the patched boot image to the device? Could the image be extracted from the KDZ, patched, and repackaged?
[LG V20 Questions & Answers] dudeawsome:
I believe you could through the patched lg up tool where you could select a partition to flash
[LG V20 Questions & Answers] runningnak3d:
The phone boot loops if you flash a completely untouched 10p boot image. There is some other security -- you certainly can't flash a modified system till we figure out how to get just the stock system to flash.

-- Brian

---------- Post added at 08:31 PM ---------- Previous post was at 08:31 PM ----------

The phone boot loops if you flash a completely untouched 10p boot image. There is some other security -- you certainly can't flash a modified system till we figure out how to get just the stock system to flash.

-- Brian
[LG V20 Questions & Answers] zeruth:
fastboot-loop. sorry man.

As far as I know, we won't be able to just flash twrp on v20 anymore. at best we will have root when another exploit comes out. **** LG.
[LG V20 Questions & Answers] dudeawsome:
I hate how LG screwed us hope they dont do this in any future update

---------- Post added at 01:13 AM ---------- Previous post was at 01:08 AM ----------

Really as from Magisk guide patch the boot then flash boot