yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] joshipallav:
brunch build error 12.1

Hi,

I am trying to build the image from the sources as per the build instructions to make my own test build.

After repo downloads, while building i am getting error "init/Kconfig:953: can't open file "usr/Kconfig"" in the brunch smultron command.

I am following these commands:

1) repo init -u git://github.com/CyanogenMod/android.git -b cm-12.1

2) curl https://raw.githubusercontent.com/Le...-12.1/semc.xml > /tmp/android/system/.repo/local_manifests/semc.xml

3) repo sync

4) ln -s vendor/extra/updates.sh updates.sh

5) ./updates.sh

6) . build/envsetup.sh

7) breakfast smultron

8) brunch smultron

[IMG="brunch smultron failed"]http://xdaforums.com/attachment.php?attachmentid=3323889&stc=1&d=1432189442[/IMG]

Can you tell me whats wrong.

Thanks.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
Delete the folder ~/android/system/kernel

repo sync again and make sure you get no errors

run make clean

try to build again
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] saqibkhan:
[MENTION=4862164]Langes[/MENTION]

hi.. just wanted to know.. any guide to Build for AOSP 5.1.1 Lollipop for Xperia Devices 2011 like cm12.1 here

and silly question time.. lol

is it possible that AOSP Android M source can also be built for Xperia Play (2011 Devices) .. I mean changes made by Mike (the AOSP Mike) + Source of Android M .. will it give us some output or :/
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] zweif:
I built this rom today with new 3.10 kernel. It seems to be improved in some points (what isn't neccessary because of kernel), but with new kernel I can't use wifi and mobile data seems to be not working too. To build I fetched the new kernel and cherry-picked following commits:

#msm7x30-common: Update USB configuration for 3.10
cherries+=(LX_594)

#Use common msm7x30 kernel
#cherries+=(LX_422)

#msm7x30-common: Use common msm7x30 kernel
cherries+=(LX_421)

#mogami-common: wl12xx updates for 3.10
cherries+=(LX_407)

#media/msm7x30: Update for 3.10 support
cherries+=(LX_403)

#display/msm7x30: Update for 3.10 support
cherries+=(LX_402)

#audio/msm7x30: Update for 3.10 support
cherries+=(LX_401)

#kernel
#usb: Import msm charger changes from 6.2.B.0.200
cherries+=(LX_430)

#usb: msm72k_otg: Remove userspace events [REVISIT]
cherries+=(LX_428)

Is there something I missed to get working internet connection? (I didn't really test the rom for other things so far)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] saqibkhan:
Getting this error when building AOSP rest all goes fine..

build also starts but getting this error.. any suggestion ?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] zweif:
Hey Mike, I tried to build CM14 and it fails. After some investigation it seems that imgdiff is missing. This was fixed on CM13: http://review.cyanogenmod.org/#/c/135193, which can't be applied to CM14 (no RECOVERY_PATCH_INSTALL).

I hope this helps.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
I already have a cm14 zip for anzu, just unable to flash it because it's about 330MB and device runs out of memory when attempting to flash. Will try to find a solution/hack on the weekend
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] zweif:
I managed to build cm14 zip for mango (installation fails as expected).

I modified build/core/Makefile, I don't fully understand how these dependencies work, but maybe there is a dependency issue.

There are dependencies: imgdiff <- RECOVERY_FROM_BOOT_PATCH <- INSTALLED_SYSTEMIMAGE <- BUILT_TARGET_FILES_PACKAGE (where make_recovery_patch is called, which needs imgdiff)

Now INSTALLED_SYSTEMIMAGE is defined before RECOVERY_FROM_BOOT_PATCH, but dependencies of INSTALLED_SYSTEMIMAGE are defined after that. Could this cause an issue?

After moving

INSTALLED_SYSTEMIMAGE := $(PRODUCT_OUT)/system.img
SYSTEMIMAGE_SOURCE_DIR := $(TARGET_OUT)

from line 1284 to line 1314 build was successfull.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] zweif:
I managed to flash cm14 after disabling dex-preoptimization. Zip size decreases to ~260MB. I didn't do extensive testing - messaging seems to work, dialing a number causes restart (system, not kernel), the only sounds I noticed were dialing sounds, i miss a browser and other apps - but it seems nice for a first impression.

Concerning my problem with imgdiff: After reading some make documentation I have no clue why it isn't built. Maybe these dependencies aren't tracked because RECOVERY_FROM_BOOT_PATCH is set to an empty string when BOARD_CANT_BUILD_RECOVERY_FROM_BOOT_PATCH is defined?

I can manually call 'make imgdiff' as workaround.

