yashsingh1/xdaforums huggingface dataset:
[Zenfone 5 Android Development] dgadelha:
Development: Building CyanogenMod 13 for Zenfone 5/6​

Prerequisites:

Ubuntu 16.04 (Installation Guide)

~80 GiB of Available Disk Space

Establishing a Build Environment

Open a Terminal Emulator (Ctrl+Alt+T)

Install the latest Ubuntu updates:

sudo apt-get update
sudo apt-get dist-upgrade

Add the OpenJDK 7 Repository:

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

Install the Required packages by Android:

sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip maven yasm optipng openjdk-7-jdk

Install Repo:

sudo wget https://storage.googleapis.com/git-repo-downloads/repo -O/usr/bin/repo
sudo chmod +x /usr/bin/repo

Setup Git:

git config --global user.name "Your Name"
git config --global user.email "you@example.com"

Recommended: Reboot.

Downloading the Source:

Create a Working Directory:

mkdir -p ~/CM13
cd ~/CM13

Initialize the Repository (choose a command below):

Stable (ZNH2K):

repo init -u git://github.com/zf5/android.git -b stable/cm-13.0-ZNH2K

Stable (ZNH5Y):

repo init -u git://github.com/zf5/android.git -b stable/cm-13.0-ZNH5Y

Nightly:

repo init -u git://github.com/zf5/android.git -b cm-13.0

Download the Code:

repo sync -c -j4

Optional: Setup ccache (ccache acts as a compiler cache that can be used to speed up rebuilds)

echo "export USE_CCACHE=1" >> ~/.bashrc
export USE_CCACHE=1
prebuilts/misc/linux-x86/ccache/ccache -M 50G

Applying the Patches:

Download the Patches

Extract the Patches at your working directory

Apply the patch files by changing the directory to where they are and using the following command:

patch -p1 < filename.patch

Example: Applying the Patch for Vibration:

cd frameworks/base
patch -p1 < vibration.patch

(Do the same for every patch file in their respective directories)

Building the System:

Prepare the build environment:

. build/envsetup.sh
lunch cm_T00F-user

Build the System:

make -j4

That's it. Your system.img is located at WORKING_DIRECTORY/out/target/product/T00F/system.img

Also check out: Development: Building a Marshmallow Kernel for Zenfone 5/6

XDA:DevDB Information

Development: Building CyanogenMod 13 for Zenfone 5/6, Tool/Utility for the Asus Zenfone 5

Contributors

dgadelha

Version Information

Status: Stable

Created 2016-04-21

Last Updated 2016-09-13
[Zenfone 5 Android Development] Edorewiel:
For T00G:

Device Tree: https://github.com/T00G-Marshmallow-DEV/android_device_asus_T00G

Vendor Tree: https://github.com/T00G-Marshmallow-DEV/android_vendor_asus_T00G

Information: Sensors and some bugs fixed.
[Zenfone 5 Android Development] clloud77:
Gooood! Thanks very much
[Zenfone 5 Android Development] AhZhi:
For cm12.1 also same method? Because I got some error on building cm12.1
[Zenfone 5 Android Development] dgadelha:
Yes. But I think you'll need to apply the Vibration patch manually, as it will probably fail.

And, well, no need to apply all the patches, only vibration.

That's it.
[Zenfone 5 Android Development] AhZhi:
Thank you now i go to try it
[Zenfone 5 Android Development] HONGARC:
Error

Fetching projects: 51% (222/435)

error: Exited sync due to fetch errors

Can you help me ?
[Zenfone 5 Android Development] kihope12:
type again last comand

it will resume, try use google there are some comands what will help you
[Zenfone 5 Android Development] adekcan:
And how to creat .zip flash on twrp
[Zenfone 5 Android Development] resk87:
you can use otapackage but you must this have in device tree or you can extrac system.img file after build
[Zenfone 5 Android Development] sapiterbang:
Hi [MENTION=6292495]dgadelha[/MENTION]..

