yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] steadfasterX:
This is NOT the lafsploit thread..

Nevertheless 3things :

1) if you use vbox you must ensure you pass the USB device through in the vbox settings.

2) try to switch the USB settings of the VM between usb v2 and v3 or when using FWUL from an USB stick try different ports

3) using FWUL from an usb stick is HIGHLY recommended as usb emulation is often an issue
[Android Software/Hacking General [Developers Only]] KJOM:
Ok, thanks.
[Android Software/Hacking General [Developers Only]] madbat99:
Works great. great work dev. I've been playing with it for a while now.
[Android Software/Hacking General [Developers Only]] kevin71246:
This took all day, but I finally got it to work! I tried VMWare since that's what I'm used to. I finally got it working, but it had too many issues. I tried it on a laptop I had laying around. I got it to load the FWUL boot menu via USB stick boot, but when I clicked on forgetful or persistent, or whatever, it would just quickly restart to FWUL menu. Finally figured out the laptop is 32 bit. UGH!! I really wanted this on a dedicated box (laptop). I got it to work by writing FWUL img to usb stick via Rufus, and allowing VirtualBox to boot off of a USB stick (info provided in original post & FAQ#4). I had issues though and figured maybe I had sdcard issues (SDcard w/adapter). I ended up using a smaller USB stick. This worked well.

Anways, is there a 32bit version of this floating around so I can put this on a dedicated laptop? If so, where/how can I download it? Im dizzy from working on this all day & cant seem to find it, but did see a reference that it may exist. Good luck all and THANKS [MENTION=5545101]steadfasterX[/MENTION] !! Awesome job!!
[Android Software/Hacking General [Developers Only]] steadfasterX:
There are SEVERAL reasons why there is no 32bit version anymore.

Read the newly added FAQ #9 on the 4th post of this thread for details.

-
[Android Software/Hacking General [Developers Only]] kevin71246:
Thank you for the response & for updating the main post. Again, awesome offering & we all thank you for your hardwork on this! Very cool. I just may have to trade in my antiquated 32bit laptop just for this :)
[Android Software/Hacking General [Developers Only]] kevin71246:
Alright, I'm a few days in of trying things & searching but can't figure this out. I'm trying to mount a system.img.ext4 I extracted from Samsung FW/OTA package so I can access the contents. I tried all of the obvious things Linux people would try but keep getting an assortment of errors like "warning file does not fit into a 512-byte sector" & "wrong fs type bad option bad superblock on" & "cant read superblock on /dev/loop1"

Given I've tried all of the suggestions found on Google, I'm wondering if it's something I'm trying to do or something with FWUL? Or is there a tool in FWUL that could facilitate? (I tried Qphotorec but that doesn't result in a /system/folder & file extraction by any means)

Any help would be greatly appreciated!

How I got system.img.ext4:

-Unzip G930TUVU4CRI2.zip via 7-zip in windows

->Unzip AP_G930TUVU4CRI2* via 7-zip in windows

->Uncompress system.img.ext4.lz4 via lz4 (results in system.img.ext4)

*I then did a VirtualBox share to provide system.img.ext4 to FWUL

*From there I tried all the common things like:

losetup -f /media/sf_LinuxShare/system.img.ext4

losetup /dev/loop2 /media/sf_Share/system.img.ext4 (warning filedoes not fit into 512-byte sector; the end of the file will be ignored.)

mkdir /mnt/mysystem2

mount /dev/loop2 /mnt/mysystem2 (mount: /mnt/mysystem2: cant read superblock on /dev/loop2)

*I also tried copying system.img.ext4 to /media/system.img.ext4 so its local. That helped with the "warning filedoes not fit into 512-byte sector" error, but not the other. Still unable to access it

*I also tried renaming system.img.ext4->system.img (no change)

Update: If my question is too vague, let me try this: Any reason why this wouldn't work in FWUL?

mount -t ext4 /dev/loop6 /mnt/mysystem6

Error I get: mount: /mnt/mysystem6: wrong fw type, bad option, bad superblock on /dev/loop6, missing codepage or helper program, or other error.

Does the mount command FWUL comes with support ext4? If not, how could one get that to work? Thanks!!!
[Android Software/Hacking General [Developers Only]] steadfasterX:
The most important thing first:

Using virtualization like VirtualBox has MANY disadvantages. Consider to ALWAYS use FWUL from an USB stick.

One reason is USB emulation. It often has issues like timeouts on heavy and critical operations.

The second thing is what you running into. Shared folders. They are handy but they emulate direct access which uses an special file system. That's a problem when you have an image which is within a shared folder.

So if you still want to use VirtualBox instead of running FWUL from an USB stick: copy the image file locally in FWUL.

Then do not mess around with loop or losetup. Just use mount:

mount -t ext4 system.img /mnt/foo

Consider to use fsck before to check the image is intact!

You can also use SALT which is made for LG devices but you can also mount image files : folder LG -> SALT -> skip the detection -> advanced menu -> mount image

Good luck
[Android Software/Hacking General [Developers Only]] kevin71246:
You are too kind with your time & helping out with your responses... This comment you made got me what I needed! (Though not in FWUL, but I did get it figured out in Windows! simg2img, which is normally a LInux tool, is needed to convert this to a valid img file. That was my problem)

I did "fsck /media/system.img" & it indicated: "Bad magic number in super-block...", so I knew this wasn't going to work with normal means (mount, etc). I wanted to post an update on how I got it going just in case others come across this and want an answer. This is a thread I created on how to do it. THANKS again!!!
[Android Software/Hacking General [Developers Only]] kinuris:
Hello!

Can I encrypt home folder using eCryptFS? I'd like to use this as a portable OS for general use. I've done it before in an Arch installation, but I don't know if it will work in a persistent one.

TYIA
[Android Software/Hacking General [Developers Only]] steadfasterX:
well it SHOULD work as ecryptfs is a filebased encryption (ie. no device level enc) but even when it very likely will work I have never tested this - so no guarantees.

.
[Android Software/Hacking General [Developers Only]] Michael-IDA:
Linux instructions

Hi [MENTION=5545101]steadfasterX[/MENTION],

You don’t have Linux instructions ;) They’re really easy (cryptic, but ‘eh).

