Rom install failed... - Nexus 7 (2013) Q&A

I have this problem ,
I installed dual booting with MultiROM ubuntu_trusty v.22b ,
now I want to install Ubuntu 13:10 saucy with TWRP dual booting ,
but the file saucy - preinstalled - armel + grouper.zip me back this error:
I: Running cmd " dd if =" / dev/block/mmcblk0p14 " of = " / realdata/media/0/multirom/roms/saucy-preinstalled-armel + g / boot.img " "
32768 +0 records in
32768 +0 records out
16777216 bytes ( 16.0MB ) copied , 0.742614 seconds , 21.5MB / s
Current boot sector was used as the basis for fake boot.img !
I: Running cmd "echo ' / dev/block/mmcblk0p14 ' > / tmp / mrom_fakebootpart "
I: Running cmd " mv " / dev/block/mmcblk0p14 " ," / dev/block/mmcblk0p14 " -orig "
I: Running cmd " ln- s" / realdata/media/0/multirom/roms/saucy-preinstalled-armel + g / boot.img " ," / dev/block/mmcblk0p14 " "
Installing ' / tmp / mr_update.zip ' ...
Checking for MD5 files ...
I: Can not find file / tmp/mr_update.zip.md5
Skipping MD5 check : no MD5 file found.
I: Zip does not Contain file_contexts SELinux file in Its root.
script aborted : assert failed: GetProp ( " ro.product.device " ) == " grouper " | | GetProp ( " ro.build.product " ) == " grouper "
assert failed: GetProp ( " ro.product.device " ) == " grouper " | | GetProp ( " ro.build.product " ) == " grouper "
E: Error executing binary in zip updater ' / tmp / mr_update.zip '
rm : can not remove ' META-INF/com/google/android ' : No such file or directory
Failed to install ZIP!
thanks

mr-unix said:
I have this problem ,
I installed dual booting with MultiROM ubuntu_trusty v.22b ,
now I want to install Ubuntu 13:10 saucy with TWRP dual booting ,
but the file saucy - preinstalled - armel + grouper.zip me back this error:
I: Running cmd " dd if =" / dev/block/mmcblk0p14 " of = " / realdata/media/0/multirom/roms/saucy-preinstalled-armel + g / boot.img " "
32768 +0 records in
32768 +0 records out
16777216 bytes ( 16.0MB ) copied , 0.742614 seconds , 21.5MB / s
Current boot sector was used as the basis for fake boot.img !
I: Running cmd "echo ' / dev/block/mmcblk0p14 ' > / tmp / mrom_fakebootpart "
I: Running cmd " mv " / dev/block/mmcblk0p14 " ," / dev/block/mmcblk0p14 " -orig "
I: Running cmd " ln- s" / realdata/media/0/multirom/roms/saucy-preinstalled-armel + g / boot.img " ," / dev/block/mmcblk0p14 " "
Installing ' / tmp / mr_update.zip ' ...
Checking for MD5 files ...
I: Can not find file / tmp/mr_update.zip.md5
Skipping MD5 check : no MD5 file found.
I: Zip does not Contain file_contexts SELinux file in Its root.
script aborted : assert failed: GetProp ( " ro.product.device " ) == " grouper " | | GetProp ( " ro.build.product " ) == " grouper "
assert failed: GetProp ( " ro.product.device " ) == " grouper " | | GetProp ( " ro.build.product " ) == " grouper "
E: Error executing binary in zip updater ' / tmp / mr_update.zip '
rm : can not remove ' META-INF/com/google/android ' : No such file or directory
Failed to install ZIP!
thanks
Click to expand...
Click to collapse
It looks like you're trying to use a rom made for the Nexus 7 2012 WiFi (grouper/nakasi) instead of the Nexus 7 2013 WiFi (razor/flo).

thanks where can I find the files for Nexus 7 2013 (flo). ?

mr-unix said:
thanks where can I find the files for Nexus 7 2013 (flo). ?
Click to expand...
Click to collapse
From within MultiROM, it downloads them for you.

