[Android Q&A, Help & Troubleshooting] ad612126157:
Hello XDA i"):, I am running into issues putting the LG Optimus F7 (US780) together the way I would like to. I have Stock Android 4.1.2, Baseband Version M8960A----, Kernel Version 3.4.0.freedom, Build JZO54K, Software US78011a, PRI version 01. I wanted to get to Android 7.0/8.0/9.0 Nougat/Oreo/Pie for this phone model (API 21+?), and options to other versions of firmware. I am not sure how.

I currently have the Stock Firmware, flashed Philz Recovery, and flashed the Freedom Kernel per these link directions i");

Download mode (hold "volume up" then plug-in usb, when phone is off, do not use the power button.)

Recovery mode (hold "volume down" and "Power button" then follow on screen instructions.)

**I used "2nd init" recovery (CWM) to initiate this process, and it is still currently in there, it opens sometimes...2 recoveries? (volume down and plug in usb?? or initiate from within system while phone is on.)

1.) https://androidforums.com/threads/root-recovery-touch-non-touch-optimus-f7-fx1.829374/

In recovery flash i");

2.) https://intechgeek.com/lg-optimus-f7-kernel/#more-297

or (potentially)

2.a.) https://androidforums.com/threads/kernel-lg870-freedom-kernel-updated-9-14-14.810988/

In recovery, I flashed Root 2.82 SR5 to update Root 1.99 with these instructions i");

3.) https://download.chainfire.eu/1220/SuperSU/SR5-SuperSU-v2.82-SR5-20171001224502.zip?retrieve_file=1

!");

s"):
18
1986
1001
1100

The above is a good system but:

(I wanted the "international unlocked/open features" ) :

1.a.) I thought the boost mobile was international/unlocked https://lg-firmwares.com/lg-870-firmwares/firmwares/

I have the backup of my working system (How to attach files?). It has Android 4.1.2 Freedom Kernel 3.4.0. Root 2.82 RS5, Philz Recovery.

I considered flashing Root 2.82 SR5 "System Mode" but I was unsure what "System Mode" meant or was for. (option)

3.a.) https://xdaforums.com/apps/supersu/v2-64-2-66-supersu-mode-t3286120

Then, I wanted to do a few things and have changed my mind along the way a few times. I wanted to deodex and found it inherently difficult. I wanted to modify where necessary to open various features. I then found non-stock roms for the device:

4.) http://guideroot.net/lg-optimus-f7-download-firmware-android-8-0-o/

For some reason what I am running into is a phone that disconnects and reconnects while in download mode, and does not show as a device when I try to use "fastboot devices". I tried the registry edit in this fashion:

5.) https://community.acer.com/en/discussion/367018/android-usb-devices-keep-connecting-and-disconnecting-on-r7

I looked here and I tried the dial code and the linked Power Saving options to no avail:

6.) https://androidforums.com/threads/rapid-usb-connecting-disconnecting-problem-wtf.886075/

Is there a way I can make the Android 7.0/8.0/9.0 Nougat/Oreo/Pie into a flashable .zip or restore from recovery?

Do I just need to put the MD5 checksum file in the .zip folder? (Answer: NO, there is more to it, see points A-G below)

This would be the easiest solution if it works..does anyone have a flashable backup or .zip of Android 7/8/9?