Assuming you have a 32GB USB stick and if you don’t have a ‘root’ login use ‘sudo’.

# lsblk
# dd if=/fullpath/filename.img of=/dev/sdX bs=1M

Example:
# lsblk
sdc 8:32 1 29.3G 0 disk
└─sdc1 8:33 1 29.3G 0 part

# dd if=/home/username/Downloads/FWUL_v2.7_x86_64_30GB/FWUL_v2.7_x86_64_persistent.img of=/dev/sdc bs=1M
26115+0 records in
26115+0 records out
27383562240 bytes (27 GB) copied, 6062.98 s, 4.5 MB/s

Also as you’re promoting Linux as better than Windows, did you follow the systemd ‘turf wars?’ If you didn’t here’s a brief overview (from the anti-systemd side):

“With systemd the main advantage to use Linux is obsolete.”

blog.ungleich.ch/en-us/cms/blog/2017/12/10/the-importance-of-devuan/

Best,

Michael
[Android Software/Hacking General [Developers Only]] shinobisoft:
I seriously hope you're not bashing the work @ steadfasterX has put in to this tool... Because it sure comes across that way!!!
[Android Software/Hacking General [Developers Only]] Michael-IDA:
I am not bashing steadfasterX's work...

Whoa Dude! I am not!

I just successfully used this project, and due to its benefits to me, I used my time to give him information he can add to his guide to make it more helpful.

Changing the base distro of any Nix project like this one by [MENTION=5545101]steadfasterX[/MENTION] is a walk in the park. Arch went to the 'dark side' by adopting systemd. The adoption of systemd had a huge flame war amongst the kernel level dev community, but most 'average users' never even knew it happened.

As many (most probably) Nix users don't know of this, the link I gave pretty much sums up the entire argument for using a Nix that doesn't use systemd.

steadfasterX obviously wants to promote Linux, which is why I, as a fellow 20+ year Nix user, brought the issue up (in case he wasn't already aware of it).

Best Regards,

Michael
[Android Software/Hacking General [Developers Only]] steadfasterX:
Thanks for the Linux guide. I was too lazy to write one because I think most Linux users should be able to do that anyways but it's good to have it and as soon as possible I will add it to the guide.

Regarding systemd It's totally okay when you mention your opinion here as long as doing it polite and based on facts. So all good.

Just one word about it: new things are not necessarily evil and even when Concepts and/or the implementation are not perfect one can help changing them instead of fighting against.

I know how emotional the fights around that topic are and even while I accept some discussion around it here it's not the main topic of this thread and should go better into a new one or even more better on IRC...

Regardless of all this FWUL will not switch to systemd unless someone wants to develop and maintain that. Which will never happen according to my experience.

Btw I use Linux over 15 years not just in private also in business so yes I am totally aware of all the war around systemd.

EDIT

Well another word just after reading that article you linked ;) .

