yashsingh1/xdaforums huggingface dataset:
[G3 General] barguin:
*** Important: Your Warranty Is now Void. Always take a Nandroid backup. I am not responsible if you damage your phone or lose any data***

Hello everyone. I created this guide for the Canadian D852 since I didn’t find anything that was straight forward. Credit goes to all the developers who made it possible for us to keep using our beloved LG G3.

This is my first attempt to create and share a guide. I hope it will be useful to other users. If you find any error or have suggestions, please send me a message.

Download all the files before you begin. Do not forget to copy your ROM and GAPPS to your SDCARD before you install TWRP.

Go back to Lollipop using LGUP **Always use USB 2 port. It won't work with USB3**:

Download your kdz (d85220… not d85230). I downloaded mine from:

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

Follow these instructions (works with D852 don’t worry):

https://xdaforums.com/showpost.php?p=64624353&postcount=3

Choose the kdz from your provider. For example, I have an unlocked Fido phone but I want to use it with Bell. So I used the Bell 20k KDZ.

When selecting a file to flash, type *.* and press Enter in the filename for your .kdz to show up. If you do not, it will only show .tot.

Root your phone using this method:

Enable ADB debugging.

Unplug usb cable.

Go to Settings > About Phone > Software Information and tap build number until you are presented with "You are now a developer".

Back to Settings screen.

In Developer Options, enable USB Debugging.

Connect usb cable.

Click OK when asked to allow USB debugging in android.

I use the root.bat method. If it doesn’t work go back to step 1 and try again.

https://xdaforums.com/lg-g3/general/guide-root-method-lg-devices-t3129197

Install TWRP using Autorec:

Copy the rom and GAPPS to your SDCARD before you install TWRP.

Download the file from here:

https://mega.nz/#F!rtI1naZT!LJIKUVpv8fYjrvhpykA4_A!2o433RBZ

Transfer the file to you internal or external SD card.

Head in to Settings -> General -> Security, then scroll down until you see Unknown sources. Tick the checkbox, then hit OK on the next prompt.

Install APK via the file manager.

Open App.

Grant root access.

Wait a few seconds while it does some backup.

Wait for prompt to say that it is ready to flash.

Click the button to Flash TWRP.

Wait for it to be done.

Phone will reboot into TWRP

Update TWRP to the latest version if you want.

Download and install Nougat rom. Tested with CrDroid v3.6 and open_gapps-arm-7.1-nano.

https://xdaforums.com/lg-g3/development/rom-crdroid-t2955012

http://opengapps.org/

**I’m not sure if it’s necessary but I did it anyway** Flash Dene Hybrid Baseband via TWRP (don’t forget to wipe cache and dalvik after) if necessary (mobile data is unstable etc…).

https://mega.nz/#F!rtI1naZT!LJIKUVpv8fYjrvhpykA4_A!2tJFBLLK

Source: https://xdaforums.com/lg-g3/development/canadian-d852-stock-bumped-rooted-rom-t3056843

That’s it! Enjoy Android Nougat!

:)

N.B. That is the only way I was able to get a stable mobile data connection. Only flashing baseband did not work for me.
[G3 General] ahoroba:
Thanks, barguin, for a very informative thread.

How is the battery life on this Nougat ROM? I will be switching from Fulmics MM, and my provider is Fido.
[G3 General] barguin:
Battery is very good. I can do a full day easyly.

Regards!
[G3 General] ahoroba:
[MENTION=4917815]barguin[/MENTION]: thanks for the quick response. Did you try Exposed for Nougat? I know that Exposed is frowned upon in the CrDroid thread, but there are a couple of modules I would like to try. Thanks.
[G3 General] barguin:
I do not use exposed...sorry.
[G3 General] Officeryanki:
Thx

You saved my pitiful unrooted D852! Thxsm
[G3 General] barguin:
Happy to hear that :D
[G3 General] Officeryanki:
Btw

Can i flash with lg flash tool? And also if im flashing with lgup do i go into download mode
[G3 General] barguin:
Personally I had some problems with lg flash tool.

There is no need to enter download mode! LGUP will do it for you.
[G3 General] NOOBHEADFORLIFE:
I read the heading in this thread and it said something about not downloading the D85230 file .. and my phone is D8530g as shown in the screenshot .. so is the D85220 file gonna damage my phone .... Sorry for the newbie question !
[G3 General] ahoroba:
The D85220 file will not damage your phone. Instead, that file will install an older Android version on your phone, namely Lollipop (this step is required to gain root). You are currently on Android Marshmallow, and you will end up with Android Nougat if you complete all steps correctly. The procedure is meant to work like this, one step back, two steps forward.

