yashsingh1/xdaforums huggingface dataset:
[Android] BRoy_98:
[MENTION=6049586]Arvind7352[/MENTION] that problem was fixed by Syncing packages_apps_Email from CM repo as you told.

Now it is showing this error again :(: http://pastebin.com/ADup6gDR
[Android] quanganh2627:
Maybe you are having trouble with jack - a new s*** build tool. Find and delete any file in your $HOME named "$HOME/.jack" or "$HOME/.jack-settings". Or make life simpler by add this flag to your config files to disable jack-server build method

ANDROID_COMPILE_WITH_JACK := false
[Android] Startrek852:
[MENTION=6235814]Mawth[/MENTION], just to be clear, you have to add that flag without quotes to your BoardConfig.mk, then make clean and rebuild.
[Android] Mawth:
Mega thanks [MENTION=5392204]quanganh2627[/MENTION] and [MENTION=6622051]Startrek852[/MENTION]. The offending file was indeed $HOME/.jack. As it turns out, I was able to resolve my issue by adjusting the permissions settings of that file. All good now.
[Android] Startrek852:
Well, that's good. Has it compilied yet?
[Android] arpit_nnd:
Seeking help for developing device and vendor trees for Lenovo Vibe X3. I am new to creating trees from scratch and community help is essential as there isn't (and probably won't be) a proper guide about how to proceed with it.

There are a few similar devices with CM up and running. I tried contacting a few devs who actually did this task for the Moto X Style (clark) on XDA but no one really replied.

Some suggestions as to how I should get started with it and test would be helpful.

Anyone with some experience in it here?

Details about the device: https://github.com/arpitnnd/android_device_lenovo_x3_row/blob/master/README.md﻿
[Android] tschmid:
I get this error when building cyanogenmod:

Package target files:/home/thomas/android/system/out/target/product/sk1wg/obj/PACKAGING/target_files_intermediates/cm_sk1wg-target_files-e6d1db4ec6.zip*

building image from target_files RECOVERY...*

building image from target_files BOOT...*

Traceback (most recent call last):*

*File "./build/tools/releasetools/make_recovery_patch", line 53, in <module>*

***main(sys.argv[1:])*

*File "./build/tools/releasetools/make_recovery_patch", line 49, in main*

***common.MakeRecoveryPatch(input_dir, output_sink, recovery_img, boot_img)*

*File "/home/thomas/android/system/build/tools/releasetools/common.py", line 1289, in MakeRecoveryPatch*

***td_pair = GetTypeAndDevice("/boot", info_dict)

*File "/home/thomas/android/system/build/tools/releasetools/common.py", line 1240, in GetTypeAndDevice*

***return PARTITION_TYPES[fstab[mount_point].fs_type], fstab[mount_point].device*

KeyError: '/boot'*

build/core/Makefile:1498: die Regel für Ziel „/home/thomas/android/system/out/target/product/sk1wg/obj/PACKAGING/target_files_intermediates/cm_sk1wg-tar

get_files-e6d1db4ec6.zip“ scheiterte*

make: *** [/home/thomas/android/system/out/target/product/sk1wg/obj/PACKAGING/target_files_intermediates/cm_sk1wg-target_files-e6d1db4ec6.zip] Fehler 1*

make: Verzeichnis „/home/thomas/android/system“ wird verlassen*

#### make failed to build some targets (03:31:36 (hh:mm:ss)) ####

Anybody has a tip or can help?

Gesendet von meinem LG-D855 mit Tapatalk
[Android] Startrek852:
You need to add an entry to your fstab for the /boot partition.
[Android] tschmid:
Thanks will try that ?

Trying to build a port for Jide Remix Ultra Tablet ?

Gesendet von meinem LG-D855 mit Tapatalk
[Android] tschmid:
Thanks that worked

Gesendet von meinem REMIX SK1WG mit Tapatalk
[Android] Startrek852:
Awesome, did it boot?
[Android] Mawth:
Yep. Back in business. :good:
[Android] Startrek852:
Sweet. Did it boot?
[Android] tschmid:
Its compiling again, GF cant sleep if PC is running. CM Recovery is working fine.

Will give feedback if the build boot

