yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
So we meet again I've really learned a lot. So here I go I'm trying to create a device tree for the hisense sero 7. The tablet already has cwm. There's no kernel source so far and I doubt there ever will be unless hisense complies. Source is pretty shakey no proprietary files nor release tools folder those are the two bothering me now and a few missing things. The ramdisk part not so much

https://github.com/C457/android_device_hisense_m470 source may still be pushing

hoping this tablet can help https://github.com/Xlab/android_device_m3101 its hisense as well
[Android Q&A, Help & Troubleshooting] MHousos:
Hey, guys! Here's my report :D

1.build/core/tasks/kernel.mk:63: ***************************************************************

make: *** No rule to make target `/home/michael/out/target/product/jfltespr/kernel', needed by `/home/michael/out/target/product/jfltespr/boot.img'. Stop.

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

Install: /home/michael/out/host/linux-x86/bin/acp

2.Sprint Samsung Galaxy S4 (jfltespr)

3. https://github.com/garwynn/android_device_samsung_jfltespr

4. LiquidSmooth

5.http://xdaforums.com/showthread.php?t=2320007

Thanks very much in advance :good:
[Android Q&A, Help & Troubleshooting] ktempleton:
Do you have your kernel source under kernel/Samsung/jfltespr

If so are you missing some a common folder in the device for example I build for the epic which you know lol. I have the d710 device folder and the galaxys2- common which is where the kernel source and tool chain are defined
[Android Q&A, Help & Troubleshooting] MHousos:
Hey K! Haha I do have the kernel source under kernel/Samsung/jftlespr as well as jftlespr and jf-common folders under device/samsung/
[Android Q&A, Help & Troubleshooting] ktempleton:
I just got home give me a second and I'll look at your device trees and see if any thing is amiss

OK so if your using those device trees from Garwin I did not see a line pointing to the kernel source in your board config in you device Samsung jfltespr where it says

TARGET_KERNEL_CONFIG

add this line

TARGET_KERNEL_SOURCE := path/to/kernel
[Android Q&A, Help & Troubleshooting] ktempleton:
Did that do it for you
[Android Q&A, Help & Troubleshooting] mssngr:
I hope this is not to much off topic.

Last week I decided it was time to learn how to compile a cyanogenmod rom from source (I use Pdroid and I want to be able to build a CM Rom with it included myself). So I started to search and read and also came across this useful thread. I installed Ubuntu 12.04 LTS (dual boot with win 7) and tried to create an Android build environment, after a few days and a lot of trial and error I finally got it right and compiled my first cyanogenmod build!

I flashed it and it worked perfectly. I felt super satisfied :laugh: and shut down my laptop.

The next day when trying to continue building, Ubuntu stopped booting and gave me a black screen at boot. I looked it up and it is a problem that shows up a lot if you google it. I tried a lot of the solutions (there are a lot) but non worked so far.

So I tried a clean install and rebuild my environment which I got set up until the I got stuck at extracting the proprietary blobs. I decided to see if a reboot would be successful but I got the same black boot screen again. I read that it could be my optimus chip so I installed bumblebee after another clean install and set up the build environment again (the one thing this was all good for is that repeating all of this really helped me understand the basics of what I was doing instead of just copy pasting a tutorial :good:) and got it set up till after the the extracting of the proprietary blobs and before building I tried a reboot but again the black screen.. Because it keeps happening after I am deep into setting up my environment (I had no problems rebooting the first few days when failing to set up the environment) I was wondering if anyone else ever came across this issue and if I was doing something wrong in setting everything up.

This is very very frustrating because the building finally worked but Ubuntu won't let me build any more :(

Processor

Intel Core i7 2630QM @ 2.00GHz	59 °C

Sandy Bridge 32nm Technologie

RAM

16,0GB Dual-Kanaal DDR3 @ 665MHz (9-9-9-24)

Moederbord

Dell Inc. 0YR8NN (CPU)	65 °C

Grafisch

Generic PnP Monitor (1920x1080@60Hz)

Intel HD Graphics 3000 (Dell)

