HTC 7 Pro, share some thoughts on solving this bootloader problem. - Windows Phone 7 General

I have a HTC 7 Pro:
7.10.7720.68
2250.10.10701.207
0002
3.2.2250.0
Ever since I have the tri color single line brick I have been trying to fix it. Just now I finally found a working 7008 backup from zune. And I succesfully restored it to my phone. But that didnt fix the bootloader.
What I have tried:
wp7 cab sender:
I get 80180048, 81030120 or 801812E0 trying to use the cab sender to force the O2ODEHTGoldHTCOEMUpdate2011.cab for instance. Every cab I try failed to update.
The only working cab was this one:
diff-7.10.7720.68-7.10.7740.16-armv7-retail-microsoft.pks_2cb1bfdd82133914239b8ee1a78e61e9000d124a.cab
So what can I do? I can restore a 7008 backup succesfully.
I can restore my 7.10.7720.68 backup succesfully.
However all Zune updates, or HTC OEM Updates fail when I have 7.10.7720.68 restored on my phone.
And bootloader is stuck at 3.2.2250.0
Is there anyway I can repair my SPL/Bootloader? Goldcard needs to have a USB Host mode right? But since I have the tri color one line screen, a goldcard would not fix my problem, can someone confirm this?
I am currently updating thru zune from my working 7008 backup. 7392 has been succesful, at this very moment 7.0.7403 is installing. I hope it complete.
How do I downgrade from bootloader 3.2.2250.0? Any Idea? Help me fix please. Share your thoughts.
Thank you
Luca+
UPDATE:
Update: 7403 update also worked thru zune. bootloader still 3.2.2250 and it will stay. It will update the OS but the bootloader will stay .

Update:
Yesterday I was able to revert to 7008 the first time and I was happy cause I thought now I can fix it somehow.
Problem as I expected is: I cant go past update 7403 thru tune. When trying to install Update 7.10.7720.68 thru zune this happens:
Zune downloads Updates, Transfers them, then restarts my phone to the connect-to-pc screen and then it sais installing update 0%. It will remain in this state for about 2 minutes and then restarts and I get error 0x80180048. Here is the log:
================================================
START OF UPDATEVALIDATOR ERROR MESSAGES
================================================
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\QC_8x50_ULDR_BOOT.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {DE19F4CF-9586-45CF-B803-CC4BA0313E12}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: QC_8x50_ULDR_BOOT cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\QC_8x50_ULDR.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {6939BB9F-56E4-47F3-AF2A-01DDFB414825}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: QC_8x50_ULDR cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\OEM_8x50_ULDR_GOLD.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {AE4DA1E8-3522-4302-9FD3-1F9F042C9B52}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: OEM_8x50_ULDR_GOLD cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\OEM_8x50_ULDR_BOOT_SURF.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {DD824642-CB6C-4801-806C-B6AF8F46B4BE}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: OEM_8x50_ULDR_BOOT_SURF cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\OEM_8x50_ULDR.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {E090DA69-D370-45D2-AC98-388576C8625F}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: OEM_8x50_ULDR cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\OEM_8x50_ULDR_BOOT.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {BE1A39E2-C197-44BE-80F9-D3F33649F520}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: OEM_8x50_ULDR_BOOT cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\HTC_8x50_ULDR_UI.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {AF4607D-5A02-45DD-BF58-58CC6E29C4A0}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: HTC_8x50_ULDR_UI cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: UpdateOrderFromFileList: ULDR Update: ULDR Update Failed with HRESULT : 0x80180048
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\QC_8x50_NK.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {9B696E96-49E9-44C7-BB3D-B2BD1C833920}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: QC_8x50_NK cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\OEM_8x50_NK_GOLD.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {1A76BBCD-1005-475E-849C-BC16FEF739A0}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: OEM_8x50_NK_GOLD cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\HTC_NKDrivers.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {EE52C775-D0EA-49B1-BFED-CC1F0351EA0C}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: HTC_NKDrivers cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\OEM_8x50_NK_SURF.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {23668647-E6FF-4DD1-AC15-C53AF46B3D67}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: OEM_8x50_NK_SURF cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\HTC_Flashlight.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {7F974147-2C11-438E-808D-F01890CE42E9}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: HTC_Flashlight cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\QC_8x50_NK_PMEM_CFG_2.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {49439A2C-D5C8-4CC0-AA42-63828307B1CA}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: QC_8x50_NK_PMEM_CFG_2 cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\QC_8x50_OS.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {C7A5B7A5-BBF6-49F6-AA76-36A581FA92AD}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: QC_8x50_OS cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\HTC_Global_Customization.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {38603AE6-281C-4015-8243-8343C3A9C61A}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: HTC_Global_Customization cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\HTC_8x50_OS_WIRELESS.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {A2A5F44F-FE02-496E-8926-6EDDC8CF9B44}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: HTC_8x50_OS_WIRELESS cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\HTC_OEMAPPS.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {47C557C0-08B2-493C-A380-08C72D78E3BA}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: HTC_OEMAPPS cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\OEM_8x50_OS_SURF.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {880E6B3C-1DF0-4C83-A820-C36DD6A9560A}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: OEM_8x50_OS_SURF cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\HTC_8x50_OS_UI_COMMON.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {5180F0DC-9ECB-4422-A250-212959EBD147}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: HTC_8x50_OS_UI_COMMON cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\HTC_AppDrivers.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {FA96EAAF-C79F-4F59-AD9C-21435347E9FC}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: HTC_AppDrivers cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\QC_8x50_OS_MMRIL.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {569ADD71-2080-405D-A718-923A7A2AF490}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: QC_8x50_OS_MMRIL cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\HTC_OSDrivers.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {8832CC7E-2E59-4DBA-8C93-9FEF47A1E390}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: HTC_OSDrivers cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\OEM_8x50_OS_CAMERA.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {C6158F86-EF71-4A8B-8C04-0CF57C158B2F}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: OEM_8x50_OS_CAMERA cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\QC_8x50_OS_GPS.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {F0FF42A5-5093-496B-8B2F-38B63870278A}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: QC_8x50_OS_GPS cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\OEM_8x50_OS.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {2E754FF0-EFF9-4889-BBF7-5AEE67424523}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: OEM_8x50_OS cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\HTC_8x50_OS_UI_GOLD.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {796FBEF3-ACAF-451C-A591-087D03F0ED05}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: HTC_8x50_OS_UI_GOLD cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\QC_8x50_OS_MM_CFG_2.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {A3573D54-12B2-4A91-84F6-C572F7703393}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: QC_8x50_OS_MM_CFG_2 cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\OEM_8x50_MODEM.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {15B74B9D-D86C-4E9E-967E-11BFEAAD51E3}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: OEM_8x50_MODEM cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\OEM_8x50_LOGO.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {3C224231-CA68-4B7A-ABA7-63DC88EDA715}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: OEM_8x50_LOGO cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\OEM_8x50_BLDR.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {828A5FA1-00B2-408A-9026-5302DE54E402}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: OEM_8x50_BLDR cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: E_INVALID_SIGNATURE:
Package: \OSRoot\Application Data\Microsoft\DeviceUpdate\Packages\7E90549D-201C-4FF7-8982-14E76DE90FD4.100.pks\OEM_8x50_BSP.cab.pkg FROM Version: 0.0.0.0 TO Version: 2250.21.30201.207 GUID = {3EDB4086-7899-474A-AA93-28BA766DA2CB}
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: OEM_8x50_BSP cannot find a path to highest expected version of: 2250.21.30201.207
ERROR: UpdateOrderFromFileList: MAIN OS Update: MAIN OS Update Failed with HRESULT : 0x80180048
=====================================================================
GOOD PACKAGES AND BAD PACKAGES LIST
=====================================================================
UpdateOrderFromFileList failed with code 0x80180048
BAD PACKAGE 1 : QC_8x50_ULDR_BOOT.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 2 : QC_8x50_ULDR.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 3 : OEM_8x50_ULDR_GOLD.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 4 : OEM_8x50_ULDR_BOOT_SURF.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 5 : OEM_8x50_ULDR.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 6 : OEM_8x50_ULDR_BOOT.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 7 : HTC_8x50_ULDR_UI.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 8 : QC_8x50_NK.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 9 : OEM_8x50_NK_GOLD.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 10 : HTC_NKDrivers.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 11 : OEM_8x50_NK_SURF.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 12 : HTC_Flashlight.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 13 : QC_8x50_NK_PMEM_CFG_2.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 14 : QC_8x50_OS.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 15 : HTC_Global_Customization.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 16 : HTC_8x50_OS_WIRELESS.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 17 : HTC_OEMAPPS.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 18 : OEM_8x50_OS_SURF.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 19 : HTC_8x50_OS_UI_COMMON.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 20 : HTC_AppDrivers.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 21 : QC_8x50_OS_MMRIL.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 22 : HTC_OSDrivers.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 23 : OEM_8x50_OS_CAMERA.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 24 : QC_8x50_OS_GPS.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 25 : OEM_8x50_OS.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 26 : HTC_8x50_OS_UI_GOLD.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 27 : QC_8x50_OS_MM_CFG_2.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 28 : OEM_8x50_MODEM.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 29 : OEM_8x50_LOGO.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 30 : OEM_8x50_BLDR.cab.pkg ERROR CODE: 0x80180008
BAD PACKAGE 31 : OEM_8x50_BSP.cab.pkg ERROR CODE: 0x80180008
Total number of Bad Packages: 31
Process Failed with code 0x80180048
UpdateValidator finished at 08:02:22 01/06/1980 <----------- Why is the date wrong here?
Any ideas? Martin7pro said
See full update log, if possible. May be, only a part of update want missing certificates. Only MODEM.cab from pkg is really needed for unbrick. Ask somebody in UpdateCabSender thread, I do not understand to certificates magement. Try Windows Phone Support Tool (MS solution for 80180048 error). M.
Click to expand...
Click to collapse
Support Tool sais: The tool cannot recover this phone. Please contact technical support.
Reverting back to 7008 has been a downstep now. I have spent so many hours trying to solve this...

