yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] steadfasterX:
I think this is going to be more a personal issue not related to this thread. Consider to open a new thread for your issue and mention me there (@ steadf... without space). Write down what your model is, unlock state (unlocked or not) and if so how unlocked (official or UsU ) and what the current state of your issue is.
[Android Software/Hacking General [Developers Only]] rzlplus:
Help with GPT unknown

Hi steadfasterX,

Please can u help me with my issue: I have a H815, and I want to make it UsUed. In seervices menu, phone says its ARB is 0. When I connect the phone to SALT, It confirms that the model is H815, but GPT compatibility and ARB shown as unknown. I dont want to flash a custom rom, i just want to UsU the bootloader, and make magisk root on my stock MM. Do You think is it safe to proceed the unlock in SALT?

Salt log:

bpaste.net/show/2650ed0433bc

I am very thankful for Your help and appreciate Your fantastic work about LG phones.
[Android Software/Hacking General [Developers Only]] steadfasterX:
No you shouldn't proceed.

Your log shows a global h815. Are you sure that you can't unlock officially ?

If really can't upgrade to the latest MM firmware and try again. If it still shows unknown share the debug log again
[Android Software/Hacking General [Developers Only]] Pete_Mitchell:
Sorry just coming back from a sort of "holiday" (was a mess)

Steadfasterx this is the link for the new thread you adviced me to open:

https://xdaforums.com/g4/help/impossible-flash-rom-t3886814

Thanks
[Android Software/Hacking General [Developers Only]] mateus.sc:
Hello [MENTION=5545101]steadfasterX[/MENTION],

I'm currently running android N on my UsU H815P and want to go back to LP 5.1 for better pos processing of front cam and battery quality.

Can I restore my official v10e BR LP system trough SALT or even using DEV LGUP(partition flash) sending all the important ones minus aboot and recovery?

Need your guidance. Thanks for your help
[Android Software/Hacking General [Developers Only]] steadfasterX:
Using lgup ?are you serious? Read the UsU faq and the OP again. The fact that you even ask for this.....

Atm you can't use SALT to flash. you would flash the bootloader stack in fastboot (see UsU faq - again) and then extract the kdz of your choice and extract and flash boot , modem and system partition in fastboot as well
[Android Software/Hacking General [Developers Only]] mateus.sc:
Ok I manage to do it and running LP 5.1 now, but lost my TWRP and cannot flash it in fastboot as quoted bellow:

C:\extracted\extracteddz>fastboot boot twrp.img

error: cannot load 'twrp.img': No such file or directory

C:\extracted\extracteddz>fastboot boot lgg4-twrp.img

downloading 'boot.img'...

OKAY [ 0.746s]

booting...

FAILED (remote: bootimage: incomplete or not signed)

finished. total time: 0.824s.

Looking in dev options OEM unlock setting are missing... what can I do?

---------- Post added at 01:53 PM ---------- Previous post was at 01:41 PM ----------

Ok flashed twrp sucessfully with command -> fastboot flash recovery recovery.img but when I type fastboot reboot recovery results in -> fastboot: usage: unknown reboot target recovery.

Using adb reboot recovery loads LGE Recovery wich has adb sideload and flash update from sdcard options but I think it will not allow unsigned installation, right?
[Android Software/Hacking General [Developers Only]] by_rom:
Thank you for your great great titanic work!!! It is from absolutely noob position. Fwul + Salt every things work right. Now waiting for flash back/ recovery option from backup created by Salt.

Without this option, I refrain from further steps.
[Android Software/Hacking General [Developers Only]] steadfasterX:
there is no command for reboot to recovery from the fastboot mode. you HAVE TO use the key combo to do so. and as said already that must happen BEFORE booting Android!

That means after flashing TWRP take out battery, use the keys to get into recovery and wait until TWRP loads. then reboot from TWRP to recovery again just to be sure.

Thanks dude. You can recover your backup once you flashed TWRP or in fastboot (both require obviously an unlocked device though).

for the worst case: you could also downgrade to LP and enable the experimental flashing option in SALT and even recover in download mode with SALT if you like..

The official flashing support in SALT will take more time (as I do not have much atm)

.-
[Android Software/Hacking General [Developers Only]] nachomartin:
Issues about flashing

