yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] sdembiske:
Install MiniTool Partition Wizard - it will allow you to see and reformat your 8gb flash drive. I will stand corrected but you will be better off downloading the 30gb size FWUL image and installing it to your 32gb flash drive - copying the 8gb drive over to your 32gb one won't help as it won't expand the file system - you will still have an 8gb FWUL image - the only difference it will be on a 32gb drive with 24gb rendered useless on that drive ...
[Android Software/Hacking General [Developers Only]] sdembiske:
Note

: If reformatting the drive with the MiniTool Partition Wizard still doesn't allow you to see the flash drive in Windows, do the following (I had to do it to recover one of my flash drives because it wasn't recognized either):

Open a command prompt with admin rights.

Type: diskpart (enter)

Type: list disk (enter)

Type: select disk 1 (enter) [IF, 1 is the disk # that shows for your flash drive in Disk Management].

Type: clean (enter)

Type: exit

Type: exit

Then proceed to reformat your flash drive with Disk Management in Windows by right clicking on Disk 1 (or whatever disk # corresponds to your flash drive) and selecting format.
[Android Software/Hacking General [Developers Only]] adam_s_459_:
[Update]

Completely disgpregard all of that because virtual box was wrong when it told be that I had a 32 bit CPU architecture. For some reason I didn't bother to check settings and it turns out my computer is 64 bit......... Sorry for being a bother and I appreciate the help you did give me [MENTION=6302635]sdembiske[/MENTION] my bad.

So I am having issues installing FWUL in a virtual machine on my Lenovo S21e. (A very bad laptop) the CPU architecture is 32 bit, I have just enough disk space available to put the .IMG file (the 8gb one) onto the hard drive. The laptop runs the latest windows 10, and has 2 GB of ram.i installed the virtual box in >windows10_OS(c:)>program files>oracle>virtual box>. I placed the .IMG file into that file location like [MENTION=6302635]sdembiske[/MENTION] said in his guid. Then I entered the command he said would change it to a .vdi file and it gave me a weird error: "Converting from raw image file="FWUL_v2.5_x86_64_persistent.img" to file="FWUL_v2.5_x86_64_persistent.vdi"...

Creating dynamic image with size 7315914752 bytes (6977MB)...

VBoxManage.exe: error: VDI: cannot create image 'FWUL_v2.5_x86_64_persistent.vdi'

VBoxManage.exe: error: Error code VERR_ACCESS_DENIED at F:\tinderbox\win-5.2\src\VBox\Storage\VDI.cpp(680) in function int __cdecl vdiImageCreateFile(struct VDIIMAGEDESC *,unsigned int,struct VDINTERFACEPROGRESS *,unsigned int,unsigned int)

VBoxManage.exe: error: Cannot create the disk image "FWUL_v2.5_x86_64_persistent.vdi": VERR_ACCESS_DENIED" even when I tried the alternative command it gives me the same error. The F:drive I am using is a 32gb micro SD card (SanDisk ultra). Any ideas?
[Android Software/Hacking General [Developers Only]] tiberian41:
Having problems running this on my HP Envy 15
[Android Software/Hacking General [Developers Only]] steadfasterX:
I would say the path where you're in does not allow a normal user to modify data. In my faq I said you should go into the folder where you saved the FWUL image and then use the full path of your virtualbox installation to execute the steps. For a reason. One is what happened to you now.

What FWUL version ? Is forgetful working?
[Android Software/Hacking General [Developers Only]] sdembiske:
What are you using the SD card for? It's not necessary for anything in my instruction post. In fact, I state you do not even need one. Are you hoping to save your SALT backup to it, once you've set up everything? If so, don't even plug it in at this stage.

Remove any FWUL related set-up that you have tried in VirtualBox (including any related failed command tries), making sure you delete ALL the files when you remove the FWUL, not just remove them when it asks. At this stage you do not want anything related to FWUL except the .img file in any of the VirtualBox folders - check them all, there are at least 2 other locations in addition to the Oracle/VirtualBox install folder - delete any you find.

C:\Users\Your_User_Name\VirtualBoxVMS

C:\Users\Your_User_Name\AppData\Local\VirtualStore\Program Files\Oracle\VirtualBox\

When you downloaded the .img file it should be in your Downloads folder. Extract the FWUL image and copy only the .img file into your Oracle/VirtualBox install folder. Then copy and paste the command in to your command prompt that you opened in the Oracle/VirtualBox folder.

When the command completes - then proceed to put FWUL in as a NEW install in VirtualBox following my instructions in the install post. Now, plug in your USB drive and add your flash drive as a "Shared Folder" (see my post # 490 ). Because of your limited available hard disk space, you will have to back-up to there, only.

I think some of the problems you are confronting now are related to your prior failed install attempts, in addition to your 64bit OS/VirtualBox initial problem.

Note

: You shouldn't have any problems using the install command as I've stated it in the Oracle/VirtualBox install folder, provided you are logged into Windows with Administrator rights assigned to your user.
[Android Software/Hacking General [Developers Only]] adam_s_459_:
Do not mind.... I have managed to boot it over a usb stick:good::)thanks for your suggestions though.
[Android Software/Hacking General [Developers Only]] sdembiske:
Could you please explain what you mean exactly by: boot it over a usb stick

It may help other members to know ...

i.e., Are you booting it in VirtualBox from your flash drive or booting it up from your laptops boot menu selection? Are you able to do a full or partial SALT backup the way you have done it?
[Android Software/Hacking General [Developers Only]] adam_s_459_:
I used Rufus to create a bootable usb drive, and booted it over my laptop's boot menu selection. I was able to make a full salt backup in the latest forgetful .iso file. Cheers!
[Android Software/Hacking General [Developers Only]] sdembiske:
forgetful.iso ? Where exactly did you save the full SALT backup to?
[Android Software/Hacking General [Developers Only]] adam_s_459_:
My SanDisk SD card
[Android Software/Hacking General [Developers Only]] Edmiri:
Failed retrieving file when installing teamviewer or sony flash program. Also when updating.

You did a great job but linux will allways suck big time and will be forever buggy. Maybee not opensuse. It is the most stable linux i tried.
[Android Software/Hacking General [Developers Only]] sdembiske:
I believe there is a reason steadfasterX named it "forgetful" - i.e., any changes are not retained. I'll stand corrected but I don't think you will find your SALT backup has been retained the next time you boot up into FWUL.
[Android Software/Hacking General [Developers Only]] adam_s_459_:
I was unaware that I needed salt to remember it took a backup. I still have the backup files on my SD card so could I not just restore them off that if I needed to?
[Android Software/Hacking General [Developers Only]] sdembiske:
If you did the SALT backup in the FWUL forgetful.iso that you booted up - FWUL, I don't think, will retain the backup. As I stated, I will stand corrected if, when you re-boot FWUL, you find the full backup is still there fully intact - from my experience the forgetful iso doesn't retain any changes, i.e., the change in this case being the SALT backup.

In order to retain any changes, my understanding is the persistent.img has to be used ...
[Android Software/Hacking General [Developers Only]] steadfasterX:
I strongly believe that he booted FWUL from the USB stick and stored his backup on the SD card so all is fine
[Android Software/Hacking General [Developers Only]] sdembiske:
OK - my misunderstanding. Thanks for clarifying.
[Android Software/Hacking General [Developers Only]] adam_s_459_:
No worries :good:
[Android Software/Hacking General [Developers Only]] Edmiri:
Cant install sony flashtools, cant update system and software using add/remove software. Updates stop downloading and i need to restart like 20 time. At the end system wont response to keyboard or mouse after restarting.

If someone manage to update successfully and install all softwares chrome teamviewr flash software etc, please uplpad an virtualbox image.
[Android Software/Hacking General [Developers Only]] steadfasterX:
Ok let me summarise :

you can install FWUL by DVD or USB or on sdcard or VirtualBox and as forgetful ISO or persistent 8gb or 16gb or 30gb image.

so you may believe that I'm a magician but consider the following if you do not provide any information like what you have installed or in terms of VirtualBox (which you mentioned now first) how you configured your virtual machine... how should anyone be able to help you?

I strongly believe this is a disk space issue. As you mentioned VirtualBox it's very likely a RAM issue (which is your disk space in forgetful mode). I hope you read the OP about the minimal RAM and recommended RAM needed?

Which type of FWUL do you have installed in VirtualBox? Persistent? Which one? How do you installed it?

Or do you use forgetful? How man RAM has the VM?

..
[Android Software/Hacking General [Developers Only]] Edmiri:
Clean install using usb 3.0 16 gb. 10 gb ram. I didnt tried in virtualbox but real pc booting from usb in persistent mode.

Now i managed to update by connecting internet via smartphone usb tethering and removing my wifi adapter.

I am first updating the system before trying to install sony flashtols. The process building qtwebkit is taking to long. 1 hour and still runing.

I asked for a virtualbox image since im failing at usb option.

Also in virtualbox i cant convert img to vhd using cmd.

A god idea would be to prepare a usb update and install every software and than image it so we restore in our usb.
[Android Software/Hacking General [Developers Only]] steadfasterX:
Full system Update is not supported in current version of FWUL

Just use the installers and you are fine
[Android Software/Hacking General [Developers Only]] අධිරාජ (Adhirāja):
VMWare Workstation

Hi steadfasterx,

I don't have Virtualbox but I have VMWare Workstation. Would this be ok too?

Thanks.
[Android Software/Hacking General [Developers Only]] steadfasterX:
no. it may even work but this is unsupported.

Use an USB stick if u can .

.
[Android Software/Hacking General [Developers Only]] අධිරාජ (Adhirāja):
Thanks for your prompt reply.

I'll download Virtualbox.

Have a good day.
[Android Software/Hacking General [Developers Only]] Edmiri:
thank you for your help.

everything installs fine exept google chrome

it seems wass an wifi addapter issue. its a chinnese one. maybee linux fighting with a backdoor on this wifi chip caused the problem :D

one problem i had is that for my xperia i needed and older version of flashtool because the newest one was failing at flashin a rom.
[Android Software/Hacking General [Developers Only]] sdembiske:
How to do your SALT backup in FWUL persistent to your VirtualBox shared Host folder

The important thing is to first make a NEW folder in your general shared Host folder, naming it however you prefer.

For the purposes of the example below, as I already had a full SALT backup of my device in the general shared Host folder, I made a new folder named salt_backup_partial in the general shared Host folder. Note: Avoid using any spaces in the folder name - use an underscore _ to separate.

The SALT backup location then should be input similar to this:

/home/android/Desktop/sf_your_shared_folder_name/salt_backup_partial/
[Android Software/Hacking General [Developers Only]] sdembiske:
FWUL persistent VDI's ready to install in Windows VirtualBox

Given the challenges faced by some members to convert their FWUL persistent .img files to .vdi files for use in Windows VirtualBox, I have taken the time to create and upload ready-to-go FWUL persistent VDI's that can be installed directly into VirtualBox.

FWUL_v3.1_x86_64_8GB_persistent.vdi

https://mega.nz/#!QDx2jQpD!kyiw3NTtcHvYuUiklaQ1MK6VVQCOfgQx7CGgTM--HsU

FWUL_v3.1_x86_64_15GB_persistent.vdi

https://mega.nz/#!sDpQlIZT!B1O7y4heBTi2PN52ir3jjYeZSMz-SUxVPQQpm0PsXPU

FWUL_v3.1_x86_64_30GB_persistent.vdi

https://mega.nz/#!1Xp2SCrJ!qoSk086hCV5pzVDPO3VfwJLKvVu3Ul3BBC6ObgD0zTo

Installation

:

Double click on the Oracle VM VirtualBox icon on your desktop and select New when it opens. After setting up the name (FWUL) and operating system info (Linux + Arch Linux 64bit)* and memory size (min 2000 suggested), select under Hard Disk "Use an existing virtual hard disk file". Click on the folder to the right on the bar below and navigate to where you downloaded your FWUL persistent .vdi file.

* Ensure you select the 64 bit version of Arch Linux, even if your PC/Laptop is 32 bit.

Note

: All users

Remember to do a system upgrade (this does not update to a new FWUL version , that will have to be a new installation) with the following terminal command:

trizen -Syu --noconfirm

Note

: LG G4 users

Remember to update SALT to the latest version - to do your SALT backup or kdz extraction in FWUL persistent directly to your VirtualBox shared Host folder, refer to post # 526

Keep in mind: a Full backup in SALT of your device can be up to 32GB and take up to approx. 6 hours, so make sure you have enough disk space on your Host hard drive to handle it and enough time to let it complete.

* I have taken the time to download, make and upload these ready-made FWUL VDI's over the better part of a day for your convenience, so please take a second and click the 'Like' button at the bottom right of this post. It would be appreciated.
[Android Software/Hacking General [Developers Only]] fil3s:
Hi. My H815T isn't being recognised as a USB device in FWUL 2.5 15GB and 30GB persistent

I have installed latest VirtualBox and extensions. Named the virtual machine FWUL4 and enabled both usb 2.0 and tried usb 3.0 in VB settings with lg device connected

USB debugging enabled ,rooted and locked bootloader on 5.1

Any ideas?
[Android Software/Hacking General [Developers Only]] sdembiske:
One of the things that I keep forgetting to do is to make sure I put a check mark in VirtualBox > Settings > USB > LG device,

every time

after I have booted up FWUL. First, however, make sure that in the general USB settings, when you're first setting up after you have checked the USB 3.0 setting (it will force the USB 2.0), with your phone connected, you hit the + button sign and add your LG device by checking it -

you cannot do this with FWUL started or running in VBox

. You have to power it down (not save it) in order to do it after-the-fact. It only has to be done once, it will carry forward for every use after.

If that has all been done with no luck - try rebooting FWUL (just type in reboot in terminal emulator opened up by right clicking on the FWUL desktop and selecting it, leaving the phone plugged in & in download mode). After, make sure all the USB settings are checked and allow up to 3 minutes or more before retrying the SALT connection. I have had to do the retry up to 3 or 4 times before it takes (usually if USB 2.0 is checked instead of 3.0 but usually at least two times for sure). If your thumb/fingers are a bit larger, try pushing down first on the down button with the eraser end of a pencil and while holding it down pressing your finger down on the power button when you're connecting and booting into download mode. I've had to this when I couldn't seem to connect after a number of tries ... ;)
[Android Software/Hacking General [Developers Only]] steadfasterX:
USB 3 will work fine. What I worry about is that when you type the lsusb command no LG device is shown. This is the first level of OS recognation and if that fails everything else will.

Pls do the following:

Connect your device in download mode to your pc

Choose USB 3 in vbox settings

Start the VM

Once FWUL has booted ensure in the top menu of vbox -> USB that your device is really connected

If so reboot FWUL without turning it off

When FWUL is up the second time open a terminal and type

lsusb | grep 1004

If you see no device in the output do this in a terminal:

sudo dmesg -c >> /dev/null

You will see nothing on the screen

Now in the vbox top menu -> USB uncheck the LG device

Wait 2 seconds and enable the LG device again

Then in your terminal type:

dmesg

If the output is just up to 10 lines paste it here otherwise copy and paste the output to e.g. Bpaste.net (ensure you select an expiry of a month or so)

Paste the link here afterwards.

And just for the case please try also a different USB cable
[Android Software/Hacking General [Developers Only]] fil3s:
Thanks . but one question - how do you change the language to English in FWUL? I can't read it to see the options

Its asking for a sudo password für android

---------- Post added at 08:34 AM ---------- Previous post was at 08:33 AM ----------

BTW my keyboard settings are mucked up , so I can't even login to XDA in fwul .
[Android Software/Hacking General [Developers Only]] steadfasterX:
you cant read "it" ? what is "it" ?

well look at the background of the login screen I guess you will find out how to set the language.

the password it asks for is the same password as for the login.

-
[Android Software/Hacking General [Developers Only]] fil3s:
Did as u requested, when I type 'dmseg'

Nothing happens. Thanks for your patience.
[Android Software/Hacking General [Developers Only]] steadfasterX:
read again ;) you have a typo

.
[Android Software/Hacking General [Developers Only]] fil3s:
sorry. the command was cpoied and pasted. this is what i get

[android@fwul ~]$ lsusb | grep 1004

[android@fwul ~]$ sudo dmesg -c >> /dev/null

[sudo] password for android:

[android@fwul ~]$ dmesg

[android@fwul ~]$
[Android Software/Hacking General [Developers Only]] steadfasterX:
i have no idea what you are doing here ;) I guess you tried to copy a file to the xda post?