The "20" or "30" in the file names (on that website hosting KDZs) have the following meaning:

"20" = it's a Lollipop file

"30" = it's a Marshmallow file

"40" = it's a Nougat file (I can only wish, there is no such Nougat file).

But seriously, the procedure requires more than a modicum of familiarity with flashing and with using various pieces of software. There is potential for bricking your phone.

No offense, but, judging from your question, I would suggest that you should enlist the help of a friend who is a bit more knowledgeable on this topic.
[G3 General] Mulham82:
Guys .. Can I use the ROM on D855?! If not, so how to flash the ROM without getting any issues?!!

Thanks.
[G3 General] barguin:
Do not flash the rom on the D855 it's only for the canadian variant.
[G3 General] Zumbuh:
Did this on my d852 and it's stuck booting on Oreo, Nougat, and stock Lollipop. Happened after I installed TWRP, any fixes?

edit: i think it was the roms.. got 3 bad ones i guess lol. fulmics worked.
[G3 General] WakedPaul:
Just an FYI, I followed the LGUP instruction for my Bell D852 but it was soft bricked, doing the flash using "refurbish" instead of "upgrade" did it for me and I was able to finish rooting my device! ;)
[G3 General] Md Meheraj Hossain:
How to root symphony i60.... please reply me
[G3 General] hacimp:
my phone no sound

I do not hear sound from my phone after installing CRDroid. the programs are working. YouTube is opening but I can not hear the sound of the media being played.

I do not hear the sound of the media played when I plug in the phone.

please help me.
[G3 General] Mord_Savant:
Thanks alot man, this was super handy!

Edit: Seems I've got that problem where shutting the phone off bugs it and it won't turn back on unless you remove the battery and put it back in. It also resets the time. Kind of annoying. Seems to happen to some D852s after installing TWRP.
[Galaxy S6 Q&A, Help & Troubleshooting] nJoy.:
So hello everyone. I have currently rooted my phone and flashed TWRP recovery. And now I am searching for rom which has best battery life and performance. Would love to have some stock android look to it as having touch wiz for almost 4 years now is kinda borring. (Had S3 before, now S6). Would love to see some suggestions of which rom's you guys are using.