Gesendet von meinem LG-D855 mit Tapatalk
[Android] tschmid:
Strange if i try to flash the recovery it fails with size failure. My device recovery partition is 8192, 8192 multiplying with 1024 and put the result in boardconfig. Whats the magic behind? How can i identify which target_recovery_partition value i need to use?

Gesendet von meinem LG-D855 mit Tapatalk
[Android] MSF Jarvis:
If it fails during flashing, that means the hardware partition itself is smaller than the recovery size. Changing its size define in the BoarsConfig won't really help. What you can try is cherry-pick this commit in your device tree : https://github.com/TeamWin/android_device_htc_pico/commit/611e674bb398bf4e212671c7d523f9837be36efc

This will drastically reduce the recovery image size if it works perfectly
[Android] tschmid:
Thanks a lot, ill try that and will give feedback.

I also thought about lzma compression but wasnt sure if i have to define this in kernel setting with make menuconfig

Gesendet von meinem LG-D855 mit Tapatalk
[Android] Qiangong2:
Is there a way to debug a ROM if it doesn't boot past the manufacturer splash screen? dmesg doesn't work.
[Android] MSF Jarvis:
This commit requires that your kernel has LZMA support too.
[Android] Qiangong2:
Anyone?
[Android] MSF Jarvis:
Your kernel is messed up. Problem debugged
[Android] Qiangong2:
Okay thanks :rolleyes: are there any main reasons why a kernel would not work on CM13?
[Android] MSF Jarvis:
It's being built with the wrong toolchains from what I've experienced in the past. Try using a prebuilt kernel
[Android] Qiangong2:
Yeah..... the device I'm working on, the last official build was 4.1.2, so no prebuilt kernel
[Android] MSF Jarvis:
You have the kernel source, right? Just use any guide to build it, using an older toolchain and then use it as prebuilt kernel. If you haven't updated the kernel repo yet for MM, then even this won't help.
[Android] Qiangong2:
Okay, thanks
[Android] MSF Jarvis:
Use the button, keep the thread clean.
[Android] tschmid:
I could fixed the issue with changing kernel config, compression mode. Thanks for your hint its working now, proceed furter to CM12.1 build

Gesendet von meinem LG-D855 mit Tapatalk
[Android] DarkFrenzy:
Trying to build slimmm on Google cloud

In Have changed cm device tree to slim names but when I write brunch lt02ltespr

It gives error of not found such device and in breakfast device is not there.

Is there anything special to edit?
[Android] MSF Jarvis:
I believe SlimROMs also needs you to put a product makefile at vendor/slim/products. Please check that folder and then duplicate any on the files inside it and change the names to your device's. You might want to check up everything on GitHub first, then fork vendor/slim repo to your GitHub, make the changes, then write a local_manifest to remove the existing vendor/slim and track your fork of it. Then simply log in to Google cloud, curl your local_manifest.xml to .repo/local_manifests.xml and sync by typing repo sync vendor/slim. I'm telling all this only because it will help you make the time you keep the Google Cloud VM on a bit lesser, and since time is of the essence here, this is why this looong procedures
[Android] DarkFrenzy:
There is no products folder in vendor slim
[Android] Qiangong2:
Is there a quick way to bring a kernel up to cm13 from cm12.1?
[Android] bauuuuu:
This solution is not working anymore. Even though i have maven3 installed and Java path set properly it is not guaranteed that it will work. The funniest and stupidest part is sometimes it works and sometimes it doesn't. I have been closely observing this ambientsdk crap and without changing (no repos sync) anything in the local source on some days it compiles without a single error and another day it gives this error of ambientsdk_intermediates. Searching google does not help anymore as everyone points at the mvn installation and JAVA_HOME.

Comments Anyone?
[Android] DarkFrenzy:
how to fix this error

Import includes file: /home/farish_priv/SlimRom/out/target/product/lt02ltespr/obj/SHARED_LIBRARIES/libsonic_inte

rmediates/import_includes

make: *** No rule to make target `/home/farish_priv/SlimRom/out/target/product/lt02ltespr/obj/SHARED_LIBRARIES/l

ibaudiopolicymanager_intermediates/export_includes', needed by `/home/farish_priv/SlimRom/out/target/product/lt0