well nvm join IRC and I can help.

.
[Android Software/Hacking General [Developers Only]] fil3s:
:crying::crying::crying::eek: this is driving me crazy :eek:

Thx.

---------- Post added at 10:01 AM ---------- Previous post was at 09:27 AM ----------

Idk how to even use XDA website . I will keep trying all possibilities ,if I can't connect the device, I can't connect the device.

Thanks for your effort.
[Android Software/Hacking General [Developers Only]] fil3s:
Or maybe just buy a new phone? :P

Maybe a OnePlus.. :good::silly:
[Android Software/Hacking General [Developers Only]] fil3s:
Sorry to everyone.
[Android Software/Hacking General [Developers Only]] steadfasterX:
http://webchat.freenode.net/?channels=Carbonfusion-user

Choose a nickname of your choice and connect.

this will open IRC.
[Android Software/Hacking General [Developers Only]] sdembiske:
Just a quick question with respect to eventually flashing a custom rom. I notice in SALT that the H812 shows GPT Compatibility as H811. Would that tend to suggest a custom rom for the H811 might be more compatible for flashing than versus, say, an H815 given the partition scheme similarity ... or is it irrelevant? If irrelevant, are there any relevant factors in custom rom selection for one's particular model that you can suggest might lead to a better user experience.

Thanks,

