1. Are you ready for the Galaxy S20? Here is everything we know so far!


Discussion in 'Android Devices' started by rpdrizzy, Aug 3, 2013.

  1. rpdrizzy

    rpdrizzy Member
    Thread Starter


    This is a Touch ClockworkMod Recovery for the LG Optimus F7 Boost Mobile

    Linux Only

    BUGS/WIP List
    • Pink Screen Bug (still functional and words still visible but everythings pink)
    • USB Mount does not work
    • WARNING: File_Contexts Error (Some partitions don't mount = /emmc /sd-ext which are non existing)
    • Resets /data/app and settings upon 2 reboots to recovery


    You will need Loki and your aboot.img. I've included it in the attached zip.

    *aboot.imgs may vary per device.*

    Instructions are within the zip in the read me file.

    I'm also working on a debloated rom. But that may take some time. Got to fix this first ;)

    Dev-Host - CWM Alpha.zip - The Ultimate Free File Hosting / File Sharing Service

    Alpha 1:
    • Fixed lost of root by moving Superuser to /system/app/

    creed10, MacKHAroni and sortoh85 like this.
  2. sortoh85

    sortoh85 Well-Known Member

    Well let me be the first to thank you, for ur hard work and effort
  3. Rally 517

    Rally 517 Android Expert

    same here
  4. HaTrEd360

    HaTrEd360 Android Expert

    You should be able to use the dd command in terminal emulator or ADB Shell to backup the recovery partition and restore it before you flash the CWM one, have you thought of that?

    Whats the partition number for recovery? Go into settings and enable usb debugging, then open up cmd on your computer, direct it to your adb setup and use the command "cat proc/emmc" without quotes and that will tell you the recovery partition number.

    The dd command should be dd if=/dev/block/mmcblk0p??? of=/sdcard/recovery.img
  5. rpdrizzy

    rpdrizzy Member
    Thread Starter

    Thanks I already have the original recovery.img as I needed it to make CWM. I just need to use Loki to revert it back.
  6. sammyz

    sammyz LG Whiz Kid

    To pull recovrey

    dd if=/dev/block/platform/msm_sdcc.1/by-name/recovery of=/sdcard/recovery.img

    To flash recovery
    dd if=location_of_recovery.lok of=/dev/block/platform/msm_sdcc.1/by-name/recovery

    Edit: @rpdrizzy, loki will only work on the current firmware version. If you update, you will have to flash the old aboot.img from the current version of software. This will not work on a variant of the Optimus F7 unless they flash the aboot file from the boost mobile version of the phone, or if the phone is exactly the same HW and SW wise.
    rpdrizzy likes this.
  7. rbheromax

    rbheromax Android Expert

    Flashing on locked BL 101 :)
  8. rpdrizzy

    rpdrizzy Member
    Thread Starter

    :D I'm just a noob trying. Lol I haven't dealt with locked bootloaders before as my previous device was a HTC and that was easy to unlock.
  9. sammyz

    sammyz LG Whiz Kid

    You're in for a ride :p
    Recovery is going to be a pain to get working. It may never work. None of these devices with locked bootloaders (with msm8960 processors) from LG have a 100% working recovery. Accessing the data partition from being booted in recovery has not been fixed on any of them.
  10. GameTheory

    GameTheory Android Expert

    Oh is he ever. lol

    Yeah the only LG device that doesn't get it's data wiped by CWM is the Spirit so we got lucky that our recovery is usable. It's only flaw is not being able to access the internal sd which is no big deal.

    Hey Sammy, I noticed the LG Spectrum 2 might need our help. (unbrick guide and kernel) lol. Let me know if you're interested.
  11. sammyz

    sammyz LG Whiz Kid

    I gave a guy the cab file for him to dev as well as unbrick and he's doing the devving for that phone afaik. His username starts with an m and I cant remember it...lol. He's the reason loki supported the spectrum 2. He came to #oudhitsquad and asked for support.
  12. GameTheory

    GameTheory Android Expert

    Cool, I guess I'll wait a couple weeks. If nothing is posted there by then, I'll head over and give the users instructions on how to pull the files I need for kernel lol. :p
  13. sammyz

    sammyz LG Whiz Kid

    Or, I'll give it to you :p

    Do you want to learn how I get firmware and extract it?? I'll be too busy when college starts.
  14. GameTheory

    GameTheory Android Expert

    That sounds like a good idea lol. ATM I only know how to get stock rom by building source code which is a PITA (not worth it).

    I remember the good ol college days, sometimes a pain, but well worth it. Some of the most important people in my life I met there.
  15. sammyz

    sammyz LG Whiz Kid

    First, you'll need windows installed, or a virtual box with at least 4GBs of ram dedicated to it (just so it doesn't get slow). The extract process uses more ram than processing power.

    Then I'll need you to install teamviewer on your windows environment so I can show you.
    You'll also need fast internet to dl the firmware..slow internet usually results in bad downloads. Good download speed is 512kb/s (if it's a speedtest that would be like 5-10MB/s)

    Great download speed is 1-3MB/s (20-30MB/s on speedtest).

    If your download speeds suck, go to a library :p the library has amazing internet speeds. Or at least mine does, but their PCs tend to suck.
    GameTheory likes this.
  16. GameTheory

    GameTheory Android Expert

    Ohhhhhhhh nelly! :eek:

    This is not looking good. I don't do windows lol. If it's not doable on linux, I don't fux wit it lol.

    No biggie, I'll wait till you finish your semester and come back to us. :p

    Seriously though, thanks for taking the time to try and hook me up... Very much appreciated. ;)
  17. GameTheory

    GameTheory Android Expert


    I have a couple questions for troubleshooting purposes....

    1. Did you add a graphics.c file to the build and also a recovery.fstab file?
    2. Is the recovery able to mount external sd?
  18. rpdrizzy

    rpdrizzy Member
    Thread Starter

    I used the recovery.fstab with the correct partitions however I was unable to find/make a graphics.c for the F7. I know its needed to fix the graphics issue. Also it is able to Mount the external SD but not the internal SD.
  19. godmd5

    godmd5 Newbie

    for the color ,cwrp recovery have some info
    How to Compile TWRP from Source - TWRP 2.X - RootzWiki
    and decompile 2nd recovery can find some info

    # mount point fstype device [device2]

    /boot emmc /dev/block/platform/msm_sdcc.1/by-name/boot
    /cache ext4 /dev/block/platform/msm_sdcc.1/by-name/cache
    /data ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata
    /misc emmc /dev/block/platform/msm_sdcc.1/by-name/misc
    /recovery emmc /dev/block/platform/msm_sdcc.1/by-name/recovery
    /sdcard datamedia /dev/null
    /external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
    /system ext4 /dev/block/platform/msm_sdcc.1/by-name/system
  20. sortoh85

    sortoh85 Well-Known Member

    After flashing the new kernel I can't use it :'(
  21. Rally 517

    Rally 517 Android Expert

    I noticed that you can only use it oncewith the kernel.
  22. rpdrizzy

    rpdrizzy Member
    Thread Starter

    Sorry Guys hadn't had some time to work on this as my developer PC has been confiscated temporarily. I did fix the color issue however I was not able to prevent it from wiping Data and Cache upon reboot. And the internal SD wouldn't mount. Once I get it back I'll continue to work on it as best as I can. However I'm switching to either the Moto X or the Oppo Find 5.
  23. godmd5

    godmd5 Newbie

    this real a bad news,opp find 5 alway have office cm10 support,moto x i think have many developer,but lg f7 developer..
  24. 903Tex

    903Tex Android Enthusiast

    This phone wont get development just enjoy it like it is. Locked bootloader and being prepaid people are skipping it. We have root so thats all it wrote folks
  25. rbheromax

    rbheromax Android Expert

    well im sure when someone (with the know how) gets time they can build cm for you guys. ppl just get busy, you know? :p
    keep hope alive!

LG Optimus F7 Forum

The LG Optimus F7 release date was June 2013. Features and Specs include a 4.7" inch screen, 8MP camera, 1GB RAM, processor, and 2540mAh battery.

June 2013
Release Date

Share This Page