yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Original Android Development] optimumpro:
No one is forcing OEMs to open source their proprietary work. All they need to do is provide binaries. And most do, except Sony. Let me give you an example: one of my family members have a LG P769, a very old midrange phone. I have recently installed Nougat on it. Everything works except NFC and there is no difference between camera quality in Nougat and the last official stock JB. And LG doesn't have fake ASOP department like Sony does...

With all due respect, but you don't know what you are talking about on many levels. Jerplea and Co are not allowed anywhere near real development. That's why they are unable to produce anything that is not surrounded by a swarm of bugs. Again, it is not their fault, nor am I trying to negate their great work. It is Sony which simply despises custom roms for their devices, but they don't want to look bad. That's why they have created this Potemkin village AOSP department, which is just a PR stunt.

As far as Jaguar kernel, you can go to download section and get recent sources for Jaguar kernel. You can unzip the file and compile kernel yourself. And XDA does not require other sources to published. The only reason the entire rom sources are not published is that due to multiple layers of protection on my Linux PCs, I am unable to upload anything to Github. Forking and making changes work, but uploading from my computer doesn't.
[Xperia Z1 Compact Original Android Development] [GER]Roxxor:
There is also CM13 and maybe soon CM14 for all Sony 2011 devices (using urushi at the moment as I broke the screen of my amami). Michael Bestas did magic work there. Xperia SP also has Nougat. Sony does provide binaries. The only problem is that those developments/kernels/blobs are device/board specific. Every device has its own kernel and its own blobs. But there is no skilled developer for amami who is willing to port the kernel(with stock blobs) to new android versions. So I am happy that amami is included in Sony AOSP.

Concerning jerpeleas talk which is accesible on youtube it seems like he is working with the sources. Do you have a source saying otherwise? That would indeed be disappointing.

Indeed. This is because Android is licensed under the Apache license. Still you are developing a security/privacy focused ROM, where the interest of people in the source should be even higher than for other ROMs. A source code would help establishing this trust.

You build the walls, you can enable traffic to github.
[Xperia Z1 Compact Original Android Development] optimumpro:
Only Sony has 2 versions of sources: one for their official builds, which is completely closed and where there is no Jerplea&Co within 100 miles and another dumbed down one for AOSP. This is where Jerplea swims.

The reason things are easier on older Sony devices is because they use real (stock) blobs. Sony would love to put drm on older Xperias, so that you wouldn't be able to use hardware, but it is not possible. In newer devices like our Z1, starting from Kitkat, stock blobs have been protected with DRM and they are unusable on custom roms. DRM is there not to protect proprietary blobs, but to prevent their use. No other OEM does that. And there is only one reason for that: Sony doesn't want you to have custom roms on their devices. They want you to give them $700 every 2 years. Nothing is wrong with that, but to claim at the same time that they are friendly to open source community, is nothing more than corporate BS. I despise that and that's why Xperia Z1 is my last Sony device...
[Xperia Z1 Compact Original Android Development] [GER]Roxxor:
Seriously? I did not know that. So how do you use the blobs in your Lollipop jaguar builds? (Or basically every ROM till 5.1 which is not Sony AOSP based)
[Xperia Z1 Compact Original Android Development] optimumpro:
Thanks to CM, they (and everyone else including me) use stock camera blobs from Jeallybean with a camera wrapper that was slightly modified with each new version of Android. That stopped with MM. For some reason, most likely because CM got tired of Sony shenanigans, they said F*** you Sony and switched to Sony AOSP device trees instead of their own. CM said: when Sony improves blobs, camera will improve. That meant: good bye camera, as the fake AOSP team has never produced anything stable..

I maintain Jaguar, but every other LP rom has been abandoned. You are not going to find any other LP after October-November 2015. In addition, I see no major changes in MM and N, other than some user interface modifications and a few new icons.
[Xperia Z1 Compact Original Android Development] CmDaRkShAdOw:
In boot.img there are any recovery?

Wysłane z mojego D5503 przy użyciu Tapatalka

---------- Post added at 05:01 PM ---------- Previous post was at 04:59 PM ----------

and how fast is this ROM compared to stock?

Wysłane z mojego D5503 przy użyciu Tapatalka
[Xperia Z1 Compact Original Android Development] DusieK:
You can ask for a list of errors?
[Xperia Z1 Compact Original Android Development] CLINTZ9:
No recovery in boot.img

