yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Original Android Development] fridolin42:
Thank you!

Hello derf elot!

Yesterday I have successfully installed your new custom ROM containing the march 2017 security updates,

everything is working fine so far.

A few questions:

Do you plan to release new ROMs on a regular Basis?

If you do so, I would like to keep my phone updated, but what's the most elegant way to do this,

do I have to install the new ROM everytime with TRWP,

or is it somehow possible just to install the latest fixes, without reinstalling the whole phone?

Do you have any suggestions to improve battery life?

Thank you for keeping my z1c up-to-date.:cool:
[Xperia Z1 Compact Original Android Development] derf elot:
Hi,

Good to hear.

If time permits, I try to do a build every month to include the latest security patches. At least until a stable new LOS is around. Unfortunately, I don't have much time these days to invest into it myself.

As for installing it, not sure I quite understand what you mean by reinstalling the whole phone. You can just flash the new version over the older one with TWRP. No need to wipe system or data.

Nothing besides the usual. I use MyAndroidTools to disable a lot of unneeded services, especially from Google Play Services. I only use the Z1C as a secondary phone these days (mainly music player and alarm clock).

No worries.
[Xperia Z1 Compact Original Android Development] foresto:
Nice. Have your manifests changed since last month? Better yet, are they available at github or anywhere else online?

Have you been following nailyk's recent posts in the z3 thread? Looks like he or someone he's working with figured out how to get the camera blobs working in Nougat. Some of us are wondering if a similar approach could be used for z1/rhine.
[Xperia Z1 Compact Original Android Development] H0bi:
i found a bug in the new custom ROM containing the march 2017 security patches.

I cant open camera out of whatsapp, someone the same issue??
[Xperia Z1 Compact Original Android Development] derf elot:
I will put up a manifest on my git soon. IIRC, there are three new repos to replace the outdated CM/LOS ones.

Yes I've seen their work. Looks very exciting. Would love to help if only I'd have the time. As for the same working for amami... not that easy I think. The Z1C never received stock MM.

Can't comment on that I'm afraid. I don't use it. But what's the issue? Error message, black screen? If the latter, have you tried to disable HW overlays in developer settings?
[Xperia Z1 Compact Original Android Development] H0bi:
stupid me, i forgot to disable HW overlays....

thanks alot.
[Xperia Z1 Compact Original Android Development] foresto:
Thank you. I hope you'll let us know when they're up. I'd like to make builds builds that track your updates.
[Xperia Z1 Compact Original Android Development] derf elot:
Here you go: https://github.com/derfelot/local_manifests
[Xperia Z1 Compact Original Android Development] templeka:
I don't know if this is a bug or an issue that only happens to me but here it goes. During a call if i activate the phone speaker the other participant can hear me with no issues but if I deactivate the speaker and try to talk back normally he can't hear me no more. Activating the speaker again and the other person can hear me. So basically I can only be heard with speaker option enabled during that specific call if I activated it once.
[Xperia Z1 Compact Original Android Development] fridolin42:
I wanted to know, if it is possible to update the phones software and keep all my UI Settings, Apps, offline Calender entries etc.
[Xperia Z1 Compact Original Android Development] MSe1969:
YES, if you flash the .ZIP file using TWRP and you don't wipe anything before, then only your Software is updated, but all settings and your data remains. This oft course only works, if you update weithin your ROM (e.g. you flash a newer CM 12.1 over an existing CM 12.1)
[Xperia Z1 Compact Original Android Development] templeka:
Anyone can help out with my issue please? Is this common or only happening to me for some reason?
[Xperia Z1 Compact Original Android Development] derf elot:
I haven't had the chance yet to check it out, never use my speaker really. I'll let you know when I do.
[Xperia Z1 Compact Original Android Development] fridolin42:
Hello derf elot, can we expect April updates anytime soon? It would be great. Thank you and please keep up the good work.
[Xperia Z1 Compact Original Android Development] derf elot:
Hi,

I'll try to do that this weekend. But no promises, it's a lot of patches and it all depends on how easily they can be applied to lollipop and 3.4 kernel sources.

edit: actually, Google hasn't even released the links to the patches yet. so it might be another week
[Xperia Z1 Compact Original Android Development] frief:
Hi fridolin42, please read https://source.android.com/security/bulletin/2017-04-01 so that you know what you are asking for (with "anytime soon").
[Xperia Z1 Compact Original Android Development] levone1:
Your link is 404... I found this - https://source.android.com/security/bulletin/ - but not sure how it answers the question. Seems like there is an April patch available...
[Xperia Z1 Compact Original Android Development] derf elot:
yes, but the links to the patches aren't there yet. e.g. compare (scroll down to the actual patches, links are under "References")

