1. Download our Official Android App: Forums for Android!

[ROM][UNOFFICAL]LineageOS 13 6/11/2017

Discussion in 'Android Devices' started by spock1104, Dec 28, 2016.

  1. spock1104

    spock1104 Android Expert
    Thread Starter
    223

    Jul 9, 2013
    1,038
    903
    223
    With the recent demise of CM and rebirth as Lineage, I thought it appropriate to create a new thread. So here we are, Lineage OS 13 on the LG Volt LS740.

    [​IMG]

    Code (Text):
    1. /*
    2.  * Your warranty is now potentially void.
    3.  *
    4.  * I am not responsible for bricked devices, dead SD cards,
    5.  * thermonuclear war, or you getting fired because the alarm app failed. Please
    6.  * do some research if you have any concerns about features included in this ROM
    7.  * before flashing it! YOU are choosing to make these modifications, and if
    8.  * you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
    9.  *
    10.  * That's not to say I won't try to help if you're polite about it ;-)
    11.  */
    Download:

    http://www.mediafire.com/file/34qljf3523md26u/lineage-13.0-20170611-UNOFFICIAL-x5.zip
    MD5: B13E1F06DF4DA2B22B4738325C499DB6

    Partially Working:
    NFC
    models with IMX111/IMX179 front camera may exhibit green tint. IMX219 is OK.

    Not working:
    Proximity Sensor
    DT2W

    If you need proximity working, try this instead. Tradeoff: NFC and compass are completely broken, rotation stops after a few days, and the ROM is out of date.
    http://www.mediafire.com/file/b39ptx5sgu6u9iu/cm-13.0-20160819-UNOFFICIAL-x5.zip
    MD5: 1468A8CC4253BB16C0E8F8A219E74FF3

    These builds also support F2FS for the data and cache positions. Using it can speed up your phone a bit more. The noticeable difference is the time it takes to open apps. See the TWRP 3.0.2 thread for details.

    Installation:
    If starting fresh:
    1. I highly recommend that you get an SD Card
    2. Root your phone
    3. Download an app to flash a recovery image. https://play.google.com/store/apps/details?id=me.twrp.twrpapp&hl=en or https://play.google.com/store/apps/details?id=de.mkrtchyan.recoverytools&hl=en
    4. Install a recovery. TWRP 3.0.2 recommended, or CM Recovery
    5. Optional, use Titanium Backup or Helium to back up your apps and data.
    6. Reboot to recovery.
    7. Optional but very highly recommended, make a backup. If you lose something, I will laugh at you.
    8. Wipe cache, dalvik-cache, system, and data
    9. Flash the ROM
    10. Flash GAPPS http://opengapps.org/ (6.0)
    11. Many find that the stock APNs don't work (needed for 4G access), so you might need to flash an APN. Sprint/VM/Boost or RingPlus
    12. Reboot to system
    13. If you backed up your apps at step 5, use the same app to restore.
    A note on using Titanium Backup with Android 6, it won't let you directly access the SD Card. You must click Menu, Preferences, Backup Folder Location, (click to change) next to Storage Provider, DocumentProvider, ..., Show SD Card, hamburger, sdcard1, SELECT (DO NOT select a folder), from backup folder location find your TitaniumBackup folder on your SD Card, then USE THE CURRENT FOLDER.

    If upgrading from one of my builds (unless I indicate you need to do a full wipe):
    1. Reboot to recovery
    2. Optionally but recommended, make a backup
    3. Flash the ROM update
    4. Flash your APN
    5. Wipe Cache/Dalvik
    6. Reboot to system
    7. ???
    8. Profit

    Acknowledgements/Thanks:
    @Bad_MOFO_33
    @whoshotjr2006
    @Ph0enix_216
    @ShapeShifter499
    Quarx2k
    vm03
    NikitaProAndroid
    invisiblek

    Previous life of this ROM: http://androidforums.com/threads/just-throwing-this-out-there-cm13-for-g2-mini-sources.977839/

     

    Advertisement

    #1 spock1104, Dec 28, 2016
    Last edited: Jun 11, 2017
  2. spock1104

    spock1104 Android Expert
    Thread Starter
    223

    Jul 9, 2013
    1,038
    903
    223
    Changelog:
    6/11/17:
    Pull latest LineageOS source

    4/9/17:
    Rework WCNSS driver (sorry the last build sucked!)
    Switch to Cortex-A7 optimization (msm8926 does not use krait)(maybe slight speed/stability boost?)
    Pull latest LineageOS source

    2/19/17:
    Update kernel WCNSS driver (more WiFi fixes)
    slight boost to speaker
    Pull latest LineageOS source

    2/6/17:
    Pull latest LineageOS source

    1/28/17:
    Switch to CM provided RIL (more stable LTE connection)
    Fix WiFi from disconnecting while asleep

    1/16/17:
    Fix rotation, gravity, acceleration, and compass sensors
    Update GPS
    Pull latest LineageOS source

    12/28/16:
    Change source to LineageOS

    LineageOS changes can be viewed at https://www.cmxlog.com/13/
     
    #2 spock1104, Dec 28, 2016
    Last edited: Jun 11, 2017
  3. spock1104

    spock1104 Android Expert
    Thread Starter
    223

    Jul 9, 2013
    1,038
    903
    223
    Log collection
    This is a work in progress, and the only way it gets better is with feedback. If something goes awry, I need logs to try to find the issue.

    If you have an issue that is not causing a reboot, usually an app not working right, then in most cases I need a logcat. dmesg is a plus but probably not necessary.

    If you have an issue that causes the phone to reboot, I absolutely need /proc/last_kmsg.

    If you don't have logs for your issue I'm usually helpless and you'll be ignored. If you have logs, I'll try my damnedest to investigate at the next opportunity I have. But I wouldn't mind some help with that, I don't get a lot of time for this.

    Helping you and me reduce battery drain

    In order to reduce battery drain, we need to know what on the phone is actually draining it. We can accomplish this via Better Battery Stats. Download and install the app, and give it root permissions.

    What can you do to reduce your own battery use?
    Monitor the partial wakelocks, which will come from apps waking the phone up to do their thing. Some apps just like to be greedy about their CPU usage. If it's an app you can do without, uninstall it. Make a backup first, either nandroid or with Titanium Backup. If you want or need to keep the app, I recommend using Greenify to hibernate the app.

    What can you do to help me reduce battery use?
    Monitor the kernel wakelocks tab. If it looks like the kernel has gone wild:
    • Open the BetterBatteryStats settings
    • Open Advanced
    • Open Sharing Options
    • Select Text, Logcat, and dmesg
    • Go back to the main screen
    • Select the share button in the top right
    • Select save
    • Grab the dated BetterBatteryStats, dmesg, and logcat files from your sdcard
     
    #3 spock1104, Dec 28, 2016
    Last edited: Dec 28, 2016
  4. spock1104

    spock1104 Android Expert
    Thread Starter
    223

    Jul 9, 2013
    1,038
    903
    223
    DEVELOPERS NEEDED

    This is a work in progress and open source. I have limited time to work on it and would rather not do so alone. So, here's the basics to get started. The environment will also set you up for ROM building for the eventuality we get full ROM builds from source.

    Environment
    This can be done on either a dedicated box or a virtual machine. I've seen recommendations of 50-100GB of space, but I recommend 150 for managing several build directories at once. Follow most of the instructions on Initializing a Build Environment | Android Developers but read below for alternate instructions first! Also don't mind the RAM requirements, I used to run my virtual machine with 4GB and it was fine, if a little slow. If you can, 8GB is plenty. It's also worth mentioning here that I'm using ubuntu 14.04 and can't guarantee these steps are enough to create a ROM in any other OS.

    Don't follow the software or Java instructions. For software packages, do the following:
    Code (Text):
    1.  
    2. sudo add-apt-repository ppa:git-core/ppa
    3. sudo apt-get update
    4. sudo apt-get install git git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip maven schedtool imagemagick openjdk-7-jdk
    5.  
    use the instructions at Downloading the Source | Android Developers to install Repo


    Downloading the source

    Determine where you're going to build from. I typically work out of ~/lineage/cm13. First we'll make that directory and download the LineageOS source
    Code (Text):
    1. cd ~
    2. mkdir lineage
    3. mkdir lineage/cm13
    4. cd lineage/cm13
    5. repo init -u git://github.com/LineageOS/android.git -b cm-13.0
    6. repo sync
    7.  
    This download might take a while... once it's finished
    Code (Text):
    1. cd .repo
    2. mkdir local_manifests
    3. cd local_manifests
    4. gedit roomservice.xml
    5.  
    and paste this into the editor and save. this will configure some last CM source, my source, and some omnirom source needed for TWRP
    Code (Text):
    1. <?xml version="1.0" encoding="UTF-8"?>
    2. <manifest>
    3.   <remote  name="https"
    4.            fetch="https://github.com" />
    5.   <project name="LineageOS/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-13.0" />
    6.   <project name="LineageOS/android_external_sony_boringssl-compat" path="external/sony/boringssl-compat" remote="github" revision="cm-13.0" />
    7.   <project name="spock1104/android_kernel_lge_msm8226" path="kernel/lge/msm8226" remote="https" revision="cm-13.0" />
    8.   <project name="spock1104/proprietary_vendor_lge" path="vendor/lge" remote="https" revision="cm-13.0" />
    9.   <project name="spock1104/android_device_lge_msm8226-common" path="device/lge/msm8226-common" remote="https" revision="cm-13.0" />
    10.   <project name="spock1104/android_device_lge_x5" path="device/lge/x5" remote="https" revision="cm-13.0" />
    11.   <project name="spock1104/android_bootable_recovery" path="bootable/recovery-twrp" remote="https" revision="android-6.0" />
    12.   <project name="spock1104/android_external_busybox" path="external/busybox" remote="https" revision="android-6.0" />
    13. </manifest>
    14.  
    finally, download the final bits
    Code (Text):
    1. cd ../..
    2. repo sync
    Build the code!
    Code (Text):
    1. . ./build/envsetup.sh
    2. lunch
    3. (enter the number for x5-userdebug)
    4. mka bacon
    5.  
    and wait for a ROM to pop out. You did it!

    To pull updates and build again
    Code updates happen. Here's how to get them and rebuild
    Code (Text):
    1. cd ~/lineage/cm13
    2. make clobber
    3. repo sync
    4. . ./build/envsetup.sh
    5. lunch
    6. (enter the number for x5-userdebug)
    7. mka bacon
    8.  
    and wait for a ROM to pop out
     
    #4 spock1104, Dec 28, 2016
    Last edited: Jan 21, 2017
  5. Ph0enix_216

    Ph0enix_216 Android Enthusiast
    98

    Mar 5, 2015
    293
    298
    98
    Male
    /system/xbin/su
    Nice to see that the Volt is still kicking it. Let's do this!
     
    dvdavid888, andMego and DeltaXzombies like this.
  6. DeltaXzombies

    DeltaXzombies Well-Known Member
    88

    Jun 13, 2015
    180
    122
    88
    Male
    When you mean orientation you mean putting the phone on its side? Because that works perfectly fine for me on every side
     
    andMego likes this.
  7. Ph0enix_216

    Ph0enix_216 Android Enthusiast
    98

    Mar 5, 2015
    293
    298
    98
    Male
    /system/xbin/su
    Ran the build last night while I was sleeping (or trying to). Woke up to find my Linux box had locked up and froze overnight, so I rebooted and ran the build again. Got this error:
    Code (Text):
    1.  
    2. ph0enix_216@Skippy:~$ cd ~/android/cm-13.0
    3. ph0enix_216@Skippy:~/android/cm-13.0$ . build/envsetup.s
    4. bash: build/envsetup.s: No such file or directory
    5. ph0enix_216@Skippy:~/android/cm-13.0$ . build/envsetup.sh
    6. including device/generic/mini-emulator-arm64/vendorsetup.sh
    7. including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
    8. including device/generic/mini-emulator-mips/vendorsetup.sh
    9. including device/generic/mini-emulator-x86_64/vendorsetup.sh
    10. including device/generic/mini-emulator-x86/vendorsetup.sh
    11. including device/lge/x5/vendorsetup.sh
    12. including device/oneplus/oneplus2/vendorsetup.sh
    13. including vendor/cm/vendorsetup.sh
    14. including sdk/bash_completion/adb.bash
    15. including vendor/cm/bash_completion/git.bash
    16. including vendor/cm/bash_completion/repo.bash
    17. ph0enix_216@Skippy:~/android/cm-13.0$ brunch x5
    18. including vendor/cm/vendorsetup.sh
    19. Trying dependencies-only mode on a non-existing device tree?
    20.  
    21. ============================================
    22. PLATFORM_VERSION_CODENAME=REL
    23. PLATFORM_VERSION=6.0.1
    24. CM_VERSION=13.0-20161229-UNOFFICIAL-x5
    25. TARGET_PRODUCT=cm_x5
    26. TARGET_BUILD_VARIANT=userdebug
    27. TARGET_BUILD_TYPE=release
    28. TARGET_BUILD_APPS=
    29. TARGET_ARCH=arm
    30. TARGET_ARCH_VARIANT=armv7-a-neon
    31. TARGET_CPU_VARIANT=krait
    32. TARGET_2ND_ARCH=
    33. TARGET_2ND_ARCH_VARIANT=
    34. TARGET_2ND_CPU_VARIANT=
    35. HOST_ARCH=x86_64
    36. HOST_OS=linux
    37. HOST_OS_EXTRA=Linux-4.4.0-57-generic-x86_64-with-Ubuntu-16.04-xenial
    38. HOST_BUILD_TYPE=release
    39. BUILD_ID=MOB31K
    40. OUT_DIR=/home/ph0enix_216/android/cm-13.0/out
    41. ============================================
    42.  
    43. make: Entering directory '/home/ph0enix_216/android/cm-13.0'
    44. ============================================
    45. PLATFORM_VERSION_CODENAME=REL
    46. PLATFORM_VERSION=6.0.1
    47. CM_VERSION=13.0-20161229-UNOFFICIAL-x5
    48. TARGET_PRODUCT=cm_x5
    49. TARGET_BUILD_VARIANT=userdebug
    50. TARGET_BUILD_TYPE=release
    51. TARGET_BUILD_APPS=
    52. TARGET_ARCH=arm
    53. TARGET_ARCH_VARIANT=armv7-a-neon
    54. TARGET_CPU_VARIANT=krait
    55. TARGET_2ND_ARCH=
    56. TARGET_2ND_ARCH_VARIANT=
    57. TARGET_2ND_CPU_VARIANT=
    58. HOST_ARCH=x86_64
    59. HOST_OS=linux
    60. HOST_OS_EXTRA=Linux-4.4.0-57-generic-x86_64-with-Ubuntu-16.04-xenial
    61. HOST_BUILD_TYPE=release
    62. BUILD_ID=MOB31K
    63. OUT_DIR=/home/ph0enix_216/android/cm-13.0/out
    64. ============================================
    65. device/lge/msm8226-common/libsensors/daemon/../tools/options.mk:11: ----android_version is 5.0
    66. device/lge/msm8226-common/libsensors/daemon/../tools/options.mk:100: compiling daemon for:    bmc150
    67. device/lge/msm8226-common/libsensors/hal/../tools/options.mk:11: ----android_version is 5.0
    68. device/lge/msm8226-common/libsensors/hal/../tools/options.mk:100: compiling daemon for: bma255 bmm150  bmc150
    69. device/lge/msm8226-common/libsensors/hal/../tools/options.mk:296: warning: overriding recipe for target 'install'
    70. device/lge/msm8226-common/libsensors/daemon/../tools/options.mk:296: warning: ignoring old recipe for target 'install'
    71. build/core/base_rules.mk:559: warning: overriding recipe for target '/home/ph0enix_216/android/cm-13.0/out/target/product/x5/system/xbin/bzip2'
    72. external/busybox/Android.mk:171: warning: ignoring old recipe for target '/home/ph0enix_216/android/cm-13.0/out/target/product/x5/system/xbin/bzip2'
    73. build/core/base_rules.mk:559: warning: overriding recipe for target '/home/ph0enix_216/android/cm-13.0/out/target/product/x5/system/xbin/unzip'
    74. external/busybox/Android.mk:171: warning: ignoring old recipe for target '/home/ph0enix_216/android/cm-13.0/out/target/product/x5/system/xbin/unzip'
    75. build/core/binary.mk:37: libwifi-hal-qcom uses kernel headers, but does not depend on them!
    76. build/core/binary.mk:37: libwifi-hal-qcom uses kernel headers, but does not depend on them!
    77. build/core/base_rules.mk:559: warning: overriding recipe for target '/home/ph0enix_216/android/cm-13.0/out/target/product/x5/root/res/images/charger/battery_fail.png'
    78. build/core/base_rules.mk:559: warning: ignoring old recipe for target '/home/ph0enix_216/android/cm-13.0/out/target/product/x5/root/res/images/charger/battery_fail.png'
    79. build/core/base_rules.mk:559: warning: overriding recipe for target '/home/ph0enix_216/android/cm-13.0/out/target/product/x5/system/xbin/wget'
    80. external/busybox/Android.mk:171: warning: ignoring old recipe for target '/home/ph0enix_216/android/cm-13.0/out/target/product/x5/system/xbin/wget'
    81. find: ‘dummy’: No such file or directory
    82. PRODUCT_COPY_FILES device/lge/msm8226-common/rootdir/init.qcom.rc:root/init.qcom.rc ignored.
    83. PRODUCT_COPY_FILES device/lge/msm8226-common/rootdir/ueventd.qcom.rc:root/ueventd.qcom.rc ignored.
    84. PRODUCT_COPY_FILES device/lge/msm8226-common/rootdir/init.qcom.ril.sh:system/etc/init.qcom.ril.sh ignored.
    85. PRODUCT_COPY_FILES device/lge/msm8226-common/gps/etc/gps.conf:system/etc/gps.conf ignored.
    86. build/core/Makefile:46: warning: overriding recipe for target '/home/ph0enix_216/android/cm-13.0/out/target/product/x5/system/lib/hw/nfc.default.so'
    87. build/core/base_rules.mk:559: warning: ignoring old recipe for target '/home/ph0enix_216/android/cm-13.0/out/target/product/x5/system/lib/hw/nfc.default.so'
    88. No private recovery resources for TARGET_DEVICE x5
    89. target Pack Relocations: libdl (/home/ph0enix_216/android/cm-13.0/out/target/product/x5/obj/SHARED_LIBRARIES/libdl_intermediates/PACKED/libdl.so)
    90. target thumb C: busybox <= external/busybox/libbb/xfuncs_printf.c
    91. INFO: Compaction                 : 0 bytes
    92. INFO: Too few relocations to pack after alignment
    93. target thumb C: busybox <= external/busybox/libbb/endofname.c
    94. target thumb C: busybox <= external/busybox/libbb/in_ether.c
    95. target thumb C: busybox <= external/busybox/libbb/nuke_str.c
    96. In file included from external/busybox/libbb/endofname.c:11:
    97. In file included from external/busybox/include/libbb.h:13:
    98. In file included from external/busybox/include/platform.h:524:
    99. In file included from external/busybox/include/android.h:15:
    100. bionic/libm/include/math.h:170:1: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
    101. __BIONIC_MATH_INLINE(double fabs(double x) { return __builtin_fabs(x); })
    102. ^
    103. bionic/libm/include/math.h:24:114: note: expanded from macro '__BIONIC_MATH_INLINE'
    104. #define __BIONIC_MATH_INLINE(__def) extern __inline__ __always_inline __attribute__((gnu_inline)) __attribute__((__artificial__)) __def
    105.                                                                                                                  ^
    106. In file included from external/busybox/libbb/xfuncs_printf.c:23:
    107. In file included from external/busybox/include/libbb.h:13:
    108. In file included from external/busybox/include/platform.h:524:
    109. In file included from external/busybox/include/android.h:15:
    110. bionic/libm/include/math.h:170:1: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
    111. __BIONIC_MATH_INLINE(double fabs(double x) { return __builtin_fabs(x); })
    112. ^
    113. bionic/libm/include/math.h:24:114: note: expanded from macro '__BIONIC_MATH_INLINE'
    114. #define __BIONIC_MATH_INLINE(__def) extern __inline__ __always_inline __attribute__((gnu_inline)) __attribute__((__artificial__)) __def
    115.                                                                                                                  ^
    116. bionic/libm/include/math.h:289:1: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
    117. __BIONIC_MATH_INLINE(float fabsf(float x) { return __builtin_fabsf(x); })
    118. ^
    119. bionic/libm/include/math.h:24:114: note: expanded from macro '__BIONIC_MATH_INLINE'
    120. #define __BIONIC_MATH_INLINE(__def) extern __inline__ __always_inline __attribute__((gnu_inline)) __attribute__((__artificial__)) __def
    121.                                                                                                                  ^
    122. bionic/libm/include/math.h:289:1: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
    123. __BIONIC_MATH_INLINE(float fabsf(float x) { return __builtin_fabsf(x); })
    124. ^
    125. bionic/libm/include/math.h:24:114: note: expanded from macro '__BIONIC_MATH_INLINE'
    126. #define __BIONIC_MATH_INLINE(__def) extern __inline__ __always_inline __attribute__((gnu_inline)) __attribute__((__artificial__)) __def
    127.                                                                                                                  ^
    128. bionic/libm/include/math.h:377:1: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
    129. __BIONIC_MATH_INLINE(long double fabsl(long double x) { return __builtin_fabsl(x); })
    130. ^
    131. bionic/libm/include/math.h:24:114: note: expanded from macro '__BIONIC_MATH_INLINE'
    132. #define __BIONIC_MATH_INLINE(__def) extern __inline__ __always_inline __attribute__((gnu_inline)) __attribute__((__artificial__)) __def
    133.                                                                                                                  ^
    134. bionic/libm/include/math.h:377:1: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
    135. __BIONIC_MATH_INLINE(long double fabsl(long double x) { return __builtin_fabsl(x); })
    136. ^
    137. bionic/libm/include/math.h:24:114: note: expanded from macro '__BIONIC_MATH_INLINE'
    138. #define __BIONIC_MATH_INLINE(__def) extern __inline__ __always_inline __attribute__((gnu_inline)) __attribute__((__artificial__)) __def
    139.                                                                                                                  ^
    140. In file included from external/busybox/libbb/in_ether.c:10:
    141. In file included from external/busybox/include/libbb.h:13:
    142. In file included from external/busybox/include/platform.h:524:
    143. In file included from external/busybox/include/android.h:15:
    144. bionic/libm/include/math.h:170:1: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
    145. __BIONIC_MATH_INLINE(double fabs(double x) { return __builtin_fabs(x); })
    146. ^
    147. bionic/libm/include/math.h:24:114: note: expanded from macro '__BIONIC_MATH_INLINE'
    148. #define __BIONIC_MATH_INLINE(__def) extern __inline__ __always_inline __attribute__((gnu_inline)) __attribute__((__artificial__)) __def
    149.                                                                                                                  ^
    150. bionic/libm/include/math.h:289:1: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
    151. __BIONIC_MATH_INLINE(float fabsf(float x) { return __builtin_fabsf(x); })
    152. ^
    153. bionic/libm/include/math.h:24:114: note: expanded from macro '__BIONIC_MATH_INLINE'
    154. #define __BIONIC_MATH_INLINE(__def) extern __inline__ __always_inline __attribute__((gnu_inline)) __attribute__((__artificial__)) __def
    155.                                                                                                                  ^
    156. bionic/libm/include/math.h:377:1: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
    157. __BIONIC_MATH_INLINE(long double fabsl(long double x) { return __builtin_fabsl(x); })
    158. ^
    159. bionic/libm/include/math.h:24:114: note: expanded from macro '__BIONIC_MATH_INLINE'
    160. #define __BIONIC_MATH_INLINE(__def) extern __inline__ __always_inline __attribute__((gnu_inline)) __attribute__((__artificial__)) __def
    161.                                                                                                                  ^
    162. In file included from external/busybox/libbb/nuke_str.c:12:
    163. In file included from external/busybox/include/libbb.h:13:
    164. In file included from external/busybox/include/platform.h:524:
    165. In file included from external/busybox/include/android.h:15:
    166. bionic/libm/include/math.h:170:1: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
    167. __BIONIC_MATH_INLINE(double fabs(double x) { return __builtin_fabs(x); })
    168. ^
    169. bionic/libm/include/math.h:24:114: note: expanded from macro '__BIONIC_MATH_INLINE'
    170. #define __BIONIC_MATH_INLINE(__def) extern __inline__ __always_inline __attribute__((gnu_inline)) __attribute__((__artificial__)) __def
    171.                                                                                                                  ^
    172. bionic/libm/include/math.h:289:1: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
    173. __BIONIC_MATH_INLINE(float fabsf(float x) { return __builtin_fabsf(x); })
    174. ^
    175. bionic/libm/include/math.h:24:114: note: expanded from macro '__BIONIC_MATH_INLINE'
    176. #define __BIONIC_MATH_INLINE(__def) extern __inline__ __always_inline __attribute__((gnu_inline)) __attribute__((__artificial__)) __def
    177.                                                                                                                  ^
    178. bionic/libm/include/math.h:377:1: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
    179. __BIONIC_MATH_INLINE(long double fabsl(long double x) { return __builtin_fabsl(x); })
    180. ^
    181. bionic/libm/include/math.h:24:114: note: expanded from macro '__BIONIC_MATH_INLINE'
    182. #define __BIONIC_MATH_INLINE(__def) extern __inline__ __always_inline __attribute__((gnu_inline)) __attribute__((__artificial__)) __def
    183.                                                                                                                  ^
    184. external/busybox/libbb/xfuncs_printf.c:652:25: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
    185.                 bb_perror_msg_and_die("vfork"+1);
    186.                                       ^~~~~~~~~
    187. 3 warnings and 1 error generated.
    188. build/core/binary.mk:825: recipe for target '/home/ph0enix_216/android/cm-13.0/out/target/product/x5/obj/EXECUTABLES/busybox_intermediates/libbb/xfuncs_printf.o' failed
    189. make: *** [/home/ph0enix_216/android/cm-13.0/out/target/product/x5/obj/EXECUTABLES/busybox_intermediates/libbb/xfuncs_printf.o] Error 1
    190. make: *** Waiting for unfinished jobs....
    191. 3 warnings generated.
    192. 3 warnings generated.
    193. 3 warnings generated.
    194. make: Leaving directory '/home/ph0enix_216/android/cm-13.0'
    195.  
    196. #### make failed to build some targets (02:57 (mm:ss)) ####
    197.  
    198. ph0enix_216@Skippy:~/android/cm-13.0$
    199.  
    200.  
    I can't exactly tell what's going on here, but from what I can tell, it looks like something is going wrong when I'm trying to build busybox.
     
    andMego likes this.
  8. spock1104

    spock1104 Android Expert
    Thread Starter
    223

    Jul 9, 2013
    1,038
    903
    223
    Oops, I probably forgot to push something. I'll check later tonight. I did make edits to the BusyBox makefile.
     
    Radic, bcrichster, andMego and 2 others like this.
  9. spock1104

    spock1104 Android Expert
    Thread Starter
    223

    Jul 9, 2013
    1,038
    903
    223
    Yep, I committed but forgot to push. Sync and you should be good to go.
     
  10. spock1104

    spock1104 Android Expert
    Thread Starter
    223

    Jul 9, 2013
    1,038
    903
    223
    Which steps did you use to install? When I'm holding portrait it thinks the right side is down. Holding the left side down, it thinks it's in portrait.

    Also want to confirm you're using 1228 instead of 0819
     
    #10 spock1104, Dec 29, 2016
    Last edited: Dec 29, 2016
  11. ShapeShifter499

    ShapeShifter499 Android Enthusiast
    108

    Apr 3, 2015
    376
    261
    108
    Male
    Sorta off topic but did the entire 'ROOT' section of the LG Volt forum get removed off Android Forums? Why?
     
    dvdavid888 and DeltaXzombies like this.
  12. DeltaXzombies

    DeltaXzombies Well-Known Member
    88

    Jun 13, 2015
    180
    122
    88
    Male
    I dirty flashed over my cm13 setup and it was the 12/28 build. It was working for a little bit then it started to do what you said so I went back to my cm13 backup.

    Edit: I can confirm that rotation on the 8/19 build works perfectly fine, it never stopped working for me so far over the past month I've been using it. Since you said those 2 builds were pretty much identical I just assumed rotation also was fine on the 12/28 build
     
    #12 DeltaXzombies, Dec 30, 2016
    Last edited: Dec 30, 2016
  13. DeltaXzombies

    DeltaXzombies Well-Known Member
    88

    Jun 13, 2015
    180
    122
    88
    Male
    I noticed that also
     
  14. andMego

    andMego Android Enthusiast
    133

    Aug 9, 2015
    538
    143
    133
    Male
    Charlotte, NC
     
    ShapeShifter499 likes this.
  15. ShapeShifter499

    ShapeShifter499 Android Enthusiast
    108

    Apr 3, 2015
    376
    261
    108
    Male
    @andMego Thanks! I thought I was hacked or maybe I configured my router wrong.
     
  16. mjhealy1978

    mjhealy1978 Android Enthusiast
    78

    Apr 1, 2013
    408
    102
    78
    Male
    Lowell,Ma.
    Sorry I don't know how to get a log report but I flashed the new build & every apk I open goes horizontal! & here's another thing I flashed the newest twrp, well when restoring my backup I also had to flash the aroma installer & it didn't work normally.
     
  17. andMego

    andMego Android Enthusiast
    133

    Aug 9, 2015
    538
    143
    133
    Male
    Charlotte, NC
    You can use this to get a log report https://play.google.com/store/apps/details?id=com.tortel.syslog
    What do you mean it goes horizontal?
    I don't think you were ever supposed to be able to use aroma installers on this phone.
     
  18. spock1104

    spock1104 Android Expert
    Thread Starter
    223

    Jul 9, 2013
    1,038
    903
    223
    Rotation is pointed out in the OP as a known issue.

    What are you installing via aroma?
     
    Radic likes this.
  19. mjhealy1978

    mjhealy1978 Android Enthusiast
    78

    Apr 1, 2013
    408
    102
    78
    Male
    Lowell,Ma.
    I was attempting to installed "Change Of Jinzo's" APN fix that I've flashed for months n months & this is the1st time I've tried flashing anything since upgrading to the new TWRP, & the APN fix is aroma installer, or it always is for me anyway!
     
  20. griimnak

    griimnak Lurker
    6

    Jan 2, 2017
    5
    4
    6
    Male
    I've been using cm12+ for quite some time now on my device but I never bothered to sign up. Hi! lol
    Gonna be watching this thread closely, i thought rom support ended for this device because:
    - CM died and rose back as Lineage (at first i thought they were gone forever)
    - Blisspop 6 has been down forever (and idk if they even support the volt on android 6)
    - Most roms for the device is android 5.1.1 and old and either has playback issues, camera issues or wifi deep sleep issues.

    But anyways, cheers looking forward to progress.

    OFF TOPIC:
    I'm using cm-13.0-20160818-UNOFFICIAL-x5 as of right now and i'm thinking of flashing cm-13.0-20160819-UNOFFICIAL-x5 because i heard it was more stable, but has it fixed the wifi deep sleep issue? i want my phone to always be connected to the wifi if it's available as i don't use sim data.
     
  21. andMego

    andMego Android Enthusiast
    133

    Aug 9, 2015
    538
    143
    133
    Male
    Charlotte, NC
    I'm using the 8/19 build and WiFi works fine for me (even when the screen is off)
     
  22. DeltaXzombies

    DeltaXzombies Well-Known Member
    88

    Jun 13, 2015
    180
    122
    88
    Male
    Same here
     
    griimnak likes this.
  23. griimnak

    griimnak Lurker
    6

    Jan 2, 2017
    5
    4
    6
    Male
    Thanks fellas, flashing now. gonna try using xposed with it aswell, have any of you guys tried pairing them together?
     
    DeltaXzombies likes this.
  24. DeltaXzombies

    DeltaXzombies Well-Known Member
    88

    Jun 13, 2015
    180
    122
    88
    Male
    griimnak likes this.
  25. andMego

    andMego Android Enthusiast
    133

    Aug 9, 2015
    538
    143
    133
    Male
    Charlotte, NC
    griimnak likes this.
  26. BiggieStylin

    BiggieStylin Member
    43

    Aug 30, 2014
    36
    33
    43
    Male
    Okay, I'm noticing something going on with wifi for sure. Yesterday while I was out and about, I enabled my wifi hotspot. It worked great for a bit (20-30 minutes?) however, after leaving it on the phone just rebooted on me. Turned the hotspot back on again after it booted up and it rebooted again shortly after. Since I was out, I was unable to grab logs of any kind and I'm a bit busy today so I won't be able to grab anything definite until tomorrow most likely. I work from home tomorrow, so I'll just turn the hotspot on while I work and grab some logs once it reboots itself.

    I have one question about this ROM, do you know if the full encryption will actually work or even what state it's in? I've tried it with previous builds (don't recall which) and haven't had success, so I thought I'd ask. I know it was working at some point, but I don't remember if it was cm12 or cm13 on this phone. This is something I would really like to have, so if its not something that has been looked at much, I'd be more than happy to start there once I get a build environment setup this weekend. Either way, I'm going to give it a shot this weekend and see what the result is. I just have no idea what logs to check if it fails, or how to check them, because usually when it fails it kills the phone to the point of requiring a full wipe. Guess I could pull them in recovery if I just knew which ones. Thanks!
     
Tags:

Share This Page

Loading...