I have successfully built the rom and kernel in my laptop using the steps you provided on first page..

After that I flashed it to my phone and it's been working so smooth and stable. It was a great experience for me getting the phone work using the firmware compiled by me ?. Many thanks for you..
[Zenfone 5 Android Development] ultimatevishukmr:
Ohh that's good it means new dev come !! ??
[Zenfone 5 Android Development] dgadelha:
Nice to hear that.

:)
[Zenfone 5 Android Development] ch@!t@ny@:
What is the procedure if I want to run this rom on stock kernel? (I am asking this because I have no camera found bug after unlocking bootloader.)

Beside that your guide is awesome.
[Zenfone 5 Android Development] dgadelha:
There is no procedure, you can't do that.
[Zenfone 5 Android Development] leonardohenrique10:
You have to build a Lollipop 5.0 based ROM to run with stock kernel.
[Zenfone 5 Android Development] ch@!t@ny@:
I'm a bit disappointed,but anyway thanks a lot for information.
[Zenfone 5 Android Development] Desert fox2612:
getting error in applying patches

I am getting erros while applying patch.....I reffered ur steps from guide by u that how to build cyanogenmod for zenfone 5....I have downloaded and synced sources and when i come to apply patch then i get error..

can't find file to patch at input line 5

Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

--------------------------

|diff --git a/linker/linker.cpp b/linker/linker.cpp

|index bc40cf1..899eeca 100644

|--- a/linker/linker.cpp

|+++ b/linker/linker.cpp

--------------------------

File to patch: y

y: No such file or directory

Skip this patch? [y]

Skipping patch.

2 out of 2 hunks ignored

please help me...
[Zenfone 5 Android Development] dgadelha:
You need to copy the file bionic/linker.patch to the directory ~/CM13/bionic/

then you need to do

cd ~/CM13/bionic
patch -p1 < linker.patch
[Zenfone 5 Android Development] Desert fox2612:
Thanks....that helped me.. :) Btw should I ignore warnings generated between building img file? & one prob is linker.patch is not worked....rest all patches worked....will it create problem?
[Zenfone 5 Android Development] dgadelha:
Hi.

Feel free to ignore warnings inside build, I think you'll see more than 1000!

Also, you can apply the linker.patch manually. Check the following link:

https://github.com/zf5/Patches/blob/marshmallow/bionic/linker.patch

You need to remove everything that's in red and add everything that's green. Basically it's just that.

If you don't apply the linker.patch there's also no problem.

Thanks.
[Zenfone 5 Android Development] Desert fox2612:
I got this error at final...[IMG="error"]https://drive.google.com/open?id=0B7ppZ_g5EhYGVnBIZEZKR1F1cUE[/IMG]

---------- Post added at 05:01 AM ---------- Previous post was at 05:01 AM ----------
[Zenfone 5 Android Development] Desert fox2612:
Errors
[Zenfone 5 Android Development] dgadelha:
Hi.

Please run the following command:

repo sync

and you can build again.
[Zenfone 5 Android Development] hungximbex:
Help

Can't find file to patch

---------- Post added at 07:16 AM ---------- Previous post was at 07:05 AM ----------
[Zenfone 5 Android Development] :
Take THe linker.patch file and copy to bionic then run terminal in bionic folder then run the patch comand
[Zenfone 5 Android Development] hungximbex:
HELP

I build system and kernel , but flash treo bootloader
[Zenfone 5 Android Development] dgadelha:
Hello.

Please explain your issue.
[Zenfone 5 Android Development] hungximbex:
Help

Hello .

I finished the build system and kernel , but it hangs flash through ADB bootloader
[Zenfone 5 Android Development] dgadelha:
Hi.

It's normal a hang of a few seconds before flashing system.

That's because fastboot is reading the system image file.
[Zenfone 5 Android Development] hungximbex:
HElp

