yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Well, port the Stock ROM framework then,

otherwise the Sony Stock Camera will not work

You can take a look at:

https://xdaforums.com/crossdevice-dev/sony-themes-apps/port-stock-camera-nougat-roms-t3628791 (framework.jar might need changes for our device)

https://xdaforums.com/crossdevice-dev/sony-themes-apps/port-xperia-z4-framework-sony-stock-t3154772 (it's from Z4, the camera is different so might not work but that should give an idea)
[Xperia Z5 Compact Android Development] photoncounter:
Hi!

1) I merged latest 3.10.108 mainline kernel - and it works with current android 7 builds

2) Managed to make build android 8, but it does not boot yet. Slowly figuring out why.
[Xperia Z5 Compact Android Development] brordavid:
I'm really grateful for the work all of you are doing, keeping our device alive! :good:
[Xperia Z5 Compact Android Development] photoncounter:
recent build: https://www.androidfilehost.com/?fid=962187416754470667

md5: 7d014bea96e459a80ef6f47581bcf61f
[Xperia Z5 Compact Android Development] frager45:
Android version 7 or 8? :)

And where is the news?

Need sony stock camera
[Xperia Z5 Compact Android Development] frager45:
Sharing rom and not comment :).Nice.
[Xperia Z5 Compact Android Development] silent_hunter:
He's doing great job keeping this rom updated, how could You force him to port anything?

Make some research and do it Yourself!
[Xperia Z5 Compact Android Development] DECHTECH:
Everyone remember that no one is obligated to give you anything. People build roms and develop things in their own free time as a hobby forfree. Please show some respect to those who provide developments for your device ;)
[Xperia Z5 Compact Android Development] silent_hunter:
Sticking to the topic - latest update is buggy for me. I have completely no sound - ringtones, in call speaker - none is working. Even audio from music players is not working, giving application crash eventually. Tried fresh install with same result.
[Xperia Z5 Compact Android Development] cdou2391:
I can attest to this. No sound whatsoever! Fresh installed twice just to make sure that i wasn't doing anything wrong but still no sound.
[Xperia Z5 Compact Android Development] orlandico:
Fresh install but no sound
[Xperia Z5 Compact Android Development] beflythis:
just tried this ROM on a 5803 with US .ftf firmware. Looks, runs great - only issue I encountered after a day or two of use is Waze not being able to access GPS. (results in blank map screen). Weird because Google maps works fine.

Extra weird because occasionally GPS icon will stay in taskbar [when no apps are open/using GPS].

I'm running the Feb build as March users reported audio loss.

Besides my weird GPS issue, awesome ROM - great work and thanks!
[Xperia Z5 Compact Android Development] beflythis:
any updates here with sound and/or clarification on the weird GPS issues? would love to try this ROM properly!
[Xperia Z5 Compact Android Development] perik_:
As a user of a Z5C curious about CarbonRom but a bit discouraged by the no-sound-problem, I just wanted to drop that CarbonRom is looking for maintainers through their blog.

Would drop the link, but I can't due to forum restrictions :rolleyes:
[Xperia Z5 Compact Android Development] Ilko:
I'm actually trying the last build from 13/09/2017. It's fast and responsive, although I miss some features that we can find in Resurrection remix.

But my question here is, does the kernel fully supports wake features ? Because the "doubletap2wake" doesn't work.
[Xperia Z5 Compact Android Development] Ilko:
Tried RR kernel, same issue. Seems like a bug.
[Xperia Z5 Compact Android Development] trax7:
It drains a lot of battery therefore is disabled. It used to work before but conflicted with some stuff also so was removed if i remember correctly...
[Xperia Z5 Compact Android Development] Ilko:
what kind of conflict ? It's actually working well in RR 5.8.5. In all ohter roms that I tried, I had to use xposed.
[Xperia Z5 Compact Android Development] trax7:
The kernel is different, yes?
[Xperia Z5 Compact Android Development] Ilko:
I don't know if it's that different, but I don't think so. Kernels for custom ROMs are similar. I tried to flash RR kernel over Carbon and the issue remains. So the problem is from the ROM itself, the kernel seems fine.
[Xperia Z5 Compact Android Development] trax7:
Both ROMs are quite old afaik? Anyway, the only experience I've had with tap to wake (on an LCD display at all) has been bad. Battery drain is higher and I just don't prefer it at all.
[Xperia Z5 Compact Android Development] Wojtek1983:
Hello. I have only 1question. Where is Extendet Setting?? Im flashed this rom and I dnt see?
[Xperia Z5 Compact Android Development] david_69:
Hey Guys,