have only trusty....

mr-unix said:
have only trusty....
Click to expand...
Click to collapse
Yup.

Yup?
Sent from my Nexus 7 using xda app-developers app

mr-unix said:
Yup?
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Yup.

I do not understad...
Sent from my Nexus 7 using xda app-developers app

mr-unix said:
I do not understad...
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Trusty is the latest and greatest, saucy is old-news, besides there is no saucy for flo in the official repos, unless one wants to build it themselves.

is possbile to install dual booting?

mr-unix said:
is possbile to install dual booting?
Click to expand...
Click to collapse
You mean dual boot with trusty using MultiROMs installer? Yes, that's rather the point of MultiROM.

Related

[Q] cant flash AOSP (error in CWM)[solved][now with fix]

ok when i flash any AOSP ROM i get an error.. i wipe user data cache dalvik cache and im doing this all on the EL26 CWM repack
ok i have tried this on AOKP build 40 CM9 alpha6 and paranoid android v1.5(new) and 1.6 and i always get the same error.... please help
error:
Code:
finding update package...
opening update package...
installing update...
assert failed:
getprop("ro.product.device") == "epic4gtouch" | |
getprop("ro.build.product") == "epic4gtouch" | |
getprop("ro.product.device") == "SPH-D710" | |
getprop("ro.build.product") == "SPH-D710" | |
(status 7)
installation aborted.
the last two getprop is from your current build.prop
the first two are from your new build.prop
the must match to flash
What was your fix for this? I have been trying to figure this out for days. I have the Boost Mobile flavor of this device. Its the same hardware... Currently running FI22 (real/stock OTA) with AGAT FK23's repack. I have tried the EL26 CWM5 as well, both give identical errors.

[Q&A]Revolution ICS HD™