Help bootloop
[Zenfone 5 Android Development] tank0412:
You are building a rom, are not you?

Multidisplay patch by dgadelha does not work anymore so if you used latest CM13 sources for building, your build will stuck on the boot logo.

I have no solution. Dgadelha is ignoring this issue.
[Zenfone 5 Android Development] dgadelha:
I was building CM13 to check this.
[Zenfone 5 Android Development] tank0412:
And what a result? Are you succeed?
[Zenfone 5 Android Development] dgadelha:
I don't know yet, was running it with [MENTION=6821509]TecnoTailsPlays[/MENTION].
[Zenfone 5 Android Development] hungximbex:
And what a result? Are you succeed?
[Zenfone 5 Android Development] dgadelha:
I don't know yet
[Zenfone 5 Android Development] q0kHaN:
Is it booting ?
[Zenfone 5 Android Development] dgadelha:
You just posted both the error and the fix :p
[Zenfone 5 Android Development] dgadelha:
There is no support anymore for CyanogenMod 13 build for Zenfone 5.
[Samsung Gear S2] Stjin:
Hi,

Today I saw a weird spot on my Samsung Galaxy Gear S2 classic.

You can only see it when shining on the screen with a flashlight, and you cannot see it when te screen is turned on normally.

Pictures:

i64.tinypic.com/sp9g6b.jpg

i64.tinypic.com/2r6nyma.jpg

Is it the AMOLED screen? Do I have to worry about it?
[Samsung Gear S2] alorora:
Can't see your pics. Is it dead center? If it is, it is the ambient light sensor.
[Samsung Gear S2] Stjin:
You can copy the links and paste them in your browser.

No, its not a dead center.

Is the ambient light sensor located in the middle if the screen?
[Samsung Gear S2] Stjin:
​

Never mind, it is the ambient light sensor, thanks!
[Android Apps and Games] aagrlp640:
[IMG="24 special effects lwp"]http://gtr-wolf.com/img_promote/gtr-effects.jpg[/IMG]

Animated live wallpaper for android with 24 special effects fx, this amazing live wallpaper have the option to change effect every x time or every hour, all effects are fully animated and stuning

https://play.google.com/store/apps/details?id=com.gtrwolf.effects.lite
[Samsung Galaxy S7 Edge Accessories] Nikka93:
Anyone know how to remove the belt clip?
[Nexus 6P Q&A, Help & Troubleshooting] pist0lpete:
As I await the arrival of my Nexus 6p a thought occurred to me. Is it possible to view an iCloud shared photo stream with a nexus device? I did a search and found workarounds for much of the iCloud functionality but not the photo sharing. Anybody have any ideas on this?
[Nexus 6P Q&A, Help & Troubleshooting] pist0lpete:
Appreciate the folks who looked. Sounds like nobody has figured out a workaround just yet. I will keep my eyes open for it. Love the new phone BTW.
[Nexus 6P Q&A, Help & Troubleshooting] dlads:
As with most things apple, short answer is no.

Not sure if theres a web link which allows you to view images.

Another option would be to remote onto your home PC / Laptop and view from there, Apple will never release anything like that for Android or allow it to happen, it'd ruin their overwhelmingly tight eco system.

Potentially it's possible but i've never heard of a way to do it, maybe it might be an idea to get rid of Apple before it becomes to big of a thing to lose, then they have you.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] Gezedka:
I guess this is the right place to post this question as the other one would be more focused on the development side.

What is in our opinion and experience the best rom / mod running on N7000?

