yashsingh1/xdaforums huggingface dataset:
[Sony Xperia ZR] Røbin:
many tnx bro.:)
[Sony Xperia ZR] hagar006:
No worries brother but it's essential you spend some time reading to get some basic knowledge of github and how to use.. Also, build errors will happen and it's not all that easy to get past those errors once you get into the build process.. Good luck tho..
[Sony Xperia ZR] Røbin:
How much time it will take to complete source code download?After giving command "repo sync" it's downloading cm files and don't know how much its complete weight is.
[Sony Xperia ZR] hagar006:
It's a 13 to 20 gb download bro.. Depends on your internet speed of course..
[Sony Xperia ZR] Røbin:
ow!it will take 1 or 2 days to complete the download and there is no % or time when it ill complete or no download status to show.How do i know that how much download has completed?.Is this for first time only?or do i have to redownload everything when new source code are available?i mean if i want to update the rom.
[Sony Xperia ZR] hagar006:
It' s the first time only.. once the repo has been downloaded, you just need to update..
[Sony Xperia ZR] Røbin:
tnx again brother :)
[Sony Xperia ZR] Røbin:
what is this?

breakfast dogo

including vendor/cm/vendorsetup.sh

build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/sony/dogo/cm.mk]]: "vendor/sony/fusion3-common/fusion3-common-vendor.mk" does not exist. Stop.

Device dogo not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).

Found repository: android_device_sony_dogo

Default revision: cm-13.0

Checking branch info

Checking if device/sony/dogo is fetched from android_device_sony_dogo

CyanogenMod/android_device_sony_dogo already fetched to device/sony/dogo

Syncing repository to retrieve project.

fatal: remove-project element specifies non-existent project: platform/hardware/qcom/camera

Repository synced!

Looking for dependencies

Done

build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/sony/dogo/cm.mk]]: "vendor/sony/fusion3-common/fusion3-common-vendor.mk" does not exist. Stop.

** Don't have a product spec for: 'cm_dogo'

** Do you have the right repo manifest?
[Sony Xperia ZR] hagar006:
Check what it says in cm.mk in device folder.. Then check if the vendor folder contains fusion3-common folder.. All must match bro
[Sony Xperia ZR] Røbin:
fusion3-common-vendor.mk" does not exist what to do?there is no such file
[Sony Xperia ZR] hagar006:
I'm having to rely on my memory with this but search github for it.. Also make sure your device folder is for cm13 and not for 12.. Same with the vendor folder..
[Sony Xperia ZR] Røbin:
ho to know that the folder is for cm13?.can't make breakfast dogo commend work.am i doing anything wrong?I prepared java environment and followed every step that are in the cm build guide,downloaded every needed things but still can't make a simple rom.:crying:
[Sony Xperia ZR] hagar006:
It's not asa easy as all that to build brother... One thing tho.. I noticed you have an error with removing camera in your post above? You're going to have to check your manifest.xml and make sure the syncing picks up all the folders you need... Did you follow the aosp guide or cm bro?
[Sony Xperia ZR] Daedroza:
Sync a proprietary vendor folder using roomservice.xml located inside .repo/local_manifests : https://github.com/AdrianDC/proprietary_vendor_sony

After that

make clean

source build/envsetup.sh

breakfast dogo

make bacon -j8

Some build errors might come up, related to dependencies which we will tackle for sure :)
[Sony Xperia ZR] Røbin:
i only followed asop to build java environment and after then i followed cm guide.i restarted from the begenning and now there's no problem that you mention about deleting camera.but build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/sony/dogo/cm.mk]]: "vendor/sony/fusion3-common/fusion3-common-vendor.mk" does not exist. Stop.

** Don't have a product spec for: 'cm_dogo'

** Do you have the right repo manifest?

still couldn't solve this problem
[Sony Xperia ZR] hagar006:
Ok bro.. If breakfast dogo command don't work, use brunch dogo or just make..
[Sony Xperia ZR] Røbin:
i forgot to mention that i used jdk8 for java environment not the 7 cause jdk7 is not downloading or saying no installition candidate something like that.is this ok?
[Sony Xperia ZR] Røbin:
No such item in brunch menu. Try 'breakfast'
[Sony Xperia ZR] hagar006:
Sorry i was looking at your replies in xda app which didn't show the full error you had with dependencies above.. Lets fix that first.. Open cm.mk from device/dogo and then open (my memory rusty here) manifest.xml ... make sure you have the same information in both those documents.. Usually takes care of the dependencies error..

Once the info is the same, repo sync so all folders etc are downloaded.. All from github of course..