ROM is quiet smooth
[Xperia Z1 Compact Original Android Development] CmDaRkShAdOw:
So I'll try. ;)
[Xperia Z1 Compact Original Android Development] CLINTZ9:
Sorry didn't catch that

list of all errors as in a bug list?
[Xperia Z1 Compact Original Android Development] DusieK:
I mean other bugs, such as stability and the like

---------- Post added at 05:09 PM ---------- Previous post was at 05:06 PM ----------

Internet Mobile LTE work?
[Xperia Z1 Compact Original Android Development] CmDaRkShAdOw:
first boot in 5 seconds ! :o testing...

---------- Post added at 07:23 PM ---------- Previous post was at 06:59 PM ----------

please add twrp 3.0 to kernel.. to much work with complete installation of this rom..

---------- Post added at 07:41 PM ---------- Previous post was at 07:23 PM ----------

and.. NFC not working !?

---------- Post added at 07:58 PM ---------- Previous post was at 07:41 PM ----------

but this rom is very nice. fast, stable,but aokp/cm could be better. i want their features.. :/
[Xperia Z1 Compact Original Android Development] ShadowLightz:
Yeah, an unofficial build of cm13 by you with all these fixes would be extremely awesome :)
[Xperia Z1 Compact Original Android Development] CmDaRkShAdOw:
Can u give me any recovery/kernel with recovery compatibile with this rom?

Wysłane z mojego Xperia Z1 Compact przy użyciu Tapatalka
[Xperia Z1 Compact Original Android Development] bigsmoke9250:
Does it support auo display?

---------- Post added at 12:06 AM ---------- Previous post was at 12:05 AM ----------

I still cant get touch screen to work on 5 and up
[Xperia Z1 Compact Original Android Development] patrol95:
Does it require unlocked bootloader?
[Xperia Z1 Compact Original Android Development] CLINTZ9:
NFC

Cant Play Videos
[Xperia Z1 Compact Original Android Development] CLINTZ9:
Will add recovery soon i cant sync because there is some error in amami repo

Will have a look at NFC too
[Xperia Z1 Compact Original Android Development] CLINTZ9:
There is a kernel with recovery but it doesnt boot and the recovery doesnt work
[Xperia Z1 Compact Original Android Development] CLINTZ9:
Not sure about the display thing

But you can try flashing
[Xperia Z1 Compact Original Android Development] CLINTZ9:
Yes it does
[Xperia Z1 Compact Original Android Development] CLINTZ9:
Thats probably a no

My exams are approaching
[Xperia Z1 Compact Original Android Development] keenofhiphop:
Good luck with your exams! What you did is amazing and I, as most of the others here, appreciate it a lot!

Regards

Gesendet von meinem D5503 mit Tapatalk
[Xperia Z1 Compact Original Android Development] funiewski:
Here is the link to working real recovery for z1c http://xdaforums.com/showthread.php?p=65361797

My first impression is that WiFi doesn't work optimally, stopping sometimes without reason

Keep up good work
[Xperia Z1 Compact Original Android Development] ShadowLightz:
Oh, ok. Then good success and thanks for your work :)
[Xperia Z1 Compact Original Android Development] munjeni:
Agree with you. Starting at my first xperia device xperia go, never, never never had full working custom rom, on any xperia phone! All work on these devices was based on harcoding, always was incompatibility between blobs and open source android and its caled "open development" which is not true. In revolt to that this is also my last xperia phone xperia z1c and I have no plan to change it for another 2 years, next phone for sure will go to an google phone, definitelly. And definitelly you are right about "2 years" thing, that explain why any development never finished.
[Xperia Z1 Compact Original Android Development] alex_hk90:
So which manufacturer/brand would you recommend for open source firmware/ROMs? Only Google Nexus?
[Xperia Z1 Compact Original Android Development] munjeni:
There is new nougat binaries, status is the same like previous one! Don't waste time with it, I wasted time again with it yesterday, that blobs can do nothing, you will get the same result with camera. I found that these camera blobs is from/for dual camera? Development on this is an B.S, not possible without open source camera kernel hal, it can't be called "open camera" as he say that, its not true and its not posible and real. I would be happy if all peoples abandon and ignore any development and stop buying new models until camera for z1c gets fully open, thats only way to stop our fake development.
[Xperia Z1 Compact Original Android Development] alex_hk90:
Thanks for the heads-up. I've been looking for a replacement for my Z1 Compact - what would you recommend I look at buying instead of Sony?
[Xperia Z1 Compact Original Android Development] munjeni:
Have no idea by now since have no plan to change phone, but only can say it would be triple checked before I go to the market, criterium would be: almost fully open source code for device - kernel, camera, ril, media, audio...etc, if I not found that I will not buy new, I will not be foled anymore with fake marketing about open development, instead it will be triple checked trought forums and gits. I am ready to give ~1000eur for that but for that money I WANT fully open device, no want to be foled anymore.