1024MBGeForce GT 525M (Dell)	49 °C

Harde schijven

699GB Western Digital WDC WD7500BPKT-75PK4T0 ATA Device (SATA)	44 °C

Optische schijven

TSSTcorp DVD+-RW TS-L633J ATA Device

Geluid

Realtek High Definition Audio
[Android Q&A, Help & Troubleshooting] speed_bot:
install bbqlinux or any other distros like arch,fedora etc bro .ps bbq comes preloaded with android build environment
[Android Q&A, Help & Troubleshooting] mssngr:
Thanks for the quick reply! Bbq Linux looks and sounds good. Which one would you recommend to a Linux noob like me? And can I follow all the same build guides I followed on ubuntu?
[Android Q&A, Help & Troubleshooting] :
BBQLinux comes with the Android Build Environment! I don't care about the UI... I am using BBQ Linux since sometime now and its awesome :D
[Android Q&A, Help & Troubleshooting] speed_bot:
Don't refer yourself as noob. Instead newbie would be better. And nothing noob friendly or vice versa when I started I used Ubuntu now im still with Ubuntu guides are same just the packages differ for different stuff. A bit of Googling should help. Or feel free to pm your doubts or post them here I will be happy to help
[Android Q&A, Help & Troubleshooting] mssngr:
Ok now I get it! I was looking at Linux BBQ instead of BBQ Linux :silly:

This looks really nice and i dont care about UI, I just want to build!

Do you recommend me completely un-installing ubuntu and its partition or is there some possibility to use the old partition for bbq linux?

And is it possible to dual boot it wit win7?
[Android Q&A, Help & Troubleshooting] :
It all depends on you! ;)

And yes it can be dual booted with Win7 in a new partition :)
[Android Q&A, Help & Troubleshooting] speed_bot:
but swap is slow i use zram... and swap isnt ideal for dual boot systems coz a rig with windows cant handle more than 5 partitions..
[Android Q&A, Help & Troubleshooting] DNRDustin:
Hmmm I'm gonna have to loom into that zRam stuff. I have a 2gig ram limit.
[Android Q&A, Help & Troubleshooting] speed_bot:
Ya its better than swap its available in the latest distributions..

sent from cyanmobile powered Beni
[Android Q&A, Help & Troubleshooting] speed_bot:
i hope you understood the requirements
[Android Q&A, Help & Troubleshooting] :
hey im new in this and i trying to compile rom for my xperia x8

this is my source code github.com/MiniCM/

and this is my error

target thumb C++: gps.delta <= hardware/qcom/gps/loc_api/libloc_api/loc_eng_xtra.cpp

target thumb C++: gps.delta <= hardware/qcom/gps/loc_api/libloc_api/loc_eng_ni.cpp

target thumb C++: gps.delta <= hardware/qcom/gps/loc_api/libloc_api/loc_eng_log.cpp

target thumb C++: gps.delta <= hardware/qcom/gps/loc_api/libloc_api/loc_eng_cfg.cpp

target thumb C: gps.delta <= hardware/qcom/gps/loc_api/libloc_api/gps.c

target StaticLib: libpower (/home/yair/oldxperia/out/target/product/shakira/obj/STATIC_LIBRARIES/libpower_intermediates/libpower.a)

target StaticLib: librpc (/home/yair/oldxperia/out/target/product/shakira/obj/STATIC_LIBRARIES/librpc_intermediates/librpc.a)

target StaticLib: libloc_api-rpc (/home/yair/oldxperia/out/target/product/shakira/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a)

target thumb C++: hwcomposer.msm7x27 <= hardware/qcom/display/libhwcomposer/hwc.cpp

target thumb C++: hwcomposer.msm7x27 <= hardware/qcom/display/libhwcomposer/hwc_video.cpp

target thumb C++: hwcomposer.msm7x27 <= hardware/qcom/display/libhwcomposer/hwc_pip.cpp

target thumb C++: hwcomposer.msm7x27 <= hardware/qcom/display/libhwcomposer/hwc_utils.cpp

target thumb C++: hwcomposer.msm7x27 <= hardware/qcom/display/libhwcomposer/hwc_uimirror.cpp