Thanks!
[Mogul, XV6800 General] vernk:
just looking at the myriad of roms being uploaded here and ppcgeeks...do they all enable gps? this is my main reason for the flash.
[General Omni Discussion] marcusandradesh:
Please. Someone can do a rom with the android 6 or 7 for the Galaxy E7 as we do not find anywhere and several people look.
[Nexus 5 Q&A, Help & Troubleshooting] greeneyez15o:
Any helpr getting WiFi to come back to life ? Doesn't matter the ROM , Kernel or even factory resseting it. WiFi won't turn on n connect :(
[Nexus 5 Q&A, Help & Troubleshooting] audit13:
Sounds like a hardware problem.

I have two motherboards sitting in my desk with no wi-fi.
[Huawei P9 Lite Questions & Answers] Pman96:
I messed up.

Flashed LineageOS 14.1,

Forgot to flash gaaps,

Afterward, for some reason could not enter TWRP and in 'Developers Options ' there was no option to OEM Unlock so I could not do 'fastboot flash recovery recovery.img' to regain TWRP.

tried to use the 'dload' method to return to stock 6.0.

message said uptade successful.

The phone now does not boot, does not enter erecovery, does not enter the updater (Power Button+Vol. Up+Vol. Down)

Only thing it does is enter fastboot (it says PHONE Unlocked and FRP Lock).

Can you help me?

Edit 1 : In fastboot mode only commands with fastboot work, no adb.

Because it is a Huawei the command 'fastboot oem unlock' does not work.

Edit 2 :Tried to 'fastboot flash system sistem.img' to flash the system.img from the update.app of stock android, unfortunately with the phone OEM Locked there is very little I can do with fastboot.

If anyone can direct me to a fastboot friendly update.zip that has the android-info.txt that seems to be required for for flashing I would apreciate it. (I have read that you can flash google-signed update.zip's while having OEM Lock)

Edit 3 : Looking through XDA I have found user with a similar issue to mine that have been able to enter recovery update after either letting the batery run dry or using fastboot to erase/format userdata and cache, the result for me is again 'FAILED (remote: Command not allowed)'.

Will be sending the P9 to Huawei and see what they can do with this.

Edit 4 : Huawei replaced the board and the battery (apparently it died during the trip to the repair center) they accepted the warranty despite the fact the phone was stuck on the warning screen that said the phone was unlocked.
[Huawei Mediapad M3 Questions & Answers] Claghorn:
Every time I look at the battery info under settings, when I open the detailed consumption info it tells me "media server" has used 50 or 60% of the power. There is no app named "media server". Does anyone know what the heck this is and why it is eating the battery? (I have the BTV-W09 model from amazon, and it is running EMUI 5.0 and android 7.0)
[Huawei Mediapad M3 Questions & Answers] MarkMRL:
Media server scans your sd card & internal memory for music and photos in order to index it. If it drains the battery, it could have gotten stuck due to some corrupted file it can't index. Another cause is using torrent and having lots of incomplete torrented files, those will bug out the indexing process.
[Huawei Mediapad M3 Questions & Answers] Claghorn:
I took out the external sd card and this nonsense did indeed go away, but the weird thing is all I did with the card was format it and put a single .wma music file on it. No one else in the world has a problem with that .wma file, so if it was causing the media server to go berserk, there be bugs there :). Thanks for the info. I guess I'll avoid the external card for now.
[Huawei Mediapad M3 Questions & Answers] Claghorn:
Well, it went away for a while, but then it came back even without the external SD card. Googling this seems to indicate that lots of folks have this problem with random runaway media server eating all the power. I've now used the biggest hammer I could find without rooting: I've placed a ".nomedia" file at the highest point in the directory tree that was writable (and also in the root of the external SD card and put the SD card back in the tablet). So far this has worked (with the minor side effect of hiding all the sound effects so I no longer hear the "deedle-deedle" when I plug in the charger).
[Moto Z Play Questions & Answers] Yash24:
Is there any chance of 64bit OS on future official major updates?

OR

Are there any developers who are working to make a 64 bit OS ROM for the Z Play?

Though the hardware is 64 bit but does the Z Play have ability to run 64 bit OS or it can run only 32 bit OS because of 3GB RAM.

Help will be appreciated!
[Moto Z Play Questions & Answers] Jimi Mack:
The mobile industry moved to 64-bit processors a couple of years back.

So, pretty much all new mobile processors will be 64-bit, and that includes the Snapdragon 625.

However, as you would be aware, the key benefit of having 64-bit processor is to allow a larger address space, and by extension a larger RAM.

However, the Snapdragon 625 employs a 1x32 LPDDR3 interface at 933MHz. Therefore, the theoretical maximum RAM that it can support is up to 4MHz

In conclusion, while you may have a processor capable of 64-bit execution, the RAM is limited to a max of 4GB.
[Moto Z Play Questions & Answers] Yash24:
In simple words, it can't run 64 bit os?
[Moto Z Play Questions & Answers] Jimi Mack:
If you figured that out already, it takes the fun out of researching and learning. (Google in your fiend)

If you would have just gotten a "No" I am sure it would have generated more questions, so I thought I nip it in the butt and give a full explanation.
[Moto Z Play Questions & Answers] Zeljko1234:
What benefit​ are you expecting from 64bit OS? More is not always faster or better ;)
[Moto Z Play Questions & Answers] vivebatu:
Hi , pardon my ignorance, but iOS runs 64 bit with 2 GB RAM, so technically should be possible to enable 64 bit in 3GB RAM?

---------- Post added at 11:50 AM ---------- Previous post was at 11:48 AM ----------

More than performance, it is future updates ..Both iOS and android will become 64 bit only soon..Android O may only be 64 bit , who knows ..not sure if we will get an update then
[Moto Z Play Questions & Answers] Zeljko1234:
OK, from that point makes sense. Even I don't think that will switch just over night/release.

---------- Post added at 09:17 PM ---------- Previous post was at 09:13 PM ----------

Hmm, RAM should not be 32bit/64bit. I mean, could be from addressing perspective but would be weird to use 64bit CPU, especially SoC, without ability to address memory the same way. But on another hand, could be. Qualcomm may have generic CPU design and pack with cheaper memory...

Interesting discussion, indeed :)
[Moto Z Play Questions & Answers] OrBy:
While this does apply to everything - 64 bit OS's are generally targeted to systems with 4GB of RAM or more.

The 64 bit instructions/code are actually larger as well as they still need to contain a copy of the 32 bit code for backwards compatibility.