Once thats all done, there are some ways to build using commands like: source build/envsetup.sh && brunch dogo or jsut lunch and choose the number of dogo in the list and command: make
[Sony Xperia ZR] Røbin:
ok bro trying...
[Sony Xperia ZR] Røbin:
sorry for asking where i can find manifest.xml?
[Sony Xperia ZR] Daedroza:
See brother, you don't vendor/sony and I see you didn't follow up my previous comment.

Go to ~/android/system/.repo/local_manifests

Open roomservice.xml or manifest.xml and add this line between<manifest> and </manifest>

<project path="vendor/sony" name="AdrianDC/proprietary_vendor_sony" remote="github" revision="cm-13.0" />

Save it and open terminal and type cd ~/android/system

do repo sync -j16

and breakfast dogo

make clean

make bacon -j8
[Sony Xperia ZR] Røbin:
really sorry for that. Now trying what you say.
[Sony Xperia ZR] Røbin:
i added those lines in manifest and did what you say but same prob.should i add those lines to default.xml?
[Sony Xperia ZR] Daedroza:
Did you add it between <manifest> and </manifest> ?

And after that you did repo sync -j16 inside system directory?

It should download vendor/sony which should fix your dependency issue.

Don't put any line inside default.xml unless it is inside local_manifests\
[Sony Xperia ZR] Røbin:
i did exactly what you have told me and did repo sync -j16 inside the system but didn't notice any downloads.And the default.xml made by cm so i thought editing it might solve the problem and after doing repo sync some files are start downloading.
[Sony Xperia ZR] Daedroza:
If default.xml is created inside local_manifests, then use that instead of roomservice.xml.

That would fix it. All the best!
[Sony Xperia ZR] Røbin:
i'm worried if this also don't work for me.is there any other alternative way to fix it?
[Sony Xperia ZR] Daedroza:
Yes, https://github.com/AdrianDC/proprietary_vendor_sony/archive/cm-13.0.zip

Download this and unzip it and copy all it's content inside vendor/sony.

If directory is not present then create them.
[Sony Xperia ZR] Røbin:
Default.xml worked.and now i have to connect my phone to computer and command ./extract-file.sh but my phone not connecting to computer. using cm13 rom.what should i do?
[Sony Xperia ZR] Daedroza:
No need for ./extract-file.sh

Just do

source build/envsetup.sh

breakfast dogo

make clean

make bacon -j16
[Sony Xperia ZR] Røbin:
You are attempting to build with the incorrect version

of java.

Your version is: openjdk version "1.8.0_91" OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14) OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode).

The required version is: "1.7.x"

Please follow the machine setup instructions at

https://source.android.com/source/initializing.html

************************************************************

build/core/main.mk:181: *** stop. Stop.

but can't install j7 so i installed j8.now what should i do?
[Sony Xperia ZR] Røbin:
sudo apt-get install bison build-essential curl flex git gnupg gperf libesd0-dev liblz4-tool libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop maven openjdk-7-jdk openjdk-7-jre pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev

[sudo] password for robin:

Reading package lists... Done

Building dependency tree

Reading state information... Done

Package openjdk-7-jre is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or

is only available from another source

Package openjdk-7-jdk is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or

is only available from another source

E: Unable to locate package libwxgtk2.8-dev

E: Couldn't find any package by glob 'libwxgtk2.8-dev'

E: Couldn't find any package by regex 'libwxgtk2.8-dev'

E: Package 'openjdk-7-jdk' has no installation candidate

E: Package 'openjdk-7-jre' has no installation candidate
[Sony Xperia ZR] Daedroza:
sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\*

sudo add-apt-repository ppa:openjdk-r/ppa

sudo apt-get update

sudo apt-get install openjdk-7-jre
[Sony Xperia ZR] Røbin:
thanks a lot.now it's downloading j7 :)
[Sony Xperia ZR] Røbin:
make clean

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

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=6.0.1

CM_VERSION=13.0-20160508-UNOFFICIAL-dogo

TARGET_PRODUCT=cm_dogo

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-4.4.0-22-generic-x86_64-with-Ubuntu-16.04-xenial

HOST_BUILD_TYPE=release

BUILD_ID=MOB30J

OUT_DIR=/home/robin/android/system/out

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

Checking build tools versions...

/bin/bash: javac: command not found

************************************************************

You are attempting to build with the incorrect version

of javac.

Your version is: .

The required version is: "1.7"

Please follow the machine setup instructions at

https://source.android.com/source/download.html

************************************************************

build/core/main.mk:229: *** stop. Stop.

#### make failed to build some targets ####
[Sony Xperia ZR] Røbin:
java -version

java version "1.7.0_95"

OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-3)

OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
[Sony Xperia ZR] Daedroza:
sudo apt-get install openjdk-7-jdk

Now that I know you have ubuntu 16.04, you have to deal with additional problem of python3

Originally only python2 is supported for building! You can learn how to install python2 on 16.04, use google..

The build environment is almost ready, you have all the files, just some newer software that won't work with old one lol

You should use any variant of Linux Mint 17 (Like I do)
[Sony Xperia ZR] Røbin:
working now

make bacon -j16 what next after entering this command?
[Sony Xperia ZR] Røbin:
again error

make: *** [/home/robin/android/system/out/target/common/obj/JAVA_LIBRARIES/ambientsdk_intermediates/com.cyngn.ambient.ambientsdk-1.5.5.aar] Error 127

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

#### make failed to build some targets (05:22 (mm:ss)) ####

what is this for?
[Sony Xperia ZR] Daedroza:
Python3 instead of python2.

Remove python3 and install python2.7.6
[Sony Xperia ZR] Røbin:
how?please give the commands
[Sony Xperia ZR] Røbin:
can i follow from this link? http://askubuntu.com/questions/101591/how-do-i-install-python-2-7-2-on-ubuntu
[Sony Xperia ZR] Røbin:
Now I have version Python 2.7.5

and java version "1.7.0_95"

OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-3)

OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)

So what else is missing that i can't build a rom?
[Sony Xperia ZR] Røbin:
vendor/cm/build/core/maven_artifact.mk:42: recipe for target '/home/robin/android/system/out/target/common/obj/JAVA_LIBRARIES/ambientsdk_intermediates/com.cyngn.ambient.ambientsdk-1.5.5.aar' failed

make: *** [/home/robin/android/system/out/target/common/obj/JAVA_LIBRARIES/ambientsdk_intermediates/com.cyngn.ambient.ambientsdk-1.5.5.aar] Error 127

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

make: Leaving directory '/home/robin/android/system'

#### make failed to build some targets (27:46 (mm:ss)) ####
[Sony Xperia ZR] Daedroza:
sudo apt-get install maven

Fixes post #52
[Sony Xperia ZR] Røbin:
thank you.
[Sony Xperia ZR] Røbin:
/bin/sh: 1: lz4c: not found

/home/robin/android/system/kernel/sony/apq8064/arch/arm/boot/compressed/Makefile:195: recipe for target 'arch/arm/boot/compressed/piggy.lz4' failed

make[4]: *** [arch/arm/boot/compressed/piggy.lz4] Error 1

/home/robin/android/system/kernel/sony/apq8064/arch/arm/boot/Makefile:52: recipe for target 'arch/arm/boot/compressed/vmlinux' failed

make[3]: *** [arch/arm/boot/compressed/vmlinux] Error 2

/home/robin/android/system/kernel/sony/apq8064/arch/arm/Makefile:291: recipe for target 'zImage' failed

make[2]: *** [zImage] Error 2

Makefile:130: recipe for target 'sub-make' failed

make[1]: *** [sub-make] Error 2

make[1]: Leaving directory '/home/robin/android/system/kernel/sony/apq8064'

build/core/tasks/kernel.mk:286: recipe for target 'TARGET_KERNEL_BINARIES' failed

make: *** [TARGET_KERNEL_BINARIES] Error 2

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

make: Leaving directory '/home/robin/android/system'

#### make failed to build some targets (01:58:56 (hh:mm:ss)) ####

what is missing?almost done but now this:confused::(
[Sony Xperia ZR] Røbin:
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000007c4200000, 128974848, 0) failed; error='Cannot allocate memory' (errno=12)

#

# There is insufficient memory for the Java Runtime Environment to continue.

# Native memory allocation (malloc) failed to allocate 128974848 bytes for committing reserved memory.

# An error report file with more information is saved as:

# /home/robin/android/system/hs_err_pid30557.log

build/core/prebuilt_internal.mk:319: recipe for target '/home/robin/android/system/out/target/common/obj/JAVA_LIBRARIES/sdk_v11_intermediates/classes.jack' failed

make: *** [/home/robin/android/system/out/target/common/obj/JAVA_LIBRARIES/sdk_v11_intermediates/classes.jack] Error 1

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

Launching background server java -Dfile.encoding=UTF-8 -Xms2560m -XX:+TieredCompilation -jar /home/robin/android/system/out/host/linux-x86/framework/jack-launcher.jar -cp /home/robin/android/system/out/host/linux-x86/framework/jack.jar com.android.jack.server.JackSimpleServer

ERROR: Cannot launch Jack server