https://source.android.com/security/bulletin/2017-04-01.html

to

https://source.android.com/security/bulletin/2017-03-01.html

edit: also, keep in mind that neither Google, nor LOS are keeping their LP sources up to date anymore. The patches posted also only apply to the N source. So many have to be backported to work with LP. I haven forked many repos to apply these patches, but it's a lot of work and needs a bunch of testing. On top of that, there are all the kernel patches as well, of course ;)
[Xperia Z1 Compact Original Android Development] templeka:
I've found the solution to this issue. It wasn't caused by the ROM but by ACR (Another call recorder). I had to change recording source and problem went away.
[Xperia Z1 Compact Original Android Development] MSe1969:
Hi all,

I have made a little step towards the right direction and brought the build to PL 2017-04-01, which was relatively easy - however, I had to leave out CVE-2017-0558 and CVE-2017-0560, which are both rated 'moderate' only (but not that easy to patch, as the 7.1 code significantly differs from 5.1 and I am not that familiar with the C programming language): https://www.androidfilehost.com/?fid=457095661767159281

But at least, some critical and high issues are fixed now.

Will try in the next couple of days to move on towards 2017-04-05 and 2017-05-01 . . .

Regards, M.
[Xperia Z1 Compact Original Android Development] Micha_Btz:
I have done it for latest april patches and PR them to [MENTION=4063475]derf elot[/MENTION] maybe it is better to work together.

https://github.com/Micha-Btz/local_manifests-cm-12.1
[MENTION=7929484]MSe1969[/MENTION] pm me
[Xperia Z1 Compact Original Android Development] MSe1969:
Sounds like a good plan, sent you a PM.
[Xperia Z1 Compact Original Android Development] derf elot:
yeah really sorry guys, been really busy and used the little time I've had to contribute to the shinano stock-based los14.1. my plan is to try to port that to rhine / z1c once it's stable.

I'll try to help out if time permits
[Xperia Z1 Compact Original Android Development] levone1:
Here's modded framework jar to work with z4 camera port. Combine with Munjeni's ta tool, and you get some excellent pictures...

Camera port - http://xdaforums.com/crossdevice-dev/sony-themes-apps/port-xperia-z4-framework-sony-stock-t3154772

Munjeni's tool - https://xdaforums.com/crossdevice-dev/sony/poc-real-trim-instead-drm-fix-t3552893
[Xperia Z1 Compact Original Android Development] MSe1969:
New CM-12.1 ROM f. amami with April Sec.Patches

Hi all,

[MENTION=4063475]derf elot[/MENTION] , [MENTION=4763242]Micha_Btz[/MENTION] and I have started working together to continue maintaining the CM-12.1 ROM for Sony Z1c amami with most recent Android Security Patches.

The ROM is available for download here:

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

It contains the April 2017 security patches (2017-04-05), except for CVE-2017-0560 and CVE-2016-5349, on which we will continue to work, together with our current work on getting the May patches back ported.

Later today, I will also upload a version including microG-patch.

To build yourself, use the LineageOS CM-12.1 tree and the local manifest on [MENTION=4063475]derf elot[/MENTION] 's github (cm-12.1 branch), which will include all device-specific and maintained objects:

https://github.com/derfelot/local_manifests

As you may know, doing this involves a fair amount of work, so we definitely welcome contributions, especially pull requests :)

On [MENTION=4063475]derf elot[/MENTION]'s github, we have created a repository called 'discussion', where we communicate open about our progress with issues. So again, any help (pull request) is much appreciated.

Regards, M.
[Xperia Z1 Compact Original Android Development] MSe1969:
And here is the CM-12.1 amami build with microG (signature spoofing) support:

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

(April patch level: 2017-04-05)
[Xperia Z1 Compact Original Android Development] b00nen:
levone1 could you please explain how to go about this or point me to the relevant information.

I am quite new to all things custom rom. At the moment I am on dstriker's rom. But I would like to change to this rom or optimumpro's jaguar rom because of the security updates. It would be nice to get rid of google dependencies also. To have good camera quality even after opening boot loader would be awesome :)
[Xperia Z1 Compact Original Android Development] levone1:
I'm currently using Jaguar, and have modded the framework similarly, (see the end of Jaguar thread), and also have used munjeni's TA mount tool, (link there also), and camera is very good, (make sure to backup TA before unlocking bl).

