yashsingh1/xdaforums huggingface dataset:
[Xperia Z4/Z3+ Original Android Development] Phantasm4489:
Here is a build of AOSP 7.1.1 Dec 5th patch level for E6553 which is flashable from recovery

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

It has some small additions to AOSP in the extended settings menu

1) Enable/Disable advanced reboot power menu

2) Enable/Disable restart power menu

3) Enable/Disable camera key

4) Enable/Disable double tap power to launch camera

Apart from this the rom is entirely stock AOSP

The FM radio is now working since the last build and the problem with the switch buttons seems to be resolved.

If there are no reports of significant issues with this ROM i will attempt to build one for the E6533 for you guys next week.
[Xperia Z4/Z3+ Original Android Development] MickySlimShady:
downloading .....

Thanks for building this rom for our Z3 + ...
[Xperia Z4/Z3+ Original Android Development] MickySlimShady:
With the first load.
[Xperia Z4/Z3+ Original Android Development] MotexT:
WiFi Tethering (or just Hotspot) doesn't work - I can set it up, but then, when I turn it on, just gives me "Error", so no one can discover my wifi hotspot
[Xperia Z4/Z3+ Original Android Development] Olivier:
Try rebuilding the kernel with CONFIG_IP_NF_MATCH_RPFILTER and CONFIG_IP6_NF_MATCH_RPFILTER enabled.
[Xperia Z4/Z3+ Original Android Development] Phantasm4489:
That seems to have sorted it.

Updated boot.img can be downloaded from here:

https://www.androidfilehost.com/?fid=529152257862689467
[Xperia Z4/Z3+ Original Android Development] Jahdiel2011:
What about the camera? Is there any improvement in that area?
[Xperia Z4/Z3+ Original Android Development] Phantasm4489:
No significant changes on the camera front since I posted the November build. It still needs improvement but it's a bit better than the one originally posted in the OP
[Xperia Z4/Z3+ Original Android Development] yawo76:
Hi,

Just wanted to check whether this ROM is secure and free from the bug that Jerpeala talked about. In other words, no threat to security and damage to the device (phone).

Thanks!
[Xperia Z4/Z3+ Original Android Development] Phantasm4489:
Security is definitely still an issue, this ROM like many others runs with selinux in permissive mode so will definitely be less secure than a stock ROM.

As for the defect spoken about I guess there is still no concrete data as to whether this is fixed or not. I don't know how often this was happening in the past so I can't speak to the chances of it being fixed or not. I've been running aosp for around 3 months but without more information I don't know what can be read into that
[Xperia Z4/Z3+ Original Android Development] Phantasm4489:
As promised build for E6533

AOSP 7.1.1 - 5th Dec patch level (NMF26O) recovery flashable zip for E6533 variant of sony Z3+

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

I am not able to test this so please let me know if it works or not.
[Xperia Z4/Z3+ Original Android Development] Mr.VooDoo:
hi there

im new on sony devices mate but now i've an E6533 and im downloading this rom and have flashtools..where can i find a toturial to flash it on my device?

thanx
[Xperia Z4/Z3+ Original Android Development] a-st:
Hi Phantasm4489,

first thanks for this awesome work. :good:

Could you please add some information about how you did that build? E.g. did you use some kind of a build script or any special instructions? It would be great if you could share the information with me ;)

Kind regards,

a-st
[Xperia Z4/Z3+ Original Android Development] Phantasm4489:
The build instructions are linked in the OP. They are provided by sony.
[Xperia Z4/Z3+ Original Android Development] elflng:
bluetooth

I successfully built AOSP 6.0.1 using the instructions on the Sony Open Devices page. (It did take quite a bit of time, no -j flag, and disabling the jack server, but it built.)

However, Bluetooth is completely non-functional. It can _sometimes_ recognise a device, even more rarely resolve to a name instead of an address, but it can never pair. I have attempted to pair with several types of headphones and computers to no avail. Any suggestions?