This Thread is for people who still don't have enough posts to post in the development section and are having problems in installing the rom or want to report some bug present in the rom.​
Your Post should be in this format-
Your Device[Arc/S]
Your Kernel[Performance/Battery]
Your Problem
Revolution ICS HD™
Where is the rom its 15 Nov now!! !
Sent from my LT15i using xda app-developers app
XtremeSilencer said:
Where is the rom its 15 Nov now!! !
Sent from my LT15i using xda app-developers app
Click to expand...
Click to collapse
It will be released tonight ! 10pm IST
Sent from my »Neo V«
Dev Jaskirat said:
It will be released tonight ! 10pm IST
Sent from my »Neo V«
Click to expand...
Click to collapse
hey india new delhi!!!
me too from delhi !!
whats new in this rom ??
aosp / nxt??
canyou give some ideas on this rom please??
Cybershot 4.1 mod
Supercharged v6
Beautiful default themes
Heavily modded framework-res.apk
Thunder bolt scripts
Daily usage apps included
Systemui still not decided!( transparent/Xperia T/aosp) have made all 3 lets see which i will use........
Xperia GX launcher by serajr
2 kernels made by New Xperia Team( one favours battery other one performance so people can choose what they want)
Build.prop tweaks
Aroma( only for device patches, no customization options available)
Well that's all what I remember! Rest of it is on my notebook !
Sent from my »Neo V«
Dev Jaskirat said:
Cybershot 4.1 mod
Supercharged v6
Beautiful default themes
Heavily modded framework-res.apk
Thunder bolt scripts
Daily usage apps included
Systemui still not decided!( transparent/Xperia T/aosp) have made all 3 lets see which i will use........
Xperia GX launcher by serajr
2 kernels made by New Xperia Team( one favours battery other one performance so people can choose what they want)
Build.prop tweaks
Aroma( only for device patches, no customization options available)
Well that's all what I remember! Rest of it is on my notebook !
Sent from my »Neo V«
Click to expand...
Click to collapse
wow man amazing!!!
i prefer xperia t or aosp but it will be awesome if you release all 3 hehe
you are the founder of NXT???
thats nice :thumbsup:
XtremeSilencer said:
wow man amazing!!!
i prefer xperia t or aosp but it will be awesome if you release all 3 hehe
you are the founder of NXT???
thats nice :thumbsup:
Click to expand...
Click to collapse
hmm yeah i can give addon zips for all 3 but i want the rom to be unique ! Else i would have added options for customization in aroma !
I think i will go with the aosp one !
Yeah i am the founder of NXT, I brought together the whole team !
And i forgot to mention ! There are onscreen buttons as an addon zip
Sent from my »Neo V«
oh awesome !
Check pm
Sent from my »Neo V«
Dev Jaskirat said:
It will be released tonight ! 10pm IST
Sent from my »Neo V«
Click to expand...
Click to collapse
compatible with stock kernel? .587
rod555 said:
compatible with stock kernel? .587
Click to expand...
Click to collapse
Yup
Sent from my revolutionized »Neo V«
walkman
first of all thanks Dev Jaskirat for such a beautiful rom its really awesome,but there is no xloud and sorround in walkman and more over it uses acid v3? y not v5? and more over themes r so bright that font is not visible.
Can i install acid v5 will there any prob. i already made a backup
premprem2007 said:
first of all thanks Dev Jaskirat for such a beautiful rom its really awesome,but there is no xloud and sorround in walkman and more over it uses acid v3? y not v5? and more over themes r so bright that font is not visible.
Can i install acid v5 will there any prob. i already made a backup
Click to expand...
Click to collapse
v3 cause its the best version and stable too!
clear bass+ option has a more catagory which has a surround option!
no xloud? u sure?
Dev Jaskirat said:
v3 cause its the best version and stable too!
clear bass+ option has a more catagory which has a surround option!
no xloud? u sure?
Click to expand...
Click to collapse
thanks for ur reply i actually selected walkman at the begining of the istallation in aroma and in that walkman i coudnt find sorround.
so i am presently using walkman not acid v3 how to jump to acid v3 should i repeat entire istallation process?????
does acid v3 has walkman player coz i love this walkman player
premprem2007 said:
thanks for ur reply i actually selected walkman at the begining of the istallation in aroma and in that walkman i coudnt find sorround.
so i am presently using walkman not acid v3 how to jump to acid v3 should i repeat entire istallation process?????
does acid v3 has walkman player coz i love this walkman player
Click to expand...
Click to collapse
Just flash acid v3 if u have a zip!
If u don't then. You. Will have to reinstall the whole rom and flash Walkman separately, you can find Walkman in the apps and themes section just search a bit, xperia. V Walkman 7.5 by thilinaC
Sent from my »Neo V«
where the music player or walkman ??
i have arc s
installed ur rom
it's the best i have tel now :fingers-crossed:
its a masterpiece :victory:
but where the walkman ??
bring it in your next update
waiting
as3808878 said:
i have arc s
installed ur rom
it's the best i have tel now :fingers-crossed:
its a masterpiece :victory:
but where the walkman ??
bring it in your next update
waiting
Click to expand...
Click to collapse
sure!
but u can flash walkman from the themes and apps section!
Bootloop SonicMK2 on MK16i (Pro)
- I have to post here dueto minimum of 10 posts in developer forum -
I tried to install the Sonic MK2 on my Pro, using LupusV9-Kernel (Kernel works on Sonic 4.0) but after reboot and the Kernel Image, there is long time black lighted screen, followed by a bootloop.
Here are some parts of my install log, where some errors occureed.
AROMA INSTALLER version 2.00
(c) 2012 by amarullz xda-developers
ROM Name : Revolution ICS HD
ROM Version : Build 4.1
ROM Author : Dev Jaskirat
Device : Xperia 2011
Start at : Thu Jan 10 14:52:37 2013
Revlution ICS HD
Mounting /system
Failed to mount /dev/block/mtdblock0 on /system: Device or resource busy
mtd mount of system failed: Device or resource busy
Failed to mount /dev/block/mtdblock3 on /data: Device or resource busy
mtd mount of userdata failed: Device or resource busy
Extracting Core files...
Extract: ....
....
Extract: /data/app/x-parts_v7.apk
Device
- Pro
Flashing...
set_perm: chown of /system/bin/sysinit to 0 2000 failed: No such file or directory
set_perm: chmod of /system/bin/sysinit to 755 failed: No such file or directory
set_perm: chown of /system/xbin/busybox-installer to 0 0 failed: No such file or directory
set_perm: chmod of /system/xbin/busybox-installer to 755 failed: No such file or directory
set_perm: chown of /system/app/Maps.apk to 0 0 failed: No such file or directory
set_perm: chmod of /system/app/Maps.apk to 644 failed: No such file or directory
set_perm: chown of /system/app/GMS_Maps.apk to 0 0 failed: No such file or directory
set_perm: chmod of /system/app/GMS_Maps.apk to 644 failed: No such file or directory
set_perm: chown of /system/app/YouTube.apk to 0 0 failed: No such file or directory
set_perm: chmod of /system/app/YouTube.apk to 644 failed: No such file or directory
about to run program [/sbin/sh] with 2 args
/sbin/sh: can't open '/system/xbin/busybox-installer'
run_program: child exited with status 2
symlink: failed to symlink /system/vendor/firmware/hdcp.keys to /factory/hdcp.keys: No such file or directory
Installation has been successfully finished!
script result was [Installation has been successfully finished!]
Installer Sucessfull (Status 0)
End at : Thu Jan 10 14:53:53 2013
During the Installation process in Aroma, i recognized that the percentage counter reamins at 0 and not as in for example Sonic4 moves to 100 %...
Hopefully that will help you to find and fix the problem.
Promethroid said:
- I have to post here dueto minimum of 10 posts in developer forum -
I tried to install the Sonic MK2 on my Pro, using LupusV9-Kernel (Kernel works on Sonic 4.0) but after reboot and the Kernel Image, there is long time black lighted screen, followed by a bootloop.
Here are some parts of my install log, where some errors occureed.
AROMA INSTALLER version 2.00
(c) 2012 by amarullz xda-developers
ROM Name : Revolution ICS HD
ROM Version : Build 4.1
ROM Author : Dev Jaskirat
Device : Xperia 2011
Start at : Thu Jan 10 14:52:37 2013
Revlution ICS HD
Mounting /system
Failed to mount /dev/block/mtdblock0 on /system: Device or resource busy
mtd mount of system failed: Device or resource busy
Failed to mount /dev/block/mtdblock3 on /data: Device or resource busy
mtd mount of userdata failed: Device or resource busy
Extracting Core files...
Extract: ....
....
Extract: /data/app/x-parts_v7.apk
Device
- Pro
Flashing...
set_perm: chown of /system/bin/sysinit to 0 2000 failed: No such file or directory
set_perm: chmod of /system/bin/sysinit to 755 failed: No such file or directory
set_perm: chown of /system/xbin/busybox-installer to 0 0 failed: No such file or directory
set_perm: chmod of /system/xbin/busybox-installer to 755 failed: No such file or directory
set_perm: chown of /system/app/Maps.apk to 0 0 failed: No such file or directory
set_perm: chmod of /system/app/Maps.apk to 644 failed: No such file or directory
set_perm: chown of /system/app/GMS_Maps.apk to 0 0 failed: No such file or directory
set_perm: chmod of /system/app/GMS_Maps.apk to 644 failed: No such file or directory
set_perm: chown of /system/app/YouTube.apk to 0 0 failed: No such file or directory
set_perm: chmod of /system/app/YouTube.apk to 644 failed: No such file or directory
about to run program [/sbin/sh] with 2 args
/sbin/sh: can't open '/system/xbin/busybox-installer'
run_program: child exited with status 2
symlink: failed to symlink /system/vendor/firmware/hdcp.keys to /factory/hdcp.keys: No such file or directory
Installation has been successfully finished!
script result was [Installation has been successfully finished!]
Installer Sucessfull (Status 0)
End at : Thu Jan 10 14:53:53 2013
During the Installation process in Aroma, i recognized that the percentage counter reamins at 0 and not as in for example Sonic4 moves to 100 %...
Hopefully that will help you to find and fix the problem.
Click to expand...
Click to collapse
Seems like your system wasn't mounted correctly! I would say goto mounts and storage and remount( unmount and then mount) the system partition! Then install again!
Be sure u r coming from an ics rom
Sent from my »Neo V«
Dev Jaskirat said:
Seems like your system wasn't mounted correctly! I would say goto mounts and storage and remount( unmount and then mount) the system partition! Then install again!
Be sure u r coming from an ics rom
Sent from my »Neo V«
Click to expand...
Click to collapse
No, i came from Sonic4, and i had already the same idea, so i tried to mount the /system manually before the installation where the log is from already. At the moment i´m installing again 4.0, but if i can also do another try with mounting the partition manually.

