[Kernel][D850|1|2|5/F400/LS990/VS985]Unified Kernel Source repository/compilation - G3 Android Development

Just for developers!
Hey guys and girls,
I fixed and uploaded the stock kernel source for the G3 to my github which other developers can use as base for their kernels or just take it as it is to build their roms, currently the source for the D855, D851, D850, D852, VS985, F400 and LS990 are merged.
As said, it's just the fixed stock source for now!
There is for sure still the bootloader lock problem, but anyways, when this is fixed (which is hopefully soon) this may be helpful for some and it may can speed up things a bit.
There may be some additional things coming, but for now, that's it.
Have fun.
Repository
https://github.com/tectas/android_kernel_lge_msm8974ac
Changelog
14.08.2014
include/asm-generic: Change per_cpu_offset to take last element of array instead of returning 0 if out of bounds
firmware: Fix to compile prebuild firmware only once
13.08.2014
kernel: quick fix
Fix -Warray-bounds warnings
Makefile: reenable -Wframe-larger-than
Makefile: ifeq y instead of ifdef at CONFIG_CC_OPTIMIZE_SPEED and CONFIG_CC_OPTIMZE_DEFAULT
init/Kconfig: Removed CC_OPTIMIZE_SIZE (default now) and added CC_OPTIMIZE_SPEED and CC_OPTIMIZE_DEFAULT
arch/sh/lib|arch/title:Changes for CC_OPTIMIZE_SPEED and CC_OPTIMIZE_DEFAULT
12.08.2014
arch/arm/mach-msm|fs|ipc|kernel|mm: fix uninitialized warnings
arch/arm/configs: CONFIG_FRAME_WARN added, CONFIG_CC_OPTIMIZE_SPEED disabled
Makefile: Options for -O3, -O2 and -Os added
Makefile: Disabled warnigs for array-bounds and uninitialized
Makefile: linaro build optimizations
Makefile: started to add flags for -O3 linaro builds
net: bluetooth: linaro fix
drivers: cpufreq: Fixes for linaro at interactive governor
11.08.2014
Fix Compiling Firmware
Cleanup of generated files
Reset of CONFIG_NF_CONNTRACK_SIP to default value
dtsi fix for VS985
Changes for D852
Changes for VS985
Changed CONFIG_NF_CONNTRACK_SIP to default value
Changes for F400
...
Full list of commits can be found here
Currently supported devices
D855
D851
D850
LS990
F400
VS985
D852
Bugs
You tell me
Toolchain
Currently just the default android toolchain is officially supported, but it should work with others fine as well, if not, just tell me and i will fix it for the given toolchain.
Credits
@KAsp3rd
@HolyAngel

How to compile
Preperation
Check out aosp source and switch to it's directory (https://source.android.com/source/downloading.html)
In the terminal:
Code:
mkdir -p kernel/lge/msm8974ac
cd kernel/lge/msm8974ac
git clone https://github.com/tectas/android_kernel_lge_msm8974ac.git -b kitkat .
Compilation
All Variants
Code:
export PATH=$PATH:tools/lz4demo
D855
Code:
make ARCH=arm CROSS_COMPILE=../../../prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi- g3-global_com-perf_defconfig zImage-dtb -j4
D851
Code:
make ARCH=arm CROSS_COMPILE=../../../prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi- g3-tmo_us-perf_defconfig zImage-dtb -j4
D850
Code:
make ARCH=arm CROSS_COMPILE=../../../prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi- g3-att-perf_defconfig zImage-dtb -j4
LS990
Code:
make ARCH=arm CROSS_COMPILE=../../../prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi- g3-spr_us-perf_defconfig zImage-dtb -j4
F400
Code:
make ARCH=arm CROSS_COMPILE=../../../prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi- g3-lgu-perf_defconfig zImage-dtb -j4
VS985
Code:
make ARCH=arm CROSS_COMPILE=../../../prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi- g3-vzw-perf_defconfig zImage-dtb -j4
D852
Code:
make ARCH=arm CROSS_COMPILE=../../../prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi- g3-bell-perf_defconfig zImage-dtb -j4
Wait till it compiled
The resulting dtb zImage can be found at arch/arm/boot and is named zImage-dtb
Any suggestions for improvement? Feel free to comment

Now we just need a device config for D855 and let the CM game begin
BTW the bootloader may not be the biggest issue, the flashing of the rom may be able to be done using the tethered TWRP that was released.

sooti said:
Now we just need a device config for D855 and let the CM game begin
BTW the bootloader may not be the biggest issue, the flashing of the rom may be able to be done using the tethered TWRP that was released.
Click to expand...
Click to collapse
The flashing of the rom, yes, the boot.img is the problem i guess (and without proper kernel and ramdisk no aosp rom will work). It can be flashed as well, but if it doesn't match the stock one, the bootloader throws a security exception when you try to boot from it. At least that's what I faced, when i tried to boot up TWRP which I directly flashed to my device instead of temporarly booting it, so, I guess it's the same with the kernel.