That's exactly what I am saying just with another consequence. Implementing such a deep change in the way the init system works is not an easy task. It means for sure that many problems will arise. It also means a lot of work needs to be done to make it fully stable and AS stable as we expect it since several years.

but when stability is the only argument than why installing any update ever? Than just fixing bugs forever is enough.

Innovation hurts sometimes as new things take time... and need help.

when no-one helps in improving stability it will never get that stable right . it's a bit of a hen and egg problem, sure.

I prefer having a more modern init system even when this means I have to help improving it than having a complete outdated but stable one. Otherwise innovations would never happen when everyone would think that way.

ok that's my opinion which I share with many - like yours which you share with many as well. So.. That's how it is.
[Android Software/Hacking General [Developers Only]] slinson:
It took Rufus about 23+ min to burn FWUL to my flash drive, spending most time (20 min or so)on the last 1-2% before complete. Also once done, I'm not able to see the flash disk in Windows. Is it because it is now on a Linux file system and absolutely normal? Or is something wrong?

btw I haven't got a chance to validate the flash disk by using it to boot...
[Android Software/Hacking General [Developers Only]] steadfasterX:
That is normal as the flashing itself is fast but creating the persistent storage takes a while (depending on the version you choosen).

Read the (new) FAQ #10

.
[Android Software/Hacking General [Developers Only]] slinson:
Thank you boss!! Really appreciate all the hard work you did!!

Btw since you are here....may I ask, once I UsU and flash LineageOS on to VS986 (Verizon variant), do you happen to know if I'd still be able to use other SIM (say AT&T) on LTE bands? The reason I ask is because on Stock rom, I had to use Shortcut Master to enable UMTS/GSM bands manually. I'm not sure if this can be achieved on LineageOS rom also, or even, whether it is necessary to begin with.
[Android Software/Hacking General [Developers Only]] Michael-IDA:
Add to FAQ #10?

Oddly Ubuntu 14.04 can't auto mount a known working USB stick either. Maybe add that to FAQ #10? I didn't care enough to try manually mounting it though.

Best,

Michael

PS:

On systemd... Okay it’s probably best to just drop the discussion as we seem to be saying about the same thing...

> [if] stability is the only argument than why installing any update ever?

Being new isn’t really the stability issue being cited with systemd. Any new init system would be acceptable, as long as it didn’t follow the systemd route of incorporating so much stuff that’s not legitimately a part of system initialization. Systemd’s architecture is always going to make it more unstable than either the existing init methods or most any other new init method. The instability is that systemd is now doing so much more than it should.

Exceedingly minor example, but hugely relevant to my customers: Reboots for kernel updates occur about 5x with systemd as opposed to /sbin/init systems.
[Android Software/Hacking General [Developers Only]] fmmarotte:
Please, I am in need of help, my LG h815p is in fastboot mode and is not recognized, somebody can help, since in the other topics no one answers ... I have asked in other places (SALT, USU) but I have been ignored. Thank you very much in advance.

if you can take a look at this; https://photos.app.goo.gl/uf5u5hEKwXZEpp2W7
[Android Software/Hacking General [Developers Only]] steadfasterX:
IRC is the answer. What you wrote means nothing as it does not contain all relevant information for your issue or what you had done. Link to existing requests instead of repeating yourself and keep the discussion where it belongs to (not here).

IRC can give quicker support but requires patience until someone arrives there due to timezones. Read the OP's on SALT, FWUL, UsU which all refer there and how to get into there.

.
[Android Software/Hacking General [Developers Only]] steadfasterX:
Warning: Advertisement

FWUL has its own homepage since today ;)

https://fwul.binbash.rocks

Cheers
[Android Software/Hacking General [Developers Only]] kinuris:
Well, my USB died except for charging. It is not recognized no matter if it is in recovery, fastboot, nor in "normal" . Is a thing reported by other users too. Maybe it is you case. Maybe. If it is, and you don't have TWRP, you cannot do anything to unbrick, AFAIK
[Android Software/Hacking General [Developers Only]] fmmarotte:
They are running normally, both USB and cable.