target thumb C++: hwcomposer.msm7x27 <= hardware/qcom/display/libhwcomposer/hwc_uevents.cpp

target thumb C++: hwcomposer.msm7x27 <= hardware/qcom/display/libhwcomposer/hwc_vsync.cpp

target thumb C++: hwcomposer.msm7x27 <= hardware/qcom/display/libhwcomposer/hwc_copybit.cpp

target thumb C++: hwcomposer.msm7x27 <= hardware/qcom/display/libhwcomposer/hwc_mdpcomp.cpp

hardware/qcom/display/libhwcomposer/hwc_copybit.cpp: In static member function 'static bool qhwc::CopyBit::draw(hwc_context_t*, hwc_layer_list_t*, EGLDisplay, EGLSurface)':

hardware/qcom/display/libhwcomposer/hwc_copybit.cpp:195:14: error: 'glFinish' was not declared in this scope

make: *** [/home/yair/oldxperia/out/target/product/shakira/obj/SHARED_LIBRARIES/hwcomposer.msm7x27_intermediates/hwc_copybit.o] Error 1

make: *** Waiting for unfinished jobs....
[Android Q&A, Help & Troubleshooting] speed_bot:
Which branch are you compiling bro??

sent from cyanmobile powered Beni
[Android Q&A, Help & Troubleshooting] :
ahh yeah i forget about that :)

CM10 JellyBean branch
[Android Q&A, Help & Troubleshooting] speed_bot:
i will attach folder .. replace your hardware folder with that.. will attach when i get home ..its the patched hardware for msm7x27 socs..
[Android Q&A, Help & Troubleshooting] :
wow man great thank you :)
[Android Q&A, Help & Troubleshooting] hashroot:
Logcat

I recompiled PA. Again stuck on bootanimation

http://pastebin.com/tqyGNvkd
[Android Q&A, Help & Troubleshooting] :
hey mate, i don't want to be pain in the a** but please get back home quickly:)
[Android Q&A, Help & Troubleshooting] a.cid:
Patience bro

Its night time here, you'll get it in the morning :)
[Android Q&A, Help & Troubleshooting] :
ohhh i didn't know that , sorry :)
[Android Q&A, Help & Troubleshooting] BMP7777:
I wanted to say Great Work on this thread. I have a similar thread for learning and helping other 'rookies' such as myself, but it is pretty device-specific. This is a really good idea; a place for those who are learning to build for other devices and/or have questions that can be answered a little more universally. I am FAR from a pro at this, but will try to be around as much as possible to offer assistance if I can. Gonna post a link on my threads for this as well, if that's ok. Keep up the good work! Happy Holidays!
[Android Q&A, Help & Troubleshooting] ktempleton:
I would like to know how to add things to the build exp the 4.2 keyboard different wallpapers etc anyone know how to do this?
[Android Q&A, Help & Troubleshooting] BMP7777:
The quickest way is to add them into the files after the build is completed. I add apps, live wallpapers, and other mods to the build after it's finished. It is mostly a matter of opening the zip, and adding the extras in the appropriate places within the system files. For example, to add a bootanimation, double-click 'system', then 'media'. place your bootanimation.zip in the media folder. Make sure it is labelled 'bootanimation.zip' ONLY, otherwise it will not work. Another thing is, you have to have the right definition of the animation for the right device. If you try to use a bootani from a new nexus in an HD2, for example, it will not work because the definition is different. I have a bootani that I use in my PACman ROM, and I got lucky; it worked right off. Most of the others that I've tried don't. So, it will be trial and error unless you use one specifically made for the device or make one yourself and test it. I add apps in the app folder, and other mods usually have to have their files pushed into the various file folders they belong in. I have a ROM tweak that goes in the 'init.' folder within the 'etc' folder. You get the idea. For adding things into the build process itself, check the bottom of post #3 of the Project Rookie thread. Those instructions are pretty detailed, and I'm sure that it will offer a good starting point. ;)
[Android Q&A, Help & Troubleshooting] speed_bot:
1) delete term.apk from the zip