I have a question about flashing roms, salt says my device model is lgls991, my firmware (LAF) is ls991ZVA and my firmware (SYSTEM) is us99124a_00, my carrier IS SPR and my gpt compatibility is H811.

I flashed lineage from H811 onto my phone and now lgup on windows says my phone is h811 but it was us991 before. I can't find any us991 roms, i can only get kdz files but i can't flash those through lgup because it detects my phone as h811. So, what should i flash as my rom? ls991, us991 or h811? h811 lineage doesn't boot, it goes into recovery after 15 minutes, h811 stock has some touch issues and i don't have any mobile data or access to mobile networks at all, only wifi.

My original phone didn't have any boot screens or bloatware apps and i never installed any roms/rooted it and i'm not completely sure what Hxxx it was, i'm quite sure us991.

I need some help getting back to us991, i can't find any roms online.

My ARB is 2, I'm already with UsU and the model number said LS991 and some other random numbers

Thanks in advance
[Android Software/Hacking General [Developers Only]] Asusbricked:
Problems with calling after flashing LineageOS 15.1

Was having terrible battery drain issues with LG G4 VS 986, tried new batteries, nothing worked.

As a last resort I tried flashing a custom ROM: LineageOS 15.1. I did this using FWUL, SALT (for UsU), and TWRP via this thread:

https://xdaforums.com/verizon-g4/orig-development/rom-lineageos-15-1-t3806635

Everything worked great, LineageOS up and running, battery drain issue solved! WiFI & mobile data both work. However I can no longer send/receive calls and texts.

I’ve tried resetting network settings, taking out & reinserting SIM, even had Verizon reset my number to my device. Nothing seems to work.

Help?
[Android Software/Hacking General [Developers Only]] steadfasterX:
If SALT says your model is not the right one you have to flash the UsU unlock again with the

correct

files.

GPT compatibility is described in the FAQ of this thread and has nothing to do with your model.

fastboot shows LS991 always for UsU'd devices which is all described in the UsU thread.

There are no US991 ROMs as no one asked for it and well I have not much free time for this and its not needed and more a cosmetic thing mostly. Read the GPT compatibility FAQ of this thread to find out what ROMs you can flash.

If you flash a ROM it will ALWAYS show the model name which is simply HARD-CODED in the ROM. It has absolute

NO

meaning at all and can even show iOS 1.0 if the ROM builder wants to.

As described in the UsU thread and FAQ (hmm I think I have to repeat myself a lot here) you have to flash the baseband package in TWRP when you want to boot not UsU compatible ROMs (like you have to as there are none for the US991).

How, what and where is described in the UsU thread.

If you even THINK about using LGup you haven't read the UsU thread.

you can flash system, modem, boot partitions of your SALT backup in TWRP (if you know how to use the dd command) or simply in fastboot.

you can also extract any US991 KDZ with SALT (ensure the ARB is exact the same then atm!) and flash system, modem and boot partition.

Just ensure you do not flash anything else if you don't know what you're doing and do not forget to format data and cache afterwards.

And overall:

all the above has absolutely NOTHING to do with this thread and is totally

off-topic

. Consider to open a new thread when you have issues not clearly related to an existing thread.

and this is a SALT related issue because....???

Open a new thread for your issue as this has nothing to do with this thread.

.-
[Android Software/Hacking General [Developers Only]] Asusbricked:
Point taken. This is now a SALT issue though, I made a full SALT backup, and would like to restore it if possible. I could not find anything in FAQs about restoring a SALT backup, please forgive if it exists somewhere, could you point me to it?
[Android Software/Hacking General [Developers Only]] nachomartin:
I tried extracting the kdz files in salt and i got arb-detect error and i couldn't extract any files, I could flash the any g4 rom you had on your server and the baseband but it was on a bootloop, it loaded up the "android is upgrading" but then went into lg logo and cycled between those two for hours. I could get an h811 & baseband flashed but i have a lot of touch/mobile data/updating issues. Thanks in advance, i tried flashing system, modem, boot with lg firmware extractor but had many issues on twrp. could you help me extract those kdz? i've tried with a lot of model numbers, h815 h811 us991 ls991 and every single on gave me the same arb-detect-error
[Android Software/Hacking General [Developers Only]] steadfasterX:
there is no official guide for flashing in SALT as this is still an experimental feature.

