Is there a way to calculate the total number of calendar events remaining for a given week? It would start the week on Sunday showing the total number of calendar events for that week and each time one has been completed the number would decrease by one until it reaches 0 and then reset the following Sunday.
For example: Today is Tuesday; There were calendar entries on Monday (yesterday), Wednesday, two on Thursday, and one on the following Monday. So the number of remaining calendar entries would show "3" (Wednesday + 2 for Thursday, not using either Monday because the first has already happened and the next one is the following week. Thursday morning it would show "2" (since the Wednesday event is in the past) and then Thursday night through Saturday it would be "0" because there are no more calendar events, but then on Sunday it would change back to "1" since it sees the Monday for that next week.
Edit: I believe I have a suitable solution. I'm still in the testing stage, but I'm attaching my code below. If anyone has any methods to simplify it, it would be appreciated.
$#DE#=Mon && #C0syDDD#-#DyDDD#>6?0 appointments$
$#DE#=Mon && #C1syDDD#-#DyDDD#>6 && #C0syDDD#-#DyDDD#<7?1 appointment$
$#DE#=Mon && #C2syDDD#-#DyDDD#>6 && #C1syDDD#-#DyDDD#<7?2 appointments$
$#DE#=Mon && #C3syDDD#-#DyDDD#>6 && #C2syDDD#-#DyDDD#<7?3 appointments$
$#DE#=Mon && #C4syDDD#-#DyDDD#>6 && #C3syDDD#-#DyDDD#<7?4 appointments$
$#DE#=Mon && #C5syDDD#-#DyDDD#>6 && #C4syDDD#-#DyDDD#<7?5 appointments$
$#DE#=Mon && #C6syDDD#-#DyDDD#>6 && #C5syDDD#-#DyDDD#<7?6 appointments$
$#DE#=Mon && #C7syDDD#-#DyDDD#>6 && #C6syDDD#-#DyDDD#<7?7 appointments$
$#DE#=Mon && #C8syDDD#-#DyDDD#>6 && #C7syDDD#-#DyDDD#<7?8 appointments$
$#DE#=Mon && #C9syDDD#-#DyDDD#>6 && #C8syDDD#-#DyDDD#<7?9 appointments$
$#DE#=Mon && #C10syDDD#-#DyDDD#>6 && #C9syDDD#-#DyDDD#<7?9+ appointments$
$#DE#=Tue && #C0syDDD#-#DyDDD#>5?0 appointments$
$#DE#=Tue && #C1syDDD#-#DyDDD#>5 && #C0syDDD#-#DyDDD#<6?1 appointment$
$#DE#=Tue && #C2syDDD#-#DyDDD#>5 && #C1syDDD#-#DyDDD#<6?2 appointments$
$#DE#=Tue && #C3syDDD#-#DyDDD#>5 && #C2syDDD#-#DyDDD#<6?3 appointments$
$#DE#=Tue && #C4syDDD#-#DyDDD#>5 && #C3syDDD#-#DyDDD#<6?4 appointments$
$#DE#=Tue && #C5syDDD#-#DyDDD#>5 && #C4syDDD#-#DyDDD#<6?5 appointments$
$#DE#=Tue && #C6syDDD#-#DyDDD#>5 && #C5syDDD#-#DyDDD#<6?6 appointments$
$#DE#=Tue && #C7syDDD#-#DyDDD#>5 && #C6syDDD#-#DyDDD#<6?7 appointments$
$#DE#=Tue && #C8syDDD#-#DyDDD#>5 && #C7syDDD#-#DyDDD#<6?8 appointments$
$#DE#=Tue && #C9syDDD#-#DyDDD#>5 && #C8syDDD#-#DyDDD#<6?9 appointments$
$#DE#=Tue && #C10syDDD#-#DyDDD#>5 && #C9syDDD#-#DyDDD#<6?9+ appointments$
$#DE#=Wed && #C0syDDD#-#DyDDD#>4?0 appointments$
$#DE#=Wed && #C1syDDD#-#DyDDD#>4 && #C0syDDD#-#DyDDD#<5?1 appointment$
$#DE#=Wed && #C2syDDD#-#DyDDD#>4 && #C1syDDD#-#DyDDD#<5?2 appointments$
$#DE#=Wed && #C3syDDD#-#DyDDD#>4 && #C2syDDD#-#DyDDD#<5?3 appointments$
$#DE#=Wed && #C4syDDD#-#DyDDD#>4 && #C3syDDD#-#DyDDD#<5?4 appointments$
$#DE#=Wed && #C5syDDD#-#DyDDD#>4 && #C4syDDD#-#DyDDD#<5?5 appointments$
$#DE#=Wed && #C6syDDD#-#DyDDD#>4 && #C5syDDD#-#DyDDD#<5?6 appointments$
$#DE#=Wed && #C7syDDD#-#DyDDD#>4 && #C6syDDD#-#DyDDD#<5?7 appointments$
$#DE#=Wed && #C8syDDD#-#DyDDD#>4 && #C7syDDD#-#DyDDD#<5?8 appointments$
$#DE#=Wed && #C9syDDD#-#DyDDD#>4 && #C8syDDD#-#DyDDD#<5?9 appointments$
$#DE#=Wed && #C10syDDD#-#DyDDD#>4 && #C9syDDD#-#DyDDD#<5?9+ appointments$
$#DE#=Thu && #C0syDDD#-#DyDDD#>3?0 appointments$
$#DE#=Thu && #C1syDDD#-#DyDDD#>3 && #C0syDDD#-#DyDDD#<4?1 appointment$
$#DE#=Thu && #C2syDDD#-#DyDDD#>3 && #C1syDDD#-#DyDDD#<4?2 appointments$
$#DE#=Thu && #C3syDDD#-#DyDDD#>3 && #C2syDDD#-#DyDDD#<4?3 appointments$
$#DE#=Thu && #C4syDDD#-#DyDDD#>3 && #C3syDDD#-#DyDDD#<4?4 appointments$
$#DE#=Thu && #C5syDDD#-#DyDDD#>3 && #C4syDDD#-#DyDDD#<4?5 appointments$
$#DE#=Thu && #C6syDDD#-#DyDDD#>3 && #C5syDDD#-#DyDDD#<4?6 appointments$
$#DE#=Thu && #C7syDDD#-#DyDDD#>3 && #C6syDDD#-#DyDDD#<4?7 appointments$
$#DE#=Thu && #C8syDDD#-#DyDDD#>3 && #C7syDDD#-#DyDDD#<4?8 appointments$
$#DE#=Thu && #C9syDDD#-#DyDDD#>3 && #C8syDDD#-#DyDDD#<4?9 appointments$
$#DE#=Thu && #C10syDDD#-#DyDDD#>3 && #C9syDDD#-#DyDDD#<4?9+ appointments$
$#DE#=Fri && #C0syDDD#-#DyDDD#>2?0 appointments$
$#DE#=Fri && #C1syDDD#-#DyDDD#>2 && #C0syDDD#-#DyDDD#<3?1 appointment$
$#DE#=Fri && #C2syDDD#-#DyDDD#>2 && #C1syDDD#-#DyDDD#<3?2 appointments$
$#DE#=Fri && #C3syDDD#-#DyDDD#>2 && #C2syDDD#-#DyDDD#<3?3 appointments$
$#DE#=Fri && #C4syDDD#-#DyDDD#>2 && #C3syDDD#-#DyDDD#<3?4 appointments$
$#DE#=Fri && #C5syDDD#-#DyDDD#>2 && #C4syDDD#-#DyDDD#<3?5 appointments$
$#DE#=Fri && #C6syDDD#-#DyDDD#>2 && #C5syDDD#-#DyDDD#<3?6 appointments$
$#DE#=Fri && #C7syDDD#-#DyDDD#>2 && #C6syDDD#-#DyDDD#<3?7 appointments$
$#DE#=Fri && #C8syDDD#-#DyDDD#>2 && #C7syDDD#-#DyDDD#<3?8 appointments$
$#DE#=Fri && #C9syDDD#-#DyDDD#>2 && #C8syDDD#-#DyDDD#<3?9 appointments$
$#DE#=Fri && #C10syDDD#-#DyDDD#>2 && #C9syDDD#-#DyDDD#<3?9+ appointments$
$#DE#=Sat && #C0syDDD#-#DyDDD#>1?0 appointments$
$#DE#=Sat && #C1syDDD#-#DyDDD#>1 && #C0syDDD#-#DyDDD#<2?1 appointment$
$#DE#=Sat && #C2syDDD#-#DyDDD#>1 && #C1syDDD#-#DyDDD#<2?2 appointments$
$#DE#=Sat && #C3syDDD#-#DyDDD#>1 && #C2syDDD#-#DyDDD#<2?3 appointments$
$#DE#=Sat && #C4syDDD#-#DyDDD#>1 && #C3syDDD#-#DyDDD#<2?4 appointments$
$#DE#=Sat && #C5syDDD#-#DyDDD#>1 && #C4syDDD#-#DyDDD#<2?5 appointments$
$#DE#=Sat && #C6syDDD#-#DyDDD#>1 && #C5syDDD#-#DyDDD#<2?6 appointments$
$#DE#=Sat && #C7syDDD#-#DyDDD#>1 && #C6syDDD#-#DyDDD#<2?7 appointments$
$#DE#=Sat && #C8syDDD#-#DyDDD#>1 && #C7syDDD#-#DyDDD#<2?8 appointments$
$#DE#=Sat && #C9syDDD#-#DyDDD#>1 && #C8syDDD#-#DyDDD#<2?9 appointments$
$#DE#=Sat && #C10syDDD#-#DyDDD#>1 && #C9syDDD#-#DyDDD#<2?9+ appointments$
$#DE#=Sun && #C0syDDD#-#DyDDD#>7?0 appointments$
$#DE#=Sun && #C1syDDD#-#DyDDD#>7 && #C0syDDD#-#DyDDD#<8?1 appointment$
$#DE#=Sun && #C2syDDD#-#DyDDD#>7 && #C1syDDD#-#DyDDD#<8?2 appointments$
$#DE#=Sun && #C3syDDD#-#DyDDD#>7 && #C2syDDD#-#DyDDD#<8?3 appointments$
$#DE#=Sun && #C4syDDD#-#DyDDD#>7 && #C3syDDD#-#DyDDD#<8?4 appointments$
$#DE#=Sun && #C5syDDD#-#DyDDD#>7 && #C4syDDD#-#DyDDD#<8?5 appointments$
$#DE#=Sun && #C6syDDD#-#DyDDD#>7 && #C5syDDD#-#DyDDD#<8?6 appointments$
$#DE#=Sun && #C7syDDD#-#DyDDD#>7 && #C6syDDD#-#DyDDD#<8?7 appointments$
$#DE#=Sun && #C8syDDD#-#DyDDD#>7 && #C7syDDD#-#DyDDD#<8?8 appointments$
$#DE#=Sun && #C9syDDD#-#DyDDD#>7 && #C8syDDD#-#DyDDD#<8?9 appointments$
$#DE#=Sun && #C10syDDD#-#DyDDD#>7 && #C9syDDD#-#DyDDD#<8?9+ appointments$
Click to expand...
Click to collapse
Related
I am on MIUI ICS v4.
I have 99swap in system/etc/init.d
I have the .swapfile in /scdard/.swapfile
..the problem is.. I have to manualy activate Swapfile everytime I reboot.. why is the script not working.. when I was on MIUI v5 by maxworks as well same like v4.. it used to work correct..
I have given the system.. the etc.. and init.d folder all access. Read.Write.Execute
Below is MIUI v5 Script that used to work when I used that ROM.
#!/system/bin/sh
#Created by neamv for maxworks. All rights reserved
filename=/sdcard/.swapfile
fsize=256
recreate_on_boot=1
#sleep=120
timeout=240
while [ -z "`mount | grep "sdcard0 "`" ]; do
[ $timeout -lt 0 ] && exit 0
timeout=$(($timeout-10))
sleep 10
done
[ -n "`mount | grep "sdcard .*ntfs"`" ] && exit 0
if [ "$recreate_on_boot" == 1 ]; then
dd if=/dev/zero of=$filename"_new" bs=1024 count=$(($fsize*1024)) && mkswap $filename"_new" && mv $filename"_new" $filename
else
[ -f $filename ] && [ `stat -t $filename | awk '{print ($2)}'` -ne $(($fsize*1024*1024)) ] && rm $filename
[ ! -f $filename ] && dd if=/dev/zero of=$filename bs=1024 count=$(($fsize*1024)) && mkswap $filename
fi
swapon $filename
and below now is v4 script that doesn't work
#!/sbin/sh
#Created by neamv for maxworks. All rights reserved
filename=/sdcard/.swapfile
fsize=256
recreate_on_boot=1
timeout=240
while [ -z "`mount | grep "sdcard "`" ]; do
[ $timeout -lt 0 ] && exit 0
timeout=$(($timeout-10))
sleep 10
done
[ -n "`mount | grep "sdcard .*ntfs"`" ] && exit 0
if [ "$recreate_on_boot" == 1 ]; then
dd if=/dev/zero of=$filename"_new" bs=1024 count=$(($fsize*1024)) && mkswap $filename"_new" && mv $filename"_new" $filename
else
[ -f $filename ] && [ `stat -t $filename | awk '{print ($2)}'` -ne $(($fsize*1024*1024)) ] && rm $filename
[ ! -f $filename ] && dd if=/dev/zero of=$filename bs=1024 count=$(($fsize*1024)) && mkswap $filename
fi
swapon $filename
I didn't want to mess my phone.. so I thougt to ask. Plz automate the process of the Swapfile getting loaded after reboot.. it actually should be created on every boot at a different place in the SD-Card.. this is what I read from Maxworks.
Edit.. One more Question.. If I can.. to make my phone fun faster.. how large should I create the .swapfile.. lets say.. 512MB ?? 1 gb ?? and how to set the swappines.. (and no.. I don't want to use Swapper2)
BUMP
Well, it should work, but may be caused by extensive brake swap. Try chaging the swap size
You can edit the file / system/etc/init.d/99swap replacing in fsize 256 to 64 for example.
saqibkhan said:
I am on MIUI ICS v4.
I have 99swap in system/etc/init.d
I have the .swapfile in /scdard/.swapfile
..the problem is.. I have to manualy activate Swapfile everytime I reboot.. why is the script not working.. when I was on MIUI v5 by maxworks as well same like v4.. it used to work correct..
I have given the system.. the etc.. and init.d folder all access. Read.Write.Execute
Below is MIUI v5 Script that used to work when I used that ROM.
#!/system/bin/sh
#Created by neamv for maxworks. All rights reserved
filename=/sdcard/.swapfile
fsize=256
recreate_on_boot=1
#sleep=120
timeout=240
while [ -z "`mount | grep "sdcard0 "`" ]; do
[ $timeout -lt 0 ] && exit 0
timeout=$(($timeout-10))
sleep 10
done
[ -n "`mount | grep "sdcard .*ntfs"`" ] && exit 0
if [ "$recreate_on_boot" == 1 ]; then
dd if=/dev/zero of=$filename"_new" bs=1024 count=$(($fsize*1024)) && mkswap $filename"_new" && mv $filename"_new" $filename
else
[ -f $filename ] && [ `stat -t $filename | awk '{print ($2)}'` -ne $(($fsize*1024*1024)) ] && rm $filename
[ ! -f $filename ] && dd if=/dev/zero of=$filename bs=1024 count=$(($fsize*1024)) && mkswap $filename
fi
swapon $filename
and below now is v4 script that doesn't work
#!/sbin/sh
#Created by neamv for maxworks. All rights reserved
filename=/sdcard/.swapfile
fsize=256
recreate_on_boot=1
timeout=240
while [ -z "`mount | grep "sdcard "`" ]; do
[ $timeout -lt 0 ] && exit 0
timeout=$(($timeout-10))
sleep 10
done
[ -n "`mount | grep "sdcard .*ntfs"`" ] && exit 0
if [ "$recreate_on_boot" == 1 ]; then
dd if=/dev/zero of=$filename"_new" bs=1024 count=$(($fsize*1024)) && mkswap $filename"_new" && mv $filename"_new" $filename
else
[ -f $filename ] && [ `stat -t $filename | awk '{print ($2)}'` -ne $(($fsize*1024*1024)) ] && rm $filename
[ ! -f $filename ] && dd if=/dev/zero of=$filename bs=1024 count=$(($fsize*1024)) && mkswap $filename
fi
swapon $filename
I didn't want to mess my phone.. so I thougt to ask. Plz automate the process of the Swapfile getting loaded after reboot.. it actually should be created on every boot at a different place in the SD-Card.. this is what I read from Maxworks.
Edit.. One more Question.. If I can.. to make my phone fun faster.. how large should I create the .swapfile.. lets say.. 512MB ?? 1 gb ?? and how to set the swappines.. (and no.. I don't want to use Swapper2)
Click to expand...
Click to collapse
I found two scripts containing the wind speed and the wind direction. Is there a way to combine them into one script? Any help is much appreciated
Code:
$[#WCWDIR#>348.75 || #WCWDIR#<=11.25] && #WCWSPEED#!=0mph?N #WCWSPEED#$$[#WCWDIR#>11.25] && [#WCWDIR#<=33.75]?NNO #WCWSPEED#$$[#WCWDIR#>33.75] && [#WCWDIR#<=56.25]?NO #WCWSPEED#$$[#WCWDIR#>56.25] && [#WCWDIR#<=78.75]?ONO #WCWSPEED#$$[#WCWDIR#>78.75] && [#WCWDIR#<=101.25]?O #WCWSPEED#$$[#WCWDIR#>101.25] && [#WCWDIR#<=123.75]?OZO #WCWSPEED#$$[#WCWDIR#>123.75] && [#WCWDIR#<=146.25]?ZO #WCWSPEED#$$[#WCWDIR#>146.25] && [#WCWDIR#<=168.75]?ZZO #WCWSPEED#$$[#WCWDIR#>168.75] && [#WCWDIR#<=191.25]?Z #WCWSPEED#$$[#WCWDIR#>191.25] && [#WCWDIR#<=213.75]?ZZW #WCWSPEED#$$[#WCWDIR#>213.75] && [#WCWDIR#<=236.25]?ZW #WCWSPEED#$$[#WCWDIR#>236.25] && [#WCWDIR#<=258.75]?WZW #WCWSPEED#$$[#WCWDIR#>258.75] && [#WCWDIR#<=281.25]?W #WCWSPEED#$$[#WCWDIR#>281.25] && [#WCWDIR#<=303.75]?WNW #WCWSPEED#$$[#WCWDIR#>303.75] && [#WCWDIR#<=326.25]?NW #WCWSPEED#$$[#WCWDIR#>326.25] && [#WCWDIR#<=348.75]?NNW #WCWSPEED#$$#WCWSPEED#=0mph && #WCWDIR#=0?Calm$
$#WCWSPEED#<0.3?Calm$
$#WCWSPEED#>=0.3&&#WCWSPEED#<1.6?Light air$
$#WCWSPEED#>=1.6&&#WCWSPEED#<3.5?Light breeze$
$#WCWSPEED#>=3.5&&#WCWSPEED#<5.5?Gentle breeze$
$#WCWSPEED#>=5.5&&#WCWSPEED#<8.0?Moderate breeze$
$#WCWSPEED#>=8.0&&#WCWSPEED#<10.8?Fresh breeze$
$#WCWSPEED#>=10.8&&#WCWSPEED#<13.9?Strong breeze$
$#WCWSPEED#>=13.9&&#WCWSPEED#<17.2?High wind$
$#WCWSPEED#>=17.2&&#WCWSPEED#<20.8?Gale$
$#WCWSPEED#>=20.8&&#WCWSPEED#<24.5?Strong gale$
$#WCWSPEED#>=24.5&&#WCWSPEED#<28.5?Storm$
$#WCWSPEED#>=28.5&&#WCWSPEED#<32.7?Violent storm$
$#WCWSPEED#>=32.7?Hurricane force$
Anybody?
At the end I want a module showing the wind direction translated into dutch, ofcourse no problem, but also the wind speed into the Beaufort scale. Kilometers or miles per hour is not very common in Western Europe.
The code you posted doesn't work? Seems like it should work without too much modification.
I'm trying to build Lineage 14.1 for serranoltexx (for 5 days now).
When I started the compilation using "breakfast serranoltexx" an error appears after the 7 percent mark (~2minutes).
I followed this guide: wiki.lineageos. org/devices/serranoltexx/build
with a fresh Ubuntu 17.04 VM Box installation two times but that error always appears.
The only thing I still could mention is that pulled the proprietary blobs using my phone as stated in the instructions not with the stock Rom but Lineage 14.1 already installed.
Full console output:
(error at line #321) pastebin. com/vC06fV36
Error:
Code:
make: Leaving directory '/home/mrglue/android/lineage/kernel/samsung/msm8930-common'
[ 7% 2535/34256] Building Kernel
FAILED: /bin/bash -c "(make -j4 CFLAGS_MODULE=\"-fno-pic\" -C kernel/samsung/msm8930-common O=/home/mrglue/android/lineage/out/target/product/serranoltexx/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\"/home/mrglue/android/lineage/prebuilts/misc/linux-x86/ccache/ccache arm-linux-androidkernel-\" zImage ) && (if grep -q 'CONFIG_OF=y' /home/mrglue/android/lineage/out/target/product/serranoltexx/obj/KERNEL_OBJ/.config ; then echo \"Building DTBs\" ; make -j4 CFLAGS_MODULE=\"-fno-pic\" -C kernel/samsung/msm8930-common O=/home/mrglue/android/lineage/out/target/product/serranoltexx/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\"/home/mrglue/android/lineage/prebuilts/misc/linux-x86/ccache/ccache arm-linux-androidkernel-\" dtbs ; else echo \"DTBs not enabled\" ; fi ) && (if grep -q 'CONFIG_MODULES=y' /home/mrglue/android/lineage/out/target/product/serranoltexx/obj/KERNEL_OBJ/.config ; then echo \"Building Kernel Modules\" ; make -j4 CFLAGS_MODULE=\"-fno-pic\" -C kernel/samsung/msm8930-common O=/home/mrglue/android/lineage/out/target/product/serranoltexx/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\"/home/mrglue/android/lineage/prebuilts/misc/linux-x86/ccache/ccache arm-linux-androidkernel-\" modules && make -j4 CFLAGS_MODULE=\"-fno-pic\" -C kernel/samsung/msm8930-common O=/home/mrglue/android/lineage/out/target/product/serranoltexx/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE=\"/home/mrglue/android/lineage/prebuilts/misc/linux-x86/ccache/ccache arm-linux-androidkernel-\" modules_install && mdpath=\`find /home/mrglue/android/lineage/out/target/product/serranoltexx/system/lib/modules -type f -name modules.order\`; if [ \"\$mdpath\" != \"\" ];then mpath=\`dirname \$mdpath\`; ko=\`find \$mpath/kernel -type f -name *.ko\`; for i in \$ko; do arm-linux-androidkernel-strip --strip-unneeded \$i; mv \$i /home/mrglue/android/lineage/out/target/product/serranoltexx/system/lib/modules/; done; fi && mdpath=\`find /home/mrglue/android/lineage/out/target/product/serranoltexx/system/lib/modules -type f -name modules.order\`; if [ \"\$mdpath\" != \"\" ];then mpath=\`dirname \$mdpath\`; rm -rf \$mpath; fi ; else echo \"Kernel Modules not enabled\" ; fi )"
Hey guys I hope someone can help me figure this out...
Code:
sound/soc/codecs/Kconfig:564:warning: type of 'SND_SOC_HPH_WA' redefined from 'boolean' to 'tristate'
mm/Kconfig:415:warning: defaults for choice values not supported
warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_APPLETOUCH which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)
warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_BCM5974 which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)
warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_SYNAPTICS_USB which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)
warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)
warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_APPLETOUCH which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)
warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_BCM5974 which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)
warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_SYNAPTICS_USB which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)
warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)
warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
make: Leaving directory '/home/g/android/lineage/kernel/lge/msm8992'
[ 2% 2530/98851] target C++: bu_recovery <= bootable/recovery/backup.cpp
Code:
FAILED: /home/g/android/lineage/out/target/product/h811/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp
/bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -o/home/g/android/lineage/out/target/product/h811/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp bootable/recovery/edify/lexer.ll"
flex-2.5.39: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)
[ 4% 4739/98851] target C++: libappl...ble/recovery/applypatch/applypatch.cpp
ninja: build stopped: subcommand failed.
16:38:03 ninja failed with: exit status 1
Using @thepieguy repo init:
Code:
repo init -u https://github.com/thepiguy0/g4_manifest.git -b lineage-15.1
Now using the roomservice file posted in the LOS 15.1 thread...
Synced repo with:
Code:
repo sync -c -j2 --force-sync --no-clone-bundle --no-tags
Any tips would be most appreciated!
Cheers!
grantdb said:
Hey guys I hope someone can help me figure this out...
Code:
sound/soc/codecs/Kconfig:564:warning: type of 'SND_SOC_HPH_WA' redefined from 'boolean' to 'tristate'
mm/Kconfig:415:warning: defaults for choice values not supported
warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_APPLETOUCH which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)
warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_BCM5974 which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)
warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_SYNAPTICS_USB which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)
warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)
warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_APPLETOUCH which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)
warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_BCM5974 which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)
warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_SYNAPTICS_USB which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)
warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)
warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
make: Leaving directory '/home/g/android/lineage/kernel/lge/msm8992'
[ 2% 2530/98851] target C++: bu_recovery <= bootable/recovery/backup.cpp
Code:
FAILED: /home/g/android/lineage/out/target/product/h811/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp
/bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -o/home/g/android/lineage/out/target/product/h811/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp bootable/recovery/edify/lexer.ll"
flex-2.5.39: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)
[ 4% 4739/98851] target C++: libappl...ble/recovery/applypatch/applypatch.cpp
ninja: build stopped: subcommand failed.
16:38:03 ninja failed with: exit status 1
Using @thepieguy repo init:
Code:
repo init -u https://github.com/thepiguy0/g4_manifest.git -b lineage-15.1
Now using the roomservice file posted in the LOS 15.1 thread...
Synced repo with:
Code:
repo sync -c -j2 --force-sync --no-clone-bundle --no-tags
Any tips would be most appreciated!
Cheers!
Click to expand...
Click to collapse
With the roomservice.xml file in place this is the error:
Code:
4% 4660/98851] Lex: applypatch <= bootable/recovery/edify/lexer.ll
FAILED: /home/g/android/lineage/out/target/product/h812_usu/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp
/bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -o/home/g/android/lineage/out/target/product/h812_usu/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp bootable/recovery/edify/lexer.ll"
flex-2.5.39: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)
[ 4% 4663/98851] target C++: adbd <= system/core/adb/shell_service.cpp
ninja: build stopped: subcommand failed.
22:16:01 ninja failed with: exit status 1
Code:
export LC_ALL=C
before building
P.S. don't use my repo to init any more - it's old and outdated. Make sure you repo init to the lineage repo and use the manifest from suicide org
Finally built after much frustration!
Hi all,
Can anyone help me out with info on how to solve this?
Code:
[ 84% 103/122] ----- Making uncompressed recovery ramdisk ------
cp: cannot stat '/android-dev/android/lineage/out/target/product/cepheus/root/init.recovery.*.rc': No such file or directory
[ 85% 104/122] ----- Making compressed recovery ramdisk ------
[ 86% 105/122] ----- Making recovery image ------
[ 86% 106/122] Target build info: /android-dev/android/lineage/out/target/product/cepheus/system/build.prop
[ 87% 107/122] build /android-dev/android/lineage/out/target/product/cepheus/obj/NOTICE.xml
[ 88% 108/122] build /android-dev/android/lineage/out/target/product/cepheus/obj/NOTICE.xml.gz
[ 89% 109/122] build /android-dev/android/lineage/out/target/product/cepheus/system/etc/NOTICE.xml.gz
[ 90% 110/122] build /android-dev/android/lineage/out/target/product/cepheus/obj/NOTICE_VENDOR.xml
[ 90% 111/122] build /android-dev/android/lineage/out/target/product/cepheus/obj/NOTICE_VENDOR.xml.gz
[ 91% 112/122] build /android-dev/android/lineage/out/target/product/cepheus/vendor/etc/NOTICE.xml.gz
[ 92% 113/122] Installed file list: /android-dev/android/lineage/out/target/product/cepheus/installed-files-vendor.txt
[ 93% 114/122] Installed file list: /android-dev/android/lineage/out/target/product/cepheus/installed-files.txt
[ 94% 115/122] Target system fs image: /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system.img
FAILED: /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system.img
/bin/bash -c "(if [ -d /android-dev/android/lineage/out/target/product/cepheus/system/vendor ] && [ ! -h /android-dev/android/lineage/out/target/product/cepheus/system/vendor ]; then echo 'Non-symlink /android-dev/android/lineage/out/target/product/cepheus/system/vendor detected!' 1>&2; echo 'You cannot install files to /android-dev/android/lineage/out/target/product/cepheus/system/vendor while building a separate vendor.img!' 1>&2; exit 1; fi ) && (ln -sf /vendor /android-dev/android/lineage/out/target/product/cepheus/system/vendor ) && (mkdir -p /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/ /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates && rm -rf /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"ext_mkuserimg=mkuserimg_mke2fs.sh\" >> /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"fs_type=ext4\" >> /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"system_size=3758096384\" >> /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"extfs_sparse_flag=-s\" >> /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"squashfs_sparse_flag=-s\" >> /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"selinux_fc=/android-dev/android/lineage/out/target/product/cepheus/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin\" >> /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"avb_avbtool=avbtool\" >> /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"avb_system_hashtree_enable=true\" >> /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"avb_system_add_hashtree_footer_args=--setup_as_rootfs_from_kernel\" >> /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"avb_vendor_hashtree_enable=true\" >> /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"avb_vendor_add_hashtree_footer_args=\" >> /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"avb_product_hashtree_enable=true\" >> /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"avb_product_add_hashtree_footer_args=\" >> /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"system_root_image=true\" >> /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"root_dir=/android-dev/android/lineage/out/target/product/cepheus/root\" >> /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"skip_fsck=true\" >> /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (PATH=/android-dev/android/lineage/out/host/linux-x86/bin/:\$PATH build/make/tools/releasetools/build_image.py /android-dev/android/lineage/out/target/product/cepheus/system /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system_image_info.txt /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/system.img /android-dev/android/lineage/out/target/product/cepheus/system /android-dev/android/lineage/out/target/product/cepheus/obj/PACKAGING/systemimage_intermediates/generated_system_image_info.txt || ( mkdir -p /android-dev/android/lineage/out/dist; cp /android-dev/android/lineage/out/target/product/cepheus/installed-files.txt /android-dev/android/lineage/out/dist/installed-files-rescued.txt; exit 1 ) )"
Non-symlink /android-dev/android/lineage/out/target/product/cepheus/system/vendor detected!
You cannot install files to /android-dev/android/lineage/out/target/product/cepheus/system/vendor while building a separate vendor.img!
[ 95% 116/122] Target vendor fs image: /android-dev/android/lineage/out/target/product/cepheus/vendor.img
[ 95% 117/122] Construct recovery from boot
ninja: build stopped: subcommand failed.
14:51:04 ninja failed with: exit status 1
Thanks in advance
MWPau said:
Hi all, Can anyone help me out with info on how to solve this?.........
Click to expand...
Click to collapse
If this is regarding an issue building a LineageOS Firmware ROM, there's a bunch of Guides, Tutorials, etc... regarding this topic on the Forum.
The following are just 2 examples of them that looks pretty active too.
https://forum.xda-developers.com/showthread.php?t=3551484
https://forum.xda-developers.com/showthread.php?t=2814763
Good Luck!
~~~~~~~~~~~~~~~
Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Apple Macintosh.