build/core/prebuilt_internal.mk:319: recipe for target '/home/robin/android/system/out/target/common/obj/JAVA_LIBRARIES/sdk_v12_intermediates/classes.jack' failed

make: *** [/home/robin/android/system/out/target/common/obj/JAVA_LIBRARIES/sdk_v12_intermediates/classes.jack] Error 255

make: Leaving directory '/home/robin/android/system'

#### make failed to build some targets (04:20:53 (hh:mm:ss)) ####
[Sony Xperia ZR] Poutrator:
I see a Jack error : source.android.com/source/jack.html might help ?

I see an insufficient memory. I had to set up "_JAVA_OPTIONS: -Xmx4096m" (4Gb) and to raise my swap size (since I am on a SSD, swap is a good solution for a lack of RAM).
[Sony Xperia ZR] Røbin:
I'm having hard time to built a custom rom.In every step I'm facing so much complicated problems.That insufficient memory problem solved and continuing building process but again facing problem with a huge error![emoji22] [emoji21]
[Sony Xperia ZR] Røbin:
Why this always happen to me.Can't make a rom without having any problems??:crying:
[Sony Xperia ZR] Poutrator:
I feel you :D Just for the master AOSP it was challenging for me. Now I try to build the CM13 for the i9300 and I struggle again on new problems.
[Sony Xperia ZR] Røbin:
#poutrator did you successfully build cm13 for your i9300?
[Sony Xperia ZR] Røbin:
I just want to know how long it takes to compile the rom?It has been 11hour that I started compiling the rom but Too solw that it's still processing.If 8gb ram can compile rom in 45min or 1hour why 4gb ram need this much time?Anyone can explain? I'm really worried.
[Sony Xperia ZR] Daedroza:
It is not that simple. Let me explain it to you.

Consider you have a dual core CPU with hyper threading which makes it 4 threaded and 8 gb RAM.

In VMbox, you have already defined a single core and 4 gb RAM with additional swap.

With such low specifications your build time will be very high, approximately 10-12 hours. Not to mention, certain aspects of ROM require parallel compiling. As you have so less specs, I think they are built linearly.

However, in my case there is 8 threads with no VMBox caps, this gives me a advantage as I can run 4 task simultaneously. This reduces my build time exponentially.

If you need CM13 build, pm me. I am using different device trees though.
[Sony Xperia ZR] Røbin:
Thank you so much for your reply:).I just want to build a rom all by myself and modify it.I want to become a custom rom developer,maintainer just like you and others:o I know it will take some or long time for me but I'll do anything to master it .Don't know how long developer will make custom rom for dogo but I want dogo to always up to date.Also I want to make custom rom available for those such local device.And now I know the exact problem because of my low spec computer I can't go any farther:(.It's time to upgrade my PC and preparing for that.:fingers-crossed:

Using cm13 the last build from Chippa_a sir after he left the project. His builds was great and sony compatible.The new one who is the maintainer of fusion3 builded the cm13 rom is just an ordinary build with no such features and no new updates.I just miss his great works how he builded cm13 for our dogo.

By the way I appreciate that you want to make cm13 rom for me.:o I need one if cm updated their source and fix bugs.Then I can learn modifying the system in the rom.:)
[Sony Xperia ZR] Daedroza:
The official one has bug fixes, and I think he isn't making because of new audio HAL that is being merged. But it is taking too long. I made a new build few days ago with his device trees, actually was testing new patch sets. The only thing is that is unfixed is f2fs node that was causing random reboots. If you use TWRP, you should format the necessary partitions to ext4. Also, this build sometimes lag once in a day at least It never lagged whenever I'm near my computer so I could capture logs xD will message you in few minutes!

Also, please stick with next official build. It will be a lot more stable. Once, fusion3 is complete qsnc will give a go for nightlies! I am waiting for his next build actually, I saw latest commits regarding f2fs fix!

EDIT: I cannot send you private message. You have turned it off, it seems.
[Sony Xperia ZR] Røbin:
I'm badly waiting for the next build also.so after compliting fusion3 will we get official nightly from the thread or cm dogo website?recently i saw from the xperiablog.net that sony released marshmallow beta update and added the new feature to allow app move to sdcard like lollipop.So is it possible to port this feature for our dogo?That will be great.we don't need portable sdcard option.This feature not optimized well for sdcard.app gets laggy and unusable.

I changed the PM setting :)
[Galaxy Note5 Q&A, Help & Troubleshooting] Yathani:
So i'm not too excited about Android N coming to Note 5/6 as much as i'm excited for it to come to the nexus line up. Simply because we won't gain anything going from M to N.

- Nexus will get multi Window and we already have that.

- Nexus will get a redesigned notification toggles and we have our own style that won't follow nexus design.

