yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 General] Berni-0815:
How to build cm13 after 2016-12-31

Since the "death" of cyanogenmod.org it's necessary to change some things if you would like to build cm13.

You can build cm13 only unter (x)ubuntu 14.04 or similar linuxes. Newer versions will NOT work because cm13 can only be built with openjdk-7-jdk and that's not available in newer versions!

In my opinion a minimum of 16GB of RAM is necessary for building this stuff.

Here is my step-to-step-guide.

Installing the required packages:

sudo apt-get update && sudo apt-get install openjdk-7-jdk 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 schedtool imagemagick

Enter your password

Check if USE_CCACHE is already set:

export

Search for "...USE_CCACHE...":

If NOT set:

echo 'export USE_CCACHE=1' >> ~/.bashrc
source ~/.bashrc

Setting up git: (Replace "Your name" with your name and "you@example.com" with your email)

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

Setting up the repo tool:

mkdir ~/bin && PATH=~/bin:$PATH && echo 'PATH=~/bin:$PATH' >> ~/.bashrc && curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo && chmod a+x ~/bin/repo

I deleted the whole path ~/cm13/ before the next step:

mkdir ~/cm13/

Initialize the CM13 repository:

cd ~/cm13/ && repo init -u https://github.com/LineageOS/android.git -b cm-13.0

Downloading the entire 20GB big CM13 source code:

repo sync

WAIT ;)

NAME CODENAME

Sony Xperia Z5 sumire
Sony Xperia Z5 Compact suzuran
Sony Xperia Z5 Premium satsuki

Replace <CODENAME> with your device codename (e.g. suzuran):

cd ~/cm13/ && git clone https://github.com/Sony-Kitakami/android_.repo_local_manifests.git -b cm-13.0-<CODENAME> .repo/local_manifests

Replace the file ~/cm13/.repo/local_manifests/kitakami.xml with this one!

repo sync --force-sync
cd ~/cm13/ && cd .repo/local_manifests/ && git pull && cd ../.. && repo sync --force-sync

Delete the line

$(call inherit-product, vendor/nxp/nxp-vendor.mk)

in file

~/cm13/vendor/sony/kitakami-<CODENAME>/<CODENAME>-vendor.mk

Save the file.

Building:

cd ~/cm13/

. build/envsetup.sh

lunch <CODENAME>

mka clobber

mka bacon

After a long time of waiting you should be done and your CyanogenMod package should be located in ~/cm13/out/target/product/<CODENAME>/
[Xperia Z5 General] Lemming0815:
Good guide, Bernie. How do I pull the latest changes (e.g. security patches) from the google sources?

Did a full repo sync just yesterday and today's build shows still security patch level "December 2016"
[Xperia Z5 General] Berni-0815:
Try a

repo sync --force-sync

If this doesn't help, then there is no newer stuff!
[Xperia Z5 General] Milor123:
Hey dude, Could I compile it for a unkown device like AZUMI a50c+ .. Only know that is have a Armv7 (4 core), mt6582 and have a kernel 3.10.72??

The Important that I would like know is how can I build the source of CM13 for unsupported devices like my azumi a50c+....

Could someone help me? [MENTION=6584695]CTXz[/MENTION]
[Xperia Z5 General] Berni-0815:
Look for repo's at github. That's all I can say...
[Xperia Z5 General] viperx888:
Excellent guide! Thanks for the write up! Can't wait to give this a go :)
[G3 Q&A, Help & Troubleshooting] Arkas96:
Hello xda-developers,

as I searched for a long time and didn't find anything useful, i decided to post here on xda for the first time.

My problem is the same as mentioned in this post or in the youtube video:

Post

[YOUTUBE]https://www.youtube.com/watch?v=0SLA0WctmuU

[/YOUTUBE]

It is not possible to pull the notification bar down in horizontal mode. In landscape mode, there is no problem. The screen is not reacting in this area, even in ladscape mode -> the navbar is not working in landscape mode.

This problem started a few days ago on Resurrection Remix (Marshmallow 6). After it did start, i flashed back to Stock G3 Rom and it still consisted.

Then the screen worked for a few hours again, thus it thought "Fine, it's working, you can flash back". I flashed to CM13 and it worked fine.

After a half day, it didn't work again. So, thats the normal case: It is working for a few hours and then it is not, for 4 days now.

I don't know what this could be and I wanted to ask you guys, if you have any idea, what to do...

So, I would be very happy, if you could answer my following questions:

1. Is it possible, that it is something with the software? I though, that every time I flash a new ROM the whole software is new and bugs are "away"... If this is true, than my problem can't be a software problem. Especially that I've flashed back to Stock, which does install everything new...

2. If it is not software, could it be hardware? But that's not really logical because it works sometimes. Only thing is a loose connection. But can there be a loose connection, which makes the screen not working only on this smart area of the screen?

3. As I flashed Stock ROM, there was the area thicker, because the notification bar was thicker. This absolutely makes no sense, does it? It seems, that the system says "Oh, thats the area which the notification bar covers, let's deactivate it" :p

4. Do you have any other ideas what to do?

I'm afraid of sending it in because I think, that it will work, when LG is testing the phone.

Excuse my english, i know that it is not the best:angel:

I hope, you can help me because this is a very ****ty problem...

Thank you in advance and lets discuss about it:confused:

Arkas96
[G3 Q&A, Help & Troubleshooting] Rj42894:
Same here

**BUMP**

I can sometimes get it down from the upper left, but not always. For me it sometimes shows a persistent touch and the top center of the bar until I lock and unlock it again. Its definitely a software issue. Wish somebody would look into this!
[G3 Q&A, Help & Troubleshooting] Arkas96:
Awkward Problem

Hello,

Nice to have an answer even in it is not a good one :)

I "fixed" the Problem by sending it to LG service. THREE TIMES. It really took 3 times that they found the Problem. Changing the touch panel solved it for me.

Hope everybody with this Problem finds a solution. Good luck :)
[Ascend Mate 7 Q&A, Help & Troubleshooting] chudy_85:
First try flash twrp for 6.0 mobopx and then try restore backup b513 frome here

https://mega.nz/#!UsJh1YAb!A41FoZnuzWAcNdN0TaHN0pyA6AmDPQqz8vwYULxO0-8

And if work we work later to restore your MT to lp

Send from ?
[Ascend Mate 7 Q&A, Help & Troubleshooting] Sassan_Payehdar:
First thanks for reply and then,

I tried all recoveries already, including twrp,cwm and stock, all versions of android (4,5.1,6). I have my twrp backup. My problem is that there is nothing comes, no recovery, no fastboot, just huawei logo. No USB detecting by computer, no adb device detection, nothing. Last time, before hard brick, I restored twrp backup and there was a 255 error by twrp in system partition.
[Ascend Mate 7 Q&A, Help & Troubleshooting] Sassan_Payehdar:
I tried and could install twrp. When I try to restore backup using twrp it says "extracttarfork() process ended with error=255" and restoring fails. As I see there is 1200 MB in my system partition and twrp can not wipe it and this is the problem. I try to erase partition using fastboot and it says there is no permission to do that. thanks in advance if any help.
[Ascend Mate 7 Q&A, Help & Troubleshooting] LeTerrible:
Something similar happened to me, too. What fixed it for me was this:

1) Go into bootloader mode (-Vol and Power)

2) Flash Marshmallow TWRP

3) Wipe CACHE, DALVIK, SYSTEM, CUST, DATA

4) Restore the Marshmallow KANG backup or flash one the KANG roms

Hope these steps help. I was on wits end and followed these steps after a lot of research and it helped. Good luck!
[Ascend Mate 7 Q&A, Help & Troubleshooting] somboons:
can you link me to 2) Marshmallow TWRP ?
[Ascend Mate 7 Q&A, Help & Troubleshooting] Sassan_Payehdar:
At last I could fix my problem with my phone. I download Kang B553 zip, install it through twrp and then I could re-format system partition and I use B511 nandroid backup to restore everything and now the phone works like a charm.
[Galaxy S III Q&A, Help & Troubleshooting] mishalc:
How to solve the issue of unavailable Internal & External storage in CyanogenMod 11?

Hi,

My details as follows

MODEL – SAMSUNG GALAXY S GT-I9003

CyanogenMod Version – 11-20140902-UNOFFICIAL-galaxysl

Android Version – 4.4.4

Baseband Version – I9003XXLE4

I find my INTERNAL & EXTERNAL memory readable for sometime and then after sometimes it says “NO EXTERNAL / INTERNAL STORAGE AVAILABLE”

And while accessing Internal storage from File manager it says “The operation requires elevated privileges” ” Do you want to change to root access mode?” and when i select “YES” even then it doesn’t work.

I am using CyanogenMod from last 10-11 months and it was working fine but this error cam in last month suddenly.