I tried some things that could have affected imgdiff before my last post, and I'm not sure if I cleared output directory. Did you try a clean build or could imgdiff come from a previous build on your machine?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] p32929:
bro, How much space does it need to sync the repo??

& if I want to port a ROM based on CM (Like Resurrection Remix or Liquid Smooth), would I have to use the command "repo sync"?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] azakosath:
I'm trying to build CM14.0, but jack server is giving me a bad time with out of memory error. I have tried changing jack.server.max-service to 1, heap size to 2g, 3g and 4g, even to build without ninja, but always getting out of memory. In CM13.0 I could build without jack, but now the built is failing without it. I'm using Ubuntu 16.04 on an i3 with 4g RAM and 8g swap, I've seen cases with machines with better specs failing (e.g. i5, 8g RAM). Is it a bug with jack, or my specs is the limiting factor?

Edit: I guess this is the EOL for me :crying:.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Mardon:
Jack troubleshooting

If your computer becomes unresponsive during compilation or if you experience Jack compilations failing on “Out of memory error”

You can improve the situation by reducing the number of Jack simultaneous compilations by editing your $HOME/.jack-server/config.properties and changing jack.server.max-service= to a lower value.

Description with default values follows:

jack.server.max-service=<number> Maximum number of simultaneous Jack tasks. Default is 4.

jack.server.max-jars-size=<size-in-bytes> Maximum size for Jars, in bytes. -1 means no limit. Default is 100 MiB.

jack.server.time-out=<time-in-seconds> Time out delay before Jack gets to sleep. When Jack sleeps, its memoryusage is reduced, but it is slower to wake up. -1 means "do not sleep".Default is 2 weeks.

jack.server.service.port=<port-number> Server service TCP port number. Default is 8076. Needs to match theservice port defined in $HOME/.jack-settings on the client host (SeeClient section).

jack.server.admin.port=<port-number> Server admin TCP port number. Default is 8077. Needs to match theservice port defined in $HOME/.jack-settings on the client host (SeeClient section).

jack.server.config.version=<version>

Internal, do not modify.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] azakosath:
Thanks for answering, but I have already read these. I tried several combinations (max services and "-Xmx") without luck. Even:

export USE_NINJA=false

to build without ninja. The result was always the same, jack server was hanging and failing after 30 or more compilations.

P.S. I did use the changes that are not merged yet, but I don't think this is related.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Mardon:
You also can try

breakfast devicename

And after that

make -j1 bacon

To force 1 job compiling only

Gesendet von meinem GT-I8190 mit Tapatalk
[IDEs, Libraries, & Programming Tools] Nundah:
I'm new to development, but I thought I'd try my hand at it. I got android studio, and after a little trouble shooting got it to work, but I cannot get the emulator to work. When I try I get the following error: "J:\Users\Tatsuno\AppData\Local\Android\sdk\tools\emulator.exe -avd Nexus_S_API_21 -netspeed full -netdelay none

emulator: ERROR: x86 emulation currently requires hardware acceleration!

Please ensure Intel HAXM is properly installed and usable.

CPU acceleration status: HAX kernel module is not installed!"

I enabled virtualizing in my bios (I hope I did it right, I've never done it before) and attempted to install intelhaxm-android.exe. but when I tried to install that I got the following error: "VT not suported

This computer does not support Intel virtualization Technology (VT-x). HAXM cannot be installed

Please refer to the intel HAXM documentation for more information"

As I understand it, my problem is that my computer isn't acknowledging that virtualizing is enabled. any ideas on how to fix this?
[IDEs, Libraries, & Programming Tools] Marshal3:
Standard emulator very slow, use Genymotion or some other fast emulator
[Xperia Z2 Q&A, Help & Troubleshooting] Grozos:
Hi.

Basically I'm looking for something equivalent to this: http://xdaforums.com/xperia-z1/general/recovery-solution-lollypop-roms-t3000822 , but for Z2.

Help please! :)
[Xperia Z2 Q&A, Help & Troubleshooting] Envious_Data:
I do believe they may have already patched it

If not M5 kernel has a patch for it so newer twrp versions work
[Galaxy Note 4 Q&A, Help & Troubleshooting] Polishzx:
Hey guys, I'm really at a loss here. I have a Dev edition Note 4. It is rooted with a custom rom running. Randomly, the phone stopped connecting to computers via MTP to transfer files, I could not transfer any data between the phone and any computer via USB. I tried different cables and different computers. The phone still charged, but did not connect via USB. Then, the phone also stopped charging via USB, I was just getting a blinking gray battery icon when the phone was completely powered off and plugged in to the wall. I read online something about holding Volume Up, Power and Home when the gray battery icon appears and it will start charging again. This worked! However still no Data, but at least it would charge. I read something else online about holding this same combination of keys in Download/Odin mode which I tried, and this disabled charging again! WTF! Now I cannot get it to re-enable. I am at a loss here, is sending the phone back to Samsung really my only option?