thats the only problem i found..
[Android Q&A, Help & Troubleshooting] speed_bot:
ya you can spread the link for this thread.. thank you for helping bro..
[Android Q&A, Help & Troubleshooting] speed_bot:
ok you can add it directly to the source or after the build is completed... tell me which do you prefer ..i would elaborate on it...:)
[Android Q&A, Help & Troubleshooting] ktempleton:
To the source my man thanks
[Android Q&A, Help & Troubleshooting] mssngr:
Thanks for the kind words.

I uninstalled grub and ubuntu, downloaded the latest BBQLinux and burned it to a disc but now I am a bit confused. I want a dual boot with win 7 so do I need to create grub again before I install BBQLinux?

Or does BBQLinux include grub?
[Android Q&A, Help & Troubleshooting] cj360:
When u install bbqlinux it should recognize that you did have one installed and may ask to overwrite the previous install of it or just install as default. IMO I haven't had an issue with grub when switching Linux OS's just when windows needed to be reinstalled with Linux and grub already there. (That can be a real headache if your not careful like I wasn't.)
[Android Q&A, Help & Troubleshooting] speed_bot:
If you install Linux over windows it automatically detects the windows installation but the problem arises only when you install windows over Linux
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
I installed windows over Linux then used easy BCD to restore windows loader with the ability to see my Linux partition.
[Android Q&A, Help & Troubleshooting] speed_bot:
Just for educational purpose. If you want grub bl as deafult boot from cd install grub and update it
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
Thanks it was messed up it would start with grub then when I start linux it would load a second grub.
[Android Q&A, Help & Troubleshooting] mssngr:
So I've been trying to install bl all day but the instalation keeps hanging on the same point at 11% (copying usr/libqmi-glib.so.0.0.0 ) I've let it hang there for over an hour and have reinstalled multiple times even re downloaded the image and burned it to a new dvd but it always hangs a that exact point.

Does anyone have a suggestion?
[Android Q&A, Help & Troubleshooting] :
DVD problem.... Flash the iso on USB Stick and then try ;)
[Android Q&A, Help & Troubleshooting] mssngr:
After some trial and error I got a bootable flashdrive. But I got the exact same problem (stopped at 11% copy usr/libqmi-glib.so.0.0.0). So I suspected my partition layout was the culprit. I still had 7.63gb of swap left over from Ubuntu so I assigned it to Linux swap. I had 112.37 unallocated so I assigned it to /. This always made it hang at 11%. So I assigned some to /boot and /home and it did the full install. But after reboot it went straight to windows. (expected because it was a experiment to see if the partitioning was the problem)

So my question here to would be: is anyone willing to give me a detailed partition scheme for a dual boot?
[Android Q&A, Help & Troubleshooting] :
When I was dual booting...

I made a EXT4 Partition.. 5GB Linux Swap!

And I didn't get any option to boot into windows or BBQLinux that time then I figured out.. You have to select through boot manager at the beginning! For me I have to press F9 then select BBQLinux.. Then it boots :)
[Android Q&A, Help & Troubleshooting] #define:
Hi.. For BBQLinux, you'll need 3 partitions..

1) 512 MB >> assigned to /boot

2) 15 GB(std size) >> assigned to /

3) Rest of the HDD(if you want only Linux), or any size you want(if you want another OS) >> assigned to /home >> ext4 filesystem preferred..

Now, if you want to install another OS, you can assign the rest of your HDD according to that OS..

But, currently I dnt remember which OS you should install 1st.. However, if you're willing to experiment, I suggest you try and install Windows 1st in the 1st attempt(honestly, I've never paired up Linux and Windows)..
[Android Q&A, Help & Troubleshooting] Nihar.G:
A single large partition assigned to '/' works as well.

I am using it in the same way since months.
[Android Q&A, Help & Troubleshooting] #define:
You know me... Crapple s***... Had to make 3 different partitions..

