yashsingh1/xdaforums huggingface dataset:
[Nexus 6  General] Stephen:
Regarding the recovery I added that in on the safe side. I know if you download the full stock cm12 from their website it does change the recovery and encrypt the device.

I will be adding a few more cherry picks at some stage, I am working on something rather cool at the minute. :D
[Nexus 6  General] rogersa2k:
Thanks for doing this. I've followed a few guides but every one wasn't quite correct. I can't wait to test this out soon.

- Aaron
[Nexus 6  General] VECTUS:
Very well done Stephen! I read as many of these as I can and always learn something new. This is very well written and I hope all of us can add and help each other as we progress with the N6!:good:
[Nexus 6  General] npjohnson:
Hey,

I have built AOSP for Nexus devices for a long time, but have yet to run into this issue.

When I run "brunch shamu", it fails, referancing generic "goldfish"? is that just a generic device name?

Here is the build process:

npjohnson@Nolen-Laptop:~/android$ source build/envsetup.sh

including device/moto/shamu/vendorsetup.sh

including device/generic/mini-emulator-x86_64/vendorsetup.sh

including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh

including device/generic/mini-emulator-mips/vendorsetup.sh

including device/generic/mini-emulator-arm64/vendorsetup.sh

including device/generic/mini-emulator-x86/vendorsetup.sh

including vendor/cm/vendorsetup.sh

including sdk/bash_completion/adb.bash

including vendor/cm/bash_completion/git.bash

including vendor/cm/bash_completion/repo.bash

npjohnson@Nolen-Laptop:~/android$ brunch shamu

including vendor/cm/vendorsetup.sh

Looking for dependencies

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=5.0.2

CM_VERSION=12-20150315-UNOFFICIAL-shamu

TARGET_PRODUCT=cm_shamu

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=krait

TARGET_2ND_ARCH=

TARGET_2ND_ARCH_VARIANT=

TARGET_2ND_CPU_VARIANT=

HOST_ARCH=x86_64

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.16.0-31-generic-x86_64-with-Ubuntu-14.10-utopic

HOST_BUILD_TYPE=release

BUILD_ID=LRX22G

OUT_DIR=/home/npjohnson/android/out

============================================

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=5.0.2

CM_VERSION=12-20150315-UNOFFICIAL-shamu

TARGET_PRODUCT=cm_shamu

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=krait

TARGET_2ND_ARCH=

TARGET_2ND_ARCH_VARIANT=

TARGET_2ND_CPU_VARIANT=

HOST_ARCH=x86_64

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.16.0-31-generic-x86_64-with-Ubuntu-14.10-utopic

HOST_BUILD_TYPE=release

BUILD_ID=LRX22G

OUT_DIR=/home/npjohnson/android/out

============================================

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

"ebtables is disabled on this build"