did anybody get work MHL?
[Xperia Z5 Compact Android Development] Lemming0815:
It should be in the arch/config sub folders. I'll dig it out tonight when I'm home.

My idea was to just copy the z5 tree to the z5c tree under the lineage repo or reference it in the build script. But i lack the experience to do it. Have no time until maybe weekend to try it myself
[Xperia Z5 Compact Android Development] Berni-0815:
In a private project I ran quite into the same error: I can build a rom and install it. When trying to boot, the device (z5c) vibrates shortly, after 15 seconds the led flashes violet and the device vibrates again shortly, as usual when booting aosp 7.x i.e. That's all. No bootanimation, no display, nothing. After a few minutes I usually give up and turn off the device by pressing power and volume up. In this minutes the device is becoming warmer than normal. Not hot, warm... ;)

How can I see an output like the one you've linked?
[Xperia Z5 Compact Android Development] nzzane:
Compiled a build that has advanceed debugging enabled by default

lunch carbon_suzuran-eng

First part: tells the script what you are making and for what device

Second part: tells the script what version of it to make - where userdebug is normal and eng is advanced debugging
[Xperia Z5 Compact Android Development] nzzane:
Thats the weird part - because that is basically what I have done.

I have a feeling something is either corrupted or maybe I have skipped over an important bit of code somewhere...
[Xperia Z5 Compact Android Development] Berni-0815:
Ok. Thanks a lot. But where can I see that output? Sorry for the question, but I really don't know it... :crying:

---------- Post added at 22:36 ---------- Previous post was at 22:35 ----------

Me too.... If you found something, please let me know about. ;)
[Xperia Z5 Compact Android Development] nzzane:
Oh you use "adb logcat" in a terminal window

If the device isn't getting past the first boot screen (just red LEDs) I presume it won't be booted enough to show a log
[Xperia Z5 Compact Android Development] nzzane:
CarbonROM is up and booting!

Few issues which I will try and fix when i get the time to :)
[Xperia Z5 Compact Android Development] mattiri:
I tested the ROM a little bit and find out some things:

- phone calls working (seems that canging call-volume doesn't take any effect)

- bluetooth works

- bluetooth audio while phoning does work perfectly :D

- fingerprint is working

- nfc is working

- fm radio is working

- the Camera (google camera) works sometimes and crashes after a while

- video recording doesn't work

- torch sometimes works, somtimes not

- wifi doesn't work (can't turn it on)

- changing screen-orientation from landscape to portrait (in app or settings) with sensors doesn't work correctly

I think this ROM has great potential.

Very thanks to nzzane and myself5 for your work
[Xperia Z5 Compact Android Development] Lemming0815:
comparing to z5 lineage thread, this sounds a bit like the proper vendor blobs are still missing. [MENTION=5997713]nzzane[/MENTION], did you extract anything from the official Nougat ROM yet? Which device tree are you working on? Did you fix the diffconfig issue?
[Xperia Z5 Compact Android Development] Berni-0815:
That's right. It stucks at -Waiting for device- :crying:
[Xperia Z5 Compact Android Development] nzzane:
Thanks

Yep so some of these are still broken because of carbonROM still being updated and changed. In call volume is because of the Xperiadevicedev tree (AOSP tree), however WiFi should be working so I will try and get that up in the next release :)

Vendor blobs are here (50/50) I still need to confirm when I get a chance if they are actually working

I am also working on a LimeageOS ROM which will have the blobs so I will likely merge the two projects once they are stable
[Xperia Z5 Compact Android Development] rtimoff:
Yes!
[Xperia Z5 Compact Android Development] Lemming0815:
great work, dude. would you mind sharing your manifests or repositories?

I would like to investigate some issues but find it too hard setting up the build environment...
[Xperia Z5 Compact Android Development] l3nkz:
[MENTION=5997713]nzzane[/MENTION]: Really great work. It is just awesome to see some new development for this great phone.

Does anyone of you know whether there is a TWRP recovery for the Z5C that can handle an encrypted phone? The version I currently have on my phone doesn't work well with encryption.
[Xperia Z5 Compact Android Development] nzzane:
I am working on getting my own github setup and commiting all my hanges to my personal repo.