I've tried: Different Cables, Different Computers, going in to USB Service Menu with *#0808# and selecting MTP and MTP+ADB, nothing works. I am positive something can affect USB settings in Download mode, but I am at my wits end trying to figure it out.

Any ideas?
[Galaxy Note 4 Q&A, Help & Troubleshooting] Ashatar:
Why not try wiping data/cache from recovery and install an official ROM from Samsung)either 4.4.4 or lollipop)
[Galaxy Note 4 Q&A, Help & Troubleshooting] mariosraptor:
Bad USB port
[Galaxy Note 4 Q&A, Help & Troubleshooting] Polishzx:
I tried, no dice.
[Galaxy Note 4 Q&A, Help & Troubleshooting] Polishzx:
That is what I am thinking too. :(
[One (M9) General] TwistyValhalla:
Starting this thread for HTC M9 Canadian users. I'm curious to find out what HTC will say about the availability of the M9 in Canada on March 1st.
[One (M9) General] SaHiLzZ:
Hopefully available soon. I am itching to update from M7!!
[One (M9) General] :
Not sure if I'll update my M8, but looking forward to seeing the M9 in the stores and seeing how it feels. Cause....ya never know.

4 phones in just over a year will probably get the wife a little too excited though. :eek:
[One (M9) General] TwistyValhalla:
Four in a year? Oh boy! I got my M8 pretty late so probably not gonna upgrade right away. It'll probably take a while to come to fido anyway.
[One (M9) General] :
Well, I got a Moto X... Loved it, but was a bit bored, quiet Development. Gave it to the wife and got an N5. Loved it too. Then Telus calls and offers me a "free" M8. Well, have a 2 year contract... But saved 200 on the phone. ?

M9 will be very tempting, but pretty sure I won't be allowed. ?
[One (M9) General] millicent:
Aside question on plans and contracts: I am currently with telus and the 60$ 3 years contract. I assume I can keep the plan if buying unlocked elsewhere. How about asking to reduce price when device balance expires, would they agree to it, anybody any experience? Are there better alternatives with respect to this out there?

Sent from my HTC One
[One (M9) General] TwistyValhalla:
Looks like we have some availability info here,

http://mobilesyrup.com/2015/03/01/canadian-carrier-availability-for-the-htc-one-m9-specs/
[One (M9) General] malek777:
I dont see any reason to upgrade from the m8
[One (M9) General] general X:
I can't wait to get my hands on it as I've had pretty much every HTC Rogers has released since the desire lol
[One (M9) General] samsulisl:
Ideally obtainable

Ideally obtainable quickly :p
[One (M9) General] Renaud_qc:
Why do Canadians carriers (Bell, Telus, Videotron, Rogers) have they set pre-sale Samsung S6 but nothing yet on the HTC One M9?

Yet S6 are not expected until April 10 ....
[One (M9) General] stemnin:
Our carriers are the OG douche canoes.
[One (M9) General] krazykat:
Probably something Samsung marketing did with carriers to get exclusive launch - all business stuff to block out the competition.
[One (M9) General] flar2:
Pretty difficult to buy anything other than Samsung and Apple in Canada.

And also very difficult to buy without signing up for a contract. Just sell me a damn phone.

I usually have to sign up for a month to month and then cancel it. Then I have to fight to get the refund (Bell and Videotron both tried to send me bills after I cancelled, then they argue, and I quote the regulations over and over until they finally give up). Telus sold me a phone once without a contract, but only from an online order. Hope they still do that.
[One (M9) General] :
Their prices are stupid usually here too. (in Canada)

I did do a 2 year for my M8...but only cause I got 200 off the phone price.

Otherwise, I'd have looked for new in box with receipt on Kijiji, like I did with my X and N5. ?
[One (M9) General] Renaud_qc:
All Canadian carriers sell contract-free cell phone (Bell, Telus, Videotron, Rogers)
[One (M9) General] Max128:
Nothing yet in Canada , any ideas when??

Renaud_qc: Si tu achète un téléphone sans contrat au style Bell le téléphone est verrouillé?
[One (M9) General] Renaud_qc:
Bell Canada: Déverroullé M9

If you buy, Bell can unlock your M9 to your request. Of course there will be a fee for this. Same for purchase under contract, you'll be able to unlock at the end of your contract of 2 years.

Si tu achète, Bell peut déverrouiiler ton M9 à ta demande. Bien sûr qu'il y aura des frais pour cela. Pareil pour achat sous contrat, tu pourras faire déverrouiller à la fin de ton contrat de 2 ans.

Source: http://soutien.bell.ca/facturation-...entialite/mon_telephone_mobile_est_verrouille

http://soutien.bell.ca/Mobilite/For...s-frais-uniques-de-Bell-Mobilite-presentement
[One (M9) General] Max128:
Mon HTC one M7 je les prit avec contrat avec Bell ( mais j'ai annulé le contrat l'été passé pour aller avec une petite compagnie avec de meilleur forfaits moins cher) je les unlocké pour 3-4$.

De plus.. je veut le M9 sans contrat car c'est beaucoup trop dispendieux surtout depuis le 2 ans. Je pensait que Bell et les autres était obligé de le déverouillé sans frais si tu le prend sans contrat.. mais visiblement par ce que tu me dit c'est pas le cas. Tu suggère de le prendre sans contrat avec eux ou de le prendre sur un site d'achat style ncix là c'est sur qui seras déjà déverouillé.
[One (M9) General] flar2:
No, they dont. I buy several phones each year.
[One (M9) General] :
English folks. :good:
[One (M9) General] Max128:
17 April in Canada
[One (M9) General] jmitr:
My mistake, I read M9 Canada thread and thought I was on XDA where everyone writes in English.

My mistake, this is the Quebecois thread.
[One (M9) General] Renaud_qc:
HTC.com (gunmetal et gold/silver = unlock), Bestbuy (contrat: Bell, Telus, Rogers...)

Videotron ont le gunmetal à 750$ à l'achat ...

Telus ont le gunmetal et gold/silver à compter du 17 avril (contrat ou achat)

HTC.com (gunmetal and gold / silver = unlock), Bestbuy (contract: Bell, Telus, Rogers ...)

Videotron have gunmetal $ 750 to buy ...

Telus have gunmetal and gold / silver as of April 17 (contract or purchase)

---------- Post added at 09:45 ---------- Previous post was at 09:40 ----------

It is a Canada thread, but Max128 and I Quebecers ...

There is no fault.

I do not speak English, I use the Google translation :)
[One (M9) General] :
XDA is an English speaking site. All posts must be translated. Or they can be deleted.