Thanks for the attention, I do not know how to solve.

---------- Post added at 04:33 AM ---------- Previous post was at 04:26 AM ----------

Sorry to upset everyone else I'm too sad about it all, I read that with everyone works less with me. Is it because my LG H815P is Brazilian SALT does not recognize it? :rolleyes:
[Android Software/Hacking General [Developers Only]] steadfasterX:
No it's because you are writing in the wrong thread. That's the very first thing. The next one is you try to use a tool (SALT) which is made for download mode while you are in fastboot mode.

When you are in fastboot mode you should use fastboot commands. So as you are ignoring my mentions regarding coming to IRC: For your specific problem you should open a new thread and describe your issue in detail as it seems your problem has nothing to do with SALT or this distribution and it's more about understanding issues in how to communicate with your device in fastboot mode
[Android Software/Hacking General [Developers Only]] fmmarotte:
The IRC problem is the language, it is complicated to translate a chat.

Do you want me to open the topic in {Android Software and General Hacking [Developers Only]}?

If the answer is yes, before maybe I can do something better.

Before opening the topic and annoying people more I will do the following; I installed the (Linux Mint 19 "Tara" Xfce 64bits) in old notebook that I have here, I think the bootable USB stick will run better on the virtual machine there because my new Notebook is with "32bits" windows so the vitual machine does not accept the arch 64.

Thank you and sorry for the inconvenience:confused:
[Android Software/Hacking General [Developers Only]] nightwalker2018:
Can't Login

Hi Guys,

I have already created a boot usb-stick 2 times with Rufus.

The first time I used the latest version FWUL_v2.7_x86_64_15GB (with DD mode).

The second time the nightly version FWUL_v2018-11-29_01-20_x86_64_30GB.zip.

It boots and I am prompted for password input but I can not enter :(anything.

I think FWUL does't recognize my keyboard, It's a laptop from Acer (Aspire E5-573G, 64 bit processor)
[Android Software/Hacking General [Developers Only]] steadfasterX:
No the correct area would be the "Help" section in the LG G4 forums: https://xdaforums.com/g4/help

Add all details, everything you tried and as much information as possible. Ensure you understand the difference between fastboot and download mode and when you doing things in virtualbox ensure you pass-through the USB device otherwise it cant be recognized there.

do you have an USB keyboard which you can attach? If so do it and if it works login, open a terminal and type:

sudo pacman --noconfirm -S xorg-xinput
xinput list --long > info.txt
lsmod >> info.txt
cat /var/log/Xorg* >> info.txt
~/programs/SALT/foreign/usr/bin/wgetpaste -s bpaste -e 1month info.txt

It will print a link on the terminal screen. copy and paste that link here.

.-
[Android Software/Hacking General [Developers Only]] lazulihusky:
Once again I embarrass myself but, I am completely clueless as how to use this in virtualbox? I have the forgetful version of fwul downloaded, but I'm not sure how to utilize the ISO. I've tried searching for solutions, but following them I just run into errors. Specifically,

"Failed to open the disk image file C:\Users\lazul\Downloads\FWUL_v2.7_x86_64_forgetful.iso.

Could not get the storage format of the medium 'C:\Users\lazul\Downloads\FWUL_v2.7_x86_64_forgetful.iso' (VERR_NOT_SUPPORTED).

Result Code: VBOX_E_IPRT_ERROR (0x80BB0005)

Component: MediumWrap

Interface: IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda}

Callee: IVirtualBox {9570b9d5-f1a1-448a-10c5-e12f5285adad}

Callee RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)"

I don't know what I'm doing wrong, maybe I'm not following any guides right? I don't even know if I've created the VM correctly in the first place. I am so not used to working with VMs. :crying:

Edit: I had gone to move the file and noticed it was only 700-something mb, when its supposed to be 910. So I redownloaded it and tried it again and it worked perfectly. Thank you so much, it was incredibly easy to use and just may make me a Linux fan afterall [;
[Android Software/Hacking General [Developers Only]] nightwalker2018:
Terminal

Today I pluged in a external keyboard and I logged in and I tried the first command line

but after enter the password I got error:

sudo pacman --noconfirm -S xorg-xinput
[sudo] password for android:
database files for 'core' does not exist (use '-Sy' to download)
database files for 'extra' does not exist (use '-Sy' to download)
database files for 'community' does not exist (use '-Sy' to download)
database files for 'mulilib' does not exist (use '-Sy' to download)
error: target not found: xorg-xinput

Then I made a shutdown a got many errors, which I did not seen before (as i made my first shutdown last week).

Also at booting time I saw an error in red and if I'm remembering right it was something like: ~ "Can't load start kernel modules"
[Android Software/Hacking General [Developers Only]] steadfasterX:
sorry my fault. the database is not ready yet so you need to do this cmd as the first one instead:

sudo pacman --noconfirm -Sy xorg-xinput

You can safely ignore the kernel module error when you run FWUL from USB/cd/dvd/sdcard .

It can't load the virtualbox modules which is totally fine when you do not use virtualbox.

EDIT: I have also updated the FAQ and added #11 which explains it as I read that question from time to time.

Nothing to care about as that means it cannot read from a CD/DVD slot which you have. Maybe you had a CD/DVD in and removed it. Anyways nothing serious again.

.
[Android Software/Hacking General [Developers Only]] nightwalker2018:
Done
[Android Software/Hacking General [Developers Only]] steadfasterX:
ok great. ensure you boot in persistent mode and type this with your USB keyboard:

sudo pacman -Sy acpid
sudo systemctl enable acpid

Reboot FWUL and test your internal keyboard again

.-
[Android Software/Hacking General [Developers Only]] Smart Ru:
When update salt to 3.21-4 it shows error missing requirement

python-zstandard(python3)

What should I do so that I can use salt

System: FWUL PERISENT.

Thx .
[Android Software/Hacking General [Developers Only]] steadfasterX:
Read the SALT changelog .

Read the SALT OP .

Change either to FWUL nightly or do what's written in the SALT OP .
[Android Software/Hacking General [Developers Only]] EvoNotEvil:
Can anyone tell me why I can't boot and how to fix it ?
[Android Software/Hacking General [Developers Only]] steadfasterX:
First of all try the latest nightly .

Find the link in the OP .

If it still fails try the fallback modes on the boot screen.
[Android Software/Hacking General [Developers Only]] EvoNotEvil:
Got it booted finally after some peculiar bios settings and second fall back option.
[Android Software/Hacking General [Developers Only]] steadfasterX:
So you have or have not tried the nightly ?
[Android Software/Hacking General [Developers Only]] EvoNotEvil:
Not yet. I will let you know.I had gotten it to boot and used it for my immediate needs already when you suggested the nightly
[Android Software/Hacking General [Developers Only]] Zander_Sig:
How to best get files?

OK. I see that we can not get into our hard drives (Windows 7) while in FWUL correct?

I have not tried yet... I am just getting prepared. Is it best just to put the files I need on my Nexus 5 phone and then copy them into FWUL (to do sideloads)?
[Android Software/Hacking General [Developers Only]] steadfasterX:
Of course you *can* access them. Just boot FWUL and you will find your windows disks on the desktop . The post you refer to is over a year old and so outdated ;)

There is no need to copy files for this. When you open the disk linked on the desktop just browse to the folder you want and right click in the folder and choose "open a terminal" and you are were you want to be to do adb sideloads :)
[Android Software/Hacking General [Developers Only]] Mariano 4002:
When i try to enter in persistent mode the system fail and show me

ERROR: '/dev/disk/by-label/fwulforever' device did not show up aftwr 30 seconds...

You can try to fix the problem manually, log out when you are finished

Sh: Can't access tty: job turned off
[Android Software/Hacking General [Developers Only]] steadfasterX:
This indicates a problem with flashing .

How do you flashed the stick?
[Android Software/Hacking General [Developers Only]] Mariano 4002:
I flashed witch rufus
[Android Software/Hacking General [Developers Only]] steadfasterX:
How
[Android Software/Hacking General [Developers Only]] Mariano 4002:
Just put the image of fwul and select my usb flash, and after that i select iso
[Android Software/Hacking General [Developers Only]] steadfasterX:
Ok.. Why not following the guide in the OP instead? You did it wrong and besides a short how-to there is even a picture guide for rufus linked in the OP ..

Cheers
[Android Software/Hacking General [Developers Only]] Zander_Sig:
Thanks steadfasterX

Thanks steadfasterX for that! Yeah I have been out of the scene for a while.

Much appreciated man!
[Android Software/Hacking General [Developers Only]] steadfasterX:
No prob..

btw next FWUL version is coming soon..