[G4 Android Development] niks412:
F500

Is there a F500 ROM ? I tried 815UsU , but keep getting error 3004 and error 7 in TWRP. I succesfully unlocked phone with SALT , but now can't find ROM to install. By the way, bought phone from Aliexpress as 815, SALT device model is F500, GPT compatibility is H811 and firmware (system) is LGH815AT-00-V10h-GLOBAL-COM-JUL-04-2015-0 :) .

Here is TWRP log :

Renaming regular /file_contexts -> /file_contexts.bak

Moving /prebuilt_file_contexts -> /file_contexts

SELinux contexts loaded from /file_contexts

Full SELinux support is present.

tw_get_context got selinux context: u:object_r:media_rw_data_file:s0

I:Got default contexts and file mode for storage files.

I:Copied file /cache/recovery/log.gz to /cache/recovery/last_log.gz

pigz: abort: corrupted input -- invalid deflate data: /cache/recovery/log.gz

I:Attempt to load settings from settings file...

I:InfoManager loading from '/data/media/0/TWRP/.twrps'.

I:Backup folder set to '/external_sd/TWRP/BACKUPS/LGUSU9679af3'

I:Copied file /etc/recovery.fstab to /cache/recovery/recovery.fstab

I:Version number saved to '/cache/recovery/.version'

I:Unable to mount '/usb-otg'

I:Actual block device: '', current file system: 'vfat'

I:TWFunc::Set_Brightness: Setting brightness control to 200

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly

parsing languageFile

parsing languageFile done

I:Translating partition display names

I:Backup folder set to '/external_sd/TWRP/BACKUPS/LGUSU9679af3'

I:Starting MTP

I:[MTP] Starting MTP

I:sending message to add 65537 '/data/media/0' 'Internal Storage'

I:Message sent, add storage ID: 65537 '/data/media/0'

I:sending message to add 65538 '/external_sd' 'Micro SD card'

I:Message sent, add storage ID: 65538 '/external_sd'

MTP Enabled

I:Unable to mount '/system'

I:Actual block device: '/dev/block/mmcblk0p53', current file system: 'ext4'

I:Check_Lifetime_Writes failed to mount '/system'

I:Switching packages (TWRP)

I:Starting Adb Backup FIFO

I:Skipping screen timeout: TW_NO_SCREEN_TIMEOUT is set

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:[MTP] created new mtpserver object

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 22, exiting MtpServer::run loop

I:[MTP] mtppipe add storage 65537 '/data/media/0'

I:[MTP] MtpStorage id: 65537 path: /data/media/0

I:[MTP] mtppipe add storage 65538 '/external_sd'

I:[MTP] MtpStorage id: 65538 path: /external_sd

I:READTIME: 2015-01-01_00:11:28 - temp mount:

I:READTIME: 2015-01-01_00:11:28 -

E:READTIME: 2015-01-01_00:11:28 - cannot determine installed OS! time will may not work properly.. falling back to qcomtime..

I:READTIME: 2015-01-01_00:11:28 - system umount:

I:READTIME: 2015-01-01_00:11:28 - ... unmounting ended with 0

I:READTIME: 2015-01-01_00:11:28 - ROM type detected: (flavor: )

E:READTIME: 2015-01-01_00:11:28 - ROM TYPE cannot be detected!!! Flavor:

I:READTIME: 2015-01-01_00:11:28 - checking /data

I:READTIME: 2015-01-01_00:11:28 - No twrp fstab for /data generated yet! will wait until its there..

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 22, exiting MtpServer::run loop

I:[MTP] MtpServer::run fd: 15

I:READTIME: 2015-01-01_00:11:30 - /data definition detected in fstab: >/dev/block/mmcblk0p55 /data ext4 rw 0 0<

I:READTIME: 2015-01-01_00:11:30 - skipping mount /data as it is already mounted

E:READTIME: 2015-01-01_00:11:30 - /data/property/persist.sys.timeadjust not accessible! Cannot set time!

I:READTIME: 2015-01-01_00:11:30 - /sbin/readtimeprop.sh finished

I:Set page: 'install'

I:Set page: 'flash_confirm'

I:Set page: 'flash_zip'

I:operation_start: 'Flashing'

Installing zip file '/external_sd/lineage-14.1-20200726-UNOFFICIAL-h815_usu.zip'

Checking for Digest file...

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:MD5 Digest: 85d08396723b1ecc42509632b741be19 lineage-14.1-20200726-UNOFFICIAL-h815_usu.zip

Digest matched for '/external_sd/lineage-14.1-20200726-UNOFFICIAL-h815_usu.zip'.

Unmounting System...

I:Update binary zip

Verifying package compatibility...

Package doesn't contain compatibility.zip entry

I:Extracting updater binary 'META-INF/com/google/android/update-binary'

I:Zip does not contain SELinux file_contexts file in its root.

I:has_legacy_properties: Found legacy property match!

I:Legacy property environment initialized.

script aborted: E3004: This package is for device: g4,p1,h815,h815_usu; this device is f500.

E3004: This package is for device: g4,p1,h815,h815_usu; this device is f500.

error: 3004

Updater process ended with ERROR: 7

I:Legacy property environment disabled.

I:Install took 0 second(s).

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

Error installing zip file '/external_sd/lineage-14.1-20200726-UNOFFICIAL-h815_usu.zip'

Updating partition details...

I:Data backup size is 0MB, free: 23180MB.

I:Unable to mount '/usb-otg'

I:Actual block device: '', current file system: 'vfat'

...done

I:Set page: 'flash_done'

I:operation_end - status=1

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:Set page: 'clear_vars'

I:Set page: 'install'

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:Set page: 'advanced'

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:Set page: 'copylog'

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:[MTP] MtpServer::run fd: 15

E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop

I:Set page: 'action_page'

I:operation_start: 'Copy Log'