What happens if I take out the SD card and format it. is there a internal backup on the rom to solve this issue?
I am no pro, but the log file shows that there are things missing that the 7.10.7720 needs to have have in order to update.
Bring some light into my darkness ^^

Is there a way to deploy these files into the directory manually? WHat do these logs mean? Are there certain files missing, resulting in this update disaster?
Please could someone just tell me wether there is a possibility to fix this OR tell me that its not possible so I can finally give it back to the shop and have experts at HTC fix it.
Here are some more logs:
================================================
START OF UPDATEAPP INFO MESSAGES
================================================
Setting the installing update state.
ERROR: 0x80180048 : Updatevalidator in ULDR reported this error. Update cannot continue.
Error during update: Function: UpdateMain::StartUpdate, Line: 1346, Hr: 0x80180048, GetLastError: 0
Update failed. hr = 0x80180048
Update Application - Completed Post Update @ 00:00:46
Update Application - Returning 0x80180048
Attempting to clear the 'installing IU' update state
succeeded
Clearing the persistent update flag.
succeeded
=====================================================================
ULDR OS UPDATE START
=====================================================================
=====================================================================
FOLLOWING PACKAGES ARE ALREADY PART OF THE BASE IMAGE ON THE DEVICE: Searching \ULDR2
=====================================================================
Found Base Package \ULDR2\3bed3629-af98-4f2a-8274-a225d203c9b1.dsm.
Adding Package: MSXIPKERNEL_uldr
Package GUID = {3BED3629-AF98-4F2A-8274-A225D203C9B1} Package Version: 7.10.7720.68
Interface GUID = {0000-0000-0000-0000-000000000000} Interface Version: 0.0.0.0
Found Base Package \ULDR2\65827abb-b824-4994-bd6d-6a4657482987.dsm.
Adding Package: IUCORE
Package GUID = {65827ABB-B824-4994-BD6D-6A4657482987} Package Version: 7.10.7720.68
Interface GUID = {CD1A0DBC-51AE-4AAE-B308-CAA46A0DB74B} Interface Version: 0.0.0.0
Found Base Package \ULDR2\233078d8-5dfe-4cb4-990e-7c883968ce03.dsm.
Adding Package: BaseDrivers_ULDR_OS
Package GUID = {233078D8-5DFE-4CB4-990E-7C883968CE03} Package Version: 7.10.7720.68
Interface GUID = {18ED86C7-88D8-4A50-85CF-8920BF01CA81} Interface Version: 0.0.0.0
Found Base Package \ULDR2\596c1c95-b566-4918-8d66-c420b54174ec.dsm.
Adding Package: ULDRCRYPTO
Package GUID = {596C1C95-B566-4918-8D66-C420B54174EC} Package Version: 7.10.7720.68
Interface GUID = {7304A89A-1CDF-4DE7-ADCF-F85592F8203D} Interface Version: 7.0.0.0
VerifySignatures failed for graph with base name of HTC_8x50_ULDR_UI. Trying to find another path.
ERROR: E_CANNOT_UPDATE_TO_HIGHEST_VERSION: CreatePaths: For package named: HTC_8x50_ULDR_UI cannot find a path to highest expected version of: 2250.21.30201.207
BuildReturnValues: Returning HRESULT 0x80180048
ERROR: UpdateOrderFromFileList: ULDR Update: ULDR Update Failed with HRESULT : 0x80180048
=====================================================================
MAIN OS UPDATE START
=====================================================================
MESSAGE: 15 RESERVED Section(s) found on this Device
=====================================================================
FOLLOWING PACKAGES ARE ALREADY PART OF THE BASE IMAGE ON THE DEVICE: Searching \NK
=====================================================================
Found Base Package \NK\b5332311-48f1-4b76-ad70-8efa5db8fa3a.dsm.
Adding Package: MSXIPKERNEL
Package GUID = {B5332311-48F1-4B76-AD70-8EFA5DB8FA3A} Package Version: 7.10.7720.68
Interface GUID = {0000-0000-0000-0000-000000000000} Interface Version: 0.0.0.0
Found Base Package \NK\eebbabb2-0689-4692-9e80-5eb9a62126d1.dsm.
Adding Package: BaseDrivers_NK
Package GUID = {EEBBABB2-0689-4692-9E80-5EB9A62126D1} Package Version: 7.10.7720.68
Interface GUID = {96B1E6DD-B30E-42C6-85E9-233CB33E6BD2} Interface Version: 0.0.0.0