This ROM uses sumire files from myself5's sumire tree, merged with the suzuran tree from xperiadevicedev
[Xperia Z5 Compact Android Development] Lemming0815:
My test results with 20160119-2216 (I won't re-report any know issues):

install & boot - OK

first setup - OK (gapps and setup crashed once each)

camera start up - MAJOR ISSUES (can't connect most times, inverts the screen orientation permanently after first start)

camera quality - MINOR ISSUES (some colors don't align so you can see an offset of green e.g., green bar at picture border, pictures are upside down, focus OK)

UI - MINOR ISSUES (location symbol always visible when switched off, red frame flashes every now and then, no ringtones available, front notification LED doesn't always work (e.g. for missed call))

Have gone back to cm13 for now as this is my only phone. Will try to test new releases as they become available.

This is good progress, man. I think the camera issues has been fixed on the Z5, so this should be applicable to the Z5C as well since it's the same chip.

keep it up!
[Xperia Z5 Compact Android Development] nzzane:
Hey bro!

I will be updating this rom when the suzuran tree and carbonrom tree's update - I will be working with myself5 to try and get the wifi to work (I believe I know why it doesn't work) and some of the other issues

With the camera issues - they are related to the stock blobs and will be fixed as stock blobs get updated :D
[Xperia Z5 Compact Android Development] nzzane:
22-1-17 is released - fixes wifi and some minor improvements

To people getting the red layout flashes I believe this is due to the build being an advanced debugging build - this will be fixed in the next release :)
[Xperia Z5 Compact Android Development] edc9781:
hi,

thanks for all the efforts.

I tried to flash the rom with twrp 2.8.7.0 but I got stuck with "Error executing updater binary in zip...". Any idea what is causing this problem ?
[Xperia Z5 Compact Android Development] rtimoff:
Maybe you should try newer, 3.0.2?

Отправлено с моего E5823 через Tapatalk
[Xperia Z5 Compact Android Development] nzzane:
Sorry forgot to add that you can only flash it with TWRP 3.0.2
[Xperia Z5 Compact Android Development] edc9781:
I see thanks, already thought so but I never succeeded booting into recovery mode with TWRP 3.x.
[Xperia Z5 Compact Android Development] nzzane:
What firmware are you on?

Try use zachs kernel

If you are on android 7 use

Fastboot boot boot.img (this will temporary boot your phone so you can access recovery)
[Xperia Z5 Compact Android Development] edc9781:
Thanks, that worked.
[Xperia Z5 Compact Android Development] RaunoT:
Can't wait to flash this when some of the bugs have been sorted out!

Thank you so much for your work on this :)
[Xperia Z5 Compact Android Development] nzzane:
Update: 25(26)/1/17

Check changelog for details on this update - not a major update but does fix some speed issues

For the camera - It is sadly not as easy a just placing an app in and its done, it has to all be re-done, some third party cameras may work but I can not guarantee this
[Xperia Z5 Compact Android Development] Lemming0815:
Quick question on the side: is the kernel based on CAF?
[Xperia Z5 Compact Android Development] nzzane:
Not at the moment, but in the future it will be :)
[Xperia Z5 Compact Android Development] Lemming0815:
I am on TWRP 3.0.0 and WAS able to install an earlier version of this ROM, however the latest version (25.1.) brings a zip signature verification error. when I disable the check, it installs without issues... Did you just not sign it or did sth go wrong while trying to sign it?

BTW: how to get root? Do we need to install an additional zip through recovery?

Update: installing supersu helped, never mind ;)
[Xperia Z5 Compact Android Development] nzzane:
I think Signature verification looks for an md5 file - Really pointless unless you are worried that you might be installing a dodgy zip etc
[Xperia Z5 Compact Android Development] Hyperbioenzo:
Easily worst ROM I've ever seen

Totally the worst. Cost me already 2 entire days to fix the mess caused by this ROM.

Known issues:

- This ROM is not rooted. Seriously! WTF?!

- Hence, no recovery. Just no, not at all, recovery.

- Occasionally freeze. Out of now where. Freezes itself. Only way to solve is force shut down then turn it back on again.

- Crazy camera, both front and back. The back camera is upside down and left side right. Again, WTF?! Front camera just won't show your face vertically. It rotate your face 90 degrees counter-clockwise. And no, no matter how you rotate your smartphone, it show your face like this : - |

- I'm using Win10, so no flashtool driver. I literally has to downgrade to Win 7, during which I formatted my disk D, waited another afternoon for the damn Windows update so to get all .net frameworks and so on.......

I'm fixing my smartphone, and my computer on the last day and 1st day of 2017!

I mean, I understand your hard work of putting together a new ROM, it looks nice, and has a new way of calling the apps drawer, and everything else that adds up to the nice UI and really fast boot.