2ltespr/obj/SHARED_LIBRARIES/libaudiopolicyservice_intermediates/import_includes'. Stop.

make: *** Waiting for unfinished jobs....

Import includes file: /home/farish_priv/SlimRom/out/target/product/lt02ltespr/obj/STATIC_LIBRARIES/libcpustats_i

ntermediates/import_includes

warning: [options] bootstrap class path not set in conjunction with -source 1.6

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

1 warning

make: Leaving directory `/home/farish_priv/SlimRo
[Android] SlimShady's:
Show me your BoardConfig.mk
[Android] DarkFrenzy:
https://github.com/FaArIsH/android_device_samsung_lt02ltespr/blob/slimmm/BoardConfig.mk

Common

https://github.com/FaArIsH/android_device_samsung_lt02ltexx-common/blob/mm6.0/BoardConfigCommon.mk
[Android] SlimShady's:
Delete this:

USE_CUSTOM_AUDIO_POLICY := 1

From common BoardConfig.mk and build again.
[Android] Mahdi921:
hello

thanks

to your useful work here.

if you updated the codes for ubuntu 16 or 15 recently, please consider giving the link of that thread to me.

Good Luck!
[Android] DarkFrenzy:
thanks this worked until this error

Copy: /home/farish_priv/SlimRom/out/target/product/lt02ltespr/obj/STATIC_LIBRARIES/libclangSerialization_interme
diates/include/clang/AST/StmtNodes.inc
Copy: /home/farish_priv/SlimRom/out/host/linux-x86/obj/STATIC_LIBRARIES/libclangStaticAnalyzerCheckers_intermedi
ates/include/clang/Basic/AttrList.inc
make: *** [/home/farish_priv/SlimRom/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk]
Error 1
make: *** Deleting file `/home/farish_priv/SlimRom/out/target/common/obj/APPS/framework-res_intermediates/packag
e-export.apk'
make: *** Waiting for unfinished jobs....
Copy: /home/farish_priv/SlimRom/out/host/linux-x86/obj/STATIC_LIBRARIES/libclangStaticAnalyzerCheckers_intermedi
ates/include/clang/AST/Attrs.inc
make: Leaving directory `/home/farish_priv/SlimRom'

any idea ?
[Android] SlimShady's:
I can't see the error there. The error is above.

Please:

1- Don't post logs in XDA

2- Use hastebin.com or pastebin.com and copy/paste the URL here on this Thread.
[Android] DarkFrenzy:
i ran again and got this

http://pastebin.com/xk6Bbv75
[Android] SlimShady's:
Delete all the lines that are giving error in your device tree and compile again
[Android] DarkFrenzy:
Thank you very much . Now the build is completed .

But I don't have any file manager , Slim specific setting ,Slim centre ,

Its just Aosp .

How can I get those little features ?
[Android] SlimShady's:
Slim6 is this way. Just AOSP :) They haven't added big features yet..
[Android] DarkFrenzy:
But in this thread

http://xdaforums.com/lg-l90/development/rom-slimrom-marshmallow-t3298337

I m seeing some features mentioned .
[Android] Startrek852:
The thread says WILL BE INCLUDED, so the features aren't there yet.
[Android] DarkFrenzy:
Oh sorry
[Android] Mahdi921:
? i wanted the link of updated guide for Ubuntu 16 or 15, and you just ignored me!?
[Android] Startrek852:
Here's the link to a guide for setting up Ubuntu 16.04: http://xdaforums.com/chef-central/android/guide-how-to-setup-ubuntu-16-04-lts-t3363669
[Android] Mahdi921:
Thank you! ?☺
[Android] Startrek852:
You're welcome.
[Android] Droidcore:
Dlete
[Android] sai milind:
guys i am trying to compile android 6.0.1 exodus rom for galaxy grand duos and i encountered this error can anyone please help me!!!!! link to error- http://pastebin.com/2jyaKtKR
[Android] DarkFrenzy:
how did u got the exodus source repo ? i m unable to sync it, can u tell me how to sync it ?

---------- Post added at 02:15 PM ---------- Previous post was at 02:10 PM ----------

there came errors about reboot and shutdown actions and options overlays error so i removed it. thats y there is no reboot option available only power off is there.

and the luancher doesn't have app drawer icon.

this pull request

https://github.com/SlimRoms/frameworks_base/pull/30

has the overlays that i removed. so i this is merged i can get reboot menu ?
[Android] sai milind:
Type this

repo init -u https://github.com/TeamExodus/platform_manifest.git -b EXODUS-6.0

And then repo sync that's it!!!!
[Android] martinusbe:
That pull request only adds the missing strings in frameworks to fix build errors, nothing will work anyway, it will not be merged.

don't merge that to build its no use

just disable the overlays with errors in your device tree

you can re enable them when features are getting merged, Slim is just a base now
[Android] Droidcore:
Hi [MENTION=6552280]MSF Jarvis[/MENTION] i getc this error

Building with Jack: /home/rootz/bliss6/out/target/common/obj/JAVA_LIBRARIES/android-support-v14-preference_intermediates/classes.jack
ERROR: /home/rootz/bliss6/packages/apps/Camera2/src/com/android/camera/CameraActivity.java:2254: PRIVATE_FLAG_PREVENT_POWER_KEY cannot be resolved or is not a field
ERROR: /home/rootz/bliss6/packages/apps/Camera2/src/com/android/camera/CameraActivity.java:2257: PRIVATE_FLAG_PREVENT_POWER_KEY cannot be resolved or is not a field
make: *** [/home/rootz/bliss6/out/target/common/obj/APPS/Camera2_intermediates/with-local/classes.dex] Error 41
make: *** Waiting for unfinished jobs....
make: Leaving directory `/home/rootz/bliss6'