Can anyone provide me with links to Htc 7 Pro cabs, files? If I format the SD, and boot the phone with cleared SD, will it work at all anymore?
There must be a way to fix this damn bootloader....
goldcard?

Have you unlocked OS?
How have you downgrade to 7008?
Have you dev-unlocked OS now?
If yes, you can do anything manually (files and registry changing).
If not, I am not sure, but I mean Chevron old version can work also on 7008 (7004 certainly).

OK martin, but how can I fix my bootloader if files are missing?
can you help me with a short tutorial?
After many tries I managed to restore 7008 with zune.

ok got regedit working. I managed to update to 7740. however bootloader still at 3.xx
how can I fix the reg so the oemupdate with SPL bootloader will work?

See my translated unbrick manual. BEFORE mango update try change registry values, which are changed by U2M7720, to MS original, or try use "DoNot U2B2" feature. If no success, write me, we will try more.

Related

[HELP!] Groundhog Day of my Defy

I've buy used Defy. Seller say me:
Point -1 "I tried to update update it on my pc and I got stuck on bootloader with Code corrupt message".
Point 0 After 3 weeks delivery battery was full discharged, so I plug charger, and see battery's animation.
Point 1 Normal boot of Android. I see all previous users data: SMS, call log, photos, games, etc...
Ok! Reboot to stock recovery -> wipe data/factory reset -> wipe cash -> reboot.
And all exactly as befor a factory reset. Return to Point 1.
Point 2 Of course - RSDLite and stock.sbf - it can quick resolve of all problems, as I've think naively.
Code:
02:05:44, February 11, 2012
Line: 537
ERROR: AP Die ID: 15000109f11468010000dcff0200
02:05:44, February 11, 2012
Line: 544
ERROR: BP Die ID: 0000000000000000000000000000
02:05:45, February 11, 2012
Line: 551
ERROR: AP Public ID: d0e71bd823eaaf9db675d65371b6e26df979ea09
02:05:45, February 11, 2012
Line: 558
ERROR: BP Public ID: 0000000000000000000000000000000000000000
02:08:33, February 11, 2012
Line: 1480
ERROR: Phone[0000]: Error verifying Code Group 32 checksums. File: 0x4805, Phone: 0x4A05
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:12:33, February 11, 2012
Line: 1434
ERROR: Phone[0000]: Error geting subscriber unit checksum. Device API Error: 0xE003003F Command: RQRCS
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:12:33, February 11, 2012
Line: 1480
ERROR: Phone[0000]: Error verifying Code Group 33 checksums. File: 0x8BAC, Phone: 0x4A05
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:16:33, February 11, 2012
Line: 1434
ERROR: Phone[0000]: Error geting subscriber unit checksum. Device API Error: 0xE003003F Command: RQRCS
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:16:33, February 11, 2012
Line: 1480
ERROR: Phone[0000]: Error verifying Code Group 34 checksums. File: 0xAB80, Phone: 0x4A05
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:17:33, February 11, 2012
Line: 1434
ERROR: Phone[0000]: Error geting subscriber unit checksum. Device API Error: 0xE0030009 Command: RQRCS
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:17:33, February 11, 2012
Line: 1480
ERROR: Phone[0000]: Error verifying Code Group 35 checksums. File: 0x100C, Phone: 0x4A05
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:18:33, February 11, 2012
Line: 1434
ERROR: Phone[0000]: Error geting subscriber unit checksum. Device API Error: 0xE0030009 Command: RQRCS
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:18:33, February 11, 2012
Line: 1480
ERROR: Phone[0000]: Error verifying Code Group 39 checksums. File: 0xC7E6, Phone: 0x4A05
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:19:33, February 11, 2012
Line: 1434
ERROR: Phone[0000]: Error geting subscriber unit checksum. Device API Error: 0xE0030009 Command: RQRCS
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:19:33, February 11, 2012
Line: 1480
ERROR: Phone[0000]: Error verifying Code Group 42 checksums. File: 0x4BB7, Phone: 0x4A05
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:20:33, February 11, 2012
Line: 1434
ERROR: Phone[0000]: Error geting subscriber unit checksum. Device API Error: 0xE0030009 Command: RQRCS
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:20:33, February 11, 2012
Line: 1480
ERROR: Phone[0000]: Error verifying Code Group 45 checksums. File: 0x738D, Phone: 0x4A05
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:21:33, February 11, 2012
Line: 1434
ERROR: Phone[0000]: Error geting subscriber unit checksum. Device API Error: 0xE0030009 Command: RQRCS
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:21:33, February 11, 2012
Line: 1480
ERROR: Phone[0000]: Error verifying Code Group 47 checksums. File: 0x45F0, Phone: 0x4A05
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:22:33, February 11, 2012
Line: 1434
ERROR: Phone[0000]: Error geting subscriber unit checksum. Device API Error: 0xE0030009 Command: RQRCS
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:22:33, February 11, 2012
Line: 1480
ERROR: Phone[0000]: Error verifying Code Group 53 checksums. File: 0xFDFF, Phone: 0x4A05
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:23:33, February 11, 2012
Line: 1434
ERROR: Phone[0000]: Error geting subscriber unit checksum. Device API Error: 0xE0030009 Command: RQRCS
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:23:33, February 11, 2012
Line: 1480
ERROR: Phone[0000]: Error verifying Code Group 61 checksums. File: 0x4A7C, Phone: 0x4A05
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:24:33, February 11, 2012
Line: 1434
ERROR: Phone[0000]: Error geting subscriber unit checksum. Device API Error: 0xE0030009 Command: RQRCS
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:24:33, February 11, 2012
Line: 1480
ERROR: Phone[0000]: Error verifying Code Group 64 checksums. File: 0x85D0, Phone: 0x4A05
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:25:33, February 11, 2012
Line: 1434
ERROR: Phone[0000]: Error geting subscriber unit checksum. Device API Error: 0xE0030009 Command: RQRCS
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:25:33, February 11, 2012
Line: 1480
ERROR: Phone[0000]: Error verifying Code Group 65 checksums. File: 0x2409, Phone: 0x4A05
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashOp.cpp
Device ID: 0
02:25:33, February 11, 2012
Line: 1194
ERROR: Phone[0000]: Flash failed.
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\PST_FP_FlashThread.cpp
Device ID: 0
02:25:33, February 11, 2012
Line: 610
ERROR: Flash failure: Phone[0000]: Error verifying Code Group 32 checksums. File: 0x4805, Phone: 0x4A05 (Error Code: 31),
Detailed Error Details: Direction of the Error=No Direction, Command Value=4000000, Code Group Number=32
File: D:\GitProjectsReleases\hdt_windows_flash\flash\code\flashdll\FlashHdlr.cpp
Device ID: 0
After flashing failed, phone start in bootloader only, and message "Code corrupt" below boot version. Return to Point -1.
Point 3 Short circuit of battery on motherboard was restore phone's normal boot, and now return to Point 1.
I've flash with about 10 different official .sbf, all with same result - Point -1.
I've get root, install 2ndInit - and reboot to Point 1.
I've get root and write CG47 directly to dev/block/mmcblk1p16, then reboot to recovery -> wipe data/factory reset -> wipe cash -> reboot... And return to Point 1 again.
Probably the flash memory is corrupted/damaged from wear and cannot be erased or something...
U can try sbf_flash on Linux...
Sent from my MB525 using xda premium
nogoodusername said:
U can try sbf_flash on Linux...
Click to expand...
Click to collapse
Already tried, same result as RSD Lite.
Good morning.
- You off to see the groundhog?
- I am.
Click to expand...
Click to collapse
TorAll said:
Already tried, same result as RSD Lite.
Click to expand...
Click to collapse
Same, but not at all!
I've tried sbf_flash --groupnane full.sbf step by step.
Succesfully flashed:
CG64 0xB0000000-0xB001FFFF mbr
CG65 0xB0180000-0xB01FFFFF ebr
CG31 0xB0280000-0xB02FFFFF cdt.bin
CG34 0xB0700000-0xB077FFFF lbl
CG61 0xB0B00000-0xB0B7FFFF devtree
CG53 0xB2F00000-0xB32FFFFF kpanic
What this mean, who can answer me?
on what sbf are you now? (in about screen on phone)
Could it be that it was flashed with some sbf that had version 6 or version 7 CG before it got to you? Have you tried flashing some DEFY+ ROM? Or maybe that version 6 Froyo?
But then he wouldn't be able to flash CG31 :s
Think there is really something wrong :/
I would try warranty?
Seems to be not the only one :
http://forum.xda-developers.com/showthread.php?t=1485289
labsin said:
on what sbf are you now? (in about screen on phone)
Click to expand...
Click to collapse
3.4.2-107_jdn-9
labsin said:
I would try warranty?
Seems to be not the only one
http://forum.xda-developers.com/showthread.php?t=1485289
Click to expand...
Click to collapse
Warranty... too sweet for me Motorola fell out of love Russia.
I've searched too, and find couple peaples, who had troubles like me. As far as I know, they dont resolved it.
I have the same problem you have found a solution?