Just a heads up! ;)

P. S. Rules link at top of every section... It's in there... Honest! :)

Thanks!
[One (M9) General] Max128:
I do not see the problem .. we are not the only ones using our primary language in the forum. I do not always say but sometimes this is not a problem. it's not a crime to write with your primary language. :)

Envoyé de mon Nexus 9 en utilisant Tapatalk
[One (M9) General] :
Not a crime, but against XDA rules...

http://xdaforums.com/announcement.php?f=256

Specifically,

There ya have it. [emoji106]
[One (M9) General] WorldIRC:
The rules don't count; Quebec would simply use their access to the not-withstanding clause ;)
[One (M9) General] wildstang83:
Posts written completely in a non-english language have been removed. Let this be my only warning, any further posts written in non-english will warrant further actions against those who choose to continue to violate the XDA Forum Rules.

The rules are simple and straight forward, please follow them if you wish to continue being a member of XDA and participate in the threads on this site. :)
[One (M9) General] MadMax:
I know telus does. Sales reps don't like to because they don't get commission for it. Only time they can't is with some phone launches, and it is due to low stock at the beginning.

I know this as I work at telus. Have to say I can't wait to get the m9 with my discount :D :cool:
[One (M9) General] flar2:
It may be that they *could* sell you a phone without phone service, but they most definitely *won't* no matter how nicely you ask them.

I may not have to worry about this for once, as Koodo will actually sell this phone, hopefully starting the 17th. I'm shocked.
[One (M9) General] Cuzz1369:
Just had a friend in the states get me an Att model through his HTC champions programming, cost me $450 Canadian when all was said and done. But I can also upgrade for free(I'll have to pay shipping to the states and back) through my friend.

Fingers crossed Att is compatible with Rogers LTE.
[One (M9) General] WorldIRC:
Fully compatible
[One (M9) General] WorldIRC:
Who got their units today!?
[One (M9) General] PiloteQuadeur:
Me! Was just furious cuz they didn't want to let me go without letting them "activate" the device..They say it was the "rules".. It was not the case for my last phones

Edit : bought from the source with à Bell contact
[One (M9) General] TwistyValhalla:
HTC website showing Telus and Koodo to be the only providers for now,

http://www.htc.com/ca/go/buy-now-htc-one-m9/
[One (M9) General] Max128:
I got it today i love it, i buy from Bell without contract ( 699$ ) i have unlock it for my carrier with my not expensive plan. :)
[One (M9) General] WorldIRC:
Can't believe its still running old firmware (v6). Doesn't have any of the thermal or camera updates...