Please help!!!!!!
[Galaxy S III Q&A, Help & Troubleshooting] Forcellrus:
Have you flashed correct ROM for exact model of your phone? If you flashed ROM for I9300 or I9305, then it surely won't work. Also make sure your SD card is in exFat format as NTFS causes some issues like corrupting it or being unreadable in recovery.
[Galaxy S III Q&A, Help & Troubleshooting] mishalc:
Hi,

Thanks for the feedback,

I am using this CyanogenMod from last 10-11 months after flashing and it was working fine.

But suddenly it started giving this error, so as per you question i just want to confirm that, is it possible that i have not flashed ROM correctly then also it can work for some time?

Also can you please help me with how to check if my internal/External storage format are NTFS or not ?

Thanks Again for the valuable feedback.
[Galaxy S III Q&A, Help & Troubleshooting] snkmv:
TWRP>WIPE>Internal Storage>Change file system, it will show the current file system

So the same thing for you sdcard
[Galaxy S III Q&A, Help & Troubleshooting] Forcellrus:
You can also plug in your SD card to computer and see which format it is if you have reader.
[Android Q&A, Help & Troubleshooting] Omtiesto:
hi guys , i alwayse flash my official roms using odin , and its always a one AP ".tar" file , and thats it , but now for my new galaxy s7 edge , when i unzip the file , i have 5 files which they are :

1- AP

2-BL

3-CP

4-CSC

5-HOME CSC

, just how to flash these things plz, only the ap file ? or should i flash others and how plz , and what is the difference between number 4 , and number 5 please

note: i installed only the ap file , but 1 thing i noticed is that there are 2 new official update to the same region my rom is , but its still says that i have the latest software update even though the third update is released , im still stuck on the first released rom that came with the phone when it got released , anw im not sure if this issue related to only flashing the AP file ,

thank you so much i hope you help me :)
[Android Q&A, Help & Troubleshooting] Omtiesto:
Any help plz
[Samsung Galaxy Alpha] djrem3000:
Model: G850F

ROM: most latest official 5.0.2 LRX22G.G850FXXU2COI3

CSC: SEB

Baseband version: G850FXXU1COI3

Problem:

Random periodic audio disappearance in all apps, including incoming and outgoing calls.

Symptoms:

When trying to make an outgoing call - i can see the "Dialing" text, but no sound and no further actions, the phone is not actually calling, i can hear no sound, no ringing. The same if i get the incoming call - i couldn't hear any ring, while trying to pick up the phone (i can see on the display, that someone is calling) - the call application freezes.

No sound in any application. Phone starts to heat, in process manager i can see, that the "spi1" process is overloading the CPU. According to the adb phone debugging the "spi1" process refers to the audio chip, connected to serial peripheral bus of the phone. Only restart of the phone helps.

The problem occurrs - ~twice a week.

Tried:

To reset the phone to factory default settings, wipe cache, no 3rd party apps installed (only default stock apps).

Have contacted the samsung warranty center for 6 times already, they have replaced the following parts: the main board (they said, that they did change it, but IMEI did not change, a little bit weird ?), finger scanner, display. Nothing helps, the problem still present. :confused:

I will never never never never buy a SAMSUNG phone anymore :)

As far as i remember, the problem was present in the initial Android 4.4.4 but it more rarely occurred.

Tried googling - nothing helps despite of the simplest advices.

Confused, did not have any ideas. Don't want to void warranty to try the custom ROM.

Any help highly appreciated. :rolleyes:
[Samsung Galaxy Alpha] tileeq:
Well since you already changed alot of the hardware on the phone why not try custom rom? That might actually show if the problem is software or hardware based.

Sent from my SM-G850F
[Samsung Galaxy Alpha] djrem3000:
I do not want to loose the official warranty :)
[K3 Note Q&A, Help & Troubleshooting] pentaxon:
Hi, I have 6.0MM ROM on my Lenovo K3 Note (rooted S424) and I found one delictate isssue: Clean Master has problem with root access and can not change Autostart manager options. So, I am not able to boost my phone with closing some autostarted apps. I use SuperSU version v2.65

Do you have any solution?

Thanks :svetius:
[K3 Note Q&A, Help & Troubleshooting] JMin28:
Same Issue

I have the same problem since upgrading to MM. Prior to upgrade, Clean Master had root privileges, but since upgrade, it never requested root and I don't know how to manually force it to. If you find a solution, please post.
[K3 Note Q&A, Help & Troubleshooting] Josephking:
Same for me, I tried to search for solutions but I think there is no way,
[Moto 360 2015] fKm:
Hi,