Tectas said:
The flashing of the rom, yes, the boot.img is the problem i guess (and without proper kernel and ramdisk no aosp rom will work). It can be flashed as well, but if it doesn't match the stock one, the bootloader throws a security exception when you try to boot from it. At least that's what I faced, when i tried to flash TWRP directly to my device instead of just temporarly booting it, so, I guess it's the same with the kernel.
Click to expand...
Click to collapse
This is true, I work with LG and they sent the company I work for a tool that loads code into the bootloader allowing unsigned code to run (we need it since we run vitual environments), I wonder if this tool is only for the LG device we test it on (can't tell you the model) or can be used on any device,
it allows fastboot to write code to kernel + bootloader, something that always fails with the default tot without this app.
I will test it on my g3, hope it doesn't brick it, if it doesn't on one hand this may be the key to unlock and develop ROMs, on the other hand since the software is company property that could get me fired, I won't be able to release it to everyone, maybe if I understand how it works, if it works at all on the g3, I can develop my own tool, but this is all wishful thinking.
EDIT: the special file that is loaded into the app (you choose a file, I think it overides bootloader security chain certificate), just causes the app to crash on the G3, so no luck there unless I get this file from LG (we are not working on the G3 at this time in my company), so no hope with that, but there is a way obviously since this app without root is able to bypass bootloader (it shows a warning about security on the bootloader after)

sooti said:
This is true, I work with LG and they sent the company I work for a tool that loads code into the bootloader allowing unsigned code to run (we need it since we run vitual environments), I wonder if this tool is only for the LG device we test it on (can't tell you the model) or can be used on any device,
it allows fastboot to write code to kernel + bootloader, something that always fails with the default tot without this app.
I will test it on my g3, hope it doesn't brick it, if it doesn't on one hand this may be the key to unlock and develop ROMs, on the other hand since the software is company property that could get me fired, I won't be able to release it to everyone, maybe if I understand how it works, if it works at all on the g3, I can develop my own tool, but this is all wishful thinking.
Click to expand...
Click to collapse
Well, then good luck, if you need someone to test, I happily will
I wanted to get my device unlocked through jtag in a shop (but unfortunately I haven't found one owning a board in my city yet), with it, it shouldn't be the problem and in theory it should be possible to flash those images at least with dd afterwards on to other d855 when I pull them from my device. With comparing the locked and unlocked bootloader images through a hexeditor it may could even be possible to find an unlock for other variants, but that's all theory for now as well.

Tectas said:
Well, then good luck, if you need someone to test, I happily will
I wanted to get my device unlocked through jtag in a shop (but unfortunately I haven't found one owning a board in my city yet), with it, it shouldn't be the problem and in theory it should be possible to flash those images at least with dd afterwards on to other d855 when I pull them from my device. With comparing the locked and unlocked bootloader images through a hexeditor it may could even be possible to find an unlock for other variants, but that's all theory for now as well.
Click to expand...
Click to collapse
I don't think a jtag will unlock the bootloader as it is not a hard lock, its a security check that runs at boot, you'd need a bootloader image that bypasses the security check, flashing an unlocked bootlader is not the problem, its getting one that is the problem.
jtag is only useful in hard bricks of a device where the bootloader is bad. i could be wrong though.

sooti said:
I don't think a jtag will unlock the bootloader as it is not a hard lock, its a security check that runs at boot, you'd need a bootloader image that bypasses the security check, flashing an unlocked bootlader is not the problem, its getting one that is the problem.
jtag is only useful in hard bricks of a device where the bootloader is bad. i could be wrong though.
Click to expand...
Click to collapse
Sure it's "just" a security check, but there should be a flag at the bootloader indicating if it should be used or not (at least any watchdog I know of can be turned off in some way and this is basically just a watchdog), with jtag you're able to access the bootloader as you would with a serial port and you can get and set the variables of the bootloader, so when you find the fitting flag you should be able to turn it off, but as said, that's just theory for now.
Sent from my LG-D855

Just as notification, i've changed the repository name to reflect what i'm trying to achive with it.
I'm also working on including the other variants at the repository, D851 is allready added, but not finished yet, i've already updated the guide with the commands to compile for the d851.

Hey,
I'm searching for testers for the merges I've done and the proper fictionality on other variants than the d855 I own myself (for now d850, d851 and LS990).
If you want to participate please check by at the related thread ( http://forum.xda-developers.com/showthread.php?t=2840790 ) and leave a comment
Sent from my LG-D855

Dose this work for d8511??

jpeps3 said:
Dose this work for d8511??
Click to expand...
Click to collapse
If you're talking about the d851, yes, it's supported.
Sent from my LG-D855

Tectas said:
The op
Click to expand...
Click to collapse
can't we make a cm kernel like the lg g2 (kitkat bootloader)kernel, I mean just build a cm kernel on top af the stock one so that the security doesn't get triggered nevermind lg has caved in they are releasing an bootloader unlock soon
http://forum.xda-developers.com/showpost.php?p=54691624&postcount=1

suljo94 said:
can't we make a cm kernel like the lg g2 (kitkat bootloader)kernel, I mean just build a cm kernel on top af the stock one so that the security doesn't get triggered nevermind lg has caved in they are releasing an bootloader unlock soon
http://forum.xda-developers.com/showpost.php?p=54691624&postcount=1
Click to expand...
Click to collapse
Can't tell, I must confess, but can take a look at it. For now it is still possible to use custom kernels, when you boot it through fastboot, what for sure is far from being optimal, but at least something.
Hopefully lg won't wait too long till the unlock is released.
Sent from my LG-D855

Stock kernal for d851 please
---------- Post added at 11:50 PM ---------- Previous post was at 10:55 PM ----------
Can please. Add fast charger

This looks freaken awesome ?

I have a question....
If I have a D855P model (Telcel Mexico) and I actually have tested TWRP for D855, rom SphinX G3 Neo V2.0 for D855 both of them with success and my stock build.prop says
ro.build.id=KVT49L
ro.product.model=LG-D855
ro.product.brand=lge
ro.product.name=g3_global_com
ro.product.device=g3
ro.product.board=MSM8974
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.board.platform=msm8974
ro.build.description=g3_global_com-user 4.4.2 KVT49L 1401998873 release-keys
ro.build.fingerprint=lge/g3_global_com/g3:4.4.2/KVT49L/1401998873:user/release-keys
Click to expand...
Click to collapse
Does it mean that I can flash the custom D855 kernels when available??

badtzo said:
I have a question....
If I have a D855P model (Telcel Mexico) and I actually have tested TWRP for D855, rom SphinX G3 Neo V2.0 for D855 both of them with success and my stock build.prop says
Does it mean that I can flash the custom D855 kernels when available??
Click to expand...
Click to collapse
Yes, you can
Sent from my LG-D855

Hey Tectas how hard would it be to enable over clocking and underclocking on the d851 since it has an unlocked bootloader?

helikido said:
Hey Tectas how hard would it be to enable over clocking and underclocking on the d851 since it has an unlocked bootloader?
Click to expand...
Click to collapse
Not really that hard, but it got nothing to do with the bootloader, that's just a kernel thing, because of the unlocked bootloader you're just able to successfully flash and use a custom kernel permanently and not just temporarily over fastboot (if you try it at a locked bootloader it won't boot).
Sent from my LG-D855

Related

Good News! For LG Optimus L9 p760, Its Bootloader has been unlocked via JB update.

After 3 months. ie. on 13-3-2013
As spokesperson from LG promised, LG has finally released Jelly bean update for Optimus L9 with unlocked bootloader. Hip hip hurray... :victory:
here is the original post:
I recently contacted LG regarding unlocking of bootloader of LG Optimus L9
They told that Optimus L9 p760 EU will be unlocked via next OTA.
But they’re not sure about the other variants because operator’s decision hasn’t been made yet.
I think this would greatly help the developers owning P760 EU.
I just hope it helps other variant's of Optimus L9 aswell and just hope there's is not much different between other variants hardware wise.
Specially p765 which is almost identical twin in terms of specs.
Here’s the original reply from LG spokesperson:
Dear DavinderSingh
Thank you foryour interest about our mobile phone.“We received your request on LG Open Source Code Distribution site (http://opensource.lge.com).This site isjust for providing source codes of FOSS (Free and Open Source Software) we haveused in our product.”
P760 EU Open will beunlocked on next version update.We estimatethat you can receive the version during the first quarter of this year.But we arenot sure that the other models because operator’s decision hasn’t made yet
We hope thisinformation will help you.​Thank you.
Sincerelyyours,
LGE MCCompany Open Source Code Distribution Center
Click to expand...
Click to collapse
Unbelievable!
you think it had something to do with the petition?
good news!
hamdimo said:
Unbelievable!
you think it had something to do with the petition?
good news!
Click to expand...
Click to collapse
GOD knows, May be?!
which variant of LG Optimus L9 do you have? I have P765 (Asian version).
i have the European version p760
hamdimo said:
i have the European version p760
Click to expand...
Click to collapse
Lucky you.
er.davinder said:
Lucky you.
Click to expand...
Click to collapse
There's almost no difference between out two models, so i'm sure the devs will figure out a way to unlock yours too
"fingers crossed"
P760 EU Open will beunlocked on next version update.
Click to expand...
Click to collapse
Wait wait wait. Dont jump too high. Its LG pals.
When they say next version update, they really must be meaning "next version update", but they have not told exactly when. So just wait until it really comes.
They said LG Optimus 2x will be given ICS in August 2011 (was printed on box too) then they said 2012Q1, then said 2012Q2 (facebook lg italy) but finally they released it in Dec 2012.
I hope this is not the same kind of TROLLING with us. lol I am not being so negative, but its really hard to believe this company.
EDIT: BTW, Mr. Davinder Singh, how did you get P760 in India? Officially LG L9 released P765 in India, its on website too. Nothing about P760 on indian section of LG.
@cmahendra sir i have LG optimus L9 p765 asian version same as your.
Re: Good News! For LG Optimus L9 p760, Its Bootloader will be unlocked via OTA update
I wish someone would pull their boot.img and recovery.img from the other variants so I could compare them to see if one variant that has an unlocked boot loader would be a universal fix for the entire L9 range.
Sent from my LG-P769 using xda app-developers app
er.davinder said:
@cmahendra sir i have LG optimus L9 p765 asian version same as your.
Click to expand...
Click to collapse
Oh, er.davinder sir, I thought you have P760 as you got reply for this device from LG. I wonder, what made you ask this for Europe Version of LGP760?
angryGTS said:
I wish someone would pull their boot.img and recovery.img from the other variants so I could compare them to see if one variant that has an unlocked boot loader would be a universal fix for the entire L9 range.
Click to expand...
Click to collapse
Pull boot.img and recovery.img from which version? Can't you do that?
I saved this procedure long time back, but its FOR LINUX ONLY from Galaxy Ace thread. Not for windows user like me.
Download this: http://www.mediafire.com/?zdw766gu35o0fb6 to follow readme.txt that is included. (It's for Linux)
---------------------------
Europe have only V10A for P765, this also means next update will be most probably V10B. I think all experts should check V10B from all countries, may be they are unlocked too.
I had asked LG guy info on bootloader unlock for all the variants L9 , The Lg guy only told me about p760 eu.*
I guess angryGTS wants to compare all the boot.img,recovery.img but he only has his own boot.img/recovery.img.
Lets make a table of Features/Differences and ROM compatibility chart for Lg optimus L9 variants.
Re: Good News! For LG Optimus L9 p760, Its Bootloader will be unlocked via OTA update
Right. I only have the P769BK. I would like to compare the other variants mount ponts, boot, etc to see if they are all equal on that aspect so we could possibly get a universal bootloader if they arent already the same.
Sent from my LG-P769 using xda app-developers app
angryGTS said:
Right. I only have the P769BK. I would like to compare the other variants mount ponts, boot, etc to see if they are all equal on that aspect so we could possibly get a universal bootloader if they arent already the same.
Click to expand...
Click to collapse
Bootloader is very important part of Android and it is made proprietory by each manufacturere. If bootloader of P760 is working on P765 without issue then probably at least these two L9 variants have matching bootloader. I may be wrong. Tell me.
PS: By the way V10G is officially released for P760.
Re: Good News! For LG Optimus L9 p760, Its Bootloader will be unlocked via OTA update
You are absolutely correct but since these are the same phones in essence minus some small difference like smaller screen and lack of NFC for the P769 and a couple other minor differences in hardware that shouldnt effect the way the phone boots or the mount points for recovery etc. Thats why i wish someone with the other variants would either pull the boot and recovery or at least post the mounting points like on the thread for the P769 in the Development section. (If what i typed made any sense lol)
Sent from my LG-P769 using xda app-developers app
cmahendra said:
Bootloader is very important part of Android and it is made proprietory by each manufacturere. If bootloader of P760 is working on P765 without issue then probably at least these two L9 variants have matching bootloader. I may be wrong. Tell me.
PS: By the way V10G is officially released for P760.
Click to expand...
Click to collapse
angryGTS said:
You are absolutely correct but since these are the same phones in essence minus some small difference like smaller screen and lack of NFC for the P769 and a couple other minor differences in hardware that shouldnt effect the way the phone boots or the mount points for recovery etc. Thats why i wish someone with the other variants would either pull the boot and recovery or at least post the mounting points like on the thread for the P769 in the Development section. (If what i typed made any sense lol)
Click to expand...
Click to collapse
Now we know that P760 KDZ is working fine on P765, this means both bootloaders are same or bootloader of P760 works perfect on P765.
This also means if we have UNLOCKED BOOTLOADER for V760 (europe), it will also be used as unlocked bootloader for P765 Roms. Wild guesses, though, but please tell me if this is wrong.
cmahendra said:
Now we know that P760 KDZ is working fine on P765, this means both bootloaders are same or bootloader of P760 works perfect on P765.
Click to expand...
Click to collapse
Eah, and I see guy on forum, what flashed P768 with P760 firmware. Worked to, but not as good as planned :laugh:
P765 and P760 differs with NFC presence and whatever else they changed in hardware.
cmahendra said:
This also means if we have UNLOCKED BOOTLOADER for V760 (europe), it will also be used as unlocked bootloader for P765 Roms. Wild guesses, though, but please tell me if this is wrong.
Click to expand...
Click to collapse
Suspect what it is not as easy as it writtent.
PS: extract bootloader.img and recovery.img from device or .KDZ file not so hard, so if someone want - I can give this files from my P765...
AngryWolf80 said:
Eah, and I see guy on forum, what flashed P768 with P760 firmware. Worked to, but not as good as planned :laugh:
P765 and P760 differs with NFC presence and whatever else they changed in hardware.
Suspect what it is not as easy as it writtent.
PS: extract bootloader.img and recovery.img from device or .KDZ file not so hard, so if someone want - I can give this files from my P765...
Click to expand...
Click to collapse
• The person who flashed P760 on P765, said he had no issue so far.
• You are right. Things are not easy like this. I am just thinking of some possibility. Many a times people are logically right, but technically wrong.
• Please share information of the way to extract bootloader.img and recovery.img from device or KDZ in Windows environment, if possible?
cmahendra said:
• The person who flashed P760 on P765, said he had no issue so far.
Click to expand...
Click to collapse
Sounds good. I've seen in some early reviews of P765 what it has NFC contacts and antenna, but NFC was disabled in firmware. Now P765 doesn't have this hardware parts ever
cmahendra said:
• Please share information of the way to extract bootloader.img and recovery.img from device or KDZ in Windows environment, if possible?
Click to expand...
Click to collapse
On device you must use dd utility from console or ADB:
dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/recovery of=/sdcard/recovery.img bs=4096
dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/boot of=/sdcard/boot.img bs=4096
That's all, in /sdcard you have two files... Don't know if dd present in stock firmware, but with busybox it's definitely works.
With .KDZ a bit harder...
By the first you must extract .KDZ file - LG-P970 ROM COVERTER 2.1.exe, what I found on this site, works just great (there an other utils, but this best, thanks for it's author). This utility converts .KDZ in to two files: LGP765_V10E_00_AP.bin and LGP765_V10E_00_CP.fls (in my case).
LGP765_V10E_00_AP.bin - that's unpacked firmware.
Now you should grab some HEX editor and get recovery and boot images from .bin file (I used xvi32). Find "ANDROID!" strings (case sensitive!).
The first occurrence will be something like this "boot linux from emmc: mmc failed to read bootimg header ANDROID! boot linux from emmc: bad boot image magic", search next. After you find this string, just after "ANDROID!" you have structure, described in bootimg.h header (http://www.netmite.com/android/mydroid/cupcake/system/core/mkbootimg/bootimg.h). You must get size from there and cut .img file with this size from .bin
Then you must use split_bootimg.pl perl utility to extract files from .img images. In windows you must have perl installed or use CygWin. I have Linux notebook, so I used Linux on this step, because it's simpler and faster...
Sorry for my english, I'm not used to write such manuals
AngryWolf80 said:
Sounds good. I've seen in some early reviews of P765 what it has NFC contacts and antenna, but NFC was disabled in firmware. Now P765 doesn't have this hardware parts ever
On device you must use dd utility from console or ADB:
dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/recovery of=/sdcard/recovery.img bs=4096
dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/boot of=/sdcard/boot.img bs=4096
That's all, in /sdcard you have two files... Don't know if dd present in stock firmware, but with busybox it's definitely works.
With .KDZ a bit harder...
By the first you must extract .KDZ file - LG-P970 ROM COVERTER 2.1.exe, what I found on this site, works just great (there an other utils, but this best, thanks for it's author). This utility converts .KDZ in to two files: LGP765_V10E_00_AP.bin and LGP765_V10E_00_CP.fls (in my case).
LGP765_V10E_00_AP.bin - that's unpacked firmware.
Now you should grab some HEX editor and get recovery and boot images from .bin file (I used xvi32). Find "ANDROID!" strings (case sensitive!).
The first occurrence will be something like this "boot linux from emmc: mmc failed to read bootimg header ANDROID! boot linux from emmc: bad boot image magic", search next. After you find this string, just after "ANDROID!" you have structure, described in bootimg.h header (http://www.netmite.com/android/mydroid/cupcake/system/core/mkbootimg/bootimg.h). You must get size from there and cut .img file with this size from .bin
Then you must use split_bootimg.pl perl utility to extract files from .img images. In windows you must have perl installed or use CygWin. I have Linux notebook, so I used Linux on this step, because it's simpler and faster...
Sorry for my english, I'm not used to write such manuals
Click to expand...
Click to collapse
Thanks a lot dude! I will try the first method and will reply. Putting this in my FAQ with link to this post.
EDIT: Got error message "cannot open for read: Permission denied"
cmahendra said:
EDIT: Got error message "cannot open for read: Permission denied"
Click to expand...
Click to collapse
where?

Knock Code Update D800 Att

My wife's phone just received an update to software version d80020u. I can confirm that it has knock code support. Not sure what else has changed.
I got the update this morning as well but I can't tell any difference other than the version change to D80020u. I can't seem to find any release notes anywhere, either.
Screenshots knock code attached.
Very nice, hope this is integrated into roms and kernels soon.
knock code with screen off right?
osmosizzz said:
knock code with screen off right?
Click to expand...
Click to collapse
Yes...
If anyone knows how to extract update from dkpgfile here are the update files
Sent from my Potato powered G2 D800
I can confirm that IORoot and AutoRec do work fine on the new 80020u version. Only problem is that when AutoRec installs its modded kernel you lose Knock-On. Anyone up to modding this new kernel to work with a custom recovery.
kwd114 said:
I can confirm that IORoot and AutoRec do work fine on the new 80020u version. Only problem is that when AutoRec installs its modded kernel you lose Knock-On. Anyone up to modding this new kernel to work with a custom recovery.
Click to expand...
Click to collapse
I can't for the life of me find the thread now, but I seen somewhere that this happened on the F320 (I believe, but variant might not matter anyway) as well. Entering a dial code solved the issue.
Edit: Did some more searching.. maybe this will help.. http://forum.xda-developers.com/showpost.php?p=53341788&postcount=822
If not, once LG releases the new kernel source, AutoRec will get updated, as mentioned here -> http://forum.xda-developers.com/showpost.php?p=53355705&postcount=831
btm fdr said:
I can't for the life of me find the thread now, but I seen somewhere that this happened on the F320 (I believe) as well. Entering a dial code solved the issue.
Click to expand...
Click to collapse
Do you mean entering the 3845#*800# in phone dialer and going to settings option and doing update touch firmware? If so it might not work
kwd114 said:
I can confirm that IORoot and AutoRec do work fine on the new 80020u version. Only problem is that when AutoRec installs its modded kernel you lose Knock-On. Anyone up to modding this new kernel to work with a custom recovery.
Click to expand...
Click to collapse
Autorec is using the old 20c kernel because lg has not dropped the source for d80020u and because of this knock on breaks, you will need to wait until we get source so that the devs can create d800 kernels with knock code support+update autorec so it doesn't break knock on
Sent from my Potato powered G2 D800
XxZombiePikachu said:
Do you mean entering the 3845#*800# in phone dialer and going to settings option and doing update touch firmware? If so it might not work
Autorec is using the old 20c kernel because lg has not dropped the source for d80020u and because of this knock on breaks, you will need to wait until we get source so that the devs can create d800 kernels with knock code support+update autorec so it doesn't break knock on
Sent from my Potato powered G2 D800
Click to expand...
Click to collapse
Hah, you posted right after I found the info and edited my post. That was the dialer code I was referring to but wasn't sure if it'd work either.
btm fdr said:
Hah, you posted right after I found the info and edited my post. That was the dialer code I was referring to but wasn't sure if it'd work either.
Click to expand...
Click to collapse
hi guys anyone can post a zip that have the latest update, because i cant update via OTA.
i have a 4.4.2 D80020c root with a Stock recovery.
thanks in advanced
DaNiElCoRe said:
hi guys anyone can post a zip that have the latest update, because i cant update via OTA.
i have a 4.4.2 D80020c root with a Stock recovery.
thanks in advanced
Click to expand...
Click to collapse
Why can't you update? Is it saying you're up to date/check again in a certain amount of time? If so, just bump your date up a couple days and check again. I went from 10d - 10q - 20u in like 5 mins yesterday morning.
Sent from my LG-D800 using XDA Free mobile app
btm fdr said:
Why can't you update? Is it saying you're up to date/check again in a certain amount of time? If so, just bump your date up a couple days and check again. I went from 10d - 10q - 20u in like 5 mins yesterday morning.
Sent from my LG-D800 using XDA Free mobile app
Click to expand...
Click to collapse
Because im from colombia and doesnt have a active at&t simcard.
Manbot27 said:
Very nice, hope this is integrated into roms and kernels soon.
Click to expand...
Click to collapse
+1! Keeping my eyes open for this apk / add-on.
This post has the basics, but it looks like it will require a special kernel.
http://forum.xda-developers.com/showthread.php?t=2780244
rfarrah said:
This post has the basics, but it looks like it will require a special kernel.
http://forum.xda-developers.com/showthread.php?t=2780244
Click to expand...
Click to collapse
Yes the devs already know we have to wait until LG decides to drop the 20u kernel source which is what is needed to make the adjustments needed so that it can boot the 4.2 bootloader which has the Loki exploit for us to be able to flash roms/kernels and after the source is dropped the devs will be able to make the d800 kernel support knock code with screen off
Sent from my potato powered LG G3 D800

[Question] Is there any hardware difference between the p760 and p769?

Other than the obvious screen SIZE difference, is there anything that would stop me from just modifying the updater-script of a p760 rom and running it on the p769?
Radio firmware isn't an issue, so long as it's just mobile data that is affected.
Yes there is. Compare the sources of ROMs built for both devices, and you'll see.
Sent from my SM-G920W8 using Tapatalk
DarryDoo said:
Yes there is. Compare the sources of ROMs built for both devices, and you'll see.
Sent from my SM-G920W8 using Tapatalk
Click to expand...
Click to collapse
Or I could have looked at the unlocking instructions for each device and noticed that the display is the major difference, but also the radios are different.
It has been FAR harder than it should be just to find a p760 V20B Europe Open kdz with an active download link.
I have V20C installed, but I can't find which bin to patch, and all I can find is a patched version of the Poland Open bin 11...but no Poland Open KDZ.
Worst part? I can obtain root with the restore method, but I can't get the bootstrap recovery to work!
if you wnat to flash a new rom you dont have to unlock the bootloader just follow this http://forum.xda-developers.com/optimus-l9/general/guide-install-custom-roms-locked-t3249828
ajbiz11 said:
Other than the obvious screen SIZE difference, is there anything that would stop me from just modifying the updater-script of a p760 rom and running it on the p769?
Radio firmware isn't an issue, so long as it's just mobile data that is affected.
Click to expand...
Click to collapse
I have made a ROM for both variants and I can tell you they are mostly the same. They have different screen size and different accelerometer/sensor, and P760 has NFC. That's why there are different vendor firmware for both.
It's not possible to just port an already compiled ROM from one to another since they use different kernels, but when compiling it from source it's quite quite easy to build for both variants.

RS988 ROM and Kernel Compatibility

Just wondering what roms have worked successfully on the RS988, as well as Kernels. I've not seen any evidence of any compatibility, but I'm not sure I want to risk it without confirming that first. Thanks for any and all replies.
To the best of my knowledge... none.
alex03man said:
Just wondering what roms have worked successfully on the RS988, as well as Kernels. I've not seen any evidence of any compatibility, but I'm not sure I want to risk it without confirming that first. Thanks for any and all replies.
Click to expand...
Click to collapse
ED2O9 said:
To the best of my knowledge... none.
Click to expand...
Click to collapse
Yeah currently there ate no ROMs or kennels for any other devices except h830 (t mobile) and h850 (unlocked European version). This is due to the fact that those were the only devices that could be boot loader unlocked. Now if this new method is working for you guys on other devices and you have working twrp for your devices that actually flash files then the devs building ROMs for the two currently supported should be able to include the other devices but do NOT flash any roms for any other device to yours. Kindly ask the devs (like @King_lilrowrow or @gwolfu) if they could support your devices. I don't currently fully know if this is possible as I'm not sure you guys can flash files via twrp successfully yet, you would have to ask a dev. If unable to flash files you may need twrp updated for each device (kernel specific stuff), but again not sure as I'm not a developer. Hopefully this heels and hopefully you guys get a chance to enjoy custom ROMs like I have. I know I couldn't deal without, I'm a flashaholic. I actually returned my RS988 for a h830.
jeffsga88 said:
Yeah currently there ate no ROMs or kennels for any other devices except h830 (t mobile) and h850 (unlocked European version). This is due to the fact that those were the only devices that could be boot loader unlocked. Now if this new method is working for you guys on other devices and you have working twrp for your devices that actually flash files then the devs building ROMs for the two currently supported should be able to include the other devices but do NOT flash any roms for any other device to yours. Kindly ask the devs (like @King_lilrowrow or @gwolfu) if they could support your devices. I don't currently fully know if this is possible as I'm not sure you guys can flash files via twrp successfully yet, you would have to ask a dev. If unable to flash files you may need twrp updated for each device (kernel specific stuff), but again not sure as I'm not a developer. Hopefully this heels and hopefully you guys get a chance to enjoy custom ROMs like I have. I know I couldn't deal without, I'm a flashaholic. I actually returned my RS988 for a h830.
Click to expand...
Click to collapse
If other G5's have BL unlocked and a working build of TWRP then it will be easy for me to add support to my CM14.1 (LineageOS) builds.
The TWRP version targeting 20a/b isn't 100% needed but avoids issues with TZ assertion.
The only device I'm aware of thats close to an unlock method (via someone I know) is the H840 (LG G5 SE)
When any other G5 model is supported you'll see it on our GitHub site: https://www.github.com/ConquestTeam/
King_lilrowrow said:
If other G5's have BL unlocked and a working build of TWRP then it will be easy for me to add support to my CM14.1 (LineageOS) builds.
The TWRP version targeting 20a/b isn't 100% needed but avoids issues with TZ assertion.
The only device I'm aware of thats close to an unlock method (via someone I know) is the H840 (LG G5 SE)
When any other G5 model is supported you'll see it on our GitHub site: https://www.github.com/ConquestTeam/
Click to expand...
Click to collapse
Yeah from what I read in this thread http://forum.xda-developers.com/lg-g5/how-to/guide-adb-root-rw-dm-verity-off-sprint-t3523499 it appears that this method allowed them to flash twrp, although not sure if it's working 100% (I know they're having issues flashing SuperSU). Not sure if it's also unlocking the boot loader or not or of it simply bypasses the boot loader unlocking issues like old exploits on g2, g3 and g4. But as I said before I'm on h830 so not sure about this method and what exactly it's doing. But it appears to replace recovery with twrp. Also it appears to only be disabling DM verity and mounting system as rw via adb, not sure if it's allowing you to do this via twrp or not. Again if not, I'm assuming that you may need a new twrp built based on the modified kernel and boot image this method flashes. If that's they case maybe someone can goto twrp thread and ask support to be added specifically for these other versions, don't know.
King_lilrowrow said:
When any other G5 model is supported you'll see it on our GitHub site: https://www.github.com/ConquestTeam/
Click to expand...
Click to collapse
Getting a 404.
fallenturtle said:
Getting a 404.
Click to expand...
Click to collapse
github.com/kinglilrowrow
The team I was in parted ways, I work alone now
King_lilrowrow said:
github.com/kinglilrowrow
The team I was in parted ways, I work alone now
Click to expand...
Click to collapse
Since RS988 is now bootloader unlockable, do you have any plans to support this device?
I appreciate your work!!
lentm said:
Since RS988 is now bootloader unlockable, do you have any plans to support this device?
I appreciate your work!!
Click to expand...
Click to collapse
At this time my focus is bringing up the G6 as well as a few other projects I'm working on.
I may look into supporting the RS988 and H840 shortly.
King_lilrowrow said:
At this time my focus is bringing up the G6 as well as a few other projects I'm working on.
I may look into supporting the RS988 and H840 shortly.
Click to expand...
Click to collapse
Sorry to bug, but did you ever get the chance to look into RS988 support?
Thanks.
King_lilrowrow said:
At this time my focus is bringing up the G6 as well as a few other projects I'm working on.
I may look into supporting the RS988 and H840 shortly.
Click to expand...
Click to collapse
Any update? I'd really appreciate rs988 support!
RS988 Porting
So now that we have full bootloader and root capability w/custom recovery. Does anyone know what it would take to port any AOSP ROMS or stock ROM's like Fulmics to this device?
jmgamer12 said:
So now that we have full bootloader and root capability w/custom recovery. Does anyone know what it would take to port any AOSP ROMS or stock ROM's like Fulmics to this device?
Click to expand...
Click to collapse
Not sure but I do know it would make many of us very happy to see it. I've not stumbled upon the root procedure yet but anxious to get started.
LGtMgG2t said:
Not sure but I do know it would make many of us very happy to see it. I've not stumbled upon the root procedure yet but anxious to get started.
Click to expand...
Click to collapse
If you look it up in XDA, there Are already threads with bootloader unlock + root + TWRP threads to get you started. I'm running stock rooted and it's pretty solid. Just wanna see if this device can get into the ROM game
Sent from my RS988 using Tapatalk
Hey, did you use TWRP? Thx
jmgamer12 said:
So now that we have full bootloader and root capability w/custom recovery. Does anyone know what it would take to port any AOSP ROMS or stock ROM's like Fulmics to this device?
Click to expand...
Click to collapse
Yes
-lukin- said:
Hey, did you use TWRP? Thx
Click to expand...
Click to collapse
Yes. It's currently the only custom recovery for this device.
Cool I see h830 and h850 on the TWRP devices page. So rs988 works too? :good:
jmgamer12 said:
Yes. It's currently the only custom recovery for this device.
Click to expand...
Click to collapse
-lukin- said:
Cool I see h830 and h850 on the TWRP devices page. So rs988 works too? :good:
Click to expand...
Click to collapse
If you poke around LG G6 ROM Development forums you'll find a thread on unlocking bootloader's for this device and there is a download for the RS988 specific TWRP. It's not on the TWRP site
Sent from my RS988 using Tapatalk
"LG G5 ROM Development forums" - Good tip!
jmgamer12 said:
If you poke around LG G6 ROM Development forums you'll find a thread on unlocking bootloader's for this device and there is a download for the RS988 specific TWRP. It's not on the TWRP site
Sent from my RS988 using Tapatalk
Click to expand...
Click to collapse
-lukin- said:
"LG G6 ROM Development forums" - Good tip!
Click to expand...
Click to collapse
Whoops slight error. I meant LG G5
Sent from my RS988 using Tapatalk

[ROM] TWRP Flashable Stock Nougat

Here is the latest Stock Nougat build for Harpia in TWRP flashable format.
This zip does not include gpt (partition table) or bootloader, so you can downgrade back to your official stock build without any issues.
Usage is simple:
Copy file to device storage
Reboot into TWRP
Flash zip
Profit!
Please remember to hit the "thanks" button if this file helps you!
NPIS26.48-43-2 (June 1st, 2018)
*Deprecated*
Credits:
Android
Lenovorola
@tal.aloni for SparseConverter posted here:
https://forum.xda-developers.com/showthread.php?t=2749797
@erfanoabdi for imgpatchtools posted here:
https://forum.xda-developers.com/an...ev-img-patch-tools-sdat2img-ota-zips-t3640308
@A.S._id for img repack tools posted here:
https://forum.xda-developers.com/showthread.php?t=2600364
@xpirt for sdat tools posted here:
https://forum.xda-developers.com/an.../how-to-conver-lollipop-dat-files-to-t2978952
Can you add for XT1602 Retail ? It would be useful to have it for that variant too.
Thanks!
add to XT1600 please, thankful
:angel:
Do you mean I can flash everything about India retail and then get the stock Nougat update?
proudlytm said:
Can you add for XT1602 Retail ? It would be useful to have it for that variant too.
Thanks!
Click to expand...
Click to collapse
The latest file I know of for XT1601/XT1602 is:
HARPIA_MPI24.241-15.3_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
It is already finished, just need to upload and post links.
If you know of a more recent build, please post the filename or build.prop.
Death_GM said:
add to XT1600 please, thankful
:angel:
Click to expand...
Click to collapse
I haven't heard of the XT1600 variant and have not seen any fastboot files for it. If there is one, please post the filename or build.prop.
facuarmo said:
Do you mean I can flash everything about India retail and then get the stock Nougat update?
Click to expand...
Click to collapse
The latest file I know of for India is:
HARPIA_RETASIA-RETIN_MPI24.241-2.33_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
I can do that one, but there is no nougat update for any harpia variant at the time of this post afaik.
If you know of a more recent build, please post the filename or build.prop.
Q9Nap said:
The latest file I know of for India is:
HARPIA_RETASIA-RETIN_MPI24.241-2.33_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
I can do that one, but there is no nougat update for any harpia variant at the time of this post afaik.
If you know of a more recent build, please post the filename or build.prop.
Click to expand...
Click to collapse
Oh, someone told me that he received the Nougat update a month ago on his harpia, sad joke lol.
Added Consumer Cellular, Amazon, US Cellular, and Verizon builds, as well as credits including links to the tools I used to create these files, enjoy!
Please harpia 1602 Europa
nick more said:
Please harpia 1602 Europa
Click to expand...
Click to collapse
Please read the op regarding build requests.
Just added MPI24.241-2.33, MPI24.241-2.43, MPI24.241-2.45, and MPIS24.241-15.3-7.
All known build numbers are now available
If you have/know of a build number not currently included, please post a request including the build number.
Enjoy!
Just wanted to give a huge thank you for posting these. I flashed one and it fixed my GPS issue so thank you so much.
One question, is there anywhere to see the release dates of each radio? I'm just curious the order of which is oldest and newest.
Thank you again.
I have a XT1603 (Brazil) with the build number MPIS24.241-15.3-7, if i flash the fastboot MPIS24.241-15.3-7 will work, right? And can you provide a link to the zip MPIS24.241-15.3-7 that i can flash with adb through PC?
Thanks @Q9Nap
BigNaes said:
Just wanted to give a huge thank you for posting these. I flashed one and it fixed my GPS issue so thank you so much.
One question, is there anywhere to see the release dates of each radio? I'm just curious the order of which is oldest and newest.
Thank you again.
Click to expand...
Click to collapse
You can use simg2img to unsparse the NON-HLOS.bin to NON-HLOS.raw, then use a hex editor to search for the date.
You can do the same with fsg, the other component of the radio, also; it is already unsparsed, so no need to use simg2img.
EmersonTR said:
I have a XT1603 (Brazil) with the build number MPIS24.241-15.3-7, if i flash the fastboot MPIS24.241-15.3-7 will work, right? And can you provide a link to the zip MPIS24.241-15.3-7 that i can flash with adb through PC?
Thanks @Q9Nap
Click to expand...
Click to collapse
Yes.
https://firmware.center/firmware/Motorola/Moto G4 Play/Stock/
https://mirrors.lolinet.com/firmware/moto/harpia/official/
Thanks again for the radios and for helping me check the dates! I have one more question which I can't seem to answer myself.
In the names of the radios, some start with MPI (example MPI24.241-15.3) while other radios begin with MPIS (example MPIS24.241-15.3-7). Do you know what this difference means? I have not been unable to find the meaning of this difference. Thanks again.
BigNaes said:
Thanks again for the radios and for helping me check the dates! I have one more question which I can't seem to answer myself.
In the names of the radios, some start with MPI (example MPI24.241-15.3) while other radios begin with MPIS (example MPIS24.241-15.3-7). Do you know what this difference means? I have not been unable to find the meaning of this difference. Thanks again.
Click to expand...
Click to collapse
I'm not sure what the difference is either, except that "MPIS" seems to be on the most recent builds.
Sorry for all the questions, but I do have another.
As I have been having constant GPS problems, I have been trying many of the radios to see if there is any solution or change to the issue. I havent found a solution yet.
I am curious if you think there is any danger or risk in flashing one of the amazon/verizon radios on a non-verizon or non-amazon phone? The baseband version is the same as my phone on stock the only difference being you have versions listed for Verizon and Amazon as well.
Thanks again for all the help.
@Q9Nap,
Thank you so much for these files.
Question:
Which one of the fastboot files is for the xt1607 U.S. Retail version?
Also, I have the xt1609 Verizon variant of the Moto G4 play. Can I flash the fastboot files for the xt1607 on my phone?
Since there are no gpt or bootloader files I'm wondering if it will work?
Thanks
BigNaes said:
Sorry for all the questions, but I do have another.
As I have been having constant GPS problems, I have been trying many of the radios to see if there is any solution or change to the issue. I havent found a solution yet.
I am curious if you think there is any danger or risk in flashing one of the amazon/verizon radios on a non-verizon or non-amazon phone? The baseband version is the same as my phone on stock the only difference being you have versions listed for Verizon and Amazon as well.
Thanks again for all the help.
Click to expand...
Click to collapse
The only difference between standard and verizon/amazon builds is the oem partition; everything else is the same.
So you could flash those radios, but the result wouldn't be any different.
classic757 said:
@Q9Nap,
Thank you so much for these files.
Question:
Which one of the fastboot files is for the xt1607 U.S. Retail version?
Also, I have the xt1609 Verizon variant of the Moto G4 play. Can I flash the fastboot files for the xt1607 on my phone?
Since there are no gpt or bootloader files I'm wondering if it will work?
Thanks
Click to expand...
Click to collapse
U.S. Retail UMTS: MPI24.241-2.35-1
U.S. Retail CDMA: MPI24.241-2.47, MPI24.241-2.50
If you've somehow managed to unlock the xt1609 bootloader, then yes you can use these files; afaik though, an unlock solution hasn't been released as of this writing.
I have flashed xt1609 files on my xt1607 successfully though, so it would work if the bootloader was unlocked.
Q9Nap said:
If you've somehow managed to unlock the xt1609 bootloader, then yes you can use these files; afaik though, an unlock solution hasn't been released as of this writing.
I have flashed xt1609 files on my xt1607 successfully though, so it would work if the bootloader was unlocked.
Click to expand...
Click to collapse
Thanks.
Unfortunately the xt1609 bootloader is not unlockable at the moment. (neither is there any root method for it. Bummer, huh?)
I just thought that the files could be flashed through adb fastboot as long as I didn't try to flash the bootloader and gpt, which are not included in these files, but apparently the bootloader would still need to be unlocked.

Categories

Resources