this from source or my device source?
[Android] MSF Jarvis:
This seems to be a source error. Try disabling Jack by putting ANDROID_COMPILE_WITH_JACK := false in your BoardConfig and then running make clobber
[Android] DarkFrenzy:
Then how to get reboot option?
[Android] SlimShady's:
He is probably missing this: http://review.cyanogenmod.org/#/c/115950/2/core/java/android/view/WindowManager.java (line 1130-1134) in his framework/base repo.
[Android] hemanthacker:
How can i make my own device tree
[Android] MSF Jarvis:
It's a complicated job, nothing is available that even remotely resembles a tutorial. Your best bet is to find a similar device (by hardware) which has a device tree and use that
[Android] Droidcore:
* {@hide}
*/
public static final int PRIVATE_FLAG_FORCE_STATUS_BAR_VISIBLE_TRANSPARENT = 0x00001000;

/**
* {@hide}
*/
public static final int PRIVATE_FLAG_STATUS_HIDE_FORCED = 0x00800000;

/**
* {@hide}
*/
public static final int PRIVATE_FLAG_NAV_HIDE_FORCED = 0x01000000;

this is in bliss framework base, line 1138-1148
[Android] SlimShady's:
Just copy the lines I wrote in my post above (the link to CM Review), under this lines you wrote.
[Android] hemanthacker:
I find the device having similar spec what files should be edited in device tree to make it compatible with my device
[Android] MSF Jarvis:
You need to figure that out yourself. As I said, there's no guides or anything involved, its pure skill. You sadly seem to lack them.
[Android] martinusbe:
https://review.slimroms.org/#/c/11255/

https://review.slimroms.org/#/c/15889/

---------- Post added at 10:55 PM ---------- Previous post was at 10:45 PM ----------

https://wiki.cyanogenmod.org/w/Doc:_porting_intro
[Android] Droidcore:
hi [MENTION=6552280]MSF Jarvis[/MENTION] sorry mention you again :silly: , after repo sync today this problem come out,

want to fix lag issue on my build,,

this my log

bionic/libc/bionic/semaphore.cpp:69:35: error: left shift of negative value [-Werror=shift-negative-value]
#define SEMCOUNT_VALUE_SHIFT 1
^

some error on my log
[Android] MSF Jarvis:
No idea about this error, haven't really run into a lot of errors in my builds :)
[Android] quanganh2627:
U should clean ccache by type "ccache -C", also "make clobber" in terminal, after each "repo sync". Then try again.