[DEV ONLY]Xperia Z1 kernel building instructions

I think the time has come to share the info about kernel development we've been keeping for ourselves until now. just be sure to ready the complete thread and not just execute everything without thinking. I won't be responsible for any bricks etc.
Warnings!!
- Only start with a kernel if you are a developer with knowledge about kernel developping.
- Always use the specific dt.img build for your kernel!!!!! Very important!
- Don't complain if it doesn't work when you do something wrong!
== Information ==
Let's start with some info first.
MSM8974 needs something new to build a kernel, this is called a dt.img. This basically is an img file which holds information about the board pagesize, kernel version and some other kernel related things. You can only use a specific dt.img with a kernel, this file needs to be generated by a binary called dtbTool. This bin4ry can be found in the Cyanogen repo's or you can download a prebuild one in this thread.
== Compiling a kernel ==
I'll skip this part for now, every kernel dev should know this part maybe I'll add it later.
== Generating a dt.img ==
Basically you will only need your kernel sources and the dtbTool binary, then you need to generate it using a command like this:
Code:
./dtbTool -o ~/dt_files/dt.img -s 2048 -p ./scripts/dtc/ ./arch/arm/boot/
This seems very simple but it's quite important when building a kernel for MSM8974, or other S800 boards.
After this step has been completed you will find your dt.img in a folder callled dt_files, this folder should be in your home of linux now.
== Making the actual boot.img ==
After making the zImage and dt.img you need to have your ramdisk and an mkbootimg adapted for the dt.img to make a booting/working kernel for our rhine board.
be sure the naming of your files is correct:
- zImage
- dt.img
- intrd.img for your ramdisk
You can generate it by using the following command:
Code:
./mkbootimg --base 0x00000000 --kernel zImage --ramdisk_offset 0x02000000 --tags_offset 0x01E00000 --pagesize 2048 --cmdline "androidboot.hardware=qcom user_debug=31 maxcpus=2 msm_rtb.filter=0x3F ehci-hcd.park=3 msm_rtb.enable=0 lpj=192598 dwc3.maximum_speed=high dwc3_msm.prop_chg_detect=Y" --ramdisk initrd.img --dt dt.img -o boot.img
Let's get kernel development started for everyone!
== Extra ==
If you like my work consider donating me a beer
binary files attached
krabappel2548 said:
binary files attached
Click to expand...
Click to collapse
Awesome! Thanks! Will tinker around with it tonight!
@krabappel2548 : Thanks for the tutorial
I've been trying to compile the kernel using Linaro, and I'm constantly getting this error :
Code:
scripts/mod/empty.c:1: error: bad value (cortex-a15) for -mcpu= switch
kernel/bounds.c:1: error: bad value (cortex-a15) for -mcpu= switch
Could you please tell me what I am missing out on here?
Thanks
Pwng3 said:
@krabappel2548 : Thanks for the tutorial
I've been trying to compile the kernel using Linaro, and I'm constantly getting this error :
Code:
scripts/mod/empty.c:1: error: bad value (cortex-a15) for -mcpu= switch
kernel/bounds.c:1: error: bad value (cortex-a15) for -mcpu= switch
Could you please tell me what I am missing out on here?
Thanks
Click to expand...
Click to collapse
try this
https://github.com/faux123/Galaxy_Note_3/commit/8ad5dd6f969bb76ef970cbf101a255bb093efe5f
If you want to compil kernel, but with a full automation, you can use this script
"scriptZ1" : http://forum.xda-developers.com/attachment.php?attachmentid=2346163&stc=1&d=1382568778
With this script you have an automatic download/configuration (Toolchain, dtbTool, etc...)
You must go to $HOME, and "mkdir kernel"
cd kernel
unzip file (only 1 script) => scriptZ1
chmod 777 scriptZ1
./scriptZ1
Follow instructions
that's all
DooMLoRD said:
try this
https://github.com/faux123/Galaxy_Note_3/commit/8ad5dd6f969bb76ef970cbf101a255bb093efe5f
Click to expand...
Click to collapse
That resolved the issue. Thanks
Update :
I was getting this error :
Code:
ERROR: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
To build the kernel despite the mismatches, build with:
'make CONFIG_NO_ERROR_ON_MISMATCH=y'
(NOTE: This is not recommended)
make[1]: *** [vmlinux.o] Error 1
make: *** [vmlinux.o] Error 2
So I went on to make the build with make CONFIG_DEBUG_SECTION_MISMATCH=y.
After which, when I tried generating the dt.img, I'm stuck up on this error that says :
Code:
Generating master DTB... error writing output file, please rerun: size mismatch 530432 vs -566
Could someone help please?
@krabappel2548
Hey,after repacking whole kernel I'm getting this error when I try to boot it:
Code:
fastboot boot boot.img
downloading 'boot.img'...
OKAY [ 0.319s]
booting...
FAILED (remote: dtb not found)
How do I create a dt.img? I always get Found 0 Unique dtbs.
Shoaib05 said:
How do I create a dt.img? I always get Found 0 Unique dtbs.
Click to expand...
Click to collapse
first download Doom-Lords kernel build tools
then copy dtbtool from msm8978aa folder in to you kernel source directory
then open terminal and cd to your kernel directory and enter these codes:
Code:
./dtbTool -o dt.img -s 2048 -p scripts/dtc/ arch/arm/boot/
instruction by DoomLord
Red-code said:
first download Doom-Lords kernel build tools
then copy dtbtool from msm8978aa folder in to you kernel source directory
then open terminal and cd to your kernel directory and enter these codes:
Code:
./dtbTool -o dt.img -s 2048 -p scripts/dtc/ arch/arm/boot/
instruction by DoomLord
Click to expand...
Click to collapse
Managed to get past it but now it is giving a size-mismatch error. :/
Shoaib05 said:
Managed to get past it but now it is giving a size-mismatch error. :/
Click to expand...
Click to collapse
Does this work? binary is x86_64
dt_dir is arch/arm/boot/ on 3.4 - arch/arm/boot/dts on 3.10
Code:
mkqcdtbootimg --kernel arch/arm/boot/zImage --ramdisk ramdisk.bz2 --base 0x00000000 --ramdisk_offset 0x02000000 --tags_offset 0x01E00000 --pagesize 2048 --cmdline "androidboot.hardware=qcom user_debug=31 maxcpus=2 msm_rtb.filter=0x3F ehci-hcd.park=3 msm_rtb.enable=0 lpj=192598 dwc3.maximum_speed=high dwc3_msm.prop_chg_detect=Y" --dt_dir arch/arm/boot/ -o boot-.img