find: `dummy': No such file or directory

build/core/base_rules.mk:154: *** system/device/generic/goldfish/audio: MODULE.TARGET.SHARED_LIBRARIES.audio.primary.goldfish already defined by device/generic/goldfish/audio. Stop.
[Nexus 6  General] Stephen:
Not sure, haven't seen that error before. Have you added any extra mods into the rom? One of those could be causing the issue. It could also be an issue with CM12 its self. Some times they do add code in and it can cause errors.

I would try downloading source again and see if there is any difference.
[Nexus 6  General] npjohnson:
Will do. I am building on Ubuntu 14.10. That should be OK to use correct? Fresh install, then followed steps in the OP.
[Nexus 6  General] Stephen:
Yes. Oh what setup are you using. Virtual Box or duel boot. I did have problems with Virtual box and switched to duel boot. Found it to be more stable.
[Nexus 6  General] npjohnson:
Dual boot.
[Nexus 6  General] ieatacid:
Any idea why my builds come in at around 387MB but the official nightlies are ~443MB?
[Nexus 6  General] akellar:
Official nightlies include radio and bootloader
[Nexus 6  General] ieatacid:
Ah, ok. Thanks. I was worried about flashing it, thinking that there might've been something off, even though it compiled without issue.
[Nexus 6  General] Kurosagi70:
Great thread!thanks for the info!
[Nexus 6  General] rogersa2k:
I am trying to set this up in a virtual machine on a remote host. Can I a) download these blobs elsewhere (such as here: https://developers.google.com/android/nexus/drivers#shamu) and if so, how can I put them where they belong? Or b) can I do this locally and then copy them to the remote host? If so, what exactly? I'll probably go through extract-files.sh to figure out exactly what it does.

Edit: I seem to remember reading something about TheMuppets. If anyone has a tip I'm happy to try it.

https://github.com/TheMuppets/proprietary_vendor_motorola/tree/cm-12.0/shamu

Thanks,

Aaron
[Nexus 6  General] kanoka42:
I have been trying to build this for sometime however when I do

brunch shamu

it starts building then right away stops and exits with this error

make: *** No rule to make target '/android/system/out/target/product/shamu/kernel', needed by '/android/system/out/target/product/shamu/boot.img'. Stop.

I've tried adding Android.mk to the kernel source folder in /android/system/kernel I've also tried putting it in /android/system/kernel/android_kernel. All to no avail. I've tried Doing

repo sync -j1 (after it finishes) Brunch Shamu

again and I get

find: `src': No such file or directory
...
"ebtables is disabled on this build"
find: `dummy': No such file or directory
PRODUCT_COPY_FILES device/moto/shamu/spn-conf.xml:system/etc/spn-conf.xml ignored.

Does anyone know why this is?
[Nexus 6  General] Stephen:
Download the source, then dont make any changes at all and try to build. I didn't have any errors. Did you get all the necessary vendor files etc?
[Nexus 6  General] kanoka42:
Yeah I've tried downloading from scratch and that's what I get every time. I haven't made any changes or anything just trying to build it.
[Nexus 6  General] Stephen:
Try renaming your out folder and run the compile again.
[Nexus 6  General] kanoka42:
I think that worked! It was android_kernel_moto_shamu I renamed it to just android_kernerl and it hasn't thrown any errors so we'll see! thanks!
[Nexus 6  General] ilpolpi65:
http://wiki.cyanogenmod.org/w/Doc:_Using_manifests

local_manifest.xml :

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project name="TheMuppets/proprietary_vendor_motorola.git" path="vendor/motorola" remote="github" revision="cm-12.0"/>

</manifest>
[Nexus 6  General] rogersa2k:
Teach a man how to fish...

Thanks!

- Aaron
[Nexus 6  General] rogersa2k:
Hmm, I am having problems with the git cherry-pick steps...

git cherry-pick f413ac907961c07f07f767ceb568deb4881e9f57
error: refusing to lose untracked file at 'init.rc'
error: could not apply f413ac9... Disable stock recovery
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'

git cherry-pick 7459b0d54102fbee27f363e7612b83f614a0f8c4
error: could not apply 7459b0d... Disable forced encryption
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
Recorded preimage for 'fstab.shamu'

Any ideas? Did I miss something?

- Aaron
[Nexus 6  General] I Brick Phones:
The OP instructions say to install both openjdk 6 & 7. Do we need both of them or was that a typo? thanks
[Nexus 6  General] kanoka42:
I have both installed but when building it will stop and say incorrect version installed please use ... If that happens check out this link http://askubuntu.com/questions/272187/setting-jdk-7-as-default then you can specify the jdk. Sorry if this wasn't what you were looking for :(
[Nexus 6  General] rogersa2k:
I'm fairly certain we don't need jdk6.

- Aaron
[Nexus 6  General] Stephen:
The OP only talks about installing jdk 7 you don't need 6 - Edit yes I see what you mean now. I would only install jdk 7. The guide I used for this guys was for 11.0 not 12. I think cm11 uses jdk 6. I did follow this guide exactly and it let me build with out any issues.

sudo apt-get install openjdk-7-jdk
[Nexus 6  General] tehXKnight:
Okay, so first off, thanks for posting this. I was trying to follow the official guide, and while it sort of worked I ran into issues.

First off, when I run

repo sync

I get lots of 404 errors from curl. Is that normal?

And I had more questions, but looking over the thread again it looks like most of them are answered maybe? I'll get back to you guys on that if they don't work.
[Nexus 6  General] Stephen:
Yes 404 errors are fine. Just keep doing the repo sync until it completes. It will pick up were it left off. What you can do is repo sync -j1 it seems to download better.
[Nexus 6  General] lbxmobbin_1:
I think its either cuz you did make shamu instead of brunch shamu command also did you do breakfast command? You did lunch

Just follow the guide step by step I got it to build both cm and aosp
[Nexus 6  General] stebomurkn420:
Hmmmm... Same build error... I've compiled aosp successfully... I don't understand why my builds are failing on cm12... :(
[Nexus 6  General] lbxmobbin_1:
Can you tell me all the commands you did after you repo sync the cm source? Maybe you missed a step but will need to know what commands you did and in what order

Also do you have all the dependencies and vendor files
[Nexus 6  General] kikkos:
thanks!
[Nexus 6  General] Stephen:
For the vendor files, I had a copy of cm12 on my phone and then ran the commands in the OP. It then pulls down the vendor files and pulls certain files from your phone at the same time.
[Nexus 6  General] ieatacid:
I find it's easiest using the muppets' vendor blobs. They're easy enough to find on github.
[Nexus 6  General] jgcaap:
Something must be missing on this guide. I've got the blobs for Muppets and i try to make build and it simply throws error saying the target doesn't exist.
[Nexus 6  General] Stephen:
Easiest way I found of doing it is to have a version of CM12 on your phone as your running the commands for the vendor files, it will pull the missing blobs of the phone. Worked first time for me.
[Nexus 6  General] haibane85:
So I'm going to try this one more time this week. I built AOSP perfectly fine over the weekend just to check. Going to do a rm -rf android and bin... Then start from scratch.
[Sony Xperia M2] hyperdespite:
How i can root Xperia M2 Dual (18.3.1.B.1.8)?
[Sony Xperia M2] ceciladams85:
Can someone please answer this?
[Sony Xperia M2] aidy.lucas:
Try using the search button or Google....

sent from my Rooted B/l 4.4.4 kk Xperia D2303
[Sony Xperia M2] Vtrendzzy:
Turn on usb debugging. Flash jelly bean kernel. Root using easyroottool(i prefered). Flash back your original kernel.

I've done this in the previous update. I think it should work in this one too.
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] ultimatim:
Any one else with this problem? I can't find a fix for it.
[Huawei Ascend P7] fat7503:
I am new owner of ascend P7 .its great phone with beautiful screen .

everything is working fine except wifi connection .

the hot spots are catched but when I enter the correct password , nothing happen , the hot spot is enregistred but no connection .

I tried this :

rebooting

factory reset

without succes , please help help help :confused:
[General Questions and Answers] Jmichael10000:
Hello guys.

I need help. I have bought 2 chinese android phone from china One of them i got rooted fro. My friend but as soon as it was rooted after 1 day it stopped working and cant be repaired now .

The other phone has older version of google play and i want to update it since its stopping me from making any purchases or download play service on phone. There is no option for system updates and i dont want to root this device also as it is chineses and without warranty.

I wanted to ask if any way i could update play store or install play services without Rooting my phone. Any way like sideloading or something.
[General Questions and Answers] Sushant Rohan:
Yes dude you can do sideload. Just download the apk from any third party app store, but one more thing the third party app store must be a good portal since downloading system apk from worst websites may be extremely harmful.Hit thanks if helped
[General Questions and Answers] Jmichael10000:
I downloaded the apk and on trying to install it shows an erorr

A package with same and conflicting signature error something

Wht can i do ?

I am.running a copy of samsung s3 chinese copy.

Anything else i cn try i m not familoar.with rooting and all also so if u could help me.in simple terms ..
[General Questions and Answers] LS.xD:
You will need root to make it work. You not only need the playstore, but also the google services as system app. Can only be installed with root access.
[General Questions and Answers] b.j:
just hard reset your mobile bro then try install the downloaded apk. download latest version and try install it. it will work
[General Questions and Answers] Jmichael10000:
Ahmm ok guys thnx to all of u wish there was some way
[Off-topic] pharoahwen:
To all of the people who write code, do research, and help us regular people have better experiences with our toys. I do not want to seem ungrateful; I am very greatful.

From my first PDA, an 8125, to now, this site has been a wonderful place to come and get information, tools, and fixes to problems that I've experienced on my phones.

Thank you to all of the following, who have provided some measure of assistance to me over the last 2 years or so:

ShogunMark (yes, you too)

Sleuth255

POF

Olipro

mxlaser

ipaqkiller

danielherrero

dwella

And everyone else who has contributed to this site and my general joy in owning such an expensive toy
[Off-topic] Saaduk:
sxy pics,

anyway u r welcome, we here at xda-devele..... serve pplz bricks
[Moto G Q&A, Help & Troubleshooting] paulh2k8:
Hello, I've bricked my device :((( moto g xt1032, I bought the device from Tesco back in 2013 and I just wanted to get the lollipop update on my phone, I looked online and found this video: watch?v=-L44JqysUy8 it didnt do as intended it rebooted and my device was ok, so I looked again and came accross a thread here on XDA: http://xdaforums.com/moto-g/general/gpe-ota-lrx21z-5-0-1-xt1033-xt1032-t2969847

first mistake I made was doing step 2.1 instead of going straight to 2.2, my phone rebooted and got stuck in a boot loop (i think, it was a black powered by android screen) I looked on google yet again and found an article that told to clear the cache in recovery I did that and it didnt work, boot loop again, then I found a forum post saying that having bluestacks on your machine will cause a conflict I uninstalled that and started from scratch with the same problem, I re did the steps seen in the above youtube video thinking that would put my device back to normal and still stuck in bootloop with the blue motorola m logo, I cant enter recovery of the fast boot menu anymore and my battery doesnt seem to be charging, its essentially a paperweight.
[Moto G Q&A, Help & Troubleshooting] paulh2k8:
im now back to the boot loop thing not much better lol, is it fixable or should i just not bother
[Moto G Q&A, Help & Troubleshooting] YB-):
If it is booting up, then probably it is soft bricked. Not hard bricked.
[Moto G Q&A, Help & Troubleshooting] Hreyvirtue:
If it can detect in ADB, re-flash the recovery?
[Moto G Q&A, Help & Troubleshooting] paulh2k8:
Thankyou both for your replies, I dont know why I bothered back in the day symbian was so much easier lol, im an absolute noob when it comes to this so how would i go about getting to the recovery you mention, i can get to the fastboot menu but after selecting recovery the phone just loops at the boot logo
[Moto G Q&A, Help & Troubleshooting] audit13:
SInce it is bootlooping, I'm not sure which ROM is currently on your phone.

Try and flash the recovery from the ROM you tried to install by finding the recovery.img file, boot the phone into fastboot, and type "fastboot flash recovery recovery.img" or, if using mfastboot commands, type "mfastboot flash recovery recovery.img".

If you can't get into recovery, flash the recovery from your original ROM.

If you still can't get into recovery, flash your stock ROM, one partition at a time.

In fastboot, which bootloader version is on your phone?
[Moto G Q&A, Help & Troubleshooting] paulh2k8:
the last thing I flashed was the link provided in the youtube vdeo if that helps, ive done the recovery thing and it still loops, my bootloader hmm im not sure heres the details from the fast boot screen..

AP Fastboot Flash Mode (S)

41.13 (sha-7dc8e78, 2014-06-16 16:33:29)

Device is locked Status Code (0)
[Moto G Q&A, Help & Troubleshooting] paulh2k8:
is it because my bootloader is locked, I fail
[Moto G Q&A, Help & Troubleshooting] audit13:
You need to unlock your bootloader via the motorola website.
[Moto G Q&A, Help & Troubleshooting] paulh2k8:
Thanks for your reply it turns out its not eligible for unlock for some reason so I'm deciding its a decent paper weight and giving up, I really appreciate the replies and the time the posters have taken out to help, I'll know to take my time to read every detail if I decide to do this again, thankyou!!
[Moto G Q&A, Help & Troubleshooting] audit13:
Are you sure it's not eligible? I thought my Telus xt1032 was not eligible but it turns out I mistyped a couple of numbers.

I tried a few hours later and I got the code from Motorola.
[Moto G Q&A, Help & Troubleshooting] paulh2k8:
I copied and pasted direct from the cmd, I read on another forum that you needed to be logged into the phone with the Motorola account which I didn't
[Moto G Q&A, Help & Troubleshooting] audit13:
I don't recall logging into the phone, I just recall logging into the Moto site with a google ID.
[Moto G Q&A, Help & Troubleshooting] Kuntal11x:
Don't worry bro just try and you will be successful. I'm also bricked my Micromax Canvas A1 on first try.
[Moto G Q&A, Help & Troubleshooting] paulh2k8:
Thanks ill try it again
[Moto G Q&A, Help & Troubleshooting] paulh2k8:
lol i need to wake up, I had spaces when iIcopied from the cmd its working now... and I have the code!!!
[Moto G Q&A, Help & Troubleshooting] paulh2k8:
and im unlocked ! :) so what do i do know, i dont want to ruin it all now
[Moto G Q&A, Help & Troubleshooting] audit13:
Excellent. Boot into fastboot and post your bootloader version. It should be 41.xx.
[Moto G Q&A, Help & Troubleshooting] paulh2k8:
41.13 ? thats on the second line in the boot menu
[Moto G Q&A, Help & Troubleshooting] audit13:
You have a KK bootloader. I suggest downloading the stock 4.4.4 ROM for your carrier and flash everything except the gpt and motoboot file. Once you finish flashing all partitions via fastboot, use the phone's volume button to boot into recovery, wipe perform a full wipe, and reboot.
[Moto G Q&A, Help & Troubleshooting] paulh2k8:
Looks like its all going through, ill let you know the result, I really cant thank you enough
[Moto G Q&A, Help & Troubleshooting] runittwiice:
Hey guys, how can I flash recovery when I'm stuck into bootloop? I can't get into recovery mode, because it automaticly goes to the animation and because it's in this loop I can't enter cmd's from my computer because he says there is no device connected?
[Moto G Q&A, Help & Troubleshooting] audit13:
^^ Are you able to get into fastboot at all?
[Moto G Q&A, Help & Troubleshooting] paulh2k8:
It's worked !! :) I'm now running lollipop too, thank you for taking the time out to help
[Moto G Q&A, Help & Troubleshooting] audit13:
Glad it works. You probably have the 41.18 bootloader on your phone. If you do and you decide to downgrade to KK, do not try to flash the motoboot file included with the stock KK ROM.
[G3 Q&A, Help & Troubleshooting] checasey:
Hi I have an LGG3 and LG TV when trying to play a movie on showbox it asks for MX player to be installed but it does not screen mirror to watch on my TV. Anyone have a way to screen it on my TV. the showbox Internal player does not screen mirror either. Cheers
[G3 Q&A, Help & Troubleshooting] Murdawg79:
I use AllCast (Free works) for Showbox and works flawlessly. Takes a moment to buffer and then it plays with no issues.
[G3 Q&A, Help & Troubleshooting] checasey:
Cool app but how do you get it to work with a video on Showbox every time I select a video it asks for MX player to be installed .
[G3 Q&A, Help & Troubleshooting] checasey:
Any other help on this one? Keeps asking for MX player to be installed which doesn't allow screen mirroring
[G3 Q&A, Help & Troubleshooting] HicarusBR:
I use slimport cable to mirror the image on the TV, and works with any application ...
[G3 Q&A, Help & Troubleshooting] dustydaz:
shobox problems solution

When you download showbox it wil ask you to download mx player do not download this player if you have already downloaded mx player delete it.then type in your browser GrowBox apk and download and install you must make sure you have deleted mx player.now voila you can now cast showbox again.works as growbox mimics mx player to showbox (remember you must delete mx player before you download GrowBox apk.
[LG G Pro 2] hafiz.hasan:
Flashed xposed on my pro 2 d838 32gb but some of the problems found were as follws.

1.lgsmartcover foce closes

2.lgweather force closes

and 3. thetering and network under settings force closes.

the rest no poblems found so far.

was able to freeze the weather and lgsmartcover through titanium backup.

kindly if anyone found any solutions..plz share....
[XDA Assist] dubis22:
Hi,

I've Archos 45B Helium rooted, with 4.4.4 android version. I've got some problem with Play Store so I backed up it with Titanium and I delete it. I was not able to restore. So I downloaded "com.android.vending- 5.2.13 " and I instaled it as Phonesky.apk in the /system/app directory and change is permission to 644. Now Play Store is installed but it doesn't want to download any software.

On this site :

http://android.stackexchange.com/questions/69018/minimal-apks-for-play-store

They 're telling to take these 4 files : "GmsCore.apk", "GoogleLoginService.apk", "GoogleServicesFramework.apk" and "Phonesky.apk", from Google_apps pakages which are in the Cyanogen sites.

Could I take Google_Apps wich are in the http://wiki.cyanogenmod.org/w/Google_Apps and which version I've to take?

What is the best method, as Archos doesn't give any firmware for this model of device.

Thanks for your support.
[XDA Assist] dubis22:
I should do that

Thanks anyway
[XDA Assist] dubis22:
My recovery is TBW572510_9750_V010114

From recovery I flashed this zip file: pa_gapps-modular-pico-4.4.4-20150308-signed.zip

I've got:

Verifying update package

E: failed to verify whole-file signature

E: signature verification failed

Installation aborted

I tried to install "Google Play Store" with APK package but it's crashing all the times and I'm not able to install or update any software.

Thanks for helping.
[Zooper Widget General] lynxpardidus:
Please can someone tell me how to put the battery uptime on zooper. I mean time since the last charge.

Thank.
[Zooper Widget General] lynxpardidus:
Very food. Thank you.
[AT&T, Rogers HTC One X, Telstra One XL] jabi_james:
hi there..

my phone has been stolen about 3 month ago and now it's been found.. phone is turn off ..

i plug the charger but no go.. no tun on.. nothing.. it seems it doesn't charge..

how much longer should i wait ? anything i can do to bring it to life?
[AT&T, Rogers HTC One X, Telstra One XL] jabi_james:
please help me...