[STOCK] D851 30D KDZ + Flashable ZIPs + All IMGs (Marshmallow!!)

Search This thread
Nov 20, 2017
19
2
Pg7TUNH.png


T-Mobile LG G3 D851 30D


y u quote OP?

Follow me on twitter for future updates on LG-related things - twitter.com/@utoprime

Find this thread helpful? Hit the Thanks button!
Feeling extra generous? Click my name at the top of any post and hit donate or click here.


#TEAMCODEFIRE

I tried this and after flashing the last 2 zips including super su.zip from TWRP and rebooting its just stuck on the T-Mobile screen with my LED light flashing from blue to green... Help anyone?
 

Herlmer

New member
Dec 31, 2017
2
0
urgent help

I have a problem and all the steps, install the 4 files in the TWPR but I only load the logo lg and t-mobile then I get that the android is optimizing starts again and vulve do the same does not happen there

---------- Post added at 10:11 PM ---------- Previous post was at 10:07 PM ----------

tengo un problema y se todos los pasos, instale los 4 archivos en el TWPR pero solo me carga el logo lg y de t-movil luego me sale que el android se esta optimizando se inicia de nuevo y vulve hacer los mismo no pasa de ahi
 

KobySam87

Senior Member
Sep 18, 2014
846
118
Accra
Hello guys.... I am trying to use this method flash the update on my kid bros phone but the phone keeps switching back to PTP after l manually switch it to MTP. I want to know if l can still flash the update without having issues in the middle of the process.
PS-: If anyone knows a work around to solve the PTP issue... I will be grateful.
Thanks
 

rinkadinx007

New member
Apr 4, 2019
2
0
#!/system/bin/sh

# If you're implementing this in a custom kernel/firmware,
# I suggest you use a different script name, and add a service
# to launch it from init.rc

# Launches SuperSU in daemon mode only on Android 4.3+.
# Nothing will happen on 4.2.x or older, unless SELinux+Enforcing.
# If you want to force loading the daemon, use "--daemon" instead

/system/xbin/daemonsu --auto-daemon &

# Some apps like to run stuff from this script as well, that will
# obviously break root - in your code, just search this file
# for "install-recovery-2.sh", and if present, write there instead.

/system/etc/install-recovery-2.sh
 

marcdw

Senior Member
Sep 24, 2014
5,751
2,894
59
Baldwin Park
@rinkadinx007, nice info but it looks like you meant to post this elsewhere? I don't see any previous posts related to the script.


LG G3 D851, AOSPA-L ROM, Nebula Rev9.3 Kernel, microG (NoGapps), MultiROM, XDA Legacy
 