I'm stuck with the stock updated only to KitKat and missing on security updates, but I'm also concerned that if I run any rom for later Android version my Note would get extremely slow.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] :
For security, go with CM12.1 at the absolute maximum. CM13 (and potentially CM14) feels like it's gonna kill the Note.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] Gezedka:
Thanks, AutummQueen. You seem to be have been using CM13 Nightowl though. Is it making it slow or is it crashing?
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] :
It was slow for me, but I haven't been using the recent builds. My phone is on loan to someone right now so I haven't updated.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] IronRoo:
It's true what [MENTION=6318692]AutumQueen92[/MENTION] says but if you are coming from a completely stock phone with KK it's almost certainly slow and laggy by now so you should see a big improvement than your current speed provided you also flash a kernel that has emmc trim support and also a bigger partition too, even though CM12 may be marginally slower than stock in original mint condition!

I flashed NightOwl 12.1 which includes a kernal with trim support as per Savin Vasudevan instructions to increases partition size for apps and the phone feels much faster. The main reason is the memory is trimmed or can be trimmed with fstrim app manually. See the "How to Repartition your device and install this Rom:" link on the NightOwl CM12.1.1 thread http://xdaforums.com/galaxy-note/development/rom-t2938649 , best of all this ROM gets the monthly security updates you are after!

(Also very stable, mines never had an FC, though I do have an issue recently with the videocam freezing but that is my phone I think not the ROM)
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] Gezedka:
Many thanks, guys! Very useful input form you! I'll start with CM12 as soon as I get the new battery from Amazon. Looking forward to see Note 1 in its (near) old glory and with security updates.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] drogapozarowa:
Im not even testing NightOwl cm 13. Right now Im on NightOwl cm 12.1 and I must say rom is little laggy from time to time. But without frezzes or force closes. Only issue with camera in whatsapp randomly.

I will try again NightOwl cm 11 cause I use them some time ago and I think that kitkat version was running little faster. Even if I loved Lollipop looks, recent apps and night option I will test again kitkat from Bauners hands.

Wysłane z mojego GT-N7000 przy użyciu Tapatalka
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] mrlucaszarate:
For me the more stable and fast room is stock , i ever try random room but i get back

Enviado desde mi XT1563 mediante Tapatalk
[Android Q&A, Help & Troubleshooting] PrometheusPB™:
Hello all, new here, hope this is the right place for this post...

I have looked everywhere and can't seem to find anything relevant, so maybe someone here may have some insight. To start, it is (Kingo) rooted stock ROM android 4.1.2, build M36UP61, kernel 3.4.0, just to avoid confusion... Here's the issues numbered so I can correlate answers for each:

1) WiFi will occasionally drop, but the issue is that after (I assume) 5 retries, it leaves the AP as "disabled", and I want it to never do that, like my kyocera hydro, which relentlessly retries until it gets a connection to a known AP. Essentially, to never give up on a known AP for any reason, even if having to connect at least once first. I can find nothing in build.prop or sysctl that seems to relate to this behavior, unless I missed something. Additionally, WiFi will drop despite >-72dB signal unless I am actually watching the WiFi AP settings screen for some reason. I have made minor tweaks to build.prop, however this behavior was occurring prior to rooting.

2) I am getting what appears to be OOM-related FCs (no toast ANRs, just a halt back to launcher), yet with what should be enough RAM and spare CPU at the time. This behavior also prior to rooting, and have tweaked some improvement, but it is apparently not enough. I have not messed around too much with DavlikVM settings, as it still is as intimidating as sysctl for me as a newbie at Linux. I have tried to logcat, but can't get a dump at all, it just doesn't seem to log in time. Am I looking at the wrong log?

3) Touch screen locks, and takes all hardware function with it, even just on the home screen. Hardware power and volume don't respond and touchscreen coordinates are locked in place (I have show touches enabled) with no change in anything else; game/app keeps running smoothly, but is convinced that I have frozen holding (or not holding) my touches in place. Recovers in anywhere between 15 seconds to never, requiring me to pull the battery. Persistent after factory reset (did prior to rooting), occurs only when cfq(?) governor is topped at 1001MHz regardless of CPU load. Occasionally multi touch (max 2) fails intermittently, or averages between them (hold both ends and it shows one touch in the middle).