Maybe redesigned notifications? and that about it!

Did i miss anything ?
[Galaxy Note5 Q&A, Help & Troubleshooting] krazykirk:
Google is your friend! There seems to be quite a few changes/improvements. http://www.androidauthority.com/android-7-0-features-673002/
[Galaxy Note5 Q&A, Help & Troubleshooting] Azzarro-:
Well if the next nexus will be as good or better as the current one ill be ditching note 6 and get the new nexus simply because of the fast updates samsung sucks at software ota's.
[Galaxy Note5 Q&A, Help & Troubleshooting] Yathani:
Even though Samsung software are slow to update, their apps such as email is hard to replace atleast for me.

Atleast they are sending security updates. I have May security patch before nexus this month.
[Galaxy Note5 Q&A, Help & Troubleshooting] Azzarro-:
Well some of us prefer faster updates especially if you came from a nexus device before like me, you'll miss the fast ota's. But you really cant complain about much on samsung the build quality,features, camera and performance of the note 5 is better(on my opinion) than the current nexus.
[Galaxy Note5 Q&A, Help & Troubleshooting] nitinmits:
Now I will start topic Note 7 and Android O.
[Xiaomi Redmi Note 3 Guides, News, & Discussion] dssagar93:
A request to the respective WhatsApp group admins, add me to the REAL Redmi Note 3 Group On WhatsApp.

By real I mean, the group members should be aware of the technical terms such as ROM,Kernels etc.

I was added to a group but the ppl were not so technical..So please add me to one such group whose members discuss about all the rom, kernel stuff :)

If we do have such group comment below I will post my number
[Xiaomi Redmi Note 3 Guides, News, & Discussion] zelendel:
Thread closed. This is not a what's app support site. Heck most here stopped using it years ago.

Thread closed
[Sony Xperia P, U, Sola, Go] RyuBlade:
Hello spent the whole try trying to get Flash tool program used with Sony phones in order to flash stock ftf for my phone since I've been having problems with it recently so I been trying to cleanly install stock rom then flash over that custom rom but everything when I install drivers before opening flashtool I get these errors

05/036/2016 19:36:35 - INFO - Selected Bundle for Sony Xperia P(LT22i). FW release : 6.2.A.1.100. Customization : CE

05/036/2016 19:36:35 - INFO - Preparing files for flashing

05/038/2016 19:38:45 - INFO - Please connect your device into flashmode.

05/038/2016 19:38:58 - INFO - Opening device for R/W

05/038/2016 19:38:58 - INFO - Start Flashing

05/038/2016 19:38:58 - INFO - Processing loader.sin

05/038/2016 19:38:58 - INFO - Checking header

05/038/2016 19:38:58 - ERROR - Processing of loader.sin finished with errors.

05/038/2016 19:38:58 - INFO - Ending flash session

05/038/2016 19:38:58 - ERROR - null

05/038/2016 19:38:58 - ERROR - Error flashing. Aborted

05/038/2016 19:38:59 - ERROR - Drivers need to be installed for connected device.

05/038/2016 19:38:59 - ERROR - You can find them in the drivers folder of Flashtool.

05/039/2016 19:39:01 - INFO - Device disconnected

I run the driver setup for my Sony Xperia P while flash tool is either running or I run it before I open the program...and when I don't get the driver error I still get the loader.sin error.

Please if someone can help me solve this, I would appreciate it greatly!
[Sony Xperia P, U, Sola, Go] The Hard Gamer:
Remove Ur phone from device manager and reinstall it and install Sony PC suite.
[Sony Xperia P, U, Sola, Go] RyuBlade:
okay will try that, thanks.
[General Questions and Answers] Arkde:
Hello everybody!

I'm trying to create a content provider usable only by the applications that are signed by the same certificate. I've declared the content provider like this

<provider

android:name=".MyProvider"

android:authorities="com.example.provider"

android:permission="com.example.permissions.USER_PERMISSION"

android:readPermission="com.example.permissions.USER_PERMISSION_READ"

android:writePermission="com.example.permissions.USER_PERMISSION_WRITE"

android:exported="true">

</provider>

I have declared the permissions with signature protection level.

All good but when I try to access the provider from the other application like this:

//Create an URI that will be used to check the status of the content provider

Uri myURI = Uri.parse("content://com.example.provider");

ContentResolver contentResolver = getContentResolver();

try {

contentResolver.insert(prototypeURI,null);

} catch (Exception e) {

e.printStackTrace();

}

I get a SecurityException: Permission Denial: opening provide ... requires com.example.permissions.USER_PERMISSION_READ.

Any ideas?