With kind of error like [Werror=.....] like this, we can pass it by copy everything inside [ ] then append it to "LOCAL_CFLAGS" or something like that in Android.mk of that error file. But prefer fix your code than do above trick. Have fun
[Android] DevelopersWork:
This guide awesome and very helpful.

But my device haven't had cm or any other builds done at so how do i get device tree,vendor,kernel please help me.............................
[Android] Droidcore:
fix (y)
[Android] MSF Jarvis:
Jeez! Don't quote the whole OP!
[Android] DevelopersWork:
sorry I am new to xda I just did quick reply so i havent saw the quote..........

can you give guide how to get device tree,vendor,kernel for a device which doesnt had made a build at..........
[Android] MSF Jarvis:
It's a pretty complicated job, way more complicated than building the actual ROM. Try finding a similar device in terms of hardware has sources available and then adapt it to your device through this guide : https://wiki.cyanogenmod.org/w/Doc:_porting_intro
[Android] DevelopersWork:
I already had visited that guide but I am getting confused since I am new to Android development

But I will try if you find any other detailed guide please say me.............
[Android] MSF Jarvis:
If you can't understand that guide, sorry then, you are not supposed to be making a device tree then.
[Android] Frostyagent:
I need your help, I am compilinh Android 6.0.1 on Ubuntu 16 and also tried on 15 but suddenly weird error pops up, please help me out in it.

target thumb C++: libv8 <= external/v8/src/flags.cc

In file included from external/v8/src/heap/incremental-marking.h:10:0,

from external/v8/src/heap/heap.h:16,

from external/v8/src/contexts.h:8,

from external/v8/src/objects-inl.h:17,

from external/v8/src/v8.h:39,

from external/v8/src/flags.cc:8:

external/v8/src/heap/mark-compact.h:712:16: internal compiler error: Segmentation fault

SlotsBuffer* migration_slots_buffer_;

^

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://source.android.com/source/report-bugs.html> for instructions.

build/core/binary.mk:706: recipe for target 'out/target/product/hammerhead/obj/STATIC_LIBRARIES/libv8_intermediates/src/flags.o' failed

make: *** [out/target/product/hammerhead/obj/STATIC_LIBRARIES/libv8_intermediates/src/flags.o] Error 1
[Android] DarkFrenzy:
how to add my device to omni ? there is no omni.devices like slim i get this error

build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_lt02ltespr
[Android] Startrek852:
Here, use this commit for reference: https://github.com/TeamRegular/andr...mmit/a7ecf9934535351c681365f4afa26b29566d2404
[Android] DarkFrenzy:
it didnt work

farish_priv@instance-1:~/saber$ brunch lt02ltespr
build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_lt02ltespr". Stop.
WARNING: Trying to fetch a device that's already there
Traceback (most recent call last):
File "build/tools/roomservice.py", line 352, in <module>
fetch_device(device)
File "build/tools/roomservice.py", line 320, in fetch_device
git_data = search_gerrit_for_device(device)
File "build/tools/roomservice.py", line 81, in search_gerrit_for_device
device_data = check_repo_exists(git_data, device)
File "build/tools/roomservice.py", line 58, in check_repo_exists
"exiting roomservice".format(device=device))
Exception: lt02ltespr not found,exiting roomservice
build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_lt02ltespr". Stop.
** Don't have a product spec for: 'omni_lt02ltespr'
** Do you have the right repo manifest?
[Android] Frostyagent:
I need your help, I am compiling Android 6.0.1 on Ubuntu 16 and also tried on 15 but suddenly weird error pops up, please help me out in it.

target thumb C++: libv8 <= external/v8/src/flags.cc

In file included from external/v8/src/heap/incremental-marking.h:10:0,

from external/v8/src/heap/heap.h:16,

from external/v8/src/contexts.h:8,

from external/v8/src/objects-inl.h:17,

from external/v8/src/v8.h:39,

from external/v8/src/flags.cc:8:

external/v8/src/heap/mark-compact.h:712:16: internal compiler error: Segmentation fault

SlotsBuffer* migration_slots_buffer_;

^

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://source.android.com/source/report-bugs.html> for instructions.

build/core/binary.mk:706: recipe for target 'out/target/product/hammerhead/obj/STATIC_LIBRARIES/libv8_intermediates/src/flags.o' failed