[ROM] AOSP with BlueZ Bluetooth stack HOWTO

Getting Started with Android BlueZ for Lollipop steps
Follow instructions to Initialize Build environment http://source.android.com/source/initializing.html
Download the sources like it is explained in http://source.android.com/source/downloading.html but use my manifest in repo init like
$ repo init -u https://code.google.com/p/android-bluez.manifest/ -b lollipop -m topic/bluetooth/bluez
Get complete Android source tree
$ repo sync
Then build normally following instructions here: http://source.android.com/source/building-running.html
Supported targets
Following targets shall be supported:
Nexus 4 (mako)
Nexus 7 (flo)
Nexus 5 (hammerhead)
Nexus 9 (volantis)
References:
https://code.google.com/p/android-bluez/wiki/AndroidLollipopVolantisBuild
https://code.google.com/p/android-bluez/wiki/AndroidLollipopVolantisBlueZKernelBuild
XDA:DevDB Information
Android BlueZ Nexus 9, ROM for the Nexus 9
Contributors
finikorg
ROM OS Version: 5.0.x Lollipop
Based On: AOSP
Version Information
Status: Testing
Created 2015-01-13
Last Updated 2015-01-13
I get a build error following this instructions
In file included from external/bluetooth/glib/glib/../glib/gtypes.h:34:0,
from external/bluetooth/glib/glib/../glib/gquark.h:34,
from external/bluetooth/glib/glib/gdataset.h:34,
from external/bluetooth/glib/glib/gdataset.c:37:
external/bluetooth/glib/glib/gdataset.c: In function 'g_quark_try_string':
external/bluetooth/glib/glib/../glibconfig.h:85:38: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
#define GPOINTER_TO_UINT(p) ((guint) (guint) (p))
^
external/bluetooth/glib/glib/gdataset.c:1133:13: note: in expansion of macro 'GPOINTER_TO_UINT'
quark = GPOINTER_TO_UINT (g_hash_table_lookup (g_quark_ht, string));
^
external/bluetooth/glib/glib/gdataset.c: In function 'g_quark_from_string_internal':
external/bluetooth/glib/glib/../glibconfig.h:85:38: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
#define GPOINTER_TO_UINT(p) ((guint) (guint) (p))
^
external/bluetooth/glib/glib/gdataset.c:1179:13: note: in expansion of macro 'GPOINTER_TO_UINT'
quark = GPOINTER_TO_UINT (g_hash_table_lookup (g_quark_ht, string));
^
external/bluetooth/glib/glib/gdataset.c: In function 'g_quark_new':
external/bluetooth/glib/glib/../glibconfig.h:88:30: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
#define GUINT_TO_POINTER(u) ((gpointer) (guint) (u))
^
external/bluetooth/glib/glib/gdataset.c:1300:44: note: in expansion of macro 'GUINT_TO_POINTER'
g_hash_table_insert (g_quark_ht, string, GUINT_TO_POINTER (quark));
^
cc1: some warnings being treated as errors
build/core/binary.mk:698: recipe for target 'out/target/product/flounder/obj/SHARED_LIBRARIES/libglib_intermediates/gdataset.o' failed
make: *** [out/target/product/flounder/obj/SHARED_LIBRARIES/libglib_intermediates/gdataset.o] Error 1
In file included from external/bluetooth/glib/glib/gtypes.h:34:0,
from external/bluetooth/glib/glib/galloca.h:34,
from external/bluetooth/glib/glib/glib.h:32,
from external/bluetooth/bluez/android/handsfree.c:32:
external/bluetooth/bluez/android/handsfree.c: In function 'confirm_cb':
external/bluetooth/glib/glibconfig.h:84:37: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
#define GPOINTER_TO_INT(p) ((gint) (gint) (p))
^
external/bluetooth/bluez/android/handsfree.c:1526:13: note: in expansion of macro 'GPOINTER_TO_INT'
dev->hsp = GPOINTER_TO_INT(data);
^
cc1: some warnings being treated as errors
build/core/binary.mk:698: recipe for target 'out/target/product/flounder/obj/EXECUTABLES/bluetoothd-main_intermediates/bluez/android/handsfree.o' failed
make: *** [out/target/product/flounder/obj/EXECUTABLES/bluetoothd-main_intermediates/bluez/android/handsfree.o] Error 1
make: *** wait: No child processes. Stop.

Error when trying to build