S.
[Android Software/Hacking General [Developers Only]] steadfasterX:
This will be all explained in the UsU release.

The gpt is important to avoid bootloops as there are only 2 relevant differences for all models.

Btw you can't say the h812 has a specific compatibility as this can change between flashing a kdz which happens for several models.... which then was the reason behind adding a gpt compat detection into SALT.
[Android Software/Hacking General [Developers Only]] sdembiske:
Ok - understood. Thank you.

PS: The reason I asked is that I noticed some H812 relatively uninformed members running off half-cocked and posting in other threads asking what roms they should flash to those who have little to no knowledge of your process and are unaware of the research and depth of work you have put in on this process and accepting those answers at face value.
[Android Software/Hacking General [Developers Only]] fil3s:
After all trouble trying to write persistent 2.5 with Rufus ,i downloaded forgetful 2.5 FWUL, burned with rufus & booted from usb stick. Now my G4 is atleast being recognised :)

Thankyou Mr. SteadfasterX!! :)

PS. Is it possible to dual boot FWUL? I suppose it would be, but is there a way to use more than the 30GB FWUL storage capacity?

Thx.
[Android Software/Hacking General [Developers Only]] fil3s:
Why should I be sorry? It was a very frustrating experience :confused:
[Android Software/Hacking General [Developers Only]] steadfasterX:
Good!! Glad you get it working for you.

