yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Original Android Development] ULT][MO:
Alredy done :confused:
[Xperia Z1 Compact Original Android Development] mcastagnaa:
That worked for me.
[Xperia Z1 Compact Original Android Development] CmDaRkShAdOw:
my z1c was in... snow! for few minutes and nothing happened...
[Xperia Z1 Compact Original Android Development] krissbay:
Got the same BB-Version
[Xperia Z1 Compact Original Android Development] Talkrabb:
Me too. No problems so far.

Where to download a newer BB version, how to update?
[Xperia Z1 Compact Original Android Development] Yokurt815:
Finally I found time to reflash stock firmware (D5503_14.6.A.1.236) with FlashTool and then install CM12.1 according to offical instructions. And encryption works :)

And finally with TWRP 3.0.2 compiled by derf elot recovery with decryption seems to be working :)
[Xperia Z1 Compact Original Android Development] blue-spiderfire:
Latest Build seems to have no deepsleep. As I'm not on stock kernel, using xposed and dirty flashed the ROM I can't be sure that this problem is related to latest build. But this problem didn't occurred in previous builds with same settings (kernel, exposed, ....).

Suspend_backoff has the highest kernel wakelock.

Can someone deny or confirm this for pure ROM?
[Xperia Z1 Compact Original Android Development] [GER]Roxxor:
Deep sleep is working on official nightlies. I do not use any root apps/frameworks.
[Xperia Z1 Compact Original Android Development] krissbay:
Change/Repair Baseband

I'm currently in US and using a T-Mobile US SIM. But unfortunately pure GSM is not working. My phone doesn't find a network provider at all. Activating LTE does work a least, so I get mobile data (only where LTE is available of course). It seems like GSM baseband is kinda messed up. Is it possible to repair or change it?

PS: Same SIM card is working in other phones without problems.
[Xperia Z1 Compact Original Android Development] blue-spiderfire:
Normaly the phone reboots once to place proper provider settings after SIM card change.

