Remove security error - AT&T LG G3

I was successful in building a D850 20f kernel from source for Lollipop using Linaro 4.9.3 toolchain. I was on Cloudy 2.2. I remember seeing in the Lollipop lounge that the security error was due to a wallpaper in the ramdisk. I thought it would be easy enough to unpack Cloudy's boot_d850.img and replace it with my zImage. I got a security error after booting. I downloaded cmulk's debloated 20f ROM and kernel boots fine. I was wondering if anyone knows how to remove the security error. Thanks in advance.

fl1p1slander said:
I was successful in building a D850 20f kernel from source for Lollipop using Linaro 4.9.3 toolchain. I was on Cloudy 2.2. I remember seeing in the Lollipop lounge that the security error was due to a wallpaper in the ramdisk. I thought it would be easy enough to unpack Cloudy's boot_d850.img and replace it with my zImage. I got a security error after booting. I downloaded cmulk's debloated 20f ROM and kernel boots fine. I was wondering if anyone knows how to remove the security error. Thanks in advance.
Click to expand...
Click to collapse
Mod please close. I found the wallpaper in the ramdisk and deleted it. Boot.img now boots on Cloudy

Related

[KERNEL] Stock Kernel + SafetyNet Patch | N4F26T

Stock Nexus 5X Kernel + SafetyNet Patch
Current version: android-msm-bullhead-3.10-nougat-mr1.1
Suitable for build: N4F26T
I compiled the stock kernel for the Nexus 5X and applied the SafetyNet patch by sultanxda.
Use case for this kernel:
- If you want to stay completely stock, but have an unlocked bootloader, the SafetyNet is tripped which disables features such as Android Pay.
- This kernel is completely stock except for the addition of a patch that removes the SafetyNet check.
- This kernel is for Android 7.1.1, build N4F26T!!!! This will not work on any prior build.
- All stock features that came with the N4F26T build will work with this kernel (since it's just the stock kernel + patch).
- If you do not have an unlocked bootloader there is no need to use this kernel. It's exactly the same as the kernel included in the N4F26T build, except with the addition of the SafetyNet patch.
- This will not prevent SafetyNet from tripping for other reasons, like rooting.
- This will not remove the "device corrupted" warning when the phone is turned on or rebooted.
Installation:
- Extract <boot_image>.img from zip file
- Test it with: fastboot boot <boot_image>.img
- Once you know it works, flash with command: fastboot flash boot <boot_image>.img
**WARNING**
If flashing this kernel for whatever reason ruins your device, I am not accountable. Use this at your own risk!
And otherwise, I'm not a professional developer, just a hobbyist. Please don't ask me for a ton of help, I only created this kernel because I want to run completely stock, but still use Android Pay while having an unlocked bootloader in case I ever decide to root my device in the future. I will try to maintain this kernel with each new release until I lose interest
(shamelessly copied from Sakete's kernel for the Pixel/Pixel XL. Thanks for the inspiration, Sakete!)
It will work on Rooted Android 7.1.1 NMF26F ?
AFK269 said:
It will work on Rooted Android 7.1.1 NMF26F ?
Click to expand...
Click to collapse
You'll have to test it and let me know as I'm not using it on a rooted phone
If your root method trips SafetyNet then this kernel is useless to you, as it will only bypass the unlocked bootloader check and not the root check.
Well I tried to install your kernel and it is missing files and will not install. I wish there was a way to just flash the bypass of safety net with any kernel that you wanted to use.
weaselskhs said:
Well I tried to install your kernel and it is missing files and will not install. I wish there was a way to just flash the bypass of safety net with any kernel that you wanted to use.
Click to expand...
Click to collapse
Can you clarify? Did you flash with fastboot? What steps did you use?
Bootloop while installing unpacked .img file using TWRP. PixelROM 7.1.1, SuperSU v2.78 SR2
doggie13_ said:
Bootloop while installing unpacked .img file using TWRP. PixelROM 7.1.1, SuperSU v2.78 SR2
Click to expand...
Click to collapse
I wouldn't expect this kernel to work with custom ROMs.
Well that makes sense as I am also running Pixel Rom 7.1.1 and super su
It'd be super cool if this patch worked with PixelRom
Is there a specific reason this doesn't work with custom ROMs?
19lmyers said:
Is there a specific reason this doesn't work with custom ROMs?
Click to expand...
Click to collapse
Well for starters there is code missing from the stock kernel to work properly with the pixel rom. Which begs the question why you would want to flash the stock kernel on a pixel rom when you can use other custom kernels. I believe that Franco's kernel has the safetynet patch included.
Thanks to share
Hi,
Will this work for 6p?
Thanks
turbo81 said:
Hi,
Will this work for 6p?
Thanks
Click to expand...
Click to collapse
No. It's only for Nexus 5X (Bullhead).
Subbed. I'll be waiting for the N4F26I build. I miss using Android Pay.
Does anyone know if there is or will be a patch for the nexus 6p?
drew_t said:
Does anyone know if there is or will be a patch for the nexus 6p?
Click to expand...
Click to collapse
If you want use Franco.Kernel ... He has already did this. Find it at N6P thread, not here.
apatal said:
Subbed. I'll be waiting for the N4F26I build. I miss using Android Pay.
Click to expand...
Click to collapse
+1
I am waiting for N4F26I build.
Updated OP for N4F26I. Unfortunately, my 5X started bootlooping (hardware issue) so I don't have the device to test it with anymore
Updated for N4F26O.

[Dec-25-2016] H850 20B DeOdexed

Your warranty is now void, don't blame me if your phone blows up blahblahblah.
Only system and kernel are being flashed, no Modem, BL, etc. You should already have updated to 20B before using.
Have not tested this myself, due to not owning the H850. edit: flashed it on T-Mobile 830 for fun with 20A 830 boot, no surprise, didn't work.
Decided to post anyway. If your going to use it, BACKUP, BACKUP, BACKUP
Based off of H85020b_00_TIM_IT_OP_1123.kdz
Only things touched are bootanimation (pixel black) and renamed recovery-from-boot.bak. It's also been zip-aligned.
Flash in recovery, profit??
SuperSu and Busybox included. Only /system is wiped, data left alone.
Should be able to dirty flash over current 20B if you like.
Any errors, etc, would most likely be related to deodexing as all files are stock.-Again, haven't tested this one myself
Link: H850_20B_DeOdexed
MD5: 99c9667294d1227de91605b8958233e0
If anyone would like to use this as a base, Great! Would appreciate some credit. [emoji13]
Enjoy.
Optional: Adjust Screen Color
Credits: @Chainfire for supersu. @SuperR. for the kitchen. @PlayerZ_ZawZaw for bootanimation. @jcadduono for TWRP. @bullghost for Firmware Extractor
It's people like them that make Android great!
Finally, thanks to Google/LG & XDA.
...whew.
Reserved
Great work Bro, nice. :good:
A couple questions 1. Isn't 20B just a security patch update? 2. Does this ROM zip upgrade firmware (bootloader , radio, recovery) or just update software. 3. Since it's based off of the Italian H850 variant this won't cause troubles for EU variant?
xlxcrossing said:
A couple questions 1. Isn't 20B just a security patch update? 2. Does this ROM zip upgrade firmware (bootloader , radio, recovery) or just update software. 3. Since it's based off of the Italian H850 variant this won't cause troubles for EU variant?
Click to expand...
Click to collapse
1. Not 100% sure. 2. Just system and kernel are flashed. No M/BL, etc. 3. No idea really.
Received error while flashing, code 7, seems it couldn't locate a certain filesystem and aborts installation - same here with the 20B version
Mr. Schnabel said:
Received error while flashing, code 7, seems it couldn't locate a certain filesystem and aborts installation - same here with the 20B version
Click to expand...
Click to collapse
Hmmm flashed ok on my h830(swapped kernel), wouldnt boot (of course, this is for 850), but still flashed. Not sure why your getting that error, already removed the assert.
lordodin912 said:
Hmmm flashed ok on my h830(swapped kernel), wouldnt boot (of course, this is for 850), but still flashed. Not sure why your getting that error, already removed the assert.
Click to expand...
Click to collapse
Same error... Keep at it tho, something like this could be really useful
If anyone wants to try this themselves here's a quick guide.
You can take the system.img and boot.img from either the kdz with LG Firmware Extractor or from autoprime complete zip.
Then Google "superR kitchen xda", if your using windows there is a VM iso in the thread you can use with VirtualBox etc.
Once you have the kitchen working just remember, set_metadata for perm, use smali/baksmali for deodexing and don't sign the zip or let it remove the meta-inf folders from apps.
In my h850 doesn't finish to install, it remains on initial boot animation.
failax said:
In my h850 doesn't finish to install, it remains on initial boot animation.
Click to expand...
Click to collapse
Flashed ok but stuck on LG logo? May need to flash no verify or "format data" in TWRP. BACKUP everything if formatting.
Ok so I just clean flashed my 20a for h830 and got that error code 7, doesn't happen on dirty. Just restarted TWRP after wiping and then it flashed ok. Might be the same problem over here.

Just to be sure I do this right...

Hi. this is in regards to the rom here:
Dual/Single] HaoZeke's LineageOS [8-4-17]
And my device is a Sony Xperia Z5 model 6653 currently running a modified 32.3 A.0.376 with a patched Kernel running 7.0 and I am rooted
.I'm kinda new to the modifying of droids. I've had one since ever having a phone, but just got into tweaking them.
I just want to be sure I'm doing this right because sometimes the boot image is attached to the zip file or include in the package but I'm assuming we download
it separately here, right? I'm only guessing since I see it located by itself in the dl list. Also, this IS the kernel too right? Or do I have to download that as well somewhere?
I had an image but it's not taking them I guess. Basically the download screen, all the builds and the boot image. I would take the top build as it's newest and the boot image?
Also, flash twrp from that source after flashing the gapps?
In fact what is the order? Rom, then Gapps, then Boot (if we use that boot file) and then finally TWRP?
And Magisk doesn't have to be flashed I think but just gotten in the play store provided this Rom is already rooted?
Also, wanted to be sure this is correct. ARM... 64 for the GAPPS?
Thanks for your help in advance. I appreciate it. I've had a ton of issues with other lineage 7.1 builds and issues with error 7 . I've rewritten updater scripts to no avail, deleting the asserts and nothing . This is the last one I'm trying as it sounds the coolest anyway. Thanks again.
Hello,
ARM64 for gapps, and proper order of flashing is : rom, gapps, boot optionally and then supersu or whatever you want.
And for me deleting asserts line always work, i will send you link with already modified that updater script.

Flashing and Bootlooping

Hi everyone, im currently using stock Xperia XZ firmware. and after I flashing supersu (2.65, 2.68 and 2.73 version) file, my phone wont boot to startup, just stuck at sony's logo. at first i thought maybe my mistake to flash 2.73 because this were made for nougat. so i use 2.65 and 2.68 . but the problem keep repeating.. i dont know where went wrong.... help me guys
any ideas what wrong?
Android Version - 6.0.1
Kernel - stock kernel
Build Number - 39.0.A.1.213
Device - XZ Dual (F8332)
shazwansulleh said:
any ideas what wrong?
Kernel - stock kernel
Click to expand...
Click to collapse
cross posting - read the forum rules
And as I wrote in the cross posted message: use a custom kernel

[STOCK][N] H850 20q OPEN EU ROM Flashable ZIPs + KDZ

Stock Firmware H850 v20q OPEN EU ROM
There is a newer version available: H850 v20s. Thread: https://forum.xda-developers.com/lg-g5/development/stock-h850-20s-eu-rom-flashable-zips-kdz-t3719732
[Update 10-05-2018] Downloads removed to gain storage for newer versions.
KDZ-File: H85020q_00_OPEN_EU_OP_1025.kdz (MD5)
Flashable ZIP Complete: LG-H85020q-Flashable.COMPLETE.zip (MD5)
Flashable ZIP Boot: LG-H85020q-Flashable.Boot.zip (MD5)
Flashable ZIP Bootloader: LG-H85020q-Flashable.Bootloader.zip (MD5)
Flashable ZIP Modem: LG-H85020q-Flashable.Modem.zip (MD5)
Android 7.0
Patch level: 1st October 2017
Baseband: MPSS.TH.2.0.c1.4-00047-M8996FAAAANAZM-1.101802.1.109832.1
Kernel: 3.18.31
Build: NRD90U
Changes according LG:
- Security updates
Instructions: Please use autoprime's H850 20D install directions here: https://forum.xda-developers.com/lg-g5/development/stock-h850-20d-eu-rom-flashable-zips-t3592762.
Works with TWRP 3.1.1 and SuperSu v2.82.
To build the ZIPs I used parts of autoprime's previous files. Thx again to him.
Disclaimer: This is not an official post by LG to update the firmware! Don't blame me if you destroy your phone. If you use these files and instructions you do it at your own risk!
Great! I had to flash the kdz to have it but now this is way to easier! Thank you so much!
This is great! Thank you very much.
Little report:
I flashed asgard kernel v7 and it totally screwed my bluetooth so I had to flash yours Flashable ZIP Boot: LG-H85020q-Flashable.Boot.zip to reverse the damage done by asgard as I didn't do any boot backup and this is what my software info says after flashed your zip. I was on stock kdz rom 20q version but now all seems screwed and also like your zip report like it is 20n version, see the attached image.
thewhisper said:
Little report:
I flashed asgard kernel v7 and it totally screwed my bluetooth so I had to flash yours Flashable ZIP Boot: LG-H85020q-Flashable.Boot.zip to reverse the damage done by asgard as I didn't do any boot backup and this is what my software info says after flashed your zip. I was on stock kdz rom 20q version but now all seems screwed and also like your zip report like it is 20n version, see the attached image.
Click to expand...
Click to collapse
Can't say why your Bluetooth isn't working anymore... But are you aware that you are not running an EUR device? I'm not sure if you can swap parts of the firmware from OPT2 to EUR that easy.
thewhisper said:
Little report:
I flashed asgard kernel v7...
Click to expand...
Click to collapse
Asgard kernel requires bootloader 10d or something, so it automatically flashes that. It also flashed kernel modules to /system/lib/modules
So you probably now have bootloader 10D with 10Q rom, with Asgard kernel modules... on top of that stock kernel uses forced module signing, so now it can't load the modules.
You'd better start over, or flash 10q bootloader and somehow get the right modules into system again.
DavidFlint said:
Can't say why your Bluetooth isn't working anymore... But are you aware that you are not running an EUR device? I'm not sure if you can swap parts of the firmware from OPT2 to EUR that easy.
Click to expand...
Click to collapse
Wow mate, I'm running an EUR H850 LG G5 device
The details above were totally screwed as I explained - after flashing an asgard kernel... Not sure why they werent fixed after fashing your boot zip but now after flashing your complete zip package without no wipes my phone is up and runnig with bluetooth and all the stuff working with no problems again ! I reported the issue above because I thought you may have missed to change some of the strigns that print that info right... Anyway your complete zip works like a charm so I din't have to wipe/reflash kdz from lg brige or lgup so thank you ! Here is my software info page now:
Coming from 20K. Flashed the complete ROM, SU (latest), Xposed 88.2. First boot was about 15 minutes! I almost gave up but after about 10 minutes "Android is upgrading" appeared so I waited more. I had no reception after the upgrade for few minutes (new radio to blame?). Now all seems normal.
I hope it will fix some bugs from 20K. Thanks @DavidFlint and @autoprime !
Does flashing the complete package overwrite TWRP? I'm thinking about going back to stock from Fulmics but bot quite sure how to proceed. Can anybody point me in the right direction?
Like do I flash the complete package, Magisk, and I'm good to go?
This still ARB 0 ?
thewhisper said:
Little report:
I flashed asgard kernel v7 and it totally screwed my bluetooth so I had to flash yours Flashable ZIP Boot: LG-H85020q-Flashable.Boot.zip to reverse the damage done by asgard as I didn't do any boot backup and this is what my software info says after flashed your zip. I was on stock kdz rom 20q version but now all seems screwed and also like your zip report like it is 20n version, see the attached image.
Click to expand...
Click to collapse
Don't know what you did to the Bluetooth but I'm on the latest firmware release from 3UK with the V20D bootloader and my kernel. Everything works with Bluetooth i.e. file transfers and audio streaming.
post image link
Sent from my LG-H850 using Tapatalk
Wow, that was fast! Works like a charme. Many thanks @DavidFlint!
(Battery drain problem seems to be still there, though)
It gives me the error about NT code, strangely I flashed the previous J and didn't have troubles.I have even Orange french bloatware, even if I flashed the one that says "ita" (italy) downloaded from the kdz repository, but I think they put yours as the same for all the europe, same name, same size...
I m on stock 20i EU Rom.. I don't touch anything
I want to update to 20q
How i can do it ?
Ysfzone said:
I m on stock 20i EU Rom.. I don't touch anything
I want to update to 20q
How i can do it ?
Click to expand...
Click to collapse
If you don't see an according automatic update on your phone, you have to flash the KDZ-file via LG UP.
Pro tipp: Use autoprime's UPPERCUT tool, this works very well!
BabelHuber said:
If you don't see an according automatic update on your phone, you have to flash the KDZ-file via LG UP.
Pro tipp: Use autoprime's UPPERCUT tool, this works very well!
Click to expand...
Click to collapse
I will lose any data ?
Ysfzone said:
I will lose any data ?
Click to expand...
Click to collapse
Try it out. I'd make a backup before flashing...
Dirty flashed LG-H85020q-Flashable.COMPLETE.zip in TWRP and flashed SU afterwards.
Coming from 20p ( EEE Europe GB/United Kingdom) or H85020p_00_EEO_GB_OP_0916.kdz, anyone know if this can be an issue?
thanks!
H850 20s EU is available to download
Hi,
Thank you for your work, very happy with it. H850 20s EU ROM is available as on air update. I'll be waiting for your zip release.
Thanks again for the good work.
mistery88 said:
Dirty flashed LG-H85020q-Flashable.COMPLETE.zip in TWRP and flashed SU afterwards.
Coming from 20p ( EEE Europe GB/United Kingdom) or H85020p_00_EEO_GB_OP_0916.kdz, anyone know if this can be an issue?
thanks!
Click to expand...
Click to collapse
I don't know about the ZIP, but if you flash the open eu KDZ on your phone you'll get warning about something. Somewhere on the phone there are settings that the ROM reads and it'll know you're not supposed to use open eu on EEO.
I think deleting the contents of cust partition will remove the warnings, you need root for that, or you can flash Fulmics rom, that should take care of it.

Categories

Resources