is it possible to avoid a reset of the Smartwatch when I flash a new ROM to my device? I was never able to pair them when I don't do a reset on the Smartwatch. That is pretty annoying [emoji13]
[Moto 360 2015] spexwood:
A reset is the only way to get it to connect to a phone for the first time. Unfortunately, when you flash a new rom, your phone will act like a new phone to the watch, so you must reset the watch in order to get it to connect.
[Moto 360 2015] stewe93:
Can I ask you how do you managed to flash a new rom to the 360 2nd gen ? I think a lot of us here interested in it.
[Moto 360 2015] aroblu94:
I think it was talking about a phone ROM, not wear one
[Moto 360 2015] stewe93:
Fine thanks, I misunderstood the "to my device" part !
[Moto 360 2015] blaze9090:
Save your Android wear app + data via titanium backup. Worked for me!
[8125, K-JAM, P4300, MDA Vario ROM Development] none2:
Hi

HTC 8125 uses MS BT Stack. I downloaded the WM6 OS from here:

http://xdaforums.com/showthread.php?t=324632&highlight=wm6+radio+wizard+download+lite

Is there any way to enable File transfer? I have installed the Widcomm Bluetooth Stack, but it doesn't support the Dial up network, so it's stepping backwards (furthermore: it takes 8MB of precious ROM!)

Can someboy please help me out?
[8125, K-JAM, P4300, MDA Vario ROM Development] starkwong:
Who say that MS BT Stack does not support File Transfer...

To send a file through Bluetooh, use the same method as Infrared send and you will notice Bluetooth devices in the list.

To receive a file, enable beam receiving option (The Infrared one) and it will receive files through bluetooth automatically.
[8125, K-JAM, P4300, MDA Vario ROM Development] vlodeck:
Download Total Commander 2.5 public beta 3.

It has Send over Bluetooth option.

Good luck.
[8125, K-JAM, P4300, MDA Vario ROM Development] none2:
No more is needed!

Oh my lord! You're insanely right.

For sending files Over Bluetooth, use Total Comander

For receiving files Over Bluetooth, enable the "Receive all incoming beams" option in Settings \Connections \Beam

Thank you
[8125, K-JAM, P4300, MDA Vario ROM Development] kristijan72:
Hi,

i have a problem with my MDA I can send via BT but cant receive, the other device see my in the list but sending failed hapens

also via IR cant send/receive....???

kris
[8125, K-JAM, P4300, MDA Vario ROM Development] pppppp:
Usual problems

1) (in PPC) Start> Settings> beam receive> checked

Enables obex file transfer for IR and Bluetooth (can´t receive if unchecked)

2) Some bluetooth devices are not compatible with others. No motorola likes any Sony-ericsson. Ecost BT dongle using bluesoleil won´t work with my HTC 8125, etc. Try another device.
[One (M7) Q&A, Help & Troubleshooting] M1LL24R:
(bootloader) version: 0.5

(bootloader) version-bootloader: 1.57.0000

(bootloader) version-baseband: 4T.28.3218.04

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.11.841.7

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: FA38AW901374

(bootloader) imei: 355859054425798

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0714000

(bootloader) cidnum: TELST001

(bootloader) battery-status: good

(bootloader) battery-voltage: 4293mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-6d8a0b9b

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

I have tried RUU's but I can't seem to find the right one (Apparently there is none for this CID). There is no OS so I cant get S-OFF or Root. Bootloader has been unlocked but Relocked for RUU. Twrp flashes but bootloops after trying to enter recovery. And CWM is a black screen. Any advice?

Help is very much appreciated
[One (M7) Q&A, Help & Troubleshooting] alray:
Yes there is a RUU for telstra in the RUU collection thread (7.21.841.5) see post #2. Instructions how to flash at post #1:

http://xdaforums.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944
[One (M7) Q&A, Help & Troubleshooting] M1LL24R:
Thank you very much. Flashed without a hiccup.
[Galaxy Note5 Q&A, Help & Troubleshooting] kylis105:
I tried the holding the gear for the settings but it never spins and I can't get this feature enabled. Am I missing something?
[Galaxy Note5 Q&A, Help & Troubleshooting] CodeNameRedNeck:
Did you enable it in developer options?

From what I have seen it is not available in all regions.
[Galaxy Note5 Q&A, Help & Troubleshooting] galaxynote2:
Touchwiz doesn't have SystemUI Tuner. The gear will not spin with the original SystemUI.apk and using Samsung Good Lock the gear will spin but It will not open anything since there's no code in Settings app.
[Galaxy Note5 Q&A, Help & Troubleshooting] CodeNameRedNeck:
It does make sense that it would not work on Samsung. Not sure what I was thinking.
[Galaxy Note5 Q&A, Help & Troubleshooting] galaxynote2:
True, but almost every feature from System UI Tuner is already available in Touchwiz:

Editable notification drawer toggles: Edit button in statusbar header.

Battery Percentage: Settings > Battery > Show Battery Percentage.

Dark UI theme: Well, you have hundreds of dark themes in Theme Store including Material Dark.

Only Demo Mode is absent.
[Galaxy Note5 Q&A, Help & Troubleshooting] kylis105:
Well I just need to make the notification bar nontransparent, I don't want to change anything else in the UI. I have a lock wallpaper that has a white area at the top which makes the notification icons basically invisible.
[Galaxy Note5 Q&A, Help & Troubleshooting] galaxynote2:
Sadly that's not something you can do with SysUI tuner either in Stock Android. You can edit the image to add a 48p height bar to cover the statusbar and set it as a new lockscreen wallpaper. Also, if you're rooted, use GravityBox or Perfect Statusbar. By the way by default in Marshmallow when you set a white wallpaper the statusbar icons turn to the opposite so you can see them. You may want to tune your image brightness with an Image editor in order to trigger the inverted statusbar.
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] madwolf27:
I was just poking around and noticed this. I have unlimited data so I don't pay so much attention to it.

Nearly 2GB in 12 days. It used 4.19GB in March :| All background data.
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] Binary100100:
Did you use install an update lately? Only thing that I can think of.
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] ipaq_101:
Yeah could be the update, I'd turn off all that anonymous reporting of stats as well, but no way does that go into GB territory.
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] ingenious247:
I thought the update was only about 160-something MB? How would that contribute to GIGS of data?

I've noticed, since the update, Android OS is the highest user of battery now. Wonder why
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] nano303:
What update...pc8?
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] madwolf27:
Its used .13 GB since I posted :/ And that is off. It is definitely NOT the updates.
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] WerkFlowJones:
Well I don't mean to blow things out of proportion but... If you're experiencing increased data and battery usage even after the update and while the phone is on standby, if you haven't made any crazy modifications to it since you've gotten it, then chances are your phone is tapped :eek:

As far as the steps to untap your phone that's out of my area of expertise. I only believe that may be the culprit because of my years working in cell phone retail. Anytime I experienced a customer with a relatively stock phone experiencing that much usage for little to no use, 8 times out of 10 that persons phone was tapped. We were never really sure who was tapping into their phones we would just assume either crazy exes or spouses since you can easily go to any private investigator and have him tap a phone for you (for a price of course lol)

Best I can recommend is a factory reset followed by immediately encrypting your phone afterwards in case someone is really trying that hard to steal your info
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] madwolf27:
Ummm thats odd! How would someone even tap a cellphone?

Some quick googlefu tells me that this isnt really possible, because the tapping party would need access to my phone and its been fingerprint locked since i unboxed it.
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] ingenious247:
Nah it's not that.

My guess, is it's either Goolgle or T-Mobile pulling our activity from the phone.. even though I have Carrier IQ turned off in settings..
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] madwolf27:
Im sure this has to have a negative battery impact, Android os battery consumption is down after last update but still high. And i dont want anyone pulling any data. :|

Its now pulled 447 MB in 2.5 days.
[T-Mobile Samsung Galaxy S7 Edge Questions & Answer] nano303:
Geez dude why not reset already?

Sometimes there's no way out of things until you do a reset. This is mine

View attachment 3719563
[XDA Assist] 0r3n03:
Hi,

I recently upgraded my ROM from 4.2.2 to 4.4.2, and when I long press "Home Button" after opening a lot of apps, I used to see this screen:

s20.postimg.org/u08wkl699/unnamed.png

but instead, I see this screen:

s20.postimg.org/6xidlf4rt/Screenshot_2016_04_12_09_58_09.jpg

I even tried to use an external app, called "RecentTask" but when I click the app I see the same screen without apps.

I would be happy to know how to bring back the "Recent Apps" screen.

thank you,

0r3n.
[XDA Assist] :
Hello,

That seems like an external app clean master or anything as such.

-Vatsal
[XDA Assist] 0r3n03:
Hi,

Thanks for your reply.

I don't have Clean Master installed, in fact, that's the screen that I saw since installing the ROM (2 days ago).

that's a Custom Rom based on latest original rom.

that's the ROM:

needrom.com/download/custom-20140927-mg/#comments

maybe I just have to change a file or a line in some file to bring back the "Recent Apps" screen, but I don't know what file or which line and haven't find answer googling :(