If that doesn't happend insert an other SIM (not t-mobile), wait for the reboot and check whether GSM is working. Revert back to your t-mobile SIM.
[Xperia Z1 Compact Original Android Development] ULT][MO:
I'm using that rom since last year with stock kernel M5. I've experienced black screen camera when rotate it, sometimes also when use it via whatsapp and obviously a massive battery drain. Some one knows how to fix it? Probably I'll flash stock rom rooted
[Xperia Z1 Compact Original Android Development] frauhottelmann:
Just use the kernel that comes with cm... Black screen can be prevented, just disable hw overlays in developer settings.
[Xperia Z1 Compact Original Android Development] ULT][MO:
Anyone knows when/if will be a new nightly with august security patch/bugbfix?
[Xperia Z1 Compact Original Android Development] frauhottelmann:
It's out now...
[Xperia Z1 Compact Original Android Development] ULT][MO:
Nightly CM 12.1.1...why?
[Xperia Z1 Compact Original Android Development] frauhottelmann:
What exactly is your question?

https://review.cyanogenmod.org/#/c/155588
[Xperia Z1 Compact Original Android Development] ULT][MO:
The past versions were "CM 12.1", now is "12.1.1". What does it mean?
[Xperia Z1 Compact Original Android Development] CmDaRkShAdOw:
It means newer version of cm with August security update.
[Xperia Z1 Compact Original Android Development] derf elot:
This is a continuation of updated CM12.1 builds I have been (wrongly) posting in this thread: http://xdaforums.com/showthread.php?t=2684467

For those who don't know, CM hasn't updated the Sony 8974 kernel sources in a very long time. I am integrating all the relevant security patches as they get released (including those from the Google security bulletin) about once a month. There are some 100-200 security issues resolved here (lost count) which you won't find in the official nightlies.

The kernel sources are here: https://github.com/derfelot/android_kernel_sony_msm8974

You can grab the latest build here (now includes the fix for Dirty Cow): https://www.androidfilehost.com/?fid=457095661767104568
[Xperia Z1 Compact Original Android Development] ULT][MO:
Some bugs I've found, hope it can help developers:

- (builds october ) bootloop on sony screen when reboot/ fast reboot/ shut down to turn on. Must shut down for some seconds (2 or 3 times) before phone starts normally

- black screen when rotate, using sony stock video app

- black screen, using whatsapp camera
[Xperia Z1 Compact Original Android Development] emesio:
Just to confirm, theres something wrong with orientation on video/whatsapp photo. Video on different aps (not only stock, also VLC, etc) works only in portrait mode. After rotate - screen rotates and then black screen just after. On Whatsapp camera - theres pretty much the same, but with both portrait and horizontally. You can see the camera only during rotate, but black screen follows (in both directions).

Didnt notice the bootloop mentioned above.

btw1: it works really fast, good job - just the one over is a bit irritating.

btw2: anyone succeded with "Xperia Z4 Framework & Sony Stock Camera" on this one? should it work?
[Xperia Z1 Compact Original Android Development] derf elot:
I'm pretty sure that the issues you are having is a known bug and can be avoided by enabling the "Disable HW overlays" feature in "Developer options". Not sure if anything can be done about that, as the problem might lie in the proprietary files.

Note: The option does not "stick" after reboots and has to be enabled again. Otherwise, you could probably set it using an init.d script at boot.
[Xperia Z1 Compact Original Android Development] ULT][MO:
Unfortunately I've done it, but the problem persist.

Abotu the "reboot problem", after some experiments I'm sure that's not a rom problem.

Except this, awsome work :D

Some tips i think can help:

- for battery drain, try to use "L Speed": a lot of options that will help you.

- For those who have this device from long time and experimented little lags , also after disabled apps and services not used, try "Trimmer" app. It can help.
[Xperia Z1 Compact Original Android Development] emesio:
Thanks derf elot. You are totally right (and here, cant confirm ULT's observations). Didnt run across this bug earlier. After enabling "disable HW overlays", both horizontal video display and Whatsapp camera in both orientations, work excellent. Lots of fun seeing this almost 3 year phone performing so well on this soft.

Still, trying to push Jinhus Camera Mod (Sony stock photo app, which is the good one), but without success.
[Xperia Z1 Compact Original Android Development] ULT][MO:
Update: wiped and cleaned deeply with twrp, done a clean install of last build (10/26) and enabled "disable HW overlays". Now all works fine :D It's strange, but now the problem is fixed.
[Xperia Z1 Compact Original Android Development] zzzxtreme:
hi good day. with the stock rom being slow and bloated, i tried flashing one offical nougat based rom. I get problems with camera. can't take videos, apps can't open camera (whatsapp and facebook)

so I'd like to try this instead. is this the best one if I want fully working camera?
[Xperia Z1 Compact Original Android Development] jho55:
In Jaguar ROM the camera is working quite well. But best results you will only get with Stock ROM based mods I suppose.
[Xperia Z1 Compact Original Android Development] derf elot:
Hi guys,

I uploaded a new version, with all security patches applied.

NOTE: If you are using Xposed, do NOT install this version yet because it WILL result in a bootloop. This is because of a Google patch and I decided not to introduce security holes to make Xposed work for now. rovo89 is actively working on a fix and is very close (see the progress here: https://github.com/rovo89/XposedBridge/issues/129). Once the new Xposed version is out, update it and only then flash the ROM afterwards.

Also note that, because I am using Xposed myself, I haven't flashed this yet myself. But I don't expect there to be any problems.

Download the ROM here: https://www.androidfilehost.com/?fid=457095661767117470

Best
[Xperia Z1 Compact Original Android Development] Micha_Btz:
[MENTION=4063475]derf elot[/MENTION]

thanks for your great work. After intalling your rom my log is spamming with his:

I think this is nothing really bad but it makes read log a bit more complicated. Can you take a look to possible solve this?

Thanks. Micha
[Xperia Z1 Compact Original Android Development] derf elot:
Hi,

my semi-educated guess would be, that this might also have something to do with the new Google patch. Could you try to use libandroid_runtime.so from the previous build (e.g. my October build) and check if that works?

Thanks
[Xperia Z1 Compact Original Android Development] Micha_Btz:
it affect both builds. so i think it will make no difference. maybe come with the October build but i don't have used this earlier.
[Xperia Z1 Compact Original Android Development] AllAboutTech:
this is what i though, but i wanted to be sure that i didn't missed trying all of the applications. :(

multumesc.
[Xperia Z1 Compact Original Android Development] charlatan01:
I can confirm the LED color Issue.

I can also confirm that VolUP does not boot you into Recovery, so I do it from Rashr.

I had tons of problems with some KK roms and bluetooth / Wifi, and I can say confidently that these are gone with LP.

I am finding that Titanium backup doesn't want to restore apps. Data restore for an installed app seems to work, but not restoring the app itself. No FC, just shows restoring until I reboot.

Other than that, the ROM seems to be quite stable. I won't have many conference calls the next few weeks, but voice has been good so far.

Question, does anyone have a confirmed method for hiding the navbar (and adding PIE I guess)? I tried an app but it didn't work, and I know Xposed is a ways off...
[Xperia Z1 Compact Original Android Development] OmarEinea:
Restoring apps through Titanium backup isn't working on LP in general, because of the change of apps location in LP I guess,

so will have to wait until they update it with a fix for that.

Thanks for the feedback,

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] funiewski:
You can boot to recovery from power menu
[Xperia Z1 Compact Original Android Development] giober98:
Can someone do a review of this ROM on YouTube? I really want to see how it performs
[Xperia Z1 Compact Original Android Development] charlatan01:
Hehe, thanks.. duh. Forgot about where to set that in CM. - Developer Options - Advanced reboot -

For anyone else that forgot.
[Xperia Z1 Compact Original Android Development] funiewski:
I can confirm now that it works to flash fota recovery through fastboot, fastboot flash recovery "recovery.img", put in correct image name. [MENTION=4308696]championswimmer[/MENTION] has made different fota recoverys for xperia devices (z1c included), i think there are philz and simple cm, look in sony cross development section if you prefer other than twrp
[Xperia Z1 Compact Original Android Development] Rekoil:
Anyone else getting screen tearing running the 2014-12-18 build?
[Xperia Z1 Compact Original Android Development] krakkhor:
I bot titanium backup working. You have to install supersu from chainfire and install the subinary over twrp. :)
[Xperia Z1 Compact Original Android Development] CrT乂雷神:
ME:(
[Xperia Z1 Compact Original Android Development] nonyhaha:
screen tearing in what apps?

i cannot watch youtube movies in landscape, the screen goes all black. it works only in portrait.
[Xperia Z1 Compact Original Android Development] moesus:
I don't seem to have the screen tearing issue. Youtube works flawlessly.

Using the PA gapps. Tried a clean install?
[Xperia Z1 Compact Original Android Development] nonyhaha:
This is my first cm 12 install. latest version, pa gapps... when in landscape, the screen is black with absolutely nothing on it.

i just tried disabling auto rotation. with autorotation disabled, when i click full screen sign in youtube app, it works well in landscape mode.
[Xperia Z1 Compact Original Android Development] moesus:
I guess we should just be a little patient. I can't use DNS servers for now. So no Netflix for e.g. I'm sure all this will get fixed soon.
[Xperia Z1 Compact Original Android Development] Rekoil:
All apps, but only when the device has been working for a long time. Such as after a complete CWM backup, CM12 + PA-GApps installation and subsequent restoration from Google.

After first boot, in the device setup, it was tearing a lot. But after leaving it overnight the tearing is gone, then again today, after playing in settings for a while, and setting up Pebble, it started tearing again.
[Xperia Z1 Compact Original Android Development] xperia_tim_z:
looks like the z2 front cam is working now (i´m not allowed to post links but in the xda thred they talked about it)

hope it get to your amami soon :)
[Xperia Z1 Compact Original Android Development] Mark Add:
NFC

I have question...does NFC work in this build?
[Xperia Z1 Compact Original Android Development] OmarEinea:
Building CM12 Android 5.0.2 now, will test NFC in it and tell ya :)

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] Mark Add:
I have just tried it and it's strange. NFC works just without pattern, PIN or password. You have to set swipe on lockscreen to use NFC tags and others. I tested it on home screen when smartphone was unlocked and with security on in settings it doesn't work althought with security off it does.
[Xperia Z1 Compact Original Android Development] OmarEinea:
That's better than not being working at least ;)

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] derf elot:
Oh right, I thought it was a problem with the new build. I'll have a look.
[Xperia Z1 Compact Original Android Development] foresto:
This looks really helpful. Thanks for doing this!