I was switching through recoveries available (stock, Philz, CWM, and I tried various versions of TWRP (didn't work/ not ported to phone?))

and flashing as a recovery by changing the md5 checksum. I was thinking one could easily switch through several different "systems" in the same sense.

I.e. nandroid.md5

1206d938f5134e91b6d665963a3b6d83 boot.img
10cfbc80f2f32cb2695a1b5252bdaddd recovery.img
f99466ea6669a62d391e3529bc6ff3e3 system.ext4.tar.a
c536ef897fbc5463c5bc490af6331bc6 system.ext4.tar.b
d41d8cd98f00b204e9800998ecf8427e system.ext4.tar

d30337df9e8fcb7fa8d62d56bbd0f908 recovery.img Stock

c268160e7fe0c7eb6eb227d6127b5311 recovery.img TWRP 2.8.6 (didn't work)

7b1e3ac64571fe467aed602acc661a7b recovery.img TWRP 3.0.0 (didn't work)

6117790563a47026be46aca6265994b7 recovery.img TWRP 3.1.1 (didn't work)

10cfbc80f2f32cb2695a1b5252bdaddd recovery.img PHILZ

( Through different systems (Android 8) by using adb shell (at recovery) or terminal emulator (phone), df, ls -al /dev/block/*/, et al, and dd if=/starage/sdcard1/inputfile(system).img of=/dev/block/mmcblk0pIE

Misaligned (at one point working)

dd if=/external_sd/clockworkmod/ROM/system.img of=/dev/block/platform/msm_sdcc.1/mmcblk0p15

dd if=/external_sd/clockworkmod/ROM/system_other.img of=/dev/block/platform/msm_sdcc.1/mmcblk0p14

dd if=/external_sd/clockworkmod/ROM/vendor.img of=/dev/block/platform/msm_sdcc.1/mmcblk0p17

dd if=/external_sd/clockworkmod/ROM/radio.img of=/dev/block/platform/msm_sdcc.1/mmcblk0p18

dd if=/external_sd/clockworkmod/ROM/modem.img of=/dev/block/platform/msm_sdcc.1/mmcblk0p1

dd if=/external_sd/clockworkmod/ROM/bootloader.img of=/dev/block/platform/msm_sdcc.1/mmcblk0p27

dd if=/external_sd/clockworkmod/ROM/boot.img of=/dev/block/platform/msm_sdcc.1/mmcblk0p23

dd if=/external_sd/clockworkmod/ROM/hosd.img of=/dev/block/platform/msm_sdcc.1/mmcblk0p24

dd if=/external_sd/clockworkmod/ROM/aboot.img of=/dev/block/platform/msm_sdcc.1/mmcblk0p22

dd if=/external_sd/clockworkmod/ROM/xbl.img of=/dev/block/platform/msm_sdcc.1/mmcblk0p12

dd if=/external_sd/clockworkmod/ROM/tz.img of=/dev/block/platform/msm_sdcc.1/mmcblk0p16

dd if=/external_sd/clockworkmod/ROM/keymaster.img of=/dev/block/platform/msm_sdcc.1/mmcblk0p26

dd if=/external_sd/clockworkmod/ROM/hyp.img of=/dev/block/platform/msm_sdcc.1/mmcblk0p25

dd if=/external_sd/clockworkmod/ROM/cmnlib64.img of=/dev/block/platform/msm_sdcc.1/mmcblk0p28

dd if=/external_sd/clockworkmod/ROM/rpm.img of=/dev/block/platform/msm_sdcc.1/mmcblk0p8

dd if=/external_sd/clockworkmod/ROM/bootlocker.img of=/dev/block/platform/msm_sdcc.1/mmcblk0p2

dd if=/external_sd/clockworkmod/ROM/devcfg.img of=/dev/block/platform/msm_sdcc.1/mmcblk0p3

dd if=/external_sd/clockworkmod/ROM/pmic.img of=/dev/block/platform/msm_sdcc.1/mmcblk0p5

dd if=/external_sd/clockworkmod/ROM/apdp.img of=/dev/block/platform/msm_sdcc.1/mmcblk0p6

I.e. for updater script: package_extract_file("system.img", "/dev/block/platform/msm_sdcc.1/mmcblk0p15")

I flashed this image to the cache, it worked, then I tried flashing the rest of it, cleared the cache.. looking at BrickJig:

https://xdaforums.com/galaxy-s2/hel...oUye9j5KTJ0uwSkqSLvTvOBhn3x1R_iW438kEzksGMS9c

https://www.instructables.com/id/US...8evS5RdqBoQv0bImE2XLhPxMx41vtsR5_sIrBjXU9EuyM

:))

Original "PIT" drwxr-xr-x root root 2018-11-16 04:21 by-name

drwxr-xr-x root root 2018-11-16 04:21 by-num

lrwxrwxrwx root root >100823040 bytes 2018-11-16 04:21 mmcblk0 -> /dev/block/mmcblk0

lrwxrwxrwx root root 524288 bytes 2018-11-16 04:21 aboot -> /dev/block/mmcblk0p5

lrwxrwxrwx root root 12582912 bytes 2018-11-16 04:21 boot -> /dev/block/mmcblk0p7

lrwxrwxrwx root root >100823040 bytes 2018-11-16 04:21 cache -> /dev/block/mmcblk0p17

lrwxrwxrwx root root 8388608 bytes 2018-11-16 04:21 drm -> /dev/block/mmcblk0p22

lrwxrwxrwx root root 524288 bytes 2018-11-16 04:21 encrypt -> /dev/block/mmcblk0p28

lrwxrwxrwx root root 33554432 bytes 2018-11-16 04:21 fota -> /dev/block/mmcblk0p23

lrwxrwxrwx root root 3145728 bytes 2018-11-16 04:21 fsg -> /dev/block/mmcblk0p20

lrwxrwxrwx root root >100823040 bytes 2018-11-16 04:21 grow -> /dev/block/mmcblk0p30

lrwxrwxrwx root root 52428800 bytes 2018-11-16 04:21 lgipa -> /dev/block/mmcblk0p27

lrwxrwxrwx root root 1677216 bytes 2018-11-16 04:21 misc -> /dev/block/mmcblk0p13

lrwxrwxrwx root root 67108864 bytes 2018-11-16 04:21 modem -> /dev/block/mmcblk0p1

lrwxrwxrwx root root 3145728 bytes 2018-11-16 04:21 modemst1 -> /dev/block/mmcblk0p10

lrwxrwxrwx root root 3145728 bytes 2018-11-16 04:21 modemst2 -> /dev/block/mmcblk0p11

lrwxrwxrwx root root 33554432 bytes 2018-11-16 04:21 mpt -> /dev/block/mmcblk0p24

lrwxrwxrwx root root 1024 bytes 2018-11-16 04:21 pad -> /dev/block/mmcblk0p9

lrwxrwxrwx root root 8388608 bytes 2018-11-16 04:21 persist -> /dev/block/mmcblk0p16

lrwxrwxrwx root root 8192 bytes 2018-11-16 04:21 rct -> /dev/block/mmcblk0p29

lrwxrwxrwx root root 12582912 bytes 2018-11-16 04:21 recovery -> /dev/block/mmcblk0p19

lrwxrwxrwx root root 524288 bytes 2018-11-16 04:21 rpm -> /dev/block/mmcblk0p6

lrwxrwxrwx root root 524288 bytes 2018-11-16 04:21 rpmbak -> /dev/block/mmcblk0p26

lrwxrwxrwx root root 524288 bytes 2018-11-16 04:21 sbl1 -> /dev/block/mmcblk0p2

lrwxrwxrwx root root 524288 bytes 2018-11-16 04:21 sbl2 -> /dev/block/mmcblk0p3

lrwxrwxrwx root root 1048576 bytes 2018-11-16 04:21 sbl3 -> /dev/block/mmcblk0p4

lrwxrwxrwx root root 8388608 bytes 2018-11-16 04:21 sns -> /dev/block/mmcblk0p12

lrwxrwxrwx root root 8192 bytes 2018-11-16 04:21 ssd -> /dev/block/mmcblk0p21

lrwxrwxrwx root root >100823040 bytes 2018-11-16 04:21 system -> /dev/block/mmcblk0p14

lrwxrwxrwx root root 75497472 bytes 2018-11-16 04:21 tombstones -> /dev/block/mmcblk0p18

lrwxrwxrwx root root 524288 bytes 2018-11-16 04:21 tz -> /dev/block/mmcblk0p8

lrwxrwxrwx root root 524288 bytes 2018-11-16 04:21 tzbak -> /dev/block/mmcblk0p25

lrwxrwxrwx root root 524288 bytes 2018-11-16 04:21 userdata -> /dev/block/mmcblk0p15

drwxr-xr-x root root 2018-11-16 04:21 by-num

lrwxrwxrwx root root >100823040 bytes 2018-11-16 04:21 mmcblk1 -> /dev/block/mmcblk1

lrwxrwxrwx root root >100823040 bytes 2018-11-16 04:21 mmcblk1p1 -> /dev/block/mmcblk1p1

Is Android 7/8/9 even compatible with this phone? I am going to maybe try to build a .tar file from the systems .img's of Android 7/8/9 and go from there or when I get some time follow through A-G below.

For some reason that is where I am stuck for now. It seems a little bit unnatural that it would work for the original firmware flash but now it is troubling with this disconnect/reconnect issue. I am considering starting from the top except that the disconnect issue still exists.

If you have any ideas please feel free to suggest a solution.

A few more things I am interested in but am unable to build into without a reasonable grounding/base (Android 7/8/9). I was looking to make firmware upgrades more streamlined for after market, such that Linux, has Grub, and finds, at least some :), of the firmware.

A.) Dissecting 3g/4g modems https://hackaday.com/2017/02/20/33c3-dissecting-3g4g-phone-modems/

B.) Complete Rom development https://xdaforums.com/showthread.php?t=1661770

C.) What Should I know for Rom Devel? https://www.quora.com/What-should-I-learn-for-Android-ROM-development

D.) a.) Android Development https://xdaforums.com/chef-central/android/guide-one-android-development-t3175121

b.) Android Development https://xdaforums.com/chef-central/android/guide-android-rom-development-t2814763

E.) Create Personalized ROM http://en.miui.com/thread-21539-1-1.html

F.) Embedded Android Development https://www.slideshare.net/amraldo/android-booting-scenarios

G.) Linux Boot Sequence http://learnlinuxconcepts.blogspot.com/2014/02/android-boot-sequence.html

H.) Tools needed https://elitcan.com/tools-to-build-custom-rom-for-android.html?fbclid=IwAR2OXQut5yzL2dFR52s19GwGoqBT4umZx06YxEaNsaCi39xrOC8Fdngrtaw

I.) Android Open Source https://source.android.com/?fbclid=IwAR0BE_l15Y2TfHhr1Jglpbx8fsLMjWn7YVRc-RA2bglODmkz-YueH9-kvOs

J.) Previous Source https://github.com/android?fbclid=IwAR18FI9PTLbj2J-KLXrJE65Tb0zaXkarbUiibuZTKu1JM7knJQV9qUF51Pc

K.) Learn X Language in Y minutes https://learnxinyminutes.com/?fbclid=IwAR1vRPkuW3yLVjG4a9Z42GvZlFyyhdfJODbT1a-QxOoHMYAgZ0cDfVO4k-s

L.) platform_system_core/adb/ https://github.com/aosp-mirror/platform_system_core/tree/master/adb?fbclid=IwAR3XJ2arevlqOsHoFxXRuH4H3KDtsqcghTdZr1yr5I0uLcoJ5sS3H1rXmLU

M.) Guide to make FLASHABLE ZIP https://xdaforums.com/android/software-hacking/framework-guide-to-make-flashable-zip-t3196490

for APK: https://www.maketecheasier.com/create-android-apps-recovery-zip/

https://www.guidingtech.com/49814/create-flashable-zips-custom-recovery/

https://androidforums.com/threads/tutorial-how-to-make-a-flashable-zip.828952/

CPU ASIC/DESIGN

A.) Reverse Engineering/Software Exploit (Video Lecture/PDF Slides)

https://plus.google.com/113611061190453317839

B.) Fritzing http://fritzing.org/home/

C.) Quite Universal Circuit Simulator http://qucs.sourceforge.net/

D.)How to become an embedded software developer? https://electronics.stackexchange.com/questions/3343/how-to-become-an-embedded-software-developer

BIOMEDICAL DEVICES

Robotic Eye https://www.designnews.com/electronics-test/artificial-eye-sensor-can-see-dark/94572894645119

Prosthetic Eye http://www.extremetech.com/extreme/...ic-eye-that-speaks-the-language-of-your-brain

IO > DNA > IO https://www.decodedscience.org/comparing-genetic-code-dna-binary-code/55476

Oxy Sensor https://en.wikipedia.org/wiki/Oxygen_sensor

I have more links and I planned to read through but I am running into some of these stops.

Lg Optimus F7 Links

https://www.gogorapid.com/flash-stock-rom-lg-optimus-f7-lg870/

http://blog.recovery-android.com/how-to-remove-bootstrap-recovery-on-android/

http://guideroot.net/lg-optimus-f7-download-firmware-android-8-0-o/

https://medium.com/@currentb4b/how-to-develop-stock-rom-for-android-mobile-59e7b3adeaa6

https://xdaforums.com/showthread.php?t=1353903

https://xdaforums.com/showthread.php?t=2320007

https://xdaforums.com/galaxy-s2/general/ref-kernel-governors-modules-o-t1369817

https://github.com/omnirom/android_bootable_recovery/tree/android-7.1

https://github.com/shine911/Android_Device_lge_Fx1

https://github.com/chevanlol360/device_lge_fx1

https://www.frequencycheck.com/models/ARMNG/lg-optimus-f7-us780

https://www.frequencycheck.com/bands/lte-band-12-700-ac

https://lg-firmwares.com/lg-phone-firmwares-region-description/

https://lg-firmwares.com/lg-870-firmwares/firmwares/

https://lg-firmwares.com/lg-us780-firmwares/firmwares/

https://intechgeek.com/lg-optimus-f7-kernel/#more-297

https://boycracked.com/android-tuto...y-lg-android-devices-using-kdz-updater-tools/

https://boycracked.com/android-stock-rom/offcial-lg-optimus-f7-stock-rom-firmware/

https://androidforums.com/threads/guide-unbrick-unroot-lg-optimus-f7-us780-us-cellular.843446/

https://androidforums.com/threads/kernel-lg870-freedom-kernel-updated-9-14-14.810988/

https://androidforums.com/threads/root-recovery-touch-non-touch-optimus-f7-fx1.829374/

https://androidforums.com/threads/r...very-for-the-lg-optimus-f7-lg870-fx1s.785165/

https://androidforums.com/threads/optimus-f7-all-things-root-guide.691538/

Android Custom ROM Links

https://hackaday.com/2017/02/20/33c3-dissecting-3g4g-phone-modems/

https://sourceforge.net/directory/os:windows/?q=android+rom+maker

https://source.android.com/setup/build/building

https://xdaforums.com/showthread.php?t=1767392

https://xdaforums.com/showthread.php?t=633246

http://learnlinuxconcepts.blogspot.com/2014/02/android-boot-sequence.html

https://xdaforums.com/showthread.php?t=2771411

https://xdaforums.com/showthread.php?t=2195858

https://www.slideshare.net/amraldo/android-booting-scenarios

https://xdaforums.com/chef-central/android/guide-android-rom-development-t2814763

https://xdaforums.com/chef-central/android/guide-one-android-development-t3175121

https://circleci.com/build-environm...i&utm_content=Display-quora-Eng-ni-AndroidDev

https://www.quora.com/What-should-I-learn-for-Android-ROM-development

https://www.androidauthority.com/build-custom-android-rom-720453/

https://xdaforums.com/showthread.php?t=1661770

[i"):]=A joke between friends until it works like that.