Edit:

Sugestion to everybody... think about change your hobby! Forget phones and fake marketings, he want your money only, he do not care about your development, about you, ignore it totaly, live your life better way, do not waste your important time, time is only one if you're a jung! Instead try it only if you realy need, max 30 minutes on day, do not make it important in your life! You will found it soon on prety soon that it is a complete wasting of time, its just an infinity which doing nothing important!
[Xperia Z1 Compact Original Android Development] XperiaPD:
Camera Blobs from RR?

I totally understand your point and I'm also angry about Sony's fake marketing of developer friendlieness but could it be possible to port the Camera Blobs of Resurrection Remix. I don't understand Android Developmend very much but I thought since RR is CM based and my current daily driver RR 5.1 has pretty good camera quality it could maybe be possible to use this 3rd party blobs for newser android versions.

Sorry for Noob question.
[Xperia Z1 Compact Original Android Development] munjeni:
Curenly I'm building with JB blobs and kernel LA.BF64.1.2.2_rb4.7 , will let you know about a status of camera, In most case it will not work since I used camera hal from nougat, will try to port old hal to nougat if possible/if I get free time for that
[Xperia Z1 Compact Original Android Development] XperiaPD:
Okay thanks. For what I read in this thread your port of nougat seems to be pretty stable.

(And if this helps here is the thread of the RR ROM where I had the best Camera Quality with http://xdaforums.com/sony-xperia-z1...eria-z1c-resurrection-remix-lollipop-t2996231 )
[Xperia Z1 Compact Original Android Development] munjeni:
Bootloop with 1.2.2 :(
[Xperia Z1 Compact Original Android Development] XperiaPD:
I would really like to help you debug because I got real problems with RR in the last few days concerning battery life and cpu control but sadly my Z1c is my daily driver and I cant risk to soft brick it for days to test this rom.
[Xperia Z1 Compact Original Android Development] CmDaRkShAdOw:
can someone upload it? i can't download torrent :(
[Xperia Z1 Compact Original Android Development] CoolDevelopment:
gralloc.msm8974 is built from source. gralloc implementation is inside msm8994 display source(at least with nougat), which our z1c also uses.
[Xperia Z1 Compact Original Android Development] munjeni:
One which I'm using is more responsive and smother than one from 8994 (don't know if that is just subjective or real since I'm not compared with one from 8994, but I noticed improvements using things from codeaurora), you can notice that in almost everything, expecialy in turning on/off display, I will continue to use that one from codeaurora. I'm compared camera apk source code from that codeaurora branch with one from aosp, its identic to aosp camera apk source code! So I think probably right matching source for camera hal is that one from codeaurora LA.BR.1.3.6_rb1.3 including gralloc...etc, and it is setup to use inline buit kernel + kernel headers from out/.../boardname/obj/KERNEL_OBJ (I made small script to make inline kernel building)...
[Xperia Z1 Compact Original Android Development] munjeni:
I was seed it for 2 days and will not seed it again since its deleted from my server, you had chance, sorry!
[Xperia Z1 Compact Original Android Development] gerg1:
It might be a stupid question, but why dont we just simply use an older (3.4 perhaps) kernel that has working camera? I saw that the nexus 5's nougat also uses 3.4 kernel
[Xperia Z1 Compact Original Android Development] munjeni:
3.4 kernel? Uh a lot of work on android source if you switch to that kernel. 90 percent that you will end with disapoint on it at start since that blobs is no more compatible with nougat starting at mm, you need a lot of old android source code to back into new android source code to get it working. Not easy allso on previous aosp kernel branch, yeasterday I noticed bottloop using kernel from 1.2.2 branch, so first of all would be fixing bootloop which nobody have time for it, seccond 1.3.3 branch is better and more stable in comparation with 1.2.2, it working realy good, so nobody will going to use unstable kernel branch just for having camera working, we just have no choice, simple need to wait for working camera blobs...
[Xperia Z1 Compact Original Android Development] gerg1:
Then is it possible to copy the camera blobs from an older kernel, and integrate them in the new one?
[Xperia Z1 Compact Original Android Development] munjeni:
Nobody can port camera from jellybean to nougat, its hard work. Look into z3 forum, somebody allready made some progress, its soo hard, almost the whole android source need modification for that..
[Xperia Z1 Compact Original Android Development] gerg1:
Thanks, I've read the conversation.

An other question: why does 7.0 only detects 1.4 Gb of ram?
[Xperia Z1 Compact Original Android Development] ufinos:
Trying to compile

Hello, I've tried your manual to compile this by myself.

Starting build with ninja

ninja: Entering directory `.'

ninja: warning: multiple rules generate out/target/product/amami/system/etc/gps.conf. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]

ninja: error: 'out/target/product/amami/obj/KERNEL_OBJ/arch/arm/boot/zImage-dtb', needed by 'out/target/product/amami/kernel', missing and no known rule to make it

build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed

make: *** [ninja_wrapper] Error 1

#### make failed to build some targets (20 seconds) ####

This is what I get thought, any idea, what can be wrong?

EDIT:

After all I managed to compile everything. But after I flash boot, system and restore data via fastboot, phone cannot boot at all. There is no Sony logo anymore, it look like wrong boot.img is generated.

If I put back Cyanogenmod boot image, all is okay again.

EDIT 2:

Okay, after some tweaking, able to run it. I had to take boot.img from this thread and after that flash system and userdata. It works nice, except camera as mentioned before.

Uploaded all the things for you guys, so you can try it as well.

https webcook.cz/nougat-amami/boot.img

https webcook.cz/nougat-amami/system.img

https webcook.cz/nougat-amami/userdata.img
[Xperia Z1 Compact Original Android Development] munjeni:
Don't use CM boot image, its not compatible with AOSP Nougat! You must compile kernel with google arm-eabi 4.8 toolchain, or it will not boot which is strange to me too! Only 4.8 worked to me
[Xperia Z1 Compact Original Android Development] WalkmanFM:
Here you have munjeni's Nougat compilation in a flashable .zip https://mega.nz/#!4h9i1DaI!T2BtYyX_nsU8iYACEYq7CHKw3FBHu5fOAe8lUTEdo40

I've compiled too AOSP from Sony (following the Sony Developer Site guide) and it work like munjeni's compilation with no working SIM and camera but in this moment is not accesible to me (it is in other computer).
[Xperia Z1 Compact Original Android Development] TPSC:
Hello

I flashed nougat update 5 and sim & camera don't work

Is it normal? OP said it works :(
[Xperia Z1 Compact Original Android Development] CmDaRkShAdOw:
Look at the screenshots.. it's not working.
[Xperia Z1 Compact Original Android Development] ULT][MO:
But In description, camera and sim bugs has been deeleted.

Can be used daily?
[Xperia Z1 Compact Original Android Development] dikosty:
So... SIM card and camera don't work? Can this be done in the future? Is there still bugs?
[Xperia Z1 Compact Original Android Development] WalkmanFM:
With this ROM (MEGA download link in the quote) camera doesn't works, but SIM is working (if not working on the first boot, reboot, it happens to me)
[Xperia Z1 Compact Original Android Development] Pacolin:
Is mobile data OK? I might give it a try if it's working?
[Xperia Z1 Compact Original Android Development] Alphados0:
Download The latest twrp 3.0.2 img for z1c

http://xdaforums.com/sony-xperia-z1-compact/general/twrp-3-0-1-amami-t3350827 than install rashr from Playstore. Go to rashr, flash twrp as recovery (rashr create a Fota partition), after Flash rashr quote restart to recovery. Voila you have latest recovery :)
[Xperia Z1 Compact Original Android Development] siendohe:
I have a Z1 compact D5503 , it's this ROM compatible with this model ?

Enviado desde mi SM-G531F mediante Tapatalk
[Xperia Z1 Compact Original Android Development] JengaMasterG:
That is one of the only models for the Z1 compact so you should be okay! When building AOSP the model used is D5503 (I'm also building a version of Nougat).
[Xperia Z1 Compact Original Android Development] pr3ddi:
update 5 works fine
[Xperia Z1 Compact Original Android Development] kereth:
Is there anything that DOESN'T work while using this ROM? I mean camera for example.
[Xperia Z1 Compact Original Android Development] Jack Phoenix:
Does anyone have an in-depth tutorial on building this from source? I've tried following the instructions on source.android.com as well as developer.sonymobile.com but I just can't seem to get Nougat built for amami, no matter what. I've also tried the SonyAOSP repositories (instead of the sonyxperiadev repos) from GitHub, but that required manually adding amami-related repos to a manifest file and "downgrading" some existing repos (vendor/qcom and vendor/sony) from 7.1 to 7.0 to pick up amami/rhine support since apparently 7.1 drops support for the rhine platform?

Any and all help is very much appreciated; this is pretty much my first time building AOSP from source but I want to learn to do it myself instead of settling for a prebuilt image!
[Xperia Z1 Compact Original Android Development] levone1:
Check with [MENTION=7929484]MSe1969[/MENTION] - https://xdaforums.com/showpost.php?p=71933905&postcount=112
[Xperia Z1 Compact Original Android Development] MSe1969:
Hi,

just look here:

https://github.com/SonyAosp/platform_manifest/tree/android-7.1-legacy

The trick is to use the 'android-7.1-legacy' branch as default, then all is okay.

So in short (assuming you have your dev. environment already set up and only need to put the right tree together) - no local manifest needed:

repo init -u https://github.com/SonyAosp/platform_manifest -b android-7.1-legacy
repo sync
source build/envsetup.sh
lunch aosp_d5503-userdebug
make -j4 dist

The result will be a 7.1.2 AOSP ROM (latest sec. patches) with GAPPs baked in, pre-rooted (but only via ADB) - in fact all working except for the camera, which is really terrible (dark, no focus, front cam upside down :eek:).

I haven't thoroughly tested this ROM, as I am finally interested in LineageOS (but e.g. [MENTION=6283426]levone1[/MENTION] did), so built it only to see the camera in action (Z1C camera under N is a real problem).

From there, feel free to use a local manifest to e.g. use kernel, camera from sonyxperiadev and also, if you want an AOSP without the Google stuff. . .

Regards, M.

---------- Post added at 06:54 PM ---------- Previous post was at 06:33 PM ----------

Hi,

the non-working camera of the Z1C under nougat in a general problem, as far as I know, nobody so far has ever managed so far to build a nougat ROM for Z1C with a working camera (the "best" result is a way too dark camera, front-cam upside-down and rear camera does not focus at all, can at max be used to scan a QR code). The mutual opinion of the guys trying to build a 'daily driver capable' N-ROM for the Z1C is that only Sony can fix that by delivering a fixed driver ("blob").

Regarding the inability to detect the SIM card, when you build following the instructions on the Sony Developer Site: Sony's build instructions skip to include the respective repos with the modem firmware (Here is a quote from the Sony forum: "For working sim functions you will need modemfirmware which is not shipped with the firmwarepackage provided by the opensourcedevice maintainers. This is known and one of the limitations described in the documentation / announcement of the open devices project. You have to obtain those files yourself, you can use Google to find your way."). This has btw made me switch my tree to the SonyAOSP git. However, I think to make the AOSP ROM from the Sony Developer site see your SIM card, a local manifest with the below entries (yes, branch is 'android-7.0') should do the trick:

<project path="vendor/broadcom" name="SonyAosp/vendor_broadcom" groups="device" remote="github" revision="android-7.0" />
<project path="vendor/nxp" name="SonyAosp/vendor_nxp" groups="device" remote="github" revision="android-7.0" />
<project path="vendor/qcom" name="SonyAosp/vendor_qcom" groups="device" remote="github" revision="android-7.0" />
<project path="vendor/qcom/firmware" name="SonyAosp/vendor_qcom_firmware" groups="device" remote="github" revision="android-7.0" />
<project path="vendor/sony" name="SonyAosp/vendor_sony" groups="device" remote="github" revision="android-7.0" />

Regards, M.
[Xperia Z1 Compact Original Android Development] MSe1969:
Btw, whoever is interested, here is an AOSP build for Z1c Nougat 7.1.2 with April Sec. patches, without GAPPS (so pure AOSP) - all seems to work, but sh**ty camera as usual: https://www.androidfilehost.com/?fid=817550096634764045

(Built from SonyAOSP git, tweaked GAPPS out, and took camera, kernel and FMRadio from sonyxperiadev git)
[Xperia Z1 Compact Original Android Development] Murtie:
Good job thanks.

(sorry i cannot good speak)

Im now on DsStrikersz1 kairom sp007.

I want to try this 7.1.2.but how must i install this.?

I have twrp 3.1 with Advanced kernel V19.

Must i flash opengapps after flashing 7.1.2?