---------- Post added at 05:00 PM ---------- Previous post was at 04:24 PM ----------

Wow this phone gets really hot -- not sure I'm going to be able to use this. So disappointed :(
[One (M9) General] Max128:
It's not that bad, Although the new phone gets hotter than the old but still many said that the M8 warming too.It is acceptable I guess. I have not noticed yet this with my M9
[One (M9) General] WorldIRC:
My M8 never made my hand sweat. It wasn't hot hot...just felt humid to hold it.
[One (M9) General] Renaud_qc:
I bought my M9 yesterday at Bell, 2-year contract.
[One (M9) General] Max128:
With a plan overpriced..

You love the phone? :)
[One (M9) General] cagrimir:
Where can I buy unlocked verison in Canada?
[One (M9) General] :
You likely can't. But I'm sure you can get s-off and unlock it or pay a site for a code. I don't think any carriers here sell unlocked ones.
[One (M9) General] Max128:
I have unlock it for 4$ on ebay.
[One (M9) General] Moomoomania:
HTC won't be selling the unlocked version of the HTC One M9 in Canada. I have purchased the unlocked version via amazon.com (you can also get it or the developer version @ HTC.com) and I have created an account with a parcel pickup company where I cross the border into the US and pick it up near the border (the company is located roughly 5 minute drive away).
[One (M9) General] Max128:
Yes but the guarantee of the device becomes complicated if you need it and you save nothing for buying the phone in US. Cost only 4$ for unlock it.
[One (M9) General] Moomoomania:
Is it still carrier bound when it comes to updates? That was a thing I could not handle on my previous android phone
[One (M9) General] :
If you s-off, updates are not an issue. :good:
[One (M9) General] Max128:
It is a fact, but for user like us who want the latest updates our phone are flashed so it does not matter.
[One (M9) General] Moomoomania:
I'm probably a little nugget but I really don't want to go through what I had to do before (i.e. getting S-off and flashing OTA's again). For me, it's a pain and having the android platform downloaded on my computer; it just wastes space. I'm probably the "few" that's on XDA that doesn't want to do this anymore HAHAHA
[One (M9) General] :
Then you'll be bound to waiting on whatever carrier version you buy to put out their OTA's. Nothing you can go about that without s-off.
[One (M9) General] Moomoomania:
Which is why I decided to purchase the unlocked version via amazon.com this time around for my android phone
[One (M9) General] Max128:
Darth: You do not need S-OFF for that, the htc unlock enough for this.

Moomoomania: You can install the original rom over the carrier ( only unlock the first time), you can advantage of the OTA, You lose nothing.
[One (M9) General] :
You can only flash ruu's for your CID.... You can only change your CID with s-off.

Unless I'm missing something? :)

And Sim unlocking will not change any of that.

Again... Unless there's a way I don't know about. I've always been s-off... So I'm not an s-on expert by any means.
[One (M9) General] Max128:
Sure is right, I was thinking to install an official rom in recovery not the RUU and it had worked on one of my old HTC and I could have the OTA without s-off.
[One (M9) General] cagrimir:
I want to buy from Bell. They said unlock fee is 50 cad. How can I find unlock code from ebay? Do you have link?
[One (M9) General] dondavis007:
Isn't it the same GPU as in the MX4? That GPU couldn't drive a 1080 screen without burning out. Why not go the Samsung way using a modern GPU from Arm?
[One (M9) General] itzsnookums:
Negative, the Mx4 is running mediatek, no where as good
[One (M9) General] Max128:
Never unlock the phone from the carrier is much expensive, Here the link on ebay: http://www.cafr.ebay.ca/itm/191555648531?_trksid=p2060353.m2749.l2649&ssPageName=STRK:MEBIDX:IT

Fast service and is working, I've dealt with this guy 4 times. It will send you a private when it's ready.
[One (M9) General] cagrimir:
But I didn't see bell s name in that link.
[One (M9) General] Renaud_qc:
Yes I like it, I still have to get used to because I had an android HTC TouchPro Windows and Mighty Rom for 7 years.

I took the minimum plan Bell $ 70 per month (unlimited talk and text to Canada more than 1GB Data). I save $ 500 on the M9 and pays $ 15 more a month for 2 years on the map

It's expensive but I agree if I compare to M9 unluck, the minimum level is $ 55 without data.

I do not have a cheaper provider than $ 55 per month over LTE in my corner.