What this means is that while running a 64 bit OS >may< allow a phone to run faster, do more, address more memory, etc - it NEEDS more RAM and storage to be able to do this effectively.

So if you did run 64 bit on the phone - it could be slower since 3GB of RAM may not have enough memory to keep up.

I would have to assume that Motorola/Lenovo may have done some testing on this before making their choice - it's not like the 32 bit OS was cheaper then the 64 bit OS. (but RAM does cost...)
[Moto Z Play Questions & Answers] Yash24:
Yea!

The worst thing is that there is still no methods available to run 64 bit app in 32 bit device or OS.
[Moto Z Play Questions & Answers] OrBy:
That would be a nightmare, like trying to put a scooter engine into a semi - sure you could do it but it would be pointless if you wanted to get anything done.
[Moto Z Play Questions & Answers] Zeljko1234:
Agree with your previous post except "they still need to contain a copy of the 32 bit code for backwards compatibility". AFAIK, 64bit apps do not have 32bit code. That would be crazy, each application will be more than double in size. Rest is true, CPU instructions are usually larger, registers have double size... I remember very well when desktop switched to 64bit. People got excited, everyone thought that more is better but depends of the app, could be opposite.

64 bits make sense when big numbers have to be processed. Very simplified example, 8bit CPU can do the math of bigger number than 255 (2^8, 0-255) but has to do that in more steps, more instructions, more access to the primary memory... 16bit CPU can do the math of up to 65535 (2^16) with, let say, one instruction. For bigger numbers, again the same approach with subroutine. You got the point, more bit CPU, faster for bigger numbers.