Now where did I send this from?
[Android Q&A, Help & Troubleshooting] mssngr:
Well that is what I tried but the instalation didn't go past 11%. I made one big partition ext 4 /. Any thing I did wrong there?
[Android Q&A, Help & Troubleshooting] mssngr:
Never mind! I figured it out.. One big partition ext 4 / was indeed all i needed to do.

I just forgot to create the partition :silly: ahum.. Sorry guys. Thanks for all the help anyways! Learned alot the last week! And looking forward to start building :laugh:
[Android Q&A, Help & Troubleshooting] cj360:
Hello, I'm trying to build paranoid android 4.1.2 (4.2.2 is really experimental on my device). I can build it fine but once I flash it it just sits on the kernel's logo and doesn't even get to the boot animation.

Attached is a logcat of my 4.1.2 paranoidAndroid that freezes at bootlogo. If someone could look at it that'd be great.
[Android Q&A, Help & Troubleshooting] hell_lock:
I am trying to compile cm10.1 for Desire X and I am getting this error

target Package: Development (/home/prototype-u/CM10.1/out/target/product/protou/obj/APPS/Development_intermediates/package.apk)
/home/prototype-u/CM10.1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: error: /home/prototype-u/CM10.1/out/target/product/protou/obj/SHARED_LIBRARIES/libm_intermediates/src/e_pow.o: multiple definition of 'pow'
/home/prototype-u/CM10.1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /home/prototype-u/CM10.1/out/target/product/protou/obj/SHARED_LIBRARIES/libm_intermediates/arm/e_pow.o: previous definition here
/home/prototype-u/CM10.1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /home/prototype-u/CM10.1/out/target/product/protou/obj/SHARED_LIBRARIES/libm_intermediates/arm/e_pow.o: in function pow:bionic/libm/arm/e_pow.S:411: error: undefined reference to '__full_ieee754_pow'
collect2: ld returned 1 exit status
realmake: *** [/home/prototype-u/CM10.1/out/target/product/protou/obj/SHARED_LIBRARIES/libm_intermediates/LINKED/libm.so] Error 1
realmake: *** Waiting for unfinished jobs....

Any ideas?

EDIT: Upon recompilation I am getting this

host C: libsepol <= external/libsepol/src/genusers.c
realmake: *** [/home/prototype-u/CM10.1/out/host/linux-x86/obj/STATIC_LIBRARIES/libcts_audio_quality_intermediates/src/audio/AudioPlaybackLocal.o] Error 1
realmake: *** Waiting for unfinished jobs....
[Android Q&A, Help & Troubleshooting] speed_bot:
i did not find any attachments.
[Android Q&A, Help & Troubleshooting] speed_bot:
more log please man.. only the last lines wont help.
[Android Q&A, Help & Troubleshooting] #define:
I cn help with the second error.. But i need more log..

Now where did I send this from?
[Android Q&A, Help & Troubleshooting] penguin449:
http://pastebin.com/aRDBqkv8

I could use some help fixing this guys??? /:
[Android Q&A, Help & Troubleshooting] speed_bot:
Already replied to your pm on fb
[Android Q&A, Help & Troubleshooting] penguin449:
Help needed urgently!

Hey, um, in CM10.1 (Not even fully released for golfu) i am getting problems with android.phone.acore

The messaging app fc's, no network usage at all! (Service or data) phone doesnt work, stuff like that... Any idea how to fix this kinda thing?
[Android Q&A, Help & Troubleshooting] speed_bot:
Your ril isn't working simple
[Android Q&A, Help & Troubleshooting] killersloth:
This ones had me stumped for a whole sleep deprived day now, any insight would be appreciated ;)

heres the snippet from that section of ACodec.cpp - everything looks fine
[Android Q&A, Help & Troubleshooting] ktempleton:
at the top of that file try this

#define OMX_QCOM_COLOR_FormatYUV420PackedSemiPlanar32m

if that doesnt work you cold try it like this

#define format.eColorFormat == OMX_QCOM_COLOR_FormatYUV420PackedSemiPlanar32m

---------- Post added at 11:23 AM ---------- Previous post was at 11:20 AM ----------

/home/oliver/ev/out/target/product/golfu/obj/STATIC_LIBRARIES/libcompiler-rt-extras_intermediates/mulodi4.d