Thank you!
[Xperia Z4/Z3+ Original Android Development] Phantasm4489:
Happy new year to all Z3+ users and here's a new AOSP build of 7.1.1.

January security updates:

e6553...

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

e6533...

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

source:

https://github.com/dmcoles/platform_manifest

Enjoy...

Phantasm
[Xperia Z4/Z3+ Original Android Development] batmobile_bang:
This is to be flashed from TWRP (3.0.2)? Anyone tried? Bugs? Daily use?

I rooted my device 2 days back so still getting the hang of things. I have rooted and flashed all my devices HTC, Nexus, OP3, but this particular Sony Z3+ has been hard.
[Xperia Z4/Z3+ Original Android Development] Phantasm4489:
yes flash with TWRP - I've been running it yesterday and today. The only thing that I've seen that doesn't work is face unlock.

There are probably other things as I wouldn't consider myself as a particularly heavy user. I don't run any games for instance.
[Xperia Z4/Z3+ Original Android Development] batmobile_bang:
Encountered Error 7 while flashing. I'm using TWRP 3.0.2. any solutions?
[Xperia Z4/Z3+ Original Android Development] Phantasm4489:
I had this once before with some version of TWRP i was using which seems to identify itself as the wrong device. Make sure you are using this TWRP https://xdaforums.com/xperia-z4/orig-development/recovery-twrp-3-0-0-x-builds-t3347042

thanks all I have i'm afraid
[Xperia Z4/Z3+ Original Android Development] elflng:
Rebuilt, bluetooth now 'works' - which is to say devices can pair, but bluetooth turns itself off and on about four times a minute.

Additionally, the camera flash does not work whilst turned off, on, or auto, for any combination of settings (manual or automatic, different resolutions, etc).

Suggestions, please?
[Xperia Z4/Z3+ Original Android Development] Kungencortes:
don't bother with sonys aosp...
[Xperia Z4/Z3+ Original Android Development] elflng:
do you know how i can switch back to the stock rom? the flashtool doesn't support the e6533, and the xperia repair tool won't work with an unlocked bootloader.

if the functionality is this broken, they should either

a) provide a way to restore it to stock

or