I'm reluctant to use your kernel, though, because you're stripping the original author, comments, and other meta-data out of each patch you apply to your repo. This makes it rather difficult to validate the patches, trace them back to their official sources, or figure out what they're meant to do.

Meanwhile, GitHub users nailyk-fr and tomascus maintain an msm8974 kernel repo with the upstream details intact on each patch. For comparison, here is the same patch from both repos: Theirs includes all the relevant details, while yours does not.

Any chance you could start preserving the patch details in your repo?
[Xperia Z1 Compact Original Android Development] ULT][MO:
The xposed problem has been fixed by rovo89. Now you can flash freely the rom with november security patches, download the lastest xposed here http://xdaforums.com/showthread.php?t=3034811
[Xperia Z1 Compact Original Android Development] zlata:
Hey there. Im new to cm with my z1c . Just installed latest build, slim gapps and recovery ( from the op link) . Its great .Phone gets hot but i can handle it for now . Only one thing is messed up. Facebook . I need if for my bussines . When i flash xposed latest build , it forcecloses and wont start. Any ideas? Havent other kernel. Thank u in advace .
[Xperia Z1 Compact Original Android Development] REISSUE:
Hi Guys,

I am also new in modding my Z1C. I am still a user of 4.4.4 Kitkat android I think. However I like something new, and something stable. So I like to ask some things about CM12.1 (latest)

is it stable?

phone is getting hot?

cam is working?

what rly is xposed > more settings?

whats about the m5 kernel? whats the default kernel and the difference?

is it possible to use a mod for stereo music play?

is the sony music player working?

any other stuff I need to know?

I rly like to test it, however I am rly can get stuck if something isn`t working.

Thanks in advance.
[Xperia Z1 Compact Original Android Development] ULT][MO:
Try a "clean" install: flash xposed uninstaller that you can find in the link in my last post, wipe all, then flahs the lastest versione of the rom made by derf in the post #1585, then flah xposed.

Before everyrhing use Titanium to make a backup of single apps

---------- Post added at 14:19 ---------- Previous post was at 14:14 ----------

In my opinion the rom is stable and usable daily, cam works fine, if you face black screen using whatsapp cam or full screen video disable hw overlay on developer options, if phone get hot you can use Lspeed to safe battery and ram usage, I use player pro and stereo works fine
[Xperia Z1 Compact Original Android Development] zlata:
Thank u for the response. Done this for two days now . After flashing , FB app wont start. Catlog shows nothing. Well ill think of something. Its a great rom. Cheers
[Xperia Z1 Compact Original Android Development] ULT][MO:
If you can't fix the problem and haven't particular preferences, can try "metal" app: a small apk to use fb, fb messenger and twitter
[Xperia Z1 Compact Original Android Development] Frank Fun:
Hi,

my Z1C is currently on offical cm 12.1-20161016-Nightly.

Can I use "cm-12.1-20161120-UNOFFICIAL" from derf elot as update by dirty flash it over the offical one without wiping data of my phone? Or is there a better way to update?
[Xperia Z1 Compact Original Android Development] ULT][MO:
You can update freely with twrp without wipe.All works fine... But a backup before it, is a good idea ;)
[Xperia Z1 Compact Original Android Development] nozz93:
Seems like something is broken in the CM12.1 source right now. I can successfully build a version but it won't boot on my phone.

If anyone wants to try anyway: https://www.androidfilehost.com/?fid=745425885120693266 I repeat, this does not boot!

Dirty flashing the last official nightly allows the phone to boot again though.
[Xperia Z1 Compact Original Android Development] ULT][MO:
I haven't problem with it. Sometimes It happens specially with some xposed modules. Have you tried a clean install?
[Xperia Z1 Compact Original Android Development] nozz93:
Not sure, I have no other modifications installed. It optimizes apps and than goes into a bootloop. I might try a clean install soon. ¯\_(ツ)_/¯
[Xperia Z1 Compact Original Android Development] Nash123:
Could you please upload it? :)
[Xperia Z1 Compact Original Android Development] derf elot:
Good catch :)

I will upload it this weekend. I was going to anyway. There is one cve in the kernel that's been a bit annoying to fix because it involves a few more backports first. I will try to fix it again on Friday. Either way, expect an upload from me with or without that fix Saturday/Sunday.

By the way, I fixed the issue with thermanager reported by [MENTION=4763242]Micha_Btz[/MENTION] .

I will also upload a new TWRP built from within these sources.

Cheers
[Xperia Z1 Compact Original Android Development] CyanoFriend:
Hello,

first of all many thanks for not only supporting the Z1C with security fixes but also with actual TWRP.

And so for you as the specialist for both you might be able to solve a (not so little) problem.

I think you know - or even have heard of - an app named Link2SD. The best feature is using a second partition on SDCard as an extension of the internal memory.

As for you have to use the ext4 on Lollipop its hard to make a simple backup of this partition on a windows pc.

It would be a perfect solution to make it visible in a lowlevel tool like TWRP to make it part of the regular backup routine.

The partition is shown in some tools (for example Total Commander) as /data/sdext2.

Is there any chance to modify TWRP this way or do you have another idea for a less perfect, but still practible solution?

Regards and Thanks

PS: Yes, i know that i can backup the sdcard inclusive the ext4 partition for example with acronis true image but backup often means putting the card many times in and out of the slot on z1c and pc which is inconvenient and every time a (little) risk for the card. Backing up directly on z1c to an usb-stick would be much more comfortable and secure and would make it possible to make daily backups far away from an pc.
[Xperia Z1 Compact Original Android Development] derf elot:
Hi,

I can give it a shot to try and modify the fstab accordingly. Can you post the relevant information you get after a "mount" in the terminal?

Cheers
[Xperia Z1 Compact Original Android Development] derf elot:
Hi,

here's the new CM12.1, with all security patches up to patch level January 05, 2017. As mentioned before, the thermanager issue should be fixed now as well.

Download here: https://www.androidfilehost.com/?fid=529152257862700525

I am in the process of cleaning up my repo's and will post a new TWRP build once that is done.

Cheers
[Xperia Z1 Compact Original Android Development] Nash123:
Thank you!
[Xperia Z1 Compact Original Android Development] CyanoFriend:
Sure:

/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=panic,data=ordered 0 0

/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=panic,data=ordered 0 0

/dev/block/vold/179:66 /data/sdext2 ext4 rw,seclabel,relatime,data=ordered 0 0

/dev/block/platform/msm_sdcc.1/by-name/LTALabel /lta-label ext4 ro,seclabel,nosuid,nodev,noexec,noatime,nobarrier,data=ordered 0 0

/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,mode=751,gid=1028 0 0

/dev/block/vold/179:65 /mnt/media_rw/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/block/vold/179:65 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

/dev/fuse /storage/emulated/0 fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

/dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

And if it seems easy to you can you also add the ability for the first partition?

So it would be possible to backup the whole card and makes it easy to replace a damaged card

- without pc

- fast

- convenient

- secure

Fingers crossed, and many thanks for the new build

Cyanofriend
[Xperia Z1 Compact Original Android Development] derf elot:
Hi,

try the attached one. It should work. I am not sure yet If I will incorporate the changes into the general build yet though :) But if it works, the changes are pretty simple, and you can probably do them yourself using Android Image Kitchen. Just unpack the zip (size is above the limit for img files in the forum) and flash as usual with fastboot.
[Xperia Z1 Compact Original Android Development] CyanoFriend:
Yes, STRIKE!

- Installed

- Made backup of 7GB on a 10 GB partition

- Made recovery of it

- Worked (after new building of mount-script within link2sd)

I am sure you would do more people than me a favor incorporating this feature (comments of others welcome).

Additionally i think your work would be of interest and a big improvement for the whole TWRP project, not only to the > 10.000.000 users of link2sd but also to all owners of sdcards).

Please think about it.

Again (not the first time) many thanks

Cyanofriend

PS: Things like AIK are not my job, i am more the unix type and android is too new for me ;)