For your other question pls read the FAQ..
[Android Software/Hacking General [Developers Only]] fil3s:
I have some to learn. I didn't create bootable disc using DD image

Now I am booting FWUL persistent 15GB and my G4 is ready to rock & roll. :D
[Android Software/Hacking General [Developers Only]] steadfasterX:
Today I release another minor version of FWUL.

The main reason is I want to have an up2date SALT version inside.

so if you have a persistent 2.5 build installed there is

no

need to upgrade as you can just update SALT from within FWUL.

For all the others: have fun ;)

FWUL_2.6_x86-64

Released: 2018-03-07

Reason: Maintenance release - main purpose was to update SALT due to the public release of UsU

Download: Go to the Download section in the OP

Full

Changelog: on Github

Summary

Changelog:

Fresh Arch base from the day of release (means all OS packages are top current)

Versions of the main FWUL components for this release:

Kernel -> version: 4.14-1

ADB and fastboot: android-tools -> version: 8.1.0_r7-1

simple-adb GUI -> version: update6

SALT -> version: 3.8-2

heimdall-git -> version: 1.4.2.r5.g5377b62-1

xfwm4 -> version: 4.12.4-1

lightdm -> version: 1:1.24.0-3

xorg-server -> version: 1.19.6+13+gd0d1a694f-1