b) be honest about how broken the functionality is. the aosp status page lists all of this functionality as completely working, which is flat-out false.
[Xperia Z4/Z3+ Original Android Development] Phantasm4489:
my phone died :(

Should be getting a replacement in the next week or so. Hopefully this wasn't down to the issue that was warned about on the FXP site. Jerpelea (or anyone else) is there any more info about how this brick manifests itself? My phone went from working fine and next time i looked at it, it was completely dead, wouldn't turn on, reset or charge - no signs of life at all
[Xperia Z4/Z3+ Original Android Development] ccxex29:
It should work.. Ensure that you're in flashmode and your usb cable doesnt have any trouble.

But if its in your case not working then try to extract the ftf to flash it via fastboot
[Xperia Z4/Z3+ Original Android Development] Kungencortes:
Can someone compile a new build for us? Thanks
[Xperia Z4/Z3+ Original Android Development] sfjuocekr:
You can easily restore to stock, you can also relock the bootloader.

I have compiled a build from AOSP sources, but I won't share it as I have absolutely zero care of doing any form of support.

You can easily build your own AOSP, it is a more or less copy paste progress written down weekly on Sony's developer portal. If you can't be bothered fixing a few silly errors, this is not for you.
[Xperia Z4/Z3+ Original Android Development] Phantasm4489:
I've compiled new build here for E6553

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

Unfortunately I can't test it as I no longer have this device as mine died and I had to replace it with a Z5.

If someone wants to test and report back I will also compile for E6533.
[Xperia Z4/Z3+ Original Android Development] Kungencortes:
Thank you.:victory:
[Xperia Z4/Z3+ Original Android Development] Kungencortes:
Im getting an error, is it for dual sim?
[Xperia Z4/Z3+ Original Android Development] Phantasm4489:
No as stated it's for E6553.

Here is the E6533 dual SIM build

https://www.androidfilehost.com/?fid=457095661767135544
[Xperia Z4/Z3+ Original Android Development] Phantasm4489:
Nobody wants to feed back if these builds work OK or not?
[Xperia Z4/Z3+ Original Android Development] sunnyjps:
This is 4th in a row ( i'm testing your builds from the beginning ). I'm a quite happy for now. Previous release have problems with debugging (must restart a device for debugging to work again).

Now all it's OK. I'm already 1 week with latest build... it's good enough for me, except system-less root (really annoying in Nougat).

Thanks for your work :good:
[Xperia Z4/Z3+ Original Android Development] Phantasm4489:
Thanks for that info. I'll keep building these on s monthly basis.
[Xperia Z4/Z3+ Original Android Development] Phantasm4489:
AOSP 7.1.1 - 5th Mar patch level (N6F26U) recovery flashable zip for E6533 variant of Sony Z3+

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

AOSP 7.1.1 - 5th Mar patch level (N6F26U) recovery flashable zip for E6553 variant of Sony Z3+

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

camera patches have been removed as the latest blobs fixed all camera problems for the Z5 so i'm hoping the same is true for Z3+
[Xperia Z4/Z3+ Original Android Development] Olivier:
I doubt that - the Z5 uses a completely different camera sensor (IMX300; as opposed to IMX200 used in Z2/3/3+).
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
Does we have aosp based with OMS build??

Camera worst than Los by Quarx
[Xperia Z4/Z3+ Original Android Development] imna357:
tried this, but no sim card detected. does it have to be flashtool, i flash it with TWRP 3.1.1.0. thanks much
[Xperia Z4/Z3+ Original Android Development] imna357:
Thanks for this...its all good bare essentials:good::highfive::cool: LOVE IT...if ever can you send me a file so I can compile my own? thanks
[General Topics] s4vva:
Is anybody aware of a WM version of the ebay Java app? avaliable here http://pages.ebay.co.uk/mobile/downloads/

Selecting a network presents you with a list of handsets, however its just a list of standard handsets, Nokia, SE etc. If I just choose Nokia for instance can I install and run the app using Midlet Manager? or do i need a WM specific app?
[General Topics] Rudegar:
since they show such a limited list of phones supported i doubt it works on other devices then the displayed

by why not just give it a try?
[General Topics] s4vva:
tried that, choosing any handset then entering my number and pressing send causes my phone to wake up like it is about to receive a message but then nothing happens. Any ideas?
[General Topics] gurry:
tried it got the download but insists i use the specific model i put on the web link - nokia n95.

perhaps dload to an n95 then bluetooth or swap sd cards to install in java?

im trying this

http://classic.pocketgear.com/downl...odname=Abidia Wireless - Pocket PC 2003 3.0.2

ignore the wireless app it doesnt work though it installs the website to register is gone.
[Xperia Z4 Tablet Original Android Development] jerpelea:
Sony Mobile is committed to supporting the open developer community, and one way to show this is by publishing parts of our code as well as selected tools developed by our internal developers.

For some of the Xperia™ devices, we provide Android™ Open Source Project (AOSP) device configurations on GitHub. This means that the software will be open for you as a developer to use and contribute to. This is a way for us to support the open Android community, and it is also a tool for us to facilitate and verify contributions to AOSP.

If you want to build AOSP for your unlocked Xperia device, you find all the resources you need in the sections below.

http://developer.sonymobile.com/knowledge-base/open-source/open-devices/

Unified 3.10 kernel sources

https://github.com/sonyxperiadev/kernel

Project git

https://github.com/sonyxperiadev/
[Xperia Z4 Tablet Original Android Development] jerpelea:
Now you have the opportunity to win Sony devices every 2 months

http://developer.sonymobile.com/knowledge-base/open-source/open-devices/hero-open-source-developers/

Happy cooking
[Xperia Z4 Tablet Original Android Development] DHGE:
SGP712 comilation of 28.0.A.7.251 fails

[MENTION=359497]jerpelea[/MENTION]

CC drivers/input/touchscreen/maxim_sti.o
drivers/input/touchscreen/maxim_sti.c: In function 'maxim_parse_dt':
drivers/input/touchscreen/maxim_sti.c:1133:7: error: 'struct maxim_sti_pdata' has no member named 'stylus_support'
pdata->stylus_support = (u16)val;
^
drivers/input/touchscreen/maxim_sti.c: In function 'nl_process_driver_msg':
drivers/input/touchscreen/maxim_sti.c:1602:13: error: 'struct maxim_sti_pdata' has no member named 'stylus_support'
if (pdata->stylus_support &&
^
drivers/input/touchscreen/maxim_sti.c:1632:13: error: 'struct maxim_sti_pdata' has no member named 'stylus_support'
if (pdata->stylus_support &&
^
scripts/Makefile.build:308: recipe for target 'drivers/input/touchscreen/maxim_sti.o' failed
make[3]: *** [drivers/input/touchscreen/maxim_sti.o] Error 1
scripts/Makefile.build:455: recipe for target 'drivers/input/touchscreen' failed
make[2]: *** [drivers/input/touchscreen] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/input' failed
make[1]: *** [drivers/input] Error 2
Makefile:815: recipe for target 'drivers' failed
make: *** [drivers] Error 2

I will revert your stylus (really?) patches to version .31

Or please update a declaration struct maxim_sti_pdata at the proper location.

EDIT: I added

u32 stylus_support;

to 28.0.A.7.251/kernel/include/linux/maxim_sti.h

EDIT2:

I flashed the DE 28.0.A.7.251 - works.

I can not get the kernel compiled here to boot! .27 and .31 are fine with there ROMS and even last a few minutes with the rest of .251

It always (even with default configuration) bootloops.

I tried (via flashtool on linux and Windows 7) to decompress the ORIGINAL kernel.sin from the DE FTF and build a boot image via mkbootimg -> bootloop

EDIT3:

more info, AOSP also a desaster:

http://xdaforums.com/showpost.php?p=62785131&postcount=58
[Xperia Z4 Tablet Original Android Development] dl12345:
28.0.A.8.251 compiles and boots first time for me on Z3+. EDIT: seems to perform better too, with Antutu benchmark score going up from 47,800 to ~53,000
[Xperia Z4 Tablet Original Android Development] DHGE:
:)

I hope they tested the source on this device.

Maybe they do not test all kitakami devices e.g. SGP712
[Xperia Z4 Tablet Original Android Development] dl12345:
Seems ok for now. I'm running it at the moment on a custom rom that has xposed installed and it's so far stable. This is the kernel in the current firmware, so I'm sure it's been tested.
[Xperia Z4 Tablet Original Android Development] jerpelea:
AOSP uses a different kernel source

https://github.com/sonyxperiadev/kernel
[Xperia Z4 Tablet Original Android Development] DHGE:
please clarify

[MENTION=359497]jerpelea[/MENTION]

All I write on compiling applies to my SGP712.

Than what?

The latest kernel/include/linux/maxim_sti.h I could find in that repository on GitHub is ancient and without the stylus variable:

I think that is OK for karin_windy.

I just followed your writeup on SONY Developer!

The last time I complained you added the fastboot flash -S hint for 2015 devices...

I just did a repo sync and added the revised binary drivers which left me first time with a booting device but without touch (today: "hard" bootloop).

Not AOSP:

The kernel for 28.A.0.8.251 you posted on SONY Developer does not compile here without the change in the kernel/include/linux/maxim_sti.h header file.

Flashing the compiled boot.img results in bootloops whatever I tried.

btw: # CONFIG_DM_VERITY is not set
[Xperia Z4 Tablet Original Android Development] jerpelea:
Hi

i have recompiled the kernel

https://github.com/sonyxperiadev/kernel

i have tested karin_windy here with same V11 archive and flashed all 3 partitions

i have touch screen and device working fine

br

J
[Xperia Z4 Tablet Original Android Development] DHGE:
Thanks [MENTION=359497]jerpelea[/MENTION] for the update!

I am mostly interested in the stagefright patches.

I do not find them in my repo synced AOSP tree.

The (compiled) patches are in ROM 28.0.A.8.251 though and last week I finally managed to get this rooted and running on my karin_windy.

I will try AOSP again if I have more time.
[Xperia Z4 Tablet Original Android Development] belrik:
How is the AOSP source for the Z4, does it build yet? Looks like things are building towards a TWRP/AOSP release. :)
[Xperia Z4 Tablet Original Android Development] HotBlack77:
Is there a news on a ASOP build for the Z4?
[Xperia Z4 Tablet Original Android Development] streilu:
FreeXperia has AOSP builds for "karin". Will they also work on "karin windy"?
[Xperia Z4 Tablet Original Android Development] HotBlack77:
FreeXperia has "karin windy" builds too.

Look here: http://fxpblog.co/aosp/aosp-5-1/ and choose the first of the 2 possible mirror providers (different sets of files are offered at each), scroll to the buttom and the latest ASOP for the Z4 is there. I have yet to try and install it as the download consistently fails and then forces me to wait for 24 hours.
[Xperia Z4 Tablet Original Android Development] jerpelea:
http://developer.sonymobile.com/201...-camera-available-for-experienced-developers/

enjoy

J
[Xperia Z4 Tablet Original Android Development] HotBlack77:
Is anybody able to download any of the ASOP builds from http://fxpblog.co/ ?

Could they be mirrored, at a more "normal" file host?
[Xperia Z4 Tablet Original Android Development] streilu:
I can upload it later today to your preferred hoster if you tell me.
[Xperia Z4 Tablet Original Android Development] HotBlack77:
How about https://www.androidfilehost.com/ that would seem appropriate. But frankly any host which does not force you to pay for downloads.
[Xperia Z4 Tablet Original Android Development] streilu:
Got no dev account on AFH, sorry.

Hope this is ok: https://mega.nz/#!aEZlnZJS

[MENTION=2752725]HotBlack77[/MENTION] please tell me how AOSP feels on the Z4 tab. I'm unsure about the BL unlock thing.

Gesendet von meinem SGP712 mit Tapatalk
[Xperia Z4 Tablet Original Android Development] jerpelea:
Hi all

We have published a new snapshot, zip v14, with camera update (improved quality and stability)

http://developer.sonymobile.com/knowledge-base/open-source/open-devices/

Enjoy

J
[Xperia Z4 Tablet Original Android Development] jerpelea:
kitakami has just received the needed patches for modem toghether with v14 zip

happy cooking

J
[Xperia Z4 Tablet Original Android Development] jerpelea:
Hi all

I have some more exciting news

http://developer.sonymobile.com/kno...s/how-to-access-uart-ports-on-xperia-devices/

PS.if devices are not listed here they dont have the connector !

Br

J
[Xperia Z4 Tablet Original Android Development] calj17:
Hello guys any news on aosp android 6.0 or cyanogenmod 13 for z4 lte tablet Karin?

Could anyone post a video of aosp running?

Enviado de meu SM-N920G usando Tapatalk
[Xperia Z4 Tablet Original Android Development] jelbo:
Hi [MENTION=359497]jerpelea[/MENTION], how is it possible that the sources that Sony provide are not enough to compile a usable ROM with? I haven't tried it myself, but people that have tried it say that a lot of things like sensors do not work.

Will Sony update the sources to fix these things?
[Xperia Z4 Tablet Original Android Development] BackHol3:
So, any news about aosp project?
[Xperia Z4 Tablet Original Android Development] jerpelea:
We have published new binaries

http://developer.sonymobile.com/downloads/tool/software-binaries-for-aosp-lollipop-android-5-1/

Br

J
[Xperia Z4 Tablet Original Android Development] jerpelea:
v15 fixes most of the reported bugs

br

J
[Xperia Z4 Tablet Original Android Development] jelbo:
Good news! I hope the still present bugs are not important. Things like a non-working gyroscope wuld be a deal-breaker for me, for example.
[Xperia Z4 Tablet Original Android Development] alex009988:
Sooner or later we should use aosp roms cause it cleaner, no reboots with xposed. Wait for good feedbacks, if it's quite OK I'll install it.
[Xperia Z4 Tablet Original Android Development] alex009988:
I tried to build aosp on recommended system ubuntu 14.04 lts. But I have the problem

alex@ubuntu:~$ sudo apt-get install bison g++-multilib git gperf libxml2-utils make zlib1g-dev:i386 zip
[sudo] password for alex:
Reading package lists... Done
Building dependency tree
Reading state information... Done
make is already the newest version.
make set to manually installed.
zip is already the newest version.
zip set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
g++-multilib : Depends: gcc-multilib (>= 4:4.8.2-1ubuntu6) but it is not going to be installed
Depends: g++ (>= 4:4.8.2-1ubuntu6) but it is not going to be installed
Depends: g++-4.8-multilib (>= 4.8.2-5~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
alex@ubuntu:~$

I tried sudo apt-get autoremove then sudo apt-get update then sudo apt-get dist-upgrade then sudo dpkg --configure -a

But it didn't help
[Xperia Z4 Tablet Original Android Development] alex009988:
Well, I moved forward till here. I downloaded sources but now I have next problem

root@ubuntu:/home/alex# ls vendor/sony
ls: cannot access vendor/sony: No such file or directory
root@ubuntu:/home/alex#

EDIT 1 So, should I put vendor folder from the zip into to /root/android?

After that, open the terminal and imputthe " ls vendor/Sony right away"?
[Xperia Z4 Tablet Original Android Development] husam666:
That's not how you do it, the correct way to do it is by using repo https://source.android.com/source/using-repo.html

If they are not in a github repo, yes you have to extract the binaries there iirc.

And if you're still having that gcc problem, I believe this is how to fix it http://askubuntu.com/questions/466651/how-do-i-use-the-latest-gcc-4-9-on-ubuntu-14-04
[Xperia Z4 Tablet Original Android Development] husam666:
Looks like you need to configure git, it's telling you which commands to run.
[Xperia Z4 Tablet Original Android Development] alex009988:
OK. I used these commands now I have these fatal errors.:(

root@ubuntu:~/android#
root@ubuntu:~/android# cd hardware/qcom/bt
root@ubuntu:~/android/hardware/qcom/bt# git cherry-pick 5a6037f1c8b5ff0cf263c9e63777444ba239a056
error: Your local changes would be overwritten by cherry-pick.
hint: Commit your changes or stash them to proceed.
fatal: cherry-pick failed
root@ubuntu:~/android/hardware/qcom/bt# cd ../audio
root@ubuntu:~/android/hardware/qcom/audio# git fetch https://android.googlesource.com/platform/hardware/qcom/audio refs/changes/41/166941/1 && git cherry-pick FETCH_HEAD

From https://android.googlesource.com/platform/hardware/qcom/audio
* branch refs/changes/41/166941/1 -> FETCH_HEAD
error: Your local changes would be overwritten by cherry-pick.
hint: Commit your changes or stash them to proceed.
fatal: cherry-pick failed
root@ubuntu:~/android/hardware/qcom/audio#
root@ubuntu:~/android/hardware/qcom/audio#