I am having a problem building MoKee ROM for the asus zenfone 2 Z00A.
This is what I get:
Code:
target C++: libhealthd.mofd_v1 <= device/asus/mofd-common/libhealthd/healthd_board_mofd_v1.cpp
device/asus/mofd-common/libhealthd/healthd_board_mofd_v1.cpp: In function 'int mapBatteryStatusString(const char*)':
device/asus/mofd-common/libhealthd/healthd_board_mofd_v1.cpp:26:12: error: 'HEALTHD_MAP_CONTINUE_SEARCH' was not declared in this scope
return HEALTHD_MAP_CONTINUE_SEARCH;
^
device/asus/mofd-common/libhealthd/healthd_board_mofd_v1.cpp: In function 'int mapChargeTypeString(const char*)':
device/asus/mofd-common/libhealthd/healthd_board_mofd_v1.cpp:32:16: error: 'BATTERY_CHARGE_TYPE_FAST_CHARGING' is not a member of 'android'
return android::BATTERY_CHARGE_TYPE_FAST_CHARGING;
^
device/asus/mofd-common/libhealthd/healthd_board_mofd_v1.cpp:34:16: error: 'BATTERY_CHARGE_TYPE_UNKNOWN' is not a member of 'android'
return android::BATTERY_CHARGE_TYPE_UNKNOWN;
^
device/asus/mofd-common/libhealthd/healthd_board_mofd_v1.cpp: In function 'void healthd_board_init(healthd_config*)':
device/asus/mofd-common/libhealthd/healthd_board_mofd_v1.cpp:39:13: error: 'struct healthd_config' has no member named 'batteryChargeTypePath'
config->batteryChargeTypePath = "/sys/class/power_supply/battery/status";
^
device/asus/mofd-common/libhealthd/healthd_board_mofd_v1.cpp:40:13: error: 'struct healthd_config' has no member named 'mapBatteryStatusString'
config->mapBatteryStatusString = mapBatteryStatusString;
^
device/asus/mofd-common/libhealthd/healthd_board_mofd_v1.cpp:41:13: error: 'struct healthd_config' has no member named 'mapChargeTypeString'
config->mapChargeTypeString = mapChargeTypeString;
hint: I am new to building.

Trying to update f2fs in d852 kernel