restoring should be done in fastboot or TWRP as suggested.

when you get the ARB detect error you should ensure you are using the latest SALT version and read FAQ#1000 of this thread.
[Android Software/Hacking General [Developers Only]] nachomartin:
It's already up to date. I've got version 3.21-4, https://bpaste.net/show/908f7ba00204 here's the debug log after trying to extract the kdz.

I've noticed on code line 82 & 93 that it says no *.dz' file found but when i go to that folder there's a file called like my kdz file but with .dz and two other files LGUP_8994.dll & LGUP_8994.dylib

I've now noticed that the phone can't enter download mode, if i hold the vol up button while connecting usb cable it shows the download logo but the blue dots don't move and after 3 seconds it boots into fastboot mode.

Thanks for the help I'm not sure what's happening
[Android Software/Hacking General [Developers Only]] steadfasterX:
yes the issue is well known unfortunately: https://github.com/steadfasterX/SALT/issues/15

Ensure you do not have spaces in the target directory otherwise SALT will fail atm

.-
[Android Software/Hacking General [Developers Only]] nachomartin:
crap, i've tried with no space in any folder and it still failed. what about the download issue? it goes into fastboot with vol up. I tried vol down and it also goes into fastboot, recovery twrp boots normally with power+vol down
[Android Software/Hacking General [Developers Only]] steadfasterX:
(note: if that becomes a double post its XDA's fault.. I waited 5min before re-posting this)

the reason is that you always have a space in your path in your setup when you choose your windows partition as a target (My Passport).

I have fixed that just now so you could consider to switch to the

develop

channel and click update (read FAQ #10 how).

After this you should be able to extract correctly. If not grab the log again so I can fix it!

you cannot get into the download mode if:

system is half-corrupt (when it is fully gone it often works though - so a fastboot format system would help here)

sometimes even when modem is corrupt or half-corrupt (iirc when its completely erased it will fail unlike system)

depending on the firmware: when persist is corrupt

and as my memory is like RAM there is maybe more I forgot.

At the end important is: the dl mode is more sensitive then most ppl think..

.-
[Android Software/Hacking General [Developers Only]] nachomartin:
I did as you said and now it read the anti rollbacks perfectly, i still have to find a stock rom with arb 2, my device has arb 2.

I decided to open it and found it the main board says it's a vs986

Should i flash vs986 roms or should i flash us991? My device originally was us991

https://imgur.com/a/Ptyex0f here's a picture

Also, once salt finishes reading the kdz which files should i extract to flash with twrp. I'm guessing all the ones that have data but i'm not sure. I have some arb 2 roms but i want the stock ones
[Android Software/Hacking General [Developers Only]] steadfasterX:
Oh my... another frankenstein... I begin to believe there are much more out there then we know ...

I told you already that you just need system , boot and modem partition .

The problem is nobody knows exactly what they do with Frankensteins. That means you may need us991 files or you need vs986 ones or (and that happend at least once in the past ) complete own files which you can only get from your SALT backup as they are specific for your Frankenstein ...
[Android Software/Hacking General [Developers Only]] nachomartin:
When i flashed us991 on lgup it worked fine, i don't believe i have an original backup on salt, i did some stuff with lgup before. I really hope i can get my phone back now. Thanks for all the help, i'll try with both us991 and vs986 and let you know the result as soon as i finish
[Android Software/Hacking General [Developers Only]] nachomartin:
I finished flashing the files but i don't know where to flash the modem, when i go to flash the file it gives me 3 partitions to flash it to: boot, recovery and system image. I did system & boot and had mobile data & camera issues. maybe not knowing where to flash modem is the issue
[Android Software/Hacking General [Developers Only]] steadfasterX:
Yes when the modem partition is incompatible you will have issues with cam , sound , cell service.

I said you should flash it in fastboot ...

For the modem it means :

fastboot flash modem modem.img

Btw

Also consider to use the thanks button on useful posts here on XDA
[Android Software/Hacking General [Developers Only]] nachomartin:
Thanks for the advice on flashing modem, i'm quite new on this topic.

I'll be sure to give you a lot of thanks, i didn't notice such button.

I'm still looking for a 5.1 rom vs896 that has ARB 2, most of what i've found has arb 1 and my phone has arb 2

One last question, the modelname_Usu_baseband_flash-in-twrp.zip file should only be installed with non UsU validated roms right?
[Android Software/Hacking General [Developers Only]] steadfasterX:
MM - ARB2 - US991 : https://lg-firmwares.com/downloads-file/1520/US99121a_02_0620.kdz

MM - ARB2 - VS986: https://lg-firmwares.com/downloads-file/9735/VS9862BA_00_0525_ARB02.kdz

LP - ARB2 - VS986: http://dlbeta.codefi.re/autoprime/LG/LG_G4/VS986/VS98613B/

-> when installing that one no need for baseband flashing

Well the baseband package need to be flashed only when you want to boot a custom ROM which is not UsU compatible

.-
[Android Software/Hacking General [Developers Only]] nachomartin:
Thanks for the info, i could install stock 6.0 but i'm stuck on roaming and i can't get mobile data. Everything else works and yes, i've configured my apn correctly i've even tried on another phone and it works fine. I think i have to enalbing the hidden lte bands.

https://www.ibtimes.co.uk/lg-g4-how-enable-hidden-lte-hsdpa-bands-1507064

I've been following that guide but adb doesn't get my phone into diag mode

I've been also trying with this guide https://www.youtube.com/watch?v=6d4dR3pLRY4 and had no luck, as soon as i try using any ussd codes it says "connection problem or invalid mmi code"

I also can't access the menu where you check ARB, I'm not sure if it's the rom or my phone.

I've tried flashing vs986 roms because the mainbord is such model and no luck with mobile data, also verizon has some weird sim activation tool.

On setup i had "This SIM Card is from an unknown source" errror but it didn't cause any errors.

Sorry the post is long, i'm trying to give as much info as i possibly can to help diagnosis. If it can't be fixed i'll check with a local repair shop
[Android Software/Hacking General [Developers Only]] threehappypenguins:
RE: the other thread where you said to upload my log file. When I click "Upload/Paste this log," I get a message that says, "Error while uploading logfile.."

So I attached a .txt of my logfile. Is that okay?
[Android Software/Hacking General [Developers Only]] steadfasterX:
The reason is clear . You cannot upload the log and you cannot extract as you choose a folder which has too less space.

When you use VirtualBox enable a shared folder and extract there.

When using FWUL from USB you should open the windows partitions which you can find on the desktop. Then after opening you can choose that as a target in SALT .
[Android Software/Hacking General [Developers Only]] nachomartin:
I installed the us99121a kdz extracting it through salt and it boots into fastboot, i tried with many roms and it still boots there. I tried a rooted zip h811 online and it worked but the screen had a lot of issues. It seems like installing through flashing system, boot & modem is failing. not sure why i also still can't enter download mode, it tries to enter but 5 seconds after the download mode logo shows it goes into fastboot
[Android Software/Hacking General [Developers Only]] threehappypenguins:
I successfully began extract this time by changing it from extracting to the tmp folder to the Desktop. However, it aborted partway through. I assume because I ran out of space. Now I'm having trouble getting the sharing working. I can't use VirtualBox since I can't successfully pass on the USB for my phone's connection to VirtualBox. I have to use vmWare. I have a shared folder set up, but I can't mount it. I tried following this tutorial, but get stuck at

sudo pacman -S asp

and get the error

target not found: asp

.

Then I tried this tutorial, and got stuck at

systemctl enable vmtoolsd.service

and got the error Unit file vmtoolsd.service does not exist.

I'm just so lost when it comes to Linux. The only thing I know about it is to put codes into the terminal, cross my fingers, and hope it works. I tried expanding the disk space on vmWare, but it says I have to repartition, and I don't have a clue how to do that either.
[Android Software/Hacking General [Developers Only]] Bcoates84:
I downloaded Salt from ur git. It is all in German/ Dutch? How do I Change it to English plz?
[Android Software/Hacking General [Developers Only]] steadfasterX:
absolutely no idea what you are talking about. If you talk about FWUL go into the FWUL thread and READ the changelog or simply install FWUL v3.1

stop trying to do those linux things.

simply flash FWUL v3.1 on an USB stick. do not tamper around with VMware which is not supported by FWUL.

..and report FWUL issues to the FWUL thread.

,.
[Android Software/Hacking General [Developers Only]] Asusbricked:
Extracting files from SALT backup (userdata.bin)

Couldn't get cell service working after unlocking, still interested in using the backup I made with SALT, specifically userdata.bin. And guidance on how to extract apps, app data, pictures, etc. from userdata.bin? File does not seem to register with PowerISO or MagicISO, otherwise I wouldn't be asking.
[Android Software/Hacking General [Developers Only]] steadfasterX:
Simply use SALT to mount the image (advanced menu). This will work only if you never encrypted your device of course . it also will not work if you use virtualbox and when the image resists in a shared folder which is known to not work .
[Android Software/Hacking General [Developers Only]] Asusbricked:
Extracting Files from SALT backup (userdata.bin)

Not trying to restore userdata.bin to my old LG G4. I got a new phone (same as yours looks like, a OnePlus 6T), I know can't flash it to the 6T, I'd just like to extract the userdata.bin files onto my PC if possible. There is one app in particular called Safe Areas that is extremely useful but no longer available in app store, and also my pics would be nice to get. I know this isn't a SALT issue per se but the backup was made with SALT and I can't seem to extract using PowerISO so I'm stuck.
[Android Software/Hacking General [Developers Only]] steadfasterX:
as said.. mount the image in SALT -> advanced menu. Then you select browse image and you can copy what you want from your backup

.-
[Android Software/Hacking General [Developers Only]] Ainz_Ooal_Gown:
Any plans for Oreo support? Specifically the V40?
[Android Software/Hacking General [Developers Only]] Asusbricked:
Thank you!
[Android Software/Hacking General [Developers Only]] steadfasterX:
You can backup oreo .

You can extract oreo kdz's.

Flashing MAY come even for oreo but I never give ETAs if that's what you meant ..

You're welcome

... There is that little thanks button for useful posts ;)
[Android Software/Hacking General [Developers Only]] Ainz_Ooal_Gown:
Thanks for the reply the KDZ flash may help us Root depending what exploit we find.
[Android Software/Hacking General [Developers Only]] onedeathbyflame:
Running Debian. I'm stuck at this part...

I get this

"Collecting python-zstandard

Could not find a version that satisfies the requirement python-zstandard (from versions: )

No matching distribution found for python-zstandard"
[Android Software/Hacking General [Developers Only]] steadfasterX:
Oops sorry:

pip3 install zstandard

is the correct cmd.. (not python-zstandard)

Thx for pointing .
[Android Software/Hacking General [Developers Only]] Igorbenedito:
Work with LG K10 NOVO (M250DS) ?
[Android Software/Hacking General [Developers Only]] onedeathbyflame:
Now I'm running into "Failed building wheel for pycparser" so I'll have to look into it after work.

Also a side note for pip3: !

Looks like after installing pip3 you need to run a few commands to "update" it (I'm guessing that's what it is) using the

pip3 install --upgrade setuptools

I'm going to look into pip3 when I get back, I think those commands might be fast and loose so be careful!
[Android Software/Hacking General [Developers Only]] TacoShow:
Please help me bring up to speed in comprehending what SALT is all about. I've read the OP, but I still am unsure what I should expect from this utility.

Can I with SALT make a full backup of my device just like a TWRP backup, and reflash the backup to unbrick my device (like it did when the LG G7 had gotten into a bootloop due to a crappy update)?

Does SALT work with the LG V40 (at least the LM-V405EB, LV-V405EBW)?

In the OP it is mentioned that with SALT you can unlock the LG G4, but is it known whether you can use it to unlock the LG V40?
[Android Software/Hacking General [Developers Only]] steadfasterX:
No. SALT goes much further then TWRP . In TWRP you will backup some(!) partitions but never all. In SALT you can backup every single partition which is the only full real true nandroid backup .

Depends. On unlocked devices you can do so easily on every android version and on every device.

For this you would.just bring up fastboot and flash your backup back.

On locked devices it requires a compatible download mode (usually that means Lollipop or MM) . The flashing part in SALT while in download mode for locked devices is still under heavy development and so is not shown up by default in SALT .

The unlock is only available for the g4 sorry.