make: *** [out/target/product/hammerhead/obj/STATIC_LIBRARIES/libv8_intermediates/src/flags.o] Error 1
[Android] MSF Jarvis:
This is an issue with your computer most probably, since I've faced this earlier on one of my build systems and it's an issue with the multi-arch configuration of your distro. I've faced this with Ubuntu 16.10 and could find no fix for this.
[Android] Frostyagent:
So should I downgrade to Ubuntu 14 or 15? Because on Ubuntu 15.10, I have successfully compiled one ROM and after that this issue came, So I upgraded to Ubuntu 16, but no luck
[Android] tschmid:
[MENTION=6552280]MSF Jarvis[/MENTION] I try to build a cm for the Jide Ultra Tablet and have downloaded a device tree from similar device Asus tf701t (from pershoot). With kernel src from jide and a modification in defconfig file (changed lzo to gzip) cm recovery build fine. If i build the rom theres no error, but it doent Boot so i expect theres a kernel issue right? Or is it possible that i made a misstake in device tree adaption or in vendor tree (modified for my device)? Ive flashed original boot.img but same result only Remix Logo and no boot

Gesendet von meinem LG-D855 mit Tapatalk
[Android] limjh16:
Go to trusty tahr. As the name suggest it's trusty. But in all seriousness, 14 is the most stable I've used to date, and faced the least problems.
[Android] DarkFrenzy:
someone plz help with this error

http://pastebin.com/H74dySRx

i got this errors with DU6 and Candy6.
[Android] DevelopersWork:
Not about device tree about kernel and vendor of the device
[Android] MSF Jarvis:
If there's no kernel source then you will have to use a pre built kernel, info available at the Cyanogenmod wiki to which I've linked you in an earlier post. Vendor trees are a more complicated affair, to be honest even I do not have the complete knowledge of a device bring up from scratch but usually many vendor files are in system/vendor and lots of libraries in system/lib are also proprietary. It's a hit and miss affair to be frank.
[Android] Startrek852:
Can I see your device tree?

---------- Post added at 12:59 PM ---------- Previous post was at 12:57 PM ----------

[MENTION=6552280]MSF Jarvis[/MENTION] FYI, there is no Ubuntu 16.10, there's only 16.04.
[Android] MSF Jarvis:
Sorry, my bad :silly:
[Android] Startrek852:
It's okay :)
[Android] MSF Jarvis:
Why does everyone love me so much? Honestly, with no dmesg, no logcats, it's very hard to pinpoint the issue. If it's hanging at the bootlogo and not doing anything, you can safely assume its a kernel issue. Try this : Unpack the CM boot.img, and replace the zImage with stock one and then flash. If it goes past Remix logo, this should mean something is wrong with the source or the way it's compiled by CM. Otherwise, I'm out of ideas.
[Android] Droidcore:
[MENTION=6552280]MSF Jarvis[/MENTION] what this problem?, im sorry mention you again ,, big sorry,,

last i build bliss rom and already done, for community m7 ,

this just for personal build

external/busybox/applet/applet_tables.c error and clang error i think
[Android] tschmid:
[MENTION=6552280]MSF Jarvis[/MENTION] thanks, ill try that. Doent know, you sound experienced ?

Gesendet von meinem LG-D855 mit Tapatalk
[Android] DevelopersWork:
I had seen in some guides that if we had cyanogenmod rom zip file then we can extract it in the source and get all device files.But my device has stock zip made out of xda-kitchen so can I use it for getting device files out of it.......................................
[Android] Arvind7352:
From your Device, you'll get

- Vendor Specific libraries -> make up the vendor

- init.*.rc files from Ramdisk -> Device Tree

- Audio XML's - mixer paths, configuration -> Device Tree

- WLAN Config maybe, yeah -> Device Tree

- build.prop talks more about your Device

You'll get most of the files from the device itself, you must refer a Device having the Similar specs so you'll get an idea for getting many device specific configurations (cache size, etc)

/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by prebuilts/clang/linux-x86/host/3.9/bin/clang++)

Update libstdc++.so.6

http://askubuntu.com/questions/575505/glibcxx-3-4-20-not-found-how-to-fix-this-error