Just replace framework jar file in /system/framework with the modded one, (probably wise to do it with file manager in recovery and wipe caches), and then flash the 3 zips from the Z4 camera port thread, (Z4 cam port, sweep panorama fix, and face detection).
[Xperia Z1 Compact Original Android Development] b00nen:
Great! I will try that.
[Xperia Z1 Compact Original Android Development] colarus:
[MENTION=4063475]derf elot[/MENTION] [MENTION=4763242]Micha_Btz[/MENTION] [MENTION=7929484]MSe1969[/MENTION] Sorry for the off topic but I really want to thank you all for your hard work!

I compiled and share CM12.1 for my Togari (Z Ultra) with your sources and I'm very happy to have an updated Z Ultra and Z1c.

But sorry - I am not an Android developer. In German I would say: "Gefährliches Halbwissen". ;)
[Xperia Z1 Compact Original Android Development] leon0399:
What about Magisk in this ROM? Tried to install, but it only deletes my root, doesn't matter, SuperSU, or original CM root
[Xperia Z1 Compact Original Android Development] Micha_Btz:
why do you need Magisk? This rom have cm root included.
[Xperia Z1 Compact Original Android Development] ccgx:
Would it be possible to open a new thread for your builds? It's quite difficult to find the latest one, since the opening post wasnt updated for some time.
[Xperia Z1 Compact Original Android Development] leon0399:
I need Magisk for installing it's modules ;)
[Xperia Z1 Compact Original Android Development] Micha_Btz:
i don't know magisk therefore you can only try if it works. But i thinks you should disable the internal root solution.

Maybe you find here some help
[Xperia Z1 Compact Original Android Development] MSe1969:
New LOS 12.1 for Z1c (amami) with May sec. patches

Hi all,

the next release of LOS 12.1 for Z1c (amami) with May 2017 sec. patches is available for download:

Regular build:

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

Build with microG-patch included:

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

Both builds include all relevant May security patches plus CVE-2017-0560 from the April patches, which was deferred in the previous release. Further, the LineageOS 'kernel su hide' patch is also included (for more information about this patch, please see here: https://www.lineageos.org/Changelog-9/ ).

As announced before, this is a joint effort of [MENTION=4063475]derf elot[/MENTION], [MENTION=4763242]Micha_Btz[/MENTION] and myself. The build manifest and the forked repositories can be found at https://github.com/derfelot - the repository 'discussion' shows the work progress.

Doing this involves a fair amount of work, so we definitely welcome contributions, especially pull requests :)

Regards, M.

P.S.: We consider opening an own thread for this build - more to be announced soon.
[Xperia Z1 Compact Original Android Development] jho55:
Hi,

it sounds really good, that you keep this ROM alive with new security patches.

Do you also plan to update the kernel like in it was done in Jaguar ROM?
[Xperia Z1 Compact Original Android Development] foresto:
Thanks for keeping us updated! I'm eagerly awaiting that merge. :)
[Xperia Z1 Compact Original Android Development] MSe1969:
Our patching includes applying the relevant patches to the kernel, which are listed in the android security bulletins. If those patches are relevant for our 3.4 kernel (even if listed in 3.10 or 3.18 - but only if it fits into the code), we apply them. We are however no kernel experts, so there isn't any comprehensive and systematic / proactive porting from 3.10/3.18 kernel sources and hardening as announced for the Jaguar ROM.
[Xperia Z1 Compact Original Android Development] jho55:
Thank you for your answer and your work. I was already installing it and it looked good so far.
[Xperia Z1 Compact Original Android Development] MSe1969:
The test branches have now been merged into the cm-12.1 release branch.