Top Liked Posts

  • There are no posts matching your filters.
  • 67
    Pg7TUNH.png


    T-Mobile LG G3 D851 30D
    This thread covers various methods of installing both stock and stock rooted Marshmallow 6.0 30D onto the T-Mobile LG G3 D851.

    Information:
    30D is the first official Marshmallow Android 6 update for the T-Mobile LG G3.
    It was first released in KDZ form the morning of April 27 2016.
    Official update methods include both an OTA update from 20G to 30D and a KDZ update through the LG Mobile Support Tool.
    The bootloader is still unlocked with no sort of OEM Unlock toggle. Still no bootloader/fastboot mode.
    Kingroot can temp-root 30D! At least 1 Marshmallow build will always have root. Not very secure... but good for modders.

    Android Version: 6.0
    Android security patch level: 2016-04-01
    Baseband version: MPSS.DI.2.0.1.c1.13-00114-M8974AAAAANPZM-1.43646.2
    Kernel version: 3.4.0
    Build number: MRA58K
    Software version D85130d
    Security software version: MDF v1.1 Release 2


    Install Directions:
    OTA:
    When the software update is available, the update icon will display in the status bar at the top of the screen.
    Swipe down from the top and tap the notification.
    Restart & Install
    Note: If prompted, connect to a Wi-Fi network to download the software update.

    Your device will restart to perform the update.
    When the update is complete, your phone will restart and transition through a series of alerts stating "Android is upgrading".
    Once your phone has powered on you will be notified that the software update successfully installed. Tap "OK" to close the notification.

    Troubleshooting
    If you have not been notified of an available software update, you can manually check if one is available.
    From the Home Screen, tap Apps > Settings > General Tab > About phone
    System updates > Check now to manually check for a new update.
    You will be prompted if a new software update is available.


    LG Mobile Flash Tool:
    Click here to download the LG Mobile Support Tool to your computer, then open.
    Connect your phone to your PC.
    Tap Start Upgrade within the LG Mobile Support Tool to begin.
    Device will progress through Analysis, Download, Update and Complete during the update process.
    While updating, the device will power off and enter a download mode at 5% completion. This is normal. DO NOT DISCONNECT THE USB CABLE!
    At approx 95% of completion, the device will power on. This may take several minutes. This is normal. DO NOT DISCONNECT THE USB CABLE!
    If your software update stops before it has completed, please do not close the update tool and try the update again. Additional troubleshooting steps are below.

    The tool will notify you when the update is complete. Tap Exit to return to the main screen.
    Wait for device to power on. Once powered on, the device will reconnect to the LG Mobile Support Tool. When connected, observe that the version number reflects the latest Software D85110r. It is now OK to DISCONNECT THE USB CABLE.

    Troubleshooting
    If the phone software upgrade stopped before completion, please do not close the update tool and try to update again following original instructions.
    If you already closed the update tool, and the phone will not turn on normally, please follow the steps below:

    Remove back cover and battery.
    Record IMEI/ESN/MEID from device label in battery well.
    Replace battery and back cover.
    Open LG Mobile Support Tool.
    Connect the device to PC via USB cable.
    From the drop down menu, select Options > Upgrade Recovery.
    Enter your phone information and tap OK
    After checking the phone information, it will start to update automatically. If it does not work, the device may require service to attempt recovery.


    TWRP + Flashable-ZIPs:
    These directions should be used by anyone who already has TWRP installed on their D851.
    I used the latest TWRP 3.0 build @ https://dl.twrp.me/d851/
    Don't want root? Then it's probably easiest to just flash the stock KDZ using LGUP.. or just skip the SuperSu steps.

    1. Download the following 3 files and place them on the internal or external sdcard:
    a. LG-D85130D-Flashable.COMPLETE.zip
    b. LG-D85130D-Flashable.Boot-AUTOREPACK.zip
    c. SuperSU 2.65 or higher. [STABLE] or [BETA] Thanks to Chainfire!​
    2. (re)Boot into TWRP if not there already.
    3.* Backup current partitions: boot, system, data, efs (backing up anything is optional but suggested)
    4.* Up to you if you want to wipe data (TWRP > Wipe > Swipe slider) but not needed if coming from a stock rom.
    5. Install the 3 zip files you put on your sdcard, 1 at a time:
    a. LG-D85130D-Flashable.COMPLETE.zip (Install > select zip > swipe to confirm/flash)
    b. LG-D85130D-Flashable.Boot-AUTOREPACK.zip (Install > select zip > swipe to confirm/flash)
    c. SuperSU zip (Install > select zip > swipe to confirm/flash)​

    After zips finish flashing you can reboot! If TWRP asks if you want to install SU, hit no. If TWRP says No OS installed, ignore it.

    Alternatively, if you are already on 30D already without root and want root/TWRP you can use Kingroot.
    Click the button below to display how-to steps...
    1. Download the latest Kingroot APK here.
    2. Install Kingroot and get temproot with it.
    3. Download TWRP @ https://dl.twrp.me/d851/ and download LG-D85130D-Flashable.Boot-AUTOREPACK.zip linked below.
    4. Enable USB Debugging on your D851 and connect your device to the computer and run the following commands to install TWRP.
    Code:
    adb push LG-D85130D-Flashable.Boot-AUTOREPACK.zip /sdcard/
    adb push twrp-3.0.0-0-d851.img /sdcard/
    adb shell
    su
    dd if=/sdcard/twrp-3.0.0-0-d851.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
    reboot recovery
    [if no computer]
    d/l TWRP n Boo Repack onto phone n move it to root of internal storage.
    Run the su, dd and reboot commands above in terminal emulator.
    5.* Backup current partitions: boot, system, data, efs (backing up anything is optional but suggested)
    6.* Up to you if you want to wipe data (TWRP > Wipe > Swipe slider) but not needed if coming from a stock rom.
    7. Install the 2 zip files you put on your sdcard, 1 at a time:
    a. LG-D85130D-Flashable.Boot-AUTOREPACK.zip (Install > select zip > swipe to confirm/flash)
    b. SuperSU zip (Install > select zip > swipe to confirm/flash)​

    Downloads:
    Please do not mirror my files!

    LG-D85130D-Flashable.COMPLETE.zip
    100% stock untouched system, boot, modem and bootloader. Recovery is not included so you don't lose TWRP.

    LG-D85130D-Flashable.Modem.zip
    This is a flashable stock 30D modem.

    LG-D85130D-Flashable.Boot.zip
    This is a flashable stock 30D boot.img. Boot.img contains kernel + dtb + ramdisk.

    LG-D85130D-Flashable.Boot-AUTOREPACK.zip
    This is a repacked boot.img to work properly when flashing SuperSu in TWRP.

    LG-D85130D-Flashable.Bootloader.zip
    This is a flashable stock 30D bootloader. It contains aboot, dbi, factory, laf, rpm, sbl1 and tz.


    Also, KDZ + all stock images for 30D are available in the link below...
    CODEFIRE DIRECTORY
    30D KDZ Mirror Here

    MD5 Sums:
    Click button below to view MD5 for each file...
    MD5 (aboot.img) = 3a984c57cea36f8356f5068cc7cdd4b4
    MD5 (boot.img) = 98bfe8aaeb7e169d78ad249b5c362214
    MD5 (dbi.img) = 1a78fd7454f7d0a6fa1bc71aa15c12e8
    MD5 (factory.img) = 794327b47c4f1cd503591d804ab2a458
    MD5 (laf.img) = 1e5971ef828b0d6afdfa4690efa26308
    MD5 (modem.img) = 3969d7e27ffb83b5873c0ac9c796ea1d
    MD5 (persist.img) = 039a73fb1b36df8cab1c0861cdea6bf3
    MD5 (recovery.img) = 339bd050ddfac269f5c1c7ee36217df3
    MD5 (rpm.img) = e9d136d6a7fcdd3726696a111f4b8f8e
    MD5 (sbl1.img) = c4ec620062aaa2f7ebafa67c43218665
    MD5 (system.img) = f22c8366fab71f65f5f50c7e8eaaa1cd
    MD5 (tz.img) = 36a7d694d17f0f8183c0afb825dc9512
    MD5 (LG-D85130D-Flashable.Boot-AUTOREPACK.zip) = f7f9507a81333f0a4e8a16033018e8b9
    MD5 (LG-D85130D-Flashable.Boot.zip) = ffba4ffc1842c65b1f1defc2dc103330
    MD5 (LG-D85130D-Flashable.Bootloader.zip) = cf37b49ab3b85eba9d0d43c5927d215d
    MD5 (LG-D85130D-Flashable.COMPLETE.zip) = d2cbb2c8675bf0adc412b760c05ceb29
    MD5 (LG-D85130D-Flashable.Modem.zip) = 87b50d33e7b0fba62847a2792648a310
    MD5 (D85130d_00_0404.kdz) = a3d04df6fa1e964bd10b5e2ae59041ae


    DISCUSSION THREAD:
    Take all your nonsense to the marshmallow general thread here - http://forum.xda-developers.com/tmo...-t-mobile-lg-g3-d851-30d-marshmallow-t3367030

    y u quote OP?

    Follow me on twitter for future updates on LG-related things - twitter.com/@utoprime

    Find this thread helpful? Hit the Thanks button!
    Feeling extra generous? Click my name at the top of any post and hit donate or click here.


    #TEAMCODEFIRE
    3
    @Shady282, yes, that download site is a pain in the arse.
    If Mega is okay the below should be a link to the directory where I have the ROM and AUTOREPACK files.
    Let me know if it works.

    https://mega.nz/#F!vNAFDa5B!FPrkwAMBNaqA0Lf4jQpW2Q


    LG G3 D851, PAC-MAN LP ROM, Nebula 9.1 Kernel, Tapatalk 4.9.5
    3
    I can't seem to use the service menu code I have in the past, do you know the code? I have d9851 using cricket sim in usa. Sorry if this is a dumbass question

    dumbest question ever.. how dare you!!

    lol nah.. jk.. the code changed once Marshmallow came around.. first showing up on the G4.

    *#546368#*851#
    3
    Okay. So you flashed:
    LG-D85130D-Flashable.COMPLETE.zip
    LG-D85130D-Flashable.Boot-AUTOREPACK.zip
    SuperSU zip

    But what about the mm radio (LG-D85130D-Flashable.Modem.zip) did you flash that too??.

    Sorry if am being dumb. I hard bricked my D851 because I failed to read and understand and it cost me a new mobo. So I hope you understand.

    No worries - I understand. First I wiped data, dalvik, system and cache to get a fresh start. Then I flashed these in the order listed here:
    1. LG-D85130D-Flashable.COMPLETE.zip
    2. LG-D85130D-Flashable.Boot-AUTOREPACK.zip
    3. SuperSU zip

    I actually had to flash the twrp 3.0 image before I did all of that because I was originally on twrp 2.8. Obviously since you're on 3.0 you can skip that step.

    After the flashing was complete I mounted system in TWRP and removed the random bloat that I didn't want from /system/app and /system/priv-app. Then I booted system and kept an eye out for supersu to disappear everytime I rebooted. If it does then just flash 2 and 3 above from TWRP again.

    Here's what I removed from /system/app:
    Code:
     atfwd
     Books
     ChromeWithBrowser
     CloudPrint
     Drive
     DrmService
     elt_test
     FaceLock
     Gmail2
     GnssAirTest
     GnssLogCat
     GnssPosTest
     GnssTest
     GoogleTTS
     Hangouts
     KeyChain
     LGAccount
     LGDrm
     LGFOTA
     LGPCSuiteUI
     LGSmartcardService
     LGSpringCleaning
     LGWeather
     LGWeatherService
     LGWeatherTheme
     LGWernickeManager
     Maps
     Music2
     NewsstandStub
     PlayGames
     PlusOne
     PrintSpooler
     SmartShare
     SmartShareDLNA
     SmartShareProvider
     talkback
     TMO_VVM
     UnifiedEULA
     Videos
     WfdService
     YouTube

    Here's what I removed from /system/priv-app:
    Code:
     AdaptClient
     AmazonShopping
     BackupRestoreConfirmation
     BioITPlatform_SDService
     CloudHub
     com.mobitv.client.tmobiletvhd
     ECID-release
     LGActionManager
     LGAlarmClock
     LGApplicationManager
     LGBackup
     LGBrowser
     LGCalendar
     LGConciergeBoard
     LGCover
     LGEasyHome
     LGEmail
     LGFileManager
     LGFormManager
     LGGallery
     LGGestureAnswering
     LGLDB
     LGLIA
     LGLiveWallpapersPicker
     LGLW_MultiPhoto
     LGMapUI
     LGMessage
     LGMusic
     LGMusicWidget
     LGMyGuide
     LGMyWellness
     LGPartnerBookmarksProvider
     LGPCSuite
     LGPrivacylock
     LGSettingsAccessibility
     LGSmartSharePush
     LGTasksProvider
     LGUpdateCenter
     LGVidClip
     LGVideo
     LGVoiceCommand
     LGVoiceCommandService
     LGVoiceRecorder
     LIAInformant
     LIAS4URecommender
     SplitWindowService
     TagGoogle
     TMO_Lookout
     TMO_MyAccount
     WapService
     WiseScreen
    3
    Quick question... Since i cant find the answer to this... Is it safe to flash other G3 Variant Radio/Modem's on other G3 Variants? For e.g.... Flashing the d851 30D Modem on a d850 that is currently running the 10d d850 modem (Running CM13, and is utilizing T-Mobile Sim{unlocked})
    No

    Sent from my LG-D851 using XDA-Developers mobile app

    ---------- Post added at 08:14 PM ---------- Previous post was at 08:07 PM ----------

    How can I change dpi without getting up crash errors

    Sent from my LG-D851 using XDA-Developers mobile app
    Xplosed module 'app settings' will correct this.
    Thanks for this post. Your setup sounds to my ideal config. Currently running SR v6 ROM vased on 20G (5.0.1) rooted with TWRP and xposed with bunch of mods. Can you expend a little on how you went on to install this? Sequence and some details (wiping/resetting/flashing zips) to help someone who likes to be more comfortable before taking a plunge. Does the WiFi calling works for you? Any issues with battery life? Thanks in advance.
    Sure.
    Note: I am using an mvno, not T-mobile so i am not sure if wifi calling works.
    Battery life is great.

    1. Using d851 twrp 2.8.7.0 I backed up my current setup,backup everything here including modem and whatever else is there. then i transferred a copy of the backup to computer.

    2.Wipe EVERYTHING in recovery;
    System
    Data
    Dalvik
    Cache
    And internal storage just to be completely fresh
    Then i formatted data.

    3. Reboot Recovery ( necessary after formatting)

    4.Transfer the backup you just made, along with all other files that you will need, back to phone storage.

    5. Flash the following according to instructions in O.P. -
    30D complete zip
    Autorepack zip
    And supersu
    Found in the O.P. of this thread

    6. Let device boot normally, login and boot to android.

    7. Delete unwanted apps. There's different methods to do this, a quick Google search will be very revealing. My personal favourite is to download the app 'Rom Toolbox' lite or full.
    Open app, grant root, then tap app manager.
    This will display all user and system apps in a simple list for you to delete at will. Careful here, only delete apps you're sure of. the only tmobile app I left was hotspot app. Note: reboot for changes to take effect.
    (Plz google which system apps are safe to remove)
    Reboot to recovery

    8. Flash xposed v84. Sdk 23 http://forum.xda-developers.com/showthread.php?t=3034811

    9. Flash viper mm 2.4.0.1 for g3
    http://forum.xda-developers.com/showthread.php?p=65229622

    10. Reboot to system make sure everything works
    Xposed
    Viper
    Etc
    - In order for viper to work you will need to dl busybox by Stephen ericsson in play store/ and you will have to dl selinux mode changer and set to permissive http://forum.xda-developers.com/showthread.php?t=2524485

    11. Once you verify xposed and viper are working reboot to recovery.

    12. Factory reset. Yes factory reset (wipe only data, dalvik & cache). Do NOT reboot yet!

    I do this to ensure a clean installation and a fresh setup with all extra mods and flashed apps still intact.This will NOT wipe any system apps or modifications that you have flashed, but it will wipe supersu as it is a "systemless root"

    13. Re-Flash Supersu, then reboot system. (remember to tap "do not install" when twrp asks to install supersu for you)

    1×. There u go, once u are booted up you will have a fresh system with all of your flashed system apps/mods still intact (ie; viper, xposed etc..)

    And all deleted system apps will still be safely out of the picture.

    15. To get wifi hotspot working I used this http://forum.xda-developers.com/showthread.php?p=59858654
    I don't have tmobile service so steps 1-3 of this tether guide worked for me.
    However I believe Tmobile users will have to follow all steps due to tmobile tether restrictions
    .

    Let me know if you have any problems, I have no problem helping someone willing to help themselves and do their own research

    Update: I almost forgot the oversharpening fix
    Version 3.5. Flash this last.
    Found here http://forum.xda-developers.com/showthread.php?p=57144978


    Sent from my LG-D851 using XDA-Developers mobile app