virtualbox-guest-utils -> version: 5.2.8-1

firefox -> version: 58.0.2-1.1

hexchat -> version: 2.12.4-8
​

new: updated SALT

fix: user icon login / password hint
[Android Software/Hacking General [Developers Only]] xabzzz:
Hello,

The persistent FWUL is *.img and not *iso as shown in the guide ... !?

I guess that changing the extension before using Rufus for instance won't make it.

Should I turn the *img into *.iso with a burning program ?

Thanks for letting me enter Linux World softly ...

I'm looking foward to using "SALT" to back up a brand "new" refubished G4 before "rooting it" one way or another.

;)
[Android Software/Hacking General [Developers Only]] fil3s:
Burn with Rufus as DD image. If you don't see the disc image choose 'show all files'.
[Android Software/Hacking General [Developers Only]] අධිරාජ (Adhirāja):
Man, why is the ifconfig command not working?? This is like the most basic command.
[Android Software/Hacking General [Developers Only]] steadfasterX:
Just because ifconfig has been super seeded a long time ago by the command:

ip

Not my decision. It's the community which decided
[Android Software/Hacking General [Developers Only]] අධිරාජ (Adhirāja):
Thank you. It's not much of an issue. I just installed the net-tools package, and it is working now. Just was curious.:good:
[Android Software/Hacking General [Developers Only]] mertklic:
Hi, after rufus completes its job, my usb looks like this and theres no option to run it.

It looks like it has only 30mbs of data in it. Its 8gb btw. What can I do to fix it? Thanks :confused:
[Android Software/Hacking General [Developers Only]] steadfasterX:
Windows can't read it. There is no program to start FWUL you have to boot from USB to start FWUL.
[Android Software/Hacking General [Developers Only]] bdasmith:
Thank you!

I very much enjoyed using this for the process of rooting my lg g4 and will keep this nifty thumbdrive now for any pc troubleshooting i may need to do :)

Have a great day!