I'm trying to update the f2fs driver for the d852 and cannot get it to compile. I'm new to compiling ROMs so I'm hoping it's something simple. Without these changes I can get lineage to compile with no problems. I have been doing it for a week or so with no issues.
I'm taking https://kernel.googlesource.com/pub/scm/linux/kernel/git/jaegeuk/f2fs-stable/fs/f2fs/* and putting it in kernel/lge/g3/fs/f2fs. I am using the 3.4.y branch from jaedeuk's git. According to my phone currently running lineage, it's using the 3.4.0 kernel.
I get these errors when trying to build lineage for my d852:
Code:
CC fs/ext4/ialloc.o
CC security/keys/process_keys.o
CC fs/ext4/inode.o
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:51:50: error: 'S_SHIFT' undeclared here (not in a function)
static unsigned char f2fs_type_by_mode[S_IFMT >> S_SHIFT] = {
^
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:52:2: error: array index in initializer not of integer type
[S_IFREG >> S_SHIFT] = F2FS_FT_REG_FILE,
^
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:52:2: error: (near initialization for 'f2fs_type_by_mode')
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:53:2: error: array index in initializer not of integer type
[S_IFDIR >> S_SHIFT] = F2FS_FT_DIR,
^
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:53:2: error: (near initialization for 'f2fs_type_by_mode')
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:54:2: error: array index in initializer not of integer type
[S_IFCHR >> S_SHIFT] = F2FS_FT_CHRDEV,
^
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:54:2: error: (near initialization for 'f2fs_type_by_mode')
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:55:2: error: array index in initializer not of integer type
[S_IFBLK >> S_SHIFT] = F2FS_FT_BLKDEV,
^
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:55:2: error: (near initialization for 'f2fs_type_by_mode')
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:56:2: error: array index in initializer not of integer type
[S_IFIFO >> S_SHIFT] = F2FS_FT_FIFO,
^
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:56:2: error: (near initialization for 'f2fs_type_by_mode')
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:57:2: error: array index in initializer not of integer type
[S_IFSOCK >> S_SHIFT] = F2FS_FT_SOCK,
^
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:57:2: error: (near initialization for 'f2fs_type_by_mode')
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:58:2: error: array index in initializer not of integer type
[S_IFLNK >> S_SHIFT] = F2FS_FT_SYMLINK,
^
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:58:2: error: (near initialization for 'f2fs_type_by_mode')
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:51:22: warning: 'f2fs_type_by_mode' defined but not used [-Wunused-variable]
error, forbidden warning: dir.c:51
/root/android/system/kernel/lge/g3/scripts/Makefile.build:307: recipe for target 'fs/f2fs/dir.o' failed
make[3]: *** [fs/f2fs/dir.o] Error 1
/root/android/system/kernel/lge/g3/scripts/Makefile.build:443: recipe for target 'fs/f2fs' failed
make[2]: *** [fs/f2fs] Error 2
make[2]: *** Waiting for unfinished jobs....
Figured it out. Forgot to copy the new include/linux/f2fs_fs.h which defines S_SHIFT.

LineageOS 16.0 mka command give error of packages not found.

I am trying to build lineageOS 16.0 but always getting this error. please help me in solving this.
FAILED: /home/govind/Desktop/androidLineage/out/target/common/docs/lineage-api-stubs-timestamp
/bin/bash -c "(rm -rf /home/govind/Desktop/androidLineage/out/target/common/obj/JAVA_LIBRARIES/lineage-sdk_stubs_current_intermediates/src ) && (mkdir -p /home/govind/Desktop/androidLineage/out/target/common/obj/JAVA_LIBRARIES/lineage-api-stubs_intermediates/ ) && (rm -f /home/govind/Desktop/androidLineage/out/target/common/obj/JAVA_LIBRARIES/lineage-api-stubs_intermediates/droiddoc-src-list ) && (touch /home/govind/Desktop/androidLineage/out/target/common/obj/JAVA_LIBRARIES/lineage-api-stubs_intermediates/droiddoc-src-list ) && (echo -n 'lineage-sdk/host/migration/src/AdbCommand.java lineage-sdk/host/migration/src/Command.java lineage-sdk/host/migration/src/CommandExecutor.java lineage-sdk/host/migration/src/DebuggingCommands.java lineage-sdk/host/migration/src/FastbootCommand.java lineage-sdk/host/migration/src/GenerateExampleSettings.java lineage-sdk/host/migration/src/InsertCommand.java lineage-sdk/host/migration/src/LineageSettings.java lineage-sdk/host/migration/src/MigrationTest.java lineage-sdk/host/migration/src/QueryCommand.java lineage-sdk/host/migration/src/ReadCommand.java lineage-sdk/host/migration/src/RowParser.java lineage-sdk/host/migration/src/Setting.java lineage-sdk/host/migration/src/SettingImageCommands.java lineage-sdk/host/migration/src/SettingsConstants.java lineage-sdk/lib/src/java/org/lineageos/lib/phone/SensitivePhoneNumber.java lineage-sdk/lib/src/java/org/lineageos/lib/phone/SensitivePhoneNumbers.java lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/LineageAudioService.java lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/LineageHardwareService.java lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/LineageSettingsService.java lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/LineageSystemServer.java lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/LineageSystemService.java lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/LineageWeatherManagerService.java lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/NativeHelper.java lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/PerformanceManagerService.java lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/ProfileManagerService.java lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/ProfileTriggerHelper.java lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/StyleInterfaceService.java lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/TrustInterfaceService.java lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/common/LineageSystemServiceHelper.java lineage-sdk/sdk/src/java/lineageos/power/PerformanceManager.java lineage-sdk/tests/src/org/lineageos/tests/common/ThreadServiceTestCase.java lineage-sdk/tests/src/org/lineageos/tests/hardware/LineageHardwareTest.java lineage-sdk/tests/src/org/lineageos/tests/hardware/unit/DisplayModeTest.java lineage-sdk/tests/src/org/lineageos/tests/hardware/unit/LineageHardwareManagerTest.java lineage-sdk/tests/src/org/lineageos/tests/hardware/unit/LiveDisplayManagerTest.java lineage-sdk/tests/src/org/lineageos/tests/media/unit/LineageAudioManagerTest.java lineage-sdk/tests/src/org/lineageos/tests/power/unit/PerfomanceManagerTest.java lineage-sdk/tests/src/org/lineageos/tests/profiles/ProfileTest.java lineage-sdk/tests/src/org/lineageos/tests/profiles/unit/AirplaneModeSettingsTest.java lineage-sdk/tests/src/org/lineageos/tests/profiles/unit/BrightnessSettingsTest.java lineage-sdk/tests/src/org/lineageos/tests/profiles/unit/ConnectionSettingsTest.java lineage-sdk/tests/src/org/lineageos/tests/profiles/unit/LockSettingsTest.java lineage-sdk/tests/src/org/lineageos/tests/profiles/unit/ProfileManagerTest.java lineage-sdk/tests/src/org/lineageos/tests/profiles/unit/ProfileTest.java lineage-sdk/tests/src/org/lineageos/tests/profiles/unit/RingModeSettingsTest.java lineage-sdk/tests/src/org/lineageos/tests/profiles/unit/StreamSettingsTest.java lineage-sdk/tests/src/org/lineageos/tests/providers/LineageSettingsTest.java lineage-sdk/tests/src/org/lineageos/tests/util/ColorUtilTest.java lineage-sdk/tests/src/org/lineageos/tests/versioning/VersioningTest.java lineage-sdk/tests/src/org/lineageos/tests/versioning/unit/BinderTransactionTest.java lineage-sdk/tests/src/org/lineageos/tests/versioning/unit/BuildTest.java lineage-sdk/tests/src/org/lineageos/tests/versioning/unit/ClassPathException.java lineage-sdk/tests/src/org/lineageos/tests/versioning/unit/ClassPathTest.java lineage-sdk/tests/src/org/lineageos/tests/versioning/unit/MagicalDexHelper.java lineage-sdk/tests/src/org/lineageos/tests/versioning/unit/apiv2/ApiV2PriorReleaseInterfaces.java lineage-sdk/tests/src/org/lineageos/tests/versioning/unit/apiv4/ApiV4PriorReleaseInterfaces.java lineage-sdk/tests/src/org/lineageos/tests/versioning/unit/apiv5/ApiV5PriorReleaseInterfaces.java lineage-sdk/tests/src/org/lineageos/tests/weather/unit/DayForecastBuilderTest.java lineage-sdk/tests/src/org/lineageos/tests/weather/unit/LineageWeatherManagerTest.java lineage-sdk/tests/src/org/lineageos/tests/weather/unit/MockWeatherProviderService.java lineage-sdk/tests/src/org/lineageos/tests/weather/unit/ServiceRequestResultBuilderTest.java lineage-sdk/tests/src/org/lineageos/tests/weather/unit/WeatherInfoBuilderTest.java lineage-sdk/tests/src/org/lineageos/tests/weather/unit/WeatherLocationBuilderTest.java lineage-sdk/tests/src/org/lineageos/tests/weather/unit/WeatherProviderServiceTest.java ' >> /home/govind/Desktop/androidLineage/out/target/common/obj/JAVA_LIBRARIES/lineage-api-stubs_intermedi -d /home/govind/Desktop/androidLineage/out/target/common/docs/lineage-api-stubs -hdf page.build PQ3A.190801.002-\$(cat /home/govind/Desktop/androidLineage/out/build_number.txt) -hdf page.now \"\$(date -d @\$(cat /home/govind/Desktop/androidLineage/out/build_date.txt) \"+%d %b %Y %k:%M\")\" -referenceonly -stubpackages lineageos.app:lineageos.content:lineageos.hardware:lineageos.media:lineageos.os:lineageos.preference:lineageos.profiles:lineageos.providers:lineageos.platform:lineageos.power:lineageos.util:lineageos.weather:lineageos.weatherservice:lineageos.style:lineageos.trust -exclude org.lineageos.platform.internal -api /home/govind/Desktop/androidLineage/out/target/common/obj/PACKAGING/lineage_public_api.txt -removedApi /home/govind/Desktop/androidLineage/out/target/common/obj/PACKAGING/lineage_removed.txt -nodocs -stubs /home/govind/Desktop/androidLineage/out/target/common/obj/JAVA_LIBRARIES/lineage-sdk_stubs_current_intermediates/src && touch -f /home/govind/Desktop/androidLineage/out/target/common/docs/lineage-api-stubs-timestamp ) || (rm -rf /home/govind/Desktop/androidLineage/out/target/common/docs/lineage-api-stubs /home/govind/Desktop/androidLineage/out/target/common/obj/JAVA_LIBRARIES/lineage-api-stubs_intermediates/droiddoc-src-list; exit 45) )"
javadoc: warning - The old Doclet and Taglet APIs in the packages
com.sun.javadoc, com.sun.tools.doclets and their implementations
are planned to be removed in a future JDK release. These
components have been superseded by the new APIs in jdk.javadoc.doclet.
Users are strongly recommended to migrate to the new APIs.
lineage-sdk/lib/src/java/org/lineageos/lib/phone/SensitivePhoneNumbers.java:30: error: package com.google.i18n.phonenumbers does not exist
import com.google.i18n.phonenumbers.NumberParseException;
^
lineage-sdk/lib/src/java/org/lineageos/lib/phone/SensitivePhoneNumbers.java:31: error: package com.google.i18n.phonenumbers does not exist
import com.google.i18n.phonenumbers.Phonenumber;
^
lineage-sdk/lib/src/java/org/lineageos/lib/phone/SensitivePhoneNumbers.java:32: error: package com.google.i18n.phonenumbers does not exist
import com.google.i18n.phonenumbers.PhoneNumberUtil;
^
lineage-sdk/lib/src/java/org/lineageos/lib/phone/SensitivePhoneNumbers.java:33: error: package com.google.i18n.phonenumbers.PhoneNumberUtil does not exist
import com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat;
^
lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/LineageAudioService.java:26: error: cannot find symbol
import com.android.server.SystemService;
^
symbol: class SystemService
location: package com.android.server
lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/LineageSystemService.java:20: error: cannot find symbol
import com.android.server.SystemService;
^
symbol: class SystemService
location: package com.android.server
lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/LineageSystemService.java:22: error: cannot find symbol
public abstract class LineageSystemService extends SystemService {
^
symbol: class SystemService
lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/LineageHardwareService.java:28: error: package com.android.server.display does not exist
import com.android.server.display.DisplayTransformManager;
^
lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/LineageHardwareService.java:30: error: cannot find symbol
import com.android.server.SystemService;
^
symbol: class SystemService
location: package com.android.server
lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/LineageHardwareService.java:44: error: package org.lineageos.hardware does not exist
import org.lineageos.hardware.AdaptiveBacklight;
^
lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/LineageHardwareService.java:45: error: package org.lineageos.hardware does not exist
import org.lineageos.hardware.AutoContrast;
^
lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/LineageHardwareService.java:46: error: package org.lineageos.hardware does not exist
import org.lineageos.hardware.ColorBalance;
^
lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/LineageHardwareService.java:47: error: package org.lineageos.hardware does not exist
import org.lineageos.hardware.ColorEnhancement;
^
lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/LineageHardwareService.java:48: error: package org.lineageos.hardware does not exist
import org.lineageos.hardware.DisplayColorCalibration;
^
lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/LineageHardwareService.java:49: error: package org.lineageos.hardware does not exist
import org.lineageos.hardware.DisplayModeControl;
^
symbol: class ServiceThread
location: class PerformanceManagerService
lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/ProfileManagerService.java:52: error: cannot find symbol
import com.android.server.SystemService;
^
symbol: class SystemService
location: package com.android.server
lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/StyleInterfaceService.java:35: error: cannot find symbol
import com.android.server.SystemService;
^
symbol: class SystemService
location: package com.android.server
lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/TrustInterfaceService.java:46: error: package vendor.lineage.trust.V1_0 does not exist
import vendor.lineage.trust.V1_0.IUsbRestrict;
^
lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/TrustInterfaceService.java:72: error: cannot find symbol
private IUsbRestrict mUsbRestrictor = null;
^
symbol: class IUsbRestrict
location: class TrustInterfaceService
lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/display/LiveDisplayService.java:38: error: cannot find symbol
import com.android.server.ServiceThread;
^
symbol: class ServiceThread
location: package com.android.server
lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/display/LiveDisplayService.java:81: error: cannot find symbol
private final ServiceThread mHandlerThread;
^
symbol: class ServiceThread
location: class LiveDisplayService
lineage-sdk/packages/LineageSettingsProvider/tests/src/org/lineageos/lineagesettings/tests/LineageSettingsGlobalTests.java:21: error: package android.test does not exist
import android.test.AndroidTestCase;
^
lineage-sdk/packages/LineageSettingsProvider/tests/src/org/lineageos/lineagesettings/tests/LineageSettingsGlobalTests.java:22: error: package android.test.suitebuilder.annotation does not exist
import android.test.suitebuilder.annotation.SmallTest;
^
lineage-sdk/packages/LineageSettingsProvider/tests/src/org/lineageos/lineagesettings/tests/LineageSettingsGlobalTests.java:25: error: cannot find symbol
public class LineageSettingsGlobalTests extends AndroidTestCase {
^
symbol: class AndroidTestCase
lineage-sdk/packages/LineageSettingsProvider/tests/src/org/lineageos/lineagesettings/tests/LineageSettingsProviderDefaultsTest.java:24: error: package android.test does not exist
import android.test.AndroidTestCase;
^
lineage-sdk/packages/LineageSettingsProvider/tests/src/org/lineageos/lineagesettings/tests/LineageSettingsProviderDefaultsTest.java:25: error: package android.test.suitebuilder.annotation does not exist
import android.test.suitebuilder.annotation.SmallTest;
^
lineage-sdk/packages/LineageSettingsProvider/tests/src/org/lineageos/lineagesettings/tests/LineageSettingsProviderDefaultsTest.java:35: error: cannot find symbol
import org.lineageos.lineagesettings.R;
^
symbol: class R
location: package org.lineageos.lineagesettings
lineage-sdk/packages/LineageSettingsProvider/tests/src/org/lineageos/lineagesettings/tests/LineageSettingsProviderDefaultsTest.java:40: error: cannot find symbol
public class LineageSettingsProviderDefaultsTest extends AndroidTestCase {
^
symbol: class Call
location: interface OpenWeatherMapInterface
lineage-sdk/samples/weatherproviderservice/OpenWeatherMapProvider/app/src/main/java/org/lineageos/openweathermapprovider/openweathermap/LookupCityResponse.java:19: error: package com.google.gson.annotations does not exist
import com.google.gson.annotations.SerializedName;
^
lineage-sdk/sdk/src/java/lineageos/preference/ConstraintsHelper.java:27: error: package android.support.v7.preference does not exist
import android.support.v7.preference.Preference;
^
lineage-sdk/sdk/src/java/lineageos/preference/ConstraintsHelper.java:28: error: package android.support.v7.preference does not exist
import android.support.v7.preference.PreferenceGroup;
^
lineage-sdk/sdk/src/java/lineageos/preference/ConstraintsHelper.java:29: error: package android.support.v7.preference does not exist
import android.support.v7.preference.PreferenceManager;
^
lineage-sdk/sdk/src/java/lineageos/preference/ConstraintsHelper.java:30: error: package android.support.v7.preference does not exist
import android.support.v7.preference.PreferenceViewHolder;
^
lineage-sdk/sdk/src/java/lineageos/preference/ConstraintsHelper.java:61: error: cannot find symbol
private final Preference mPref;
^
symbol: class Preference
location: class ConstraintsHelper
lineage-sdk/sdk/src/java/lineageos/preference/ConstraintsHelper.java:71: error: cannot find symbol
public ConstraintsHelper(Context context, AttributeSet attrs, Preference pref) {
^
symbol: class Preference
location: class ConstraintsHelper
lineage-sdk/sdk/src/java/lineageos/preference/ConstraintsHelper.java:100: error: cannot find symbol
private PreferenceGroup getParent(Preference preference) {
^
symbol: class Preference
location: class ConstraintsHelper
lineage-sdk/sdk/src/java/lineageos/preference/ConstraintsHelper.java:100: error: cannot find symbol
private PreferenceGroup getParent(Preference preference) {
^
symbol: class PreferenceGroup
location: class ConstraintsHelper
lineage-sdk/sdk/src/java/lineageos/preference/ConstraintsHelper.java:104: error: cannot find symbol
private PreferenceGroup getParent(PreferenceGroup root, Preference preference) {
^
symbol: class PreferenceGroup
location: class ConstraintsHelper
lineage-sdk/sdk/src/java/lineageos/preference/ConstraintsHelper.java:104: error: cannot find symbol
private PreferenceGroup getParent(PreferenceGroup root, Preference preference) {
^
symbol: class Preference
location: class ConstraintsHelper
lineage-sdk/sdk/src/java/lineageos/preference/ConstraintsHelper.java:104: error: cannot find symbol
private PreferenceGroup getParent(PreferenceGroup root, Preference preference) {
^
symbol: class PreferenceGroup
location: class ConstraintsHelper
lineage-sdk/sdk/src/java/lineageos/preference/ConstraintsHelper.java:313: error: cannot find symbol
public void onBindViewHolder(PreferenceViewHolder holder) {
^
symbol: class PreferenceViewHolder
location: class ConstraintsHelper
lineage-sdk/sdk/src/java/lineageos/preference/ConstraintsHelper.java:357: error: cannot find symbol
private PreferenceGroup getParent(Preference p1, Preference p2) {
^
symbol: class Preference
location: class Graveyard
lineage-sdk/sdk/src/java/lineageos/preference/ConstraintsHelper.java:357: error: cannot find symbol
private PreferenceGroup getParent(Preference p1, Preference p2) {
^
symbol: class Preference
location: class Graveyard
lineage-sdk/sdk/src/java/lineageos/preference/ConstraintsHelper.java:357: error: cannot find symbol
private PreferenceGroup getParent(Preference p1, Preference p2) {
^
symbol: class PreferenceGroup
location: class Graveyard
lineage-sdk/sdk/src/java/lineageos/preference/ConstraintsHelper.java:361: error: cannot find symbol
private PreferenceGroup getParent(PreferenceGroup root, Preference preference) {
^
symbol: class PreferenceGroup
location: class Graveyard
lineage-sdk/sdk/src/java/lineageos/preference/ConstraintsHelper.java:361: error: cannot find symbol
private PreferenceGroup getParent(PreferenceGroup root, Preference preference) {
^
symbol: class Preference
location: class Graveyard
lineage-sdk/sdk/src/java/lineageos/preference/ConstraintsHelper.java:361: error: cannot find symbol
private PreferenceGroup getParent(PreferenceGroup root, Preference preference) {
^
symbol: class PreferenceGroup
location: class Graveyard
lineage-sdk/sdk/src/java/lineageos/preference/ConstraintsHelper.java:375: error: cannot find symbol
private void hidePreference(PreferenceManager mgr, Preference pref) {
^
symbol: class PreferenceManager
location: class Graveyard
lineage-sdk/sdk/src/java/lineageos/preference/ConstraintsHelper.java:375: error: cannot find symbol
private void hidePreference(PreferenceManager mgr, Preference pref) {
^
symbol: class Preference
location: class Graveyard
lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/LineageHardwareService.java:128: error: cannot find symbol
private final int LEVEL_COLOR_MATRIX_CALIB = LEVEL_COLOR_MATRIX_NIGHT_DISPLAY + 1;
^
symbol: variable LEVEL_COLOR_MATRIX_NIGHT_DISPLAY
location: class LineageHardwareService.LegacyLineageHardware
lineage-sdk/lineage/lib/main/java/org/lineageos/platform/internal/LineageHardwareService.java:129: error: cannot find symbol
private final int LEVEL_COLOR_MATRIX_READING = LEVEL_COLOR_MATRIX_GRAYSCALE + 1;
^
symbol: variable LEVEL_COLOR_MATRIX_GRAYSCALE
location: class LineageHardwareService.LegacyLineageHardware
Editor.java:0: warning 122: Public class android.widget.Editor.SuggestionsPopupWindow extends private class android.widget.Editor.PinnedPopupWindow
lineage-sdk/sdk/src/java/lineageos/providers/LineageSettings.java:3087: warning 121: Member VOLUME_PANEL_ON_LEFT_VALIDATOR references hidden type lineageos.providers.LineageSettings.Validator.
lineage-sdk/sdk/src/java/lineageos/providers/LineageSettings.java:3096: warning 121: Member TETHERING_ALLOW_VPN_UPSTREAMS_VALIDATOR references hidden type lineageos.providers.LineageSettings.Validator.
lineage-sdk/sdk/src/java/lineageos/util/ColorUtils.java:241: warning 121: Member getDominantSwatch references hidden type lineageos.util.palette.Palette.
lineage-sdk/sdk/src/java/lineageos/util/ColorUtils.java:241: warning 121: Member getDominantSwatch references hidden type lineageos.util.palette.Palette.Swatch.
lineage-sdk/sdk/src/java/lineageos/util/ColorUtils.java:241: warning 110: Method lineageos.util.ColorUtils.getDominantSwatch returns unavailable type Palette.Swatch
lineage-sdk/sdk/src/java/lineageos/util/ColorUtils.java:241: warning 110: Parameter of unavailable type lineageos.util.palette.Palette in lineageos.util.ColorUtils.getDominantSwatch()
lineage-sdk/sdk/src/java/lineageos/util/palette/Palette.java:102: warning 110: Parameter of hidden type lineageos.util.palette.Palette.Swatch in lineageos.util.palette.Palette.from()
lineage-sdk/sdk/src/java/lineageos/util/palette/Palette.java:467: warning 110: Parameter of hidden type lineageos.util.palette.Palette.Swatch in lineageos.util.palette.Palette.Builder.Palette.Builder()
DroidDoc took 18 sec. to write docs to /home/govind/Desktop/androidLineage/out/target/common/docs/lineage-api-stubs
2 errors
100 warnings
@govindmh14, I have stumbled upon the same.
Disclaimer:
Lineage team needs better quality control. This is a total mess!!! I have spent 2 days fixing this.
Looks like this commit has ruined the makefile of lineage-sdk package:
https://github.com/LineageOS/android_lineage-sdk/commit/703249ae8d1fa0e20c156f9179a03622ddb0f65c
This commit's author @Rashed97 and @sam3000 converted Android.mk to Android.bp. He stripped out huge portions of code, and the bad thing, stripped out some vital variables like "lineage_sdk_src", which is used in this makefile to generate DROIDDOCs. This has ruined the build process completely!
But even if I add the needed variables back in Android.mk, the build process checks and complains that I have modified the Lineage Public API. Yes I did, because that "legit" API is also ruined. So I had to rewrite 2 files, where that "legit" API resides:
Code:
cp /out/target/common/obj/PACKAGING/lineage_public_api.txt /prebuilts/lineage-sdk/api/9.txt
cp /out/target/common/obj/PACKAGING/lineage_public_api.txt /lineage-sdk/api/lineage_current.txt
Don't forget to add /prebuilts/lineage-sdk package to your local manifest file roomservice.xml like this:
Code:
<project name="LineageOS/android_prebuilts_lineage-sdk" path="prebuilts/lineage-sdk" remote="github" />
Then:
Code:
repo sync
I have attached the patch to fix the broken /lineage-sdk/Android.mk file. Place it into /lineage-sdk folder and apply from there.
Thanks for the fix! I had the same issue with lineage-16.0.
What about committing your patch to lineageos so that it can be reviewed and everyone can benefit from it?

Categories

Resources