But hey, a ROM, not rooted one?!

:eek:
[Xperia Z5 Compact Android Development] Cuculuz:
Huh?

Im using win 10also. All driver are there.

Dusable driver verification in Advanced reboot.

And install drivers from flashtool folder.

Lulz you went to win 7 to do this.
[Xperia Z5 Compact Android Development] stefan.singer.94:
[MENTION=5471149]Hyperbioenzo[/MENTION]

Frankly, I see no reason to shout out to the developer who clearly mark his rom as Nightly and wrote in one of his first posts about possible side effects you mentioned.

Although I can understand your anger and frustration it's not the developer who is responsible for your mistakes.

This is a developer forum. And all posts here are not for people expecting a 100% working, future proven rom. Bugs might always occur and some computer knowledge is a precondition for becoming happy here.

If you looking for an one click solution, go for the official releases from Sony.

PS: flashtool is working very well on win10.

Gesendet von meinem E5823 mit Tapatalk
[Xperia Z5 Compact Android Development] nzzane:
I can see your frustration, but you must understand very very few android 7 roms for Xperia are working with the camera, as nearly everything needs to be re-coded from the ground up to work again. This rom does have root you need to install the SuperSU app - First post mentioned the many side effects of using this rom, one being the camera will not work.

Also for your windows 10 problem, you need to install the adb drivers from google's android platform. And for recovery - it does have it, it is a purple LED that comes on within the first minute of booting, even so you could have used "adb reboot recovery"

Exactly what he said ^

It took me a good week to get this rom to a stage where it would build, and another few days to get it to even boot, I appreciate everyone who is trying this out, and please know that this will be stable eventually, it just takes time.
[Xperia Z5 Compact Android Development] Lemming0815:
I envy your patience in taking your time to answer even those posts.

I have to say i am very impressed by this ROM so far. It's my daily driver, although i do miss a robust camera. It's working occasionally, though.

I am absolutely stunned by the battery performance. Is bringing back the uptime i was missing so much on this phone. When i first booted and let it idle for a few hours with some light usage, it would forecast 4 days! With some heavier usage now i am still good to go for 2 days. I will monitor this over the next days and report back.

Most promising ROM so far! Kudos
[Xperia Z5 Compact Android Development] Hyperbioenzo:
You're right I was just too frustrated after two days of trying to find a solution.

Later on I noticed that to install drivers on Win 10 I need to disable some sort of certificate checking.

Although, I did flashed the rom into a not rooted one

What I did was:

1. download the ROM and copy to external SD card.

2. on TWRP 2.8.x.x, wipe, then advanced wipe dalvik/sys/data/cache

3. flash the ROM, reboot. Everything seems normal.

4. boot into sys, can't find SuperSu. Download root checker, checking failed.

5. reboot, press volume up, red light flashes 3 times then black screen and nothing happens

6. boot into sys, try "adb reboot recovery", again red light flashes 3 times then black screen.

7. download stock ftf and flash using flashtool and re-root. Eventually got recovery back.

I guess this rarely happens?

---------- Post added at 03:05 PM ---------- Previous post was at 02:54 PM ----------

Yes I later on figure that out, as [MENTION=6802969]Cuculuz[/MENTION] mentioned above, Win 10 has a certificate checking over the drivers that has to be disabled before installing fastboot drivers.

Maybe this could even be worth telling as I know a couple of guys struggling at the same driver issue all went back to Win7.....

It's true the problem was lack of knowledge not the ROM.
[Xperia Z5 Compact Android Development] nikl720:
How to install SuperSu?

How do I have to install the SuperSu app? Via the playstore or via recovery?

If I install it via Playstore it says my phone isn't rooted and if i install it via recovery the app crashes.

I really like your ROM and thanks for your hard work :D

EDIT: Also if I flash the SuperSu zip the phone becomes laggy and doesn't wake up anymore, so i guess this way isn't the correct way.
[Xperia Z5 Compact Android Development] nzzane:
So you need TWRP 3.0.2. Or else things will start to screw themselves up. I will try and help you as much as I can :)

What TWRP version did you use to flash it?

From memory check in debugging settings for a root option? I will have to flash and double check
[Xperia Z5 Compact Android Development] nikl720:
I used TWRP 3.0.2 from the MultiRom thread and I cant find a root option in the developer settings.
[Xperia Z5 Compact Android Development] nzzane:
Bugger. Okay I will have to see what's happening there. I will be releasing a new zip soon, may have the same problem though
[Xperia Z5 Compact Android Development] nikl720:
Okay I'm sorry it looks like it was a fault on my side.