serranoltexx LineageOS 14.1 build fails [SOLVED]

I get this error when building LinageOS 14.1 for serranoltexx (Samsung Galaxy S4 mini international LTE) on Arch Linux:
Pastebin: pastebin.com/LxxSukPa
Code:
FAILED: /home/pk15/programming/mobile/android/system/out/target/common/obj/all-event-log-tags.txt
/bin/bash -c "build/tools/merge-event-log-tags.py -o /home/pk15/programming/mobile/android/system/out/target/common/obj/all-event-log-tags.txt
frameworks/base/core/java/android/app/admin/SecurityLogTags.logtags frameworks/base/core/java/android/content/EventLogTags.logtags frameworks/base/core/java/android/speech/tts/EventLogTags.logtags
frameworks/base/core/java/android/webkit/EventLogTags.logtags frameworks/base/core/java/com/android/internal/logging/EventLogTags.logtags
frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/EventLogTags.logtags frameworks/base/packages/SystemUI/src/com/android/systemui/EventLogTags.logtags frameworks/base/services/core/java/com/android/server/EventLogTags.logtags frameworks/base/services/core/java/com/android/server/am/EventLogTags.logtags frameworks/ex/common/java/com/android/common/GoogleLogTags.logtags frameworks/native/services/surfaceflinger/EventLog/EventLogTags.logtags frameworks/opt/telephony/src/java/com/android/internal/telephony/EventLogTags.logtags packages/apps/Browser/src/com/android/browser/EventLogTags.logtags packages/apps/Settings/src/com/android/settings/EventLogTags.logtags packages/providers/CalendarProvider/src/com/android/providers/calendar/EventLogTags.logtags packages/providers/ContactsProvider/src/com/android/providers/contacts/EventLogTags.logtags packages/services/Telephony/src/com/android/phone/EventLogTags.logtags system/bt/btif/../EventLogTags.logtags system/bt/hci/../EventLogTags.logtags system/core/liblog/event.logtags system/core/libsysutils/EventLogTags.logtags system/core/logcat/event.logtags system/core/logd/event.logtags"
Traceback (most recent call last):
File "build/tools/merge-event-log-tags.py", line 99, in <module>
tagfile = event_log_tags.TagFile(fn)
File "/home/pk15/programming/mobile/android/system/build/tools/event_log_tags.py", line 69, in __init__
parts = re.split(r"\s+", line, 2)
File "/usr/lib/python3.5/re.py", line 203, in split
return _compile(pattern, flags).split(string, maxsplit)
TypeError: cannot use a string pattern on a bytes-like object
[ 0% 8/33426] host Java: jarjar (/home/pk15/programming/mobile/android/system/out/host/common/obj/JAVA_LIBRARIES/jarjar_intermediates/classes)
ninja: build stopped: subcommand failed.
Any help would be greatly appreciated!
Thank you
Pastebin: pastebin.com/LxxSukPa
In re.split(...) update to: line.decode('utf-8')
Sent from my A0001 using Tapatalk
Solved
I changed the /usr/bin/python to link to python2.7 instead of python3.5 and now it works fine.

[LineageOs 15.1] Problem building to create zip

Hi there,could someone tell me what is wrong when I build lineageos?
Code:
[100% 1/1] build bacon
FAILED: bacon
/ bin / bash -c "(ln -f /root/Lineageos/out/target/product/a400cg/lineage-.zip) && (md5sum /root/Lineageos/out/target/product/a400cg/lineage-.zip | sed \ "s \ / root / Lineageos / out / target / product / a400cg / || \"> /root/Lineageos/out/target/product/a400cg/lineage-.zip.md5sum) && (echo \ "Package Complete : /root/Lineageos/out/target/product/a400cg/lineage-.zip \ "> & 2)"
ln: could not access '/root/Lineageos/out/target/product/a400cg/lineage-.zip': No such file or directory exists
ninja: build stopped: subcommand failed.
11:28:28 ninja failed with: exit status 1
bacon refers to one plus 3..device or so...I hope you are building for a one plus 3 device, otherwise you have to change bacon to your device specific call name.
Did you find a solution? I have the same error when attempting to build for Lilac.
Thanks!

Categories

Resources