follow that path and see if that folder is there with that file you may have to create the folder and find that needed file to put in there
[Android Q&A, Help & Troubleshooting] killersloth:
made it go a little further, while spitting out whitespace errors
[Android Q&A, Help & Troubleshooting] ktempleton:
I need to see the output so i can see if it's past that first error or if the define is causing it
[Android Q&A, Help & Troubleshooting] killersloth:
Sure thing, work interrupted me but I'll post it when I get home. Thanks :)

Sent from my Galaxy Nexus to all you wonder nobodies!
[Android Q&A, Help & Troubleshooting] killersloth:
Okay, I think the whitespace warning is irrevelant, I only caught a glance before I had to dash out for work.

Lots of undefined/unexpected errors according to output :(

http://pastebin.com/sjsGB6xH

too long for single post
[Android Q&A, Help & Troubleshooting] ktempleton:
Did you try this

#define format.eColorFormat

Remove that other one and try this one you can try different ways maybe search and try other ways you can define it. But try that

---------- Post added at 11:47 PM ---------- Previous post was at 11:44 PM ----------

OK wait i would try removing that line from the file first
[Android Q&A, Help & Troubleshooting] killersloth:
First thing I tried was to define, which didn't work.

So I just tried again, because maybe I forgot to save after modifying it before. Hasn't got back to making stagefright yet.
[Android Q&A, Help & Troubleshooting] killersloth:
Same output with #define format.eColorFormat

Removed the define but expecting original error output, we'll see when it gets back to it.

Yup:

https://github.com/CarbonDev/android_frameworks_av/blob/jb2/media/libstagefright/ACodec.cpp
[Android Q&A, Help & Troubleshooting] ktempleton:
OK now remove the line from that CPP that is throwing the error
[Android Q&A, Help & Troubleshooting] killersloth:
CHECK(format.eColorFormat == OMX_COLOR_FormatYUV420Planar

|| format.eColorFormat == OMX_COLOR_FormatYUV420SemiPlanar

|| format.eColorFormat == OMX_COLOR_FormatCbYCrY

|| format.eColorFormat == OMX_TI_COLOR_FormatYUV420PackedSemiPlanar

|| format.eColorFormat == OMX_QCOM_COLOR_FormatYVU420SemiPlanar

|| format.eColorFormat == OMX_QCOM_COLOR_FormatYUV420PackedSemiPlanar64x32Tile2m8ka

|| format.eColorFormat == OMX_QCOM_COLOR_FormatYUV420PackedSemiPlanar32m );

top line throws error, tried removing the OMX_QCOM_COLOR lines before i ever posted, ill try removing the whole check

OMXCodec.cpp errors now, deleting the same check from there now.

Never would have removed the entire check. Had to remove it from OMXCodec.cpp as well. Hopefully the build completes without broken stagefright. Thanks :)
[Android Q&A, Help & Troubleshooting] galaxyfreak:
Any ideas about this error (logcat)
[Android Q&A, Help & Troubleshooting] mssngr:
Hi, so last week I finally made my first CM 10.1 builds patched with PDroid :D. But I don't fully understand how to build a M snapshot, Release Candidate or (in the future) Stable version of CM 10.1 for my device.
[Android Q&A, Help & Troubleshooting] Zippy Dufus:
Me 2

Same problem I'm having trying to build the NookHD+. I removed (commented-out) the offending lines from both ACodex.cpp and OMXCodec.cpp to force the build to complete. Unfortunately the build boot-looped but I doubt whether the problem was causes by this issue. Just glad to see that this issue is not unique to my device.

Please post how you make out.

Cheers.
[Android Q&A, Help & Troubleshooting] killersloth:
The kernel won't build for me, keep getting errors to mrproper although my kernel tree is clean, then getting errors about defconfig, which is clearly defined. Going to have to go through my make files and see what is mucking up the kernel compilation.

Sent from my Galaxy Nexus to all you wonder nobodies!
[Android Q&A, Help & Troubleshooting] hell_lock:
deleted