Just to add, any way to kill autocorrect's tendency to put the wrong word in place of a correctly-spelled one in its dictionary? (Changed dictionary to functionary for no reason, both in database). Also, smaller functions drop out, like WiFi icon stops responding, autocorrect suggestions disappear at random, etc.
[Blu Studio 5] gwils:
Having a hard time finding the firmware. Any help is appreciated.
[Blu Studio 5] gwils:
Bump
[Blu Studio 5] Anneicia:
did u get it
[Blu Studio 5] mexguytj:
dont know if is of any help but i found this couple of weeks "Studio C 5+5 D890L" https://www.mediafire.com/folder/lfnf476kjvtkr/Studio_C_5+5_D890L
[Blu Studio 5] Birender1312:
U guys have custom ROM for this(d890u)
[8525, TyTN, MDA Vario II, JasJam General] wailoon:
I just install the HTC Home Plugin into my HTC Softbank X01HT.

but i notice when i click on the envolope link, it goes to MMS.

may i know is there any way to change the link to email??
[8525, TyTN, MDA Vario II, JasJam General] lagoskon:
If you go to emails after MMS and close the mail program from email next time you press the button will go to emails.It remembers the last type of message and goes.Give it a try.!!
[8525, TyTN, MDA Vario II, JasJam General] wailoon:
sorry... still can't... the link still not link to outlook email...
[Galaxy Tab S2 Q&A, Help & Troubleshooting] DonS:
I just picked up a used T817T yesterday. I was able to root it with Kingroot. I then found out that I lose root after a reboot. Even worse, without enabling the developer options and enabling the OEM unlock, it would no longer boot. I had to reflash the stock ROM with ODIN to recover.

I purchased and installed SuperSu Me-Pro and that replaced the Kingroot SU with SuperSu. Now I can reboot without losing root.

I'm being prompted to install an update T817TUVS2APB1/T817TTMB2APB1/T817TUVS2APB1. If I install this update, will I lose root? If I install it, can I still root with other methods?

I still have the stock recovery.

I'm currently on T817TUVS2AOL1.
[Galaxy Tab S2 Q&A, Help & Troubleshooting] DonS:
I decided to roll the dice and try the update. I got a message that the software on my device was altered in an unapproved way and that it would not update. At least the nagging icon on the top of the screen is now gone.
[Galaxy Tab S2 Q&A, Help & Troubleshooting] ashyx:
Install it with Flashfire.
[Honor 5X Questions & Answers] vletrmx21:
So today my gf's L21 got the B140 update, during the emui update screen I noticed a white smudge on the screen.

Turns out its not just a smudge but a mark on the actual screen, call me crazy but is it possible the phone got hot enough to cause this damage to the lcd?
[Honor 5X Questions & Answers] Faheemarif252:
I don't think so that would've been the case.... But nevertheless, honor provides accidental coverage, so you can get your set replaced
[Nexus 6P Q&A, Help & Troubleshooting] Dankchild:
So I just started getting these pop-ups in all apps. Even in Google apps like slides. They're ads for ****ty games and apps and the only consistent logo is for 'StartApp'. How can I get rid of this and where did it come from?
[Nexus 6P Q&A, Help & Troubleshooting] stevemw:
Try wiping the cache partition in Recovery mode and clearing your browser's cache.

Apparently this is a big thing to someone out there (http://www.startapp.com/faqs/)
[Nexus 6P Q&A, Help & Troubleshooting] Pain-N-Panic:
OR unlock bootloader, root, install adaway, install xposed FW and load up on all the awesome ad blocking modules and never ever deal with ads again <3. That's what I do anyway.
[Nexus 6P Q&A, Help & Troubleshooting] galaxys:
Root & Adaway for the win! ;)
[Remix Mini General] asipsis:
Hi guys,

I'm on newest firmware and have installed teamviewer quicksupport from playstore.

Although it installs just fine when I remote in from another PC the screen is just black. Has anyone had any luck. I would love to be able to support friends this way.