I deleted the supersu app and reflashed the zip and now there is a root option in the settings and i can grant superuser access.

Thank you for your support :)
[Xperia Z5 Compact Android Development] nzzane:
^ Actually that would make sense :p

Flashing the SuperSU zip would probably have tried to make SuperSU sytemless which would have screwed with the in build one

Hope you enjoy the ROM :D
[Xperia Z5 Compact Android Development] Krakophyst:
The 29-1-17 build seems great so far, phone is fast and snappy, fingerprint sensor is working as well :D

Also, this build improved the camera big time for me, seems a lot more stable (i.e. no more crashing apps!) and better quality too, the image is still flipped 180 gedrees though..

However, I found that the app Open Camera has a setting to flip the camera feed! Inside the app: Settings -> On screen GUI -> Rotate preview

With the camera now working well enough I am using this as my daily driver, great work on this rom so far! :good:
[Xperia Z5 Compact Android Development] nzzane:
That is great to hear!

I am super confused how you guys are getting the camera to work though (Files are there so logically it should work) but I can't get it working for myself haha - suppose it just hates me.

With more things getting patched I will likely be releasing more updates so stay tuned!
[Xperia Z5 Compact Android Development] mattiri:
Hey,

I installed the latest ROM (2017-01-30) and all seems to work fine, but later I saw that I can't download files to SD-Card with most apps (Amazon Music, Amazon Video, Pocket Casts). All apps are saying that there is no space left on external SD-Card. With Solid Explorer I can download and move Files.

I tested to re-grant the app-permission to use the storage but nothing changed.

So I reflashed the Version from 26-01-2017 and all worked fine.

But With this Version the problem is that the system freezes after a while if i play podcasts or other stuff from SD-Card.

I don't know if this problem is fixed with the latest version.
[Xperia Z5 Compact Android Development] edc9781:
Open Camera app works as long as you don't turn on Camera2 API
[Xperia Z5 Compact Android Development] nzzane:
Thanks for letting me know, I will have a look into that. Hopefully to get it fixed in the next release, if not in the next few releases
[Xperia Z5 Compact Android Development] altvolt74:
thaks for the port nzzane ....i wonder which format i should format my sdcard since is asking me to do so ...and if is safe to do it whit this nougat build since i own an samsung pro plus 128gb and i dont wnat to screw it likev it happen before in anorher device or also if ur planing to add compatibility whit exfat sd's
[Xperia Z5 Compact Android Development] nzzane:
Just a normal format 'should' work. Some people have had problems with the SD-Card, it might be a safe bet to format it using a computer as I can't guarantee that it won't be corrupted. It shouldn't, but there is a chance and I personally wouldn't risk it
[Xperia Z5 Compact Android Development] altvolt74:
do u have any idea which is the standards sdcard format on nougat?
[Xperia Z5 Compact Android Development] nzzane:
I am pretty sure its FAT32 (or exfat, either should work)

In a few days I plan to release a update to fix some f2fs issues, and hopefully some of the SD issues people are having
[Xperia Z5 Compact Android Development] PeppeBove:
F2FS support would be really great!
[Xperia Z5 Compact Android Development] Raphos:
Hi,

Sorry, but where did you find that ?
[Xperia Z5 Compact Android Development] rtimoff:
http://developer.sonymobile.com/dow...rchives/open-source-archive-for-32-3-a-0-372/
[Xperia Z5 Compact Android Development] Raphos:
Should I do something with this to get root access ??
[Xperia Z5 Compact Android Development] rtimoff:
Do I say something about root, no?
[Xperia Z5 Compact Android Development] nzzane:
Flash a non Systemless SuperSU zip after flashing the rom, and before rebooting, there is an issue I need to fix with it :)
[Xperia Z5 Compact Android Development] Doe.it:
No, that's useful for developers only
[Xperia Z5 Compact Android Development] Raphos:
Ok thank you, I thought I missed something in the parameters for SuperSU...
[Xperia Z5 Compact Android Development] pou_gh2:
i have a z3 plus,can you provide this rom for our device?
[Xperia Z5 Compact Android Development] nzzane:
I will look into it, but since I do now own a Z3P, you will likely have to find a developer who owns the phone
[Xperia Z5 Compact Android Development] nzzane:
For people waiting for an update - I am waiting for the CarbonROM source to update, hopefully in the next few days you will see another update roll out (Maybe even with stock camera ;) )