Error 1 when building Cyanogen Mod 12.1 for Sony Xperia ZR dogo in Linux

When building Cyanogen Mod 12.1 for the Sony Xperia ZR dogo in Ubuntu Linux, I got the following error. android/system/common/obj/JAVA_LIBRARIES/framework-base_intermediates/classes-full- debug.jar *** Error 1 To fix, open a terminal window and do the following: $ cd ~/android/system <enter> $ rm -rf out <enter> $ repo sync <enter> $ source build/envsetup.sh <enter> $ breakfast dogo <enter> … Continue reading Error 1 when building Cyanogen Mod 12.1 for Sony Xperia ZR dogo in Linux

How to fix Cyanogen Mod 12.1 build error – breakfast dogo … breakfast not found

When building Cyanogen Mod 12.1 for the Sony Xperia ZR (dogo), you will encounter the error below. breakfast dogo ... breakfast not found The reason for it is that breakfast or brunch are not within the executable paths. Open a terminal window on your system and enter following commands to overcome the error: $ source … Continue reading How to fix Cyanogen Mod 12.1 build error – breakfast dogo … breakfast not found

Error don’t have a product spec for: ‘cm_dogo’ when building Cyanogen Mod 12.1 for Sony Xperia ZR

Building cyanogen 12.1 for Sony Xperia ZR throws the following error (in red) when you do: $ breakfast dogo <enter> ** Don't have a product spec for: 'cm_dogo' ** Do you have the right repo manifest? This error can be overcome by: $ cd ~/android/system/.repo/manifests <enter> $ cp default.xml default.backup <enter> $ leafpad default.xml <enter> … Continue reading Error don’t have a product spec for: ‘cm_dogo’ when building Cyanogen Mod 12.1 for Sony Xperia ZR

Phone not detected with adb in the VirtualBox Ubuntu guest

If you create a Linux Virtual Machine using VirtualBox, then you will find that when an Android Phone is connected to the computer via USB port, it will not be detected in the Linux virtual machine. To overcome this, in VirtualBox select Machine->Settings->USB and check Enable USB Controller and also check Enable USB 2.0 (EHCI) … Continue reading Phone not detected with adb in the VirtualBox Ubuntu guest

How to install Cyanogen Mod 11 on Sony Xperia ZR

Most of us just use the Android Operating System supplied by our OEM (like Sony) and are happy with it, till we get fed up of using it or want to try something different. No one is responsible for whatever you do with below instructions. Everything is at your own risk.If you own a Sony … Continue reading How to install Cyanogen Mod 11 on Sony Xperia ZR

Sony CP-AD2 high speed charger for Sony Xperia ZR Phone

After lot of thought, I bought the Sony CP-AD2 charger for my Sony Xperia ZR phone. The biggest worry was the 2.1 Ampere rating of the charger and it's compatibility, as the default in-box charger was of 1.5 Ampere. Fortunately, the 2.1 Ampere charger worked very well. In fact, it the phone charges to 100% … Continue reading Sony CP-AD2 high speed charger for Sony Xperia ZR Phone

Sony Bravia TV does not display files or folders on the Sony Xperia ZR SD Card

When I connected the Sony Xperia ZR smart phone to the Sony Bravia TV via the USB port, the TV did not display any folders from the SD Card of the phone. After a while, realized that the phone was connected to the TV USB port in MTP (Media Transfer Protocol) mode. To display the … Continue reading Sony Bravia TV does not display files or folders on the Sony Xperia ZR SD Card

How to connect Android phone in developer mode and use adb

After enabling developer options on the phone, connect the USB cable that came with the phone to the computer. Start adb shell as follows: $ cd android-sdks/platform-tools <enter> $ ./adb shell <enter> Within the shell, you can execute several commands. List all installed packages using the adb in android-platform-tools pm list packages <enter> List all … Continue reading How to connect Android phone in developer mode and use adb