But 32bits was more than enough for years on desktop, 64bit came and used mainly to address more than 4GB even 32bit CPU can address more than 4GB as well. Not as simple and fast as native 64bit but it can. Even 8bit CPU can address more. Early 8bit computers (ZX Spectrum Commodore 64...) were 8bit and it was normal to address up to 64kB (don't laugh, 64 kilo bytes :)). In some variant even more, 128kB or more.

After all, question is do we have to process such huge numbers on the phones? Usually not. Even on desktop, usually not. Yes, games, virtual reality and such need a lot of processing but that's done on RISC based GPU part.

64 bit SoC and OS is mainly gimmick.
[Moto Z Play Questions & Answers] mahdif62:
The biggest benefit to running 64-bit OS on MZP would be the ability to use the new Google Camera with HDR+.

Moto Z users are reporting a noticeable difference in camera quality. I wish we had that too :(
[Moto Z Play Questions & Answers] Yash24:
Yeah!

I want the google camera and dolphin emulator.
[Moto Z Play Questions & Answers] Az Biker:
* * * Thread Cleaned * * *

Let's keep the comments RESPECTFUL and regarding the title of the thread. Profanity and personal attacks will NOT be tolerated.

This is a courtesy warning, please do not let it happen again.

Thanks for your cooperation.
[Moto Z Play Questions & Answers] Yash24:
Guyz, those who were telling that 64 bit is not possible in 3gb ram and Snapdragon 625, what about the Redmi 4 with 3gb ram and Snapdragon 430?

https://youtu.be/5kJtl-v0SE8
[Huawei Nova/Nova Plus Guides, News, & Discussion] #Henkate:
Hello!

So, on 02.08.2017 ive built LineageOS 14.1, but it doesnt boot yet. When the bootanimation ends, the screen becomes black and after 2-4 seconds, the phone reboots automatically. Ive tried to debug it but i couldnt manage to fix that. Im still trying though.

Since my knowledge is limited/small, im making this thread thinking that

together

we may be able to solve it.

SOURCES:

- Device tree

- Kernel

- Vendor tree

The blobs were updated to N B350 as you will see in the commits of vendor tree.

The kernel is using newer CAF source from the branch "cm-14.1" left by [MENTION=4443334]Grarak[/MENTION] and ive merged his commit called "Import Huawei". I had to fix build errors as you will see in the commits and thats because ive did mistakes initially when ive merged. There might be some mistakes left, but i doubt since the kernel is building successfully. It also has the changes ive did to LOS13 kernel.

DOWNLOADS:

- lineage-14.1-20170802-UNOFFICIAL-can.zip

- boot.img

- LOS14.1_libs.zip

- los14.1_logs.zip

The boot.img is an eng build meant for debugging, so ADB is enabled by default and you can take logcats during boot.

Flash it like LOS13 and then flash boot.img through TWRP. Ive flashed it over LOS13 (so Marshmallow), but you should be able to flash it over Nougat too. I dont think that flashing it over MM can cause issues though.

LOS14.1_libs.zip contain some libs. Ive got rid of some errors from logcats regarding libs (CANNOT LINK EXECUTABLE) by placing those libs. Its a flashable zip, so you can flash it in TWRP.

los14.1_logs.zip contain some logcats taken during boot, but also kmsg (kmsg2 is longest). los14_11 is the last logcat ive took and ive had the libs from LOS14.1_libs.zip when it was taken.

Everyone is welcome to help.
[Huawei Nova/Nova Plus Guides, News, & Discussion] Vinnom:
I really want to help, but I know little to nothing lol

I'm trying to understand the errors and trying to find how to fix them though, because it will not only "help" to solve this issues, it will help me understand how to build, as I want build some ROM too.

Enviado de meu HUAWEI CAN usando Tapatalk

---------- Post added at 01:45 PM ---------- Previous post was at 01:31 PM ----------

But, from what I saw from the los14_11, libloc_pla.so and loc_launcher continues returning an error. Although it may be not the only thing, the log file mentions that libloc_pla.so seems to be too little to be an ELF file. I'll keep looking [emoji14]

Enviado de meu HUAWEI CAN usando Tapatalk
[Huawei Nova/Nova Plus Guides, News, & Discussion] Hikari no Tenshi:
Wrong symlinks in LOS14.1_libs.zip.

Try this:

1. Remove from zip:

LOS14.1_libs.zip/system/lib/libloc_pla.so
LOS14.1_libs.zip/system/lib64/libloc_pla.so
LOS14.1_libs.zip/system/lib/libstagefright_soft_flacdec.so
LOS14.1_libs.zip/system/lib64/libstagefright_soft_flacdec.so

2. Add to LOS14.1_libs.zip/META-INF/com/google/android/updater-script:

symlink("/system/vendor/lib/libloc_pla.so", "/system/lib/libloc_pla.so");
symlink("/system/vendor/lib64/libloc_pla.so", "/system/lib64/libloc_pla.so");
symlink("/system/vendor/lib/libstagefright_soft_flacdec.so", "/system/lib/libstagefright_soft_flacdec.so");
symlink("/system/vendor/lib64/libstagefright_soft_flacdec.so", "/system/lib64/libstagefright_soft_flacdec.so");

after:

package_extract_dir("system", "/system");
[Huawei Nova/Nova Plus Guides, News, & Discussion] #Henkate:
Booted!

So, this evening ive gave a shot again to LOS14.1. I add more missing libs/files which ive seen in logcat till the log got smaller. Then ive seen that com.qualcomm.location apk is missing a library. After ive deleted the apk, the phone booted. Of course, adding the missing library should have solved it too, but ill try it tomorrow.

Its buggy af though. Wifi seems to work.

1) Screen is flickering so much. Everytime you touch the screen, it becomes black and then goes to normal lol.

2) SIM card isnt recognized and prolly RIL is broken as well.

3) Bluetooth doesnt work.

4) NFC seems to crash.

5) Audio doesnt work, but it works partially with headphones and sometimes it produces weird sounds.

6) Auto rotate doesnt work.

7) Camera app doesnt even appear in app drawer, so theres problems with it too.

Tomorrow im gonna work on it and hopefully ill make progress. The fact that i managed to boot it is a huge progress in my opinion because i thought that the problem is in kernel or that ive did mistakes while i merged in kernel. Maybe some of the bugs are related to kernel too, i dont know yet, but now i know that the kernel wasnt causing the phone to not boot.

Ive took a screenshot of Settings > About phone, but after ive restored LOS13 backup it doesnt seems that it got saved. Tomorrow, when ill go back to LOS14.1 to test things, ill take a pic with other phone and post it here, if you dont believe me :p.
[Huawei Nova/Nova Plus Guides, News, & Discussion] #Henkate:
Took some pics with mom's phone (S3 neo running CM 11). They're attached to this post.

I've found out that when I use Live Display (night mode), the screen doesn't flicker.

I'm not sure yet, but I think auto brightness works fine. Here are some other bugs I've discovered:

1) Flashlight doesn't work.

2) Once the screen goes off, you can't power it on anymore. You have to reboot it in order to see the screen.

3) Fingerprint settings doesn't appear, so there's problems with it too.

Yesterday I've made some progress regarding audio. Audio is working fine when headphones are connected, but speaker still broken.

EDIT:

Dunno why the pics got rotated when I've attached them.