Would you also suggest I try some VNC software?
[LG G5 Questions & Answers] UnderTheAir:
Does anyone know of a way to get rid of the 15% battery popup? Or at least have to show on the notifications bar without taking focus away from the main screen? It's really annoying me. Thanks.
[LG G5 Questions & Answers] t4d73:
Plug it in? Lol Jk. That was on my note 4 as well and I have never seen an android not do that before actually.
[LG G5 Questions & Answers] leo91919:
You can try to disble the Battery Saving mode in settings
[Elephone P7000] Garfildek:
Hey guys,

I got hard bricked P7000 Elephone. Somebody tried to flash some roms, unfortunately it got bad and phone is bricked. I tried to flash few stock versions but no success. Probably bootloader/uboot is damaged, could yomebody PLEASE upload full backup of working device? I REALLY appreciated it!

thank you so much
[Xperia Z1 Compact Q&A, Help & Troubleshooting] karamancho:
Does anyone know the exact reason why z1c doesn't have a CM13 build by now?
[Xperia Z1 Compact Q&A, Help & Troubleshooting] levone1:
Don't know for sure, but I wouldn't be surprised if there was no official CM 13 for Z1c, since there will apparently be no official MM from Sony, so the device is as good as dropped, (actually a recent article said that Sony is basically dropping the Z series - http://www.xperiablog.net/2016/02/24/confirmed-xperia-z-series-is-no-more/) However, I would bet we'll see a CM build at some point. We already have several CM/AOSP variants available. It's hard for devs to spend much time on devices that seem to be on their way out...
[Xperia Z1 Compact Q&A, Help & Troubleshooting] karamancho:
well didn't Sony include z1c into the "Open Devices" project? and don't they already release the necessary LP and MM binaries or am I missing something here?
[Xperia Z1 Compact Q&A, Help & Troubleshooting] levone1:
Maybe it will come, I don't know... I just know that there's dozens of new devices all the time, and development requires someone to put in time and energy and money, and if the demand is shrinking for a certain device as it falls into the shadows of up-and-comings, then the motivation might fade too. I'm sure there are devs out there who would be happy to build for someone if you provide a device and a donation...
[Xperia Z1 Compact Q&A, Help & Troubleshooting] nozz93:
It's probably because it's not a very popular device for developers and there's nobody willing to maintain CM13 on it.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] Jesusnagler:
But it is a very good device
[Xperia Z1 Compact Q&A, Help & Troubleshooting] karamancho:
yeah it's still a beast hardware wise.

I was asking because my old phone, galaxy s2 plus that I gave to my mother, has had CM13 since 06.12.2015. and samsung hasn't released anything for that phone since android 4.2.2 JB - no ROMs, no drivers, no binaries... nothing. yet the phone had excellent ROM support despite all that. bear in mind that this isn't the ex-flagship galaxy s2 - the s2 plus version I'm talking about here had nothing in common (hardware wise) with the s2 except the looks.

on the other hand, sony is constantly releasing MM binaries for the z1c and all I see in the dev forums are half a dozen tweaked sony stock roms but 1 or 2 AOSP based roms.

I was asking if there are some technical difficulties in building AOSP MM roms, otherwise I believe that it's impossible that a 2014 SD800 device has a better dev support than a 2012 device with a Broadcom SoC.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] derf elot:
Hi,

the sources for CM13 are up and they build fine. I tested one a couple of weeks ago and it seemed to be running OK. Keep in mind, that pretty much all Sony devices are now based on the new 3.10 kernel, which requires quite a bit of work. Also, the camera isn't working very well yet, probably requires some more blob updates from Sony.

In case you want to give it a try, I made a quick build last night. I haven't flashed it myself but I would assume not too much has changed since the version I tried.

https://www.androidfilehost.com/?fid=24499762636006153

I'm not taking any dev credit, I just built what's already there.

Cheers