You can now directly use the local manifest in the cm-12.1 branch.
[Xperia Z1 Compact Original Android Development] foresto:
Did you forget to merge some of those branches? I just did a build, and "Android security patch level" says April 5, 2017.
[Xperia Z1 Compact Original Android Development] MSe1969:
Oops, yes, I forgot 'android_build' (that's the version string) - did it now.

But that was the only one left. You can re-do your build w/o 'make clean', as nothing significant will change except for the version string, so the 'correction' will only take a couple of minutes hopefully . . .
[Xperia Z1 Compact Original Android Development] jasmineloveflower:
hi how do i disable the multi window side app that keep opening when i slide on the right thank you
[Xperia Z1 Compact Original Android Development] MSe1969:
Own thread for the Z1c LOS 12.1

Hi all,

we've created an own thread for our Z1c LOS 12.1 ROM.

Regards, M.
[Xperia Z1 Compact Original Android Development] MSe1969:
Hi not sure I've understood your point right:

- If you refer to the right "recent apps" on-screen button, that is a standard feature of android

- If you mean something different, could you please describe in detail, what you mean?

As announced above, please post any further topics in the dedicated thread of this ROM.

Regards, M.
[Xperia Z1 Compact Original Android Development] jasmineloveflower:
yes i mean "recent apps" on screen button the reason i want to disable it is cause when im trying to scroll it keeps poping up it sometimes gets annoying cause the phone is soooo small :)
[Xperia Z1 Compact Original Android Development] foresto:
I haven't seen activity in derfelot/discussion or the other repos for a month or so. Is the project still alive?
[Xperia Z1 Compact Original Android Development] hahnjo:
Please have a look at the new thread: https://xdaforums.com/sony-xperia-z...neageos-12-1-z1c-current-sec-patches-t3614936
[Xperia Z1 Compact Original Android Development] OmarEinea:
CyanogenMod 12.0 Build [2014-12-20] Android 5.0.2_r1

Changelog:

- Android 5.0.2_r1 Update

- Included latest changes from CM team www.cmxlog.com/12

Device Specific Changes:

- Correct backlight values

- Reduce WLED max brightness to 255

- Consolidate audio and display

- Add Ethernet feature (thanks to [MENTION=4764217]davidteri91[/MENTION])

Download Link:

cm-12-20141220-UNOFFICIAL-amami.zip Android 5.0.2_r1

Enjoy!

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] rob rich:
You're the best Omar :)
[Xperia Z1 Compact Original Android Development] haytham-88:
Great work man,

Keep it up
[Xperia Z1 Compact Original Android Development] OmarEinea:
Thank you hytham :) it's great seeing you here.
[Xperia Z1 Compact Original Android Development] bromoxitos:
great work

Nice work omar keep work on it.i hope to fix the camera and take some fhotos with lp to make a wish for the new year...hehe!!!

Best regards

P.s sry for my english
[Xperia Z1 Compact Original Android Development] charlatan01:
Safe to assume we can dirty flash the update?
[Xperia Z1 Compact Original Android Development] uristic:
If you're talking about not wiping after flashing then yes, you can.. did it earlier and had no problems :)
[Xperia Z1 Compact Original Android Development] CrT乂雷神:
20/12 build was fixed carriers text bug in lockscreen but battery persentage was disappear
[Xperia Z1 Compact Original Android Development] rwhryz:
After flashing Fota TWRP 2.8.1.0 my phone would not boot, screen also does not turn on. It would just vibrate.

Blinking red light when connected to a powersource. Any ideas?

I was previously with -=[XZDualRecovery]=- dual recovery.
[Xperia Z1 Compact Original Android Development] krakkhor:
Did you unlock the bootloader? I had the same problem, then I unlocked and all was fine.
[Xperia Z1 Compact Original Android Development] giober98:
http://www.xda-developers.com/android/sony-updates-aosp-android-5-0-1/

Will this help in any way?
[Xperia Z1 Compact Original Android Development] rob rich:
Do you flashed it with flashtool like a normal boot.img?? :)

Flash cm12 kernel again and all will be good ;)
[Xperia Z1 Compact Original Android Development] funiewski:
Unlocked bootloader is the first thing, if you have unlocked bootloader flash boot image from any kk cm or aosp rom than you go
[Xperia Z1 Compact Original Android Development] rwhryz:
Thanks everyone! But I ended up going the looong way.

Flash a stock ftf and installed dual recovery and then flash my nandroid backup.

Will take this note when I get the interest to try again the unoffical cm12s

Thanks! :)
[Xperia Z1 Compact Original Android Development] Rekoil:
It seems the screen tearing is related to heat. Could this be caused by Thermanager downclocking the GPU or something?
[Xperia Z1 Compact Original Android Development] rob rich:
I have my GPU at 320 MHz and my CPU at 1,5 GHz and have not seen any tearing till now
[Xperia Z1 Compact Original Android Development] thebest19:
I've seen that Xperia Z has a working camera on Lollipop

Maybe this can help for the Z1 series ? (I know that it's not the same camera but It's an Exmor RS)
[Xperia Z1 Compact Original Android Development] httpneo:
Bluetooth Bug found

Bluetooth Audio not working :)

Headset is connected but no audio.

Thanks for great work.
[Xperia Z1 Compact Original Android Development] charlatan01:
Okay, I've had some time with the ROM now, and have noted the following issues;

1) Phone Audio - many times, when dialing out, the audio for the call will drop. The phone shows the call in progress but no audio. Same thing can happen on inbound calls, audio just dies. Again, these aren't cell signal drops from everything I am seeing.

2) BT audio - two different BT items that I have, a headset for voice calls and a BT system in my car, will show connected but audio 8/10 times will not work. It shows connected for both phone and media audio. Sometimes I can get it to work for a little while (it will die eventually) by restarting BT over and over.

3) Screen tearing - happens any time the phone is used and heats up. I had it heat during a short call today and tearing started. It really starts when games are played for a little while and the phone gets hot. NO reboot is required to stop tearing, it stops once the phone cools.
[Xperia Z1 Compact Original Android Development] nonyhaha:
I can confirm also the in call audio problems also.

The bluetooth problem i have mentioned before, Omar will try to solve this with a fix for an older project.
[MDA II, XDA II, 2060 ROM Development] marsam:
I have an imate ppc i some how wiped out my copy of windows 2003. I have another copy of the rom. but cant seem to get past the checking information on your pocket pc screen, from there it just falls over and wont go any futher than the ERROR 101: connection error, i have the ppc coneected via a usb connection. the pocket PC says USB at the top of the screen and v1.06 at the bottom.

I would appreciate any help.

Cheers

Sam
[MDA II, XDA II, 2060 ROM Development] d_ranade:
You are in the bootloader mode. just disable the usb connection, connect the device (in bootloader mode) and execute the upgrade utility. You are more likely to succeed when you upgrade in bootloader mode.
[Galaxy Note II Q&A, Help & Troubleshooting] atrocks007:
hi.. this has been a headache since 3 days.. my phone note 2 n7100 is not woring.. the problem started when phone battery was low

it has 5% battery nd when i startd it it didnt. it got stuck on samsung logo. then i decided to reflash the rom i did but it didnt reflash.

then i selected unroot in philz touch recovery . nd since then whenevr i try to flash the rom it didnt.. i re rooted my phone still it didnt flash please help me out soon....quick reply please
[XDA Assist] Pasimpalad:
Hi guys, I'm using a CM11 M12 with stock kernel, the problem is, the stock kernel is doomed with few features. I badly need a kernel with more RAM, fast charge capable, battery life eXtender, things like those. Thanks in advance :)

Sent from my CM11 M12 KK4.4.4

Sent from my CM11 M12 KK4.4.4
[XDA Assist] Darth:
Hi,

I suggest you ask the experts in the thread you downloaded the rom from for ideas here.

Good luck!
[Android Apps and Games] GameHunter2:
Awesome Game Play , Awesome Graphic , Awesome Sound. ones you Start Playing you just cant Stop Playing that game

[YOUTUBE]IL2Yu7KIHdI[/YOUTUBE]

Download Now Color Hunt​
[Fire TV Q&A, Help & Troubleshooting] Sizzlechest:
I bought a Fire TV from Staples and I'm hoping it will be rootable. Assuming it is, I was planning to do the following:

Block the updates at the router.

Plug in the Fire TV and follow the rooting procedure (using Towelroot) without upgrading the firmware

Install ClockworkMod

Install latest Prerooted Stock Image.

The rooting procedure has steps for getting the firmware to the latest rootable version prior to rooting, but rather than go through all that, I'd rather get root ASAP and then flash a pre-rooted firmware using ClockworkMod.

I've got lots of experience rooting and flashing phones and tablets, so I don't think installing a custom recovery will be an issue for me. Is this a good plan?
[Fire TV Q&A, Help & Troubleshooting] jmerrilljr2:
Once you are rooted and have su installed, you should follow this guide: http://www.aftvnews.com/how-to-block-ota-update-for-amazon-fire-tv-and-keep-root-access/.

If you haven't already done so, you can't go wrong browsing thru all of the aftvnews.com guides.
[Fire TV Q&A, Help & Troubleshooting] Sizzlechest:
Yes, disabling the service is something to do, but I was assuming the Prerooted Stock Images that I would be flashing would already have that disabled.
[Fire TV Q&A, Help & Troubleshooting] jmerrilljr2:
ASFAIK, rbox recommends doing this.
[Fire TV Q&A, Help & Troubleshooting] navigates:
depending on the version you get and hopefully its rootable. I would do this.

Enable adb, install towelroot, disable updates and if you are on the initial version of the firmware where the menu items fit in one screen, then you are good to go. else downgrade first.

for safety disable the amazon updates through su everytime you are on new firmware.

then go up to the last version before unlocked firmware of rbox

then unlock and go to the bootloader menu along with the latest firmware

block updates and you are golden. latest and perfectly rooted.