yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus Questions & Answers] sabithmk:
I had the same problem.

The solution is to delete the existing folders in the SD card and let the system create fresh folders. ?

I don't know what is the problem with using the pre-flash folders, but it doesn't load in whatsapp or anyother apps. I had to delete DCIM, Pictures folder inorder to get the camera and screenshot to work. ?
[Moto G4 Plus Questions & Answers] Mercado_Negro:
Yes, both solutions work. Either wiping your internal storage after booting the ROM or just deleting DCIM and Pictures folders.

Now I can finally use CM14.1 :)
[Moto G4 Plus Questions & Answers] jyoti.id:
This thing happenes in stock sometime. I think it's kind of thumbnail file that's acting as an image file. You can't find those files from normal file manager. Have to use the file manager given in"Settings>storage". It COULD BE a problem of your sd card as after changing my sd card never saw that thung ever again!

It could be something else for you tough. Just shared to inform that its not a rom bug. :)
[Moto G4 Plus Questions & Answers] evandromon:
I'm with this same problem. I can only share images taken with the camera or screenshots. Pictures saved from any other app will fail at sharing.

OBS: the error also occurs when I try to use the option "share external" from facebook
[Moto G4 Plus Questions & Answers] Madvinv:
Same problem here, any idea?
[Moto G4 Plus Questions & Answers] smitharro:
Backup and wipe internal memory. (Erase all maps, or format the partition).

Send from my XT1642, with LineageOS OMS, using Tapatalk
[Xperia Z5 Android Development] zhangyang_haha:
Topic :

​

Disclamer

* WARNING! *
* I am not responsible for bricked devices, dead SD cards, thermonuclear war,
* or you getting fired because the alarm app failed. Please do some research
* if you have any concerns about features included in this ROM before flashing it!
* YOU are choosing to make these modifications, and if you point the finger at me
* for messing up your device, I will laugh at you.

Introduction

Here's the MIUI 8 for Xperia Z5 Series (Single/Dual)

You will get the extraordinary MIUI experience on your device.

Big thanks to @sceryavuz organize my thread

What is working

What is NOT working

Downloads

v2.0 : <mod edit: links removed>

v1.0 : <mod edit: links removed>

Important SD Card FC Fix

ONLY Z5 Single users flash it after rom installation : mega.nz

Installation

- Unlocked Bootloader required

- TWRP required

- Wipe Dalvik/ART Cache

- Wipe Cache

- Wipe Data

- Wipe System

- Flash ROM via OTG or Internal Storage

Changelog

v2.0

v1.0

Screenshot

Fingerprint Demonstration

[YOUTUBE]WSl4AbkWQvg[/YOUTUBE]

Contributors

zhangyang_haha, MIUI, SONY, lpsw521

Donation

to : liupan316@hotmail.com

XDA:DevDB Information

[ROM][MM][BETA] MIUI 8 for Xperia Z5 Series (Single/Dual) v2.0, ROM for the Sony Xperia Z5

Contributors

zhangyang_haha, MIUI, SONY, lpsw521

Source Code: http://github.com/MiCode

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.10.x

ROM Firmware Required: Official 6.0.1

Based On: Official SONY firmware

Version Information

Status: Beta

Current Beta Version: 1.0

Created 2016-11-10

Last Updated 2017-01-03
[Xperia Z5 Android Development] EnesSastim:
Can you upload it on drive pls , I can't reach mega
[Xperia Z5 Android Development] Linschlager:
Error 7

Is there anything I have to do other than wiping system and cache?

I'm getting the Updater Error 7.

I have tried wiping multiple times and rebooting as well and it didn't change anything.

I suspect the following lines in the updater script were the issue because they were throwing warnings during the installation:

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data", "");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
[Xperia Z5 Android Development] Azrael6947:
GDrive Mirror and GApps?

Are GApps possible?

GDrive Mirror

Turns out I cant post external URLs. Have attachment instead. URL contained within.
[Xperia Z5 Android Development] Azrael6947:
GApps Crashes Device

Tried installing OpenGapps, the APKs themselves, and the Google Installer method. All lead to the device crashing I believe because of Google Play Services (crashed only when the Google Play Services APK was installed).

No idea how to fix this, just stating observations.

ROM works great without GAPPS though. But I do need them to use it.
[Xperia Z5 Android Development] zacharias.maladroit:
You have the FM Radio app, too ? :D

Thanks for your great work !
[Xperia Z5 Android Development] sirdoha:
Is there any method to type English at the moment? Does Camera BionZ works?

BTW, Does other DRM Features like X-Reality, Bravia, DSEE HX+ work?

P.S. Will mods for stock firmware working on MIUI? Ex: Xperia XZ Camera Mod, Soundmod
[Xperia Z5 Android Development] Silvio Scarani:
To flash the Miui is required the bootloader unlocked? Thanks in advance. :good:
[Xperia Z5 Android Development] EnesSastim:
Yes. Every Rom Needs it.
[Xperia Z5 Android Development] Silvio Scarani:
Well, thanks. I apologize but i forgot to ask if it works on Z5 premium E6853. I have to ask for things perhaps unnecessary, but i have the phone a few days ago. . . .
[Xperia Z5 Android Development] sirdoha:
How is the stability, battery and performance?
[Xperia Z5 Android Development] zhangyang_haha:
DRM Features not yet. will be added. For the mods, I'm not sure.
[Xperia Z5 Android Development] zhangyang_haha:
currently does not support Z5P
[Xperia Z5 Android Development] aliengo:
end up with error 7, Keep trying
[Xperia Z5 Android Development] Danukz:
Great Work Can you bring this to z5 Premium too ?
[Xperia Z5 Android Development] ganeshbiyer:
Downloaded a couple of times already. Does not install. Installer ends with an error.
[Xperia Z5 Android Development] sirdoha:
Does this ROM support Dual Sim (E6683/E6633)? [MENTION=4878612]zhangyang_haha[/MENTION]
[Xperia Z5 Android Development] Silvio Scarani:
Thank you, bad news :(, i am very sorry because i always loved Rom Miui, i hope that in the near future this Rom is also available for the Z5 Premium. :crying:
[Xperia Z5 Android Development] Falenone:
Wonderful ROM. Need DRM features + gapps
[Xperia Z5 Android Development] rifien25:
Same error here too : error 7

Can anyone tell me who to do with this , i realy want this ROM, my old Z1 is faster an better with MIUI rom than my Z5 actually :confused:
[Xperia Z5 Android Development] arul20be:
Great ROM!!

I got root and managed to make fingerprint work. But, xposed is not. As well I don't find any settings related to enable VoLTE for second sim. I didn't try for first sim. E6683 here. I really need VoLTE. Someone can help? [MENTION=4878612]zhangyang_haha[/MENTION]
[Xperia Z5 Android Development] nabeelahmad909:
fingerprint fix for e6633?
[Xperia Z5 Android Development] zacharias.maladroit:
Anyone tried the following XPosed ?

http://xdaforums.com/xposed/unofficial-xposed-miui-t3367634
[Xperia Z5 Android Development] kriters:
I'm on E6633 and I have the same problem.

Its didn't help. Any solution?
[Xperia Z5 Android Development] sirdoha:
Tried it, bro. But bootloop :(
[Xperia Z5 Android Development] zhangyang_haha:
Absolutely Yes.
[Xperia Z5 Android Development] zhangyang_haha:
So that might the the bug of the MIUI source? I'm not sure. Since I personally did not met this bug so far. Try to do a clean install without using the Android N style status bar to see if that works.
[Xperia Z5 Android Development] zhangyang_haha:
https://github.com/MiCode/patchrom_angler/blob/marshmallow/patch_bootimg.sh

This is the patch script for the boot.img
[Xperia Z5 Android Development] sirdoha:
Clean Install, no app installed, default theme

Have tried all but still have the issue :(

Must be MIUI problem
[Xperia Z5 Android Development] zhangyang_haha:
Is that possible to provide the logcat?
[Xperia Z5 Android Development] EnesSastim:
Cant add Fingerprint....
[Xperia Z5 Android Development] Danukz:
is gyroscope sensor fixed on Z5P?
[Xperia Z5 Android Development] zhangyang_haha:
Confirmed, It is a bug from MIUI source code. If you add password, sometimes will cause the wallpaper to disappear. Thanks for your report. Hope MIUI will fix it soon
[Xperia Z5 Android Development] sirdoha:
Also bro, please consider use Global MIUI Version instead of Chinese one as source for next update. Thanks :)
[Xperia Z5 Android Development] zhangyang_haha:
I think MIUI source just have Chinese version? But what we sure is that we will add gapps next version
[Xperia Z5 Android Development] sceryavuz:
I tried ROM.

TWRP backup

Wiped Dalvik/ART, Cache, Data, System, Internal Storage

Installed via OTG

+ROM runs smoothly

+Everything i used before are working

+Good battery performance

-I don't know chinese

-Some apps completely chinese

-Chinese notifications

*Remove ALL chinese apps or change to english version

*SuperSU not added, make it pre-installed

*Google Play Store not added, make it pre-installed

*Factory app not working, i change many setting but nothing applied, remove Factory app

I returned STOCK rom, if the rom will be completely english, i will use again..
[Xperia Z5 Android Development] Falenone:
My top requests would be

Gapps (coming)

Remove Chinese bloatware. Or make it optional during installation in aroma installer

Add Sony account to log in and restore messages, call logs and other stuff if, if possible

Xposed compatible or also, optional during installation
[Xperia Z5 Android Development] EnesSastim:
I Agree. And Fingerprint doesn't work on E6603
[Xperia Z5 Android Development] Zaisesl:
yes its working. I have E6603 and its working perfect.

I think v3 need to be debloated with the chinese apps, i have notifications in chinese which i dont understand at all haha.

Gapps pre installed and maybe supersu wil be great!

Thanks!
[Xperia Z5 Android Development] EnesSastim:
It's working but i cant add fingerprint
[Xperia Z5 Android Development] Zaisesl:
i thought the same but after seen the video in the first post i understand how can add a fingerprint.
[Xperia Z5 Android Development] menfoo:
Is it compatible with Z5 Compact ?

Several people ask this question but no one had answered:

Is this rom compatible with Xperia Z5 Compact ?

Thank you
[Xperia Z5 Android Development] sirdoha:
Unfortunately, it just supports Xperia Z5 Standard Version and Xperia Z5 Premium Version. No Compact support :(
[Xperia Z5 Android Development] Ptamigi:
Hi Brothers

I install this on E6633 and everything work.

Any idea for gapps???

Good work;)
[Xperia Z5 Android Development] Zaisesl:
Here you go, follow this and you will have gapps fully working.

https://www.youtube.com/watch?v=-OM07Ojcccg
[Xperia Z5 Android Development] sirdoha:
Is there any way to port MIUI app into Stock Sony ROM? [MENTION=4878612]zhangyang_haha[/MENTION] [MENTION=5848686]iPsw[/MENTION]521

Btw, merry Christmas!!!
[Xperia Z5 Android Development] zhangyang_haha:
Actually, Nope. I hope I can as well.

I'm now back in China and will go back to US in January. XDA is just so slow in China and I do not have acess to goole. Therefore, No release these days. Feel sorry about that
[Xperia Z5 Android Development] ronniem88:
any possibility for this ROM on z5 compact?
[Xperia Z5 Android Development] zhangyang_haha:
It will be supported
[Xperia Z5 Android Development] Falenone:
Sony's smartcover isn't locking the screen. No option for "Smart cover mode" either?

Edit:

Also the root is wanky. It doesn't ask for root permission and no root required app works properly.
[Xperia Z5 Android Development] croisade:
??? sorry to heard that ... people are stupids....

Is it possible to update to V3 without activation?

Thanks,
[Xperia Z5 Android Development] Zaisesl:
Oh.. thats bad. People dont think in all the effort you and your team do.

Is V3 ready to download? cause i dont have QQ, and if it is ready i will download and contact lpsw521
[Xperia Z5 Android Development] valuha51:
and when to appear?
[Xperia Z5 Android Development] emosis:
Can you port it for Z5 Compact.. i like miui so much...
[Xperia Z5 Android Development] valuha51:
also waiting
[Xperia Z5 Android Development] Falenone:
Unable to use this weird penguin app

First off gotta fight off all those permission requests and then it wants me to solve a da vinci code at login as "verification" always fails.

And honestly. This doesn't prevent those thieves from stealing anyway. Only thing is to report them wherever they reside and give them bad name across the board. I wouldn't download a ROM from a thief.
[Xperia Z5 Android Development] wujek22:
You can not normally provide a link to download?
[Xperia Z5 Android Development] core720:
Yes, i dont have QQ please other contact
[Xperia Z5 Android Development] Nirvana Rules:
Does anybody have link to share :)
[Xperia Z5 Android Development] Falenone:
Tried getting the new version. Received a screenshot of some sort of guide. Only thing I was able to do was open the 2 links I saw there one of which kept loading, forever. The rest of the stuff was in chinese.

There is no SIM Toolkit in version 2.0

ROOT apps don't ask for root permission and won't work

If you want LTE mobile data, you must select Prefer LTE from settings.

Failed to get new version, no one replied back to my request for a translation for that chinese whatever. Probably this ROM is dead to XDA because of this ridiculous step
[Xperia Z5 Android Development] Art Vanderlay:
Thread closed for now. Making users register to use your rom is not allowed. [MENTION=4878612]zhangyang_haha[/MENTION], pm me whenever you're ready to discuss this.
[Xperia Z5 Android Development] zacharias.maladroit:
Either change Updater-script (or what its name is ?)

or try a different recovery (TWRP):

http://xdaforums.com/xperia-z5/deve...-aosp-roms-t3373008/post66712849#post66712849
[Xperia Z5 Android Development] Moody007:
Firstly thanks u and great work

Secondly. Didnt work :D after i flashed it seems works good. But then. restart and not logged again. Try to wipe all but same. Restarted
[Xperia Z5 Android Development] zhangyang_haha:
DRM will be added, Gapps previous reply
[Xperia Z5 Android Development] mickiem:
awesome work!:good::good:

i noticed that the rom use the Sony stock camera and its perfomance realy perfect , is it possible to apply to CM or AOSP builds?

in chinese haha ，发现了一个BUG，好像是在音频设置里，点了一下米音什么什么配置，红灯重启了~
[Xperia Z5 Android Development] zhangyang_haha:
好的，我看一下。。。索尼相机没可能移植到cm或者aosp
[Xperia Z5 Android Development] sirdoha:
[MENTION=4878612]zhangyang_haha[/MENTION]

Could you please port the Xperia XZ Camera into this ROM. I suggest you contact [MENTION=5222845]peter.schwake@gmail.com[/MENTION] for more info. He is the creator of Xperia XZ Camera Project. It performs really great on Stock ROM.
[Xperia Z5 Android Development] chinmoy32:
Downloading it right now.

Will report here accordingly.

I will try it on my Xperia Z5 dual E6683
[Xperia Z5 Android Development] sirdoha:
[MENTION=5191252]chinmoy32[/MENTION] and [MENTION=5222845]peter.schwake@gmail.com[/MENTION], since this MIUI ROM is based on Stock .253 firmware, is it possible to port your Xperia XZ Camera into this ROM? :confused:
[Xperia Z5 Android Development] chinmoy32:
After rigorous trying for several hours I gave up :(

Error 7 occurred, could not install

Tried flashing stock 253. then root then flash -- did not work

Tried flashing .305 then root then flashing -- did not work then

Tried flashing over my stock rooted nandroid backup -- did not work :(

dont know where the bug /problem is

I have a Z5 dual E6683 DSDS with unlocked bootloader

---------- Post added at 01:21 PM ---------- Previous post was at 01:18 PM ----------

I should work without any problem whatsoever

But as i have posted a few seconds ago here with heavy heart :( that I was completely unable to flash this ROM on my Z5 dual , I would never know the answer of your question :(
[Xperia Z5 Android Development] mrodhe:
Cant get it to work error 7.. How to fix it?
[Xperia Z5 Android Development] mickiem:
try another recovery ?
[Xperia Z5 Android Development] sirdoha:
Please give this a try. Maybe It would help:
[Xperia Z5 Android Development] tathanhlam66:
Hey op, you should use this commit https://github.com/wuxianlin/MIUI_patchrom_Find5/commit/8e931cfa6aa7e317143b691bf8d96c55d1e2446d

It can fix fc when change keyboard.
[Xperia Z5 Android Development] Moody007:
i have z5 e6633 .seem it works good now without restart.. but just 1 sim works . must to wipe system to cant get error 7

i tried to flash z5 dual enable( 33/83 ) but get bootlop .
[Xperia Z5 Android Development] sirdoha:
Thanks a ton for your contributions. Hope [MENTION=4878612]zhangyang_haha[/MENTION] could release a fix soon.

[Cam on dong gop cua ban nhieu]
[Xperia Z5 Android Development] chinmoy32:
Will do and get back to you soon, thanks :)
[Xperia Z5 Android Development] zhangyang_haha:
Thank you very much! will be fixed later
[Xperia Z5 Android Development] iToddie:
Turning on the Battery saver and clicking on Audio setting cause a restart and then it goes to bootloop. :(

Also I don't know if it's just me, but I am not able to set up fingerprints, it just does not work..

PS. As mentioned below, GApps lead to the getting the bootloop again.

Other that that it works like a charm!
[Xperia Z5 Android Development] Azrael6947:
Hi, did you mention anything about fixing the GApps issue?
[Xperia Z5 Android Development] sirdoha:
@[MENTION=4878612]zhangyang_haha[/MENTION], I really love your ROM :), But please release a new version for this ROM that fixed the following issue:

[FEATURE REQUEST]

- Fix Keyboard FC Error (Use this commit from [MENTION=3970640]tathanhlam66[/MENTION])

- Fix Update Error 7 ([MENTION=5191252]chinmoy32[/MENTION] has fixed it by editing the updater script)

- Fix Google App Installation Issue (Get bootloop if try to install GApps)

- Add more Sony Features: Walkman App, DSEE HX+, ClearAudio, XLoud, Bravia, BionZ, X-Reality, ... (Like [MENTION=5848686]iPsw[/MENTION]52 MIUI ROM for Z3)

- Tweak to improve Battery Life as well as Performance
[Xperia Z5 Android Development] mohamad1080p:
dual sim not support???

?????
[Xperia Z5 Android Development] sirdoha:
Bro [MENTION=5191252]chinmoy32[/MENTION], does it support Dual E6683? Does SD CARD work properly?
[Xperia Z5 Android Development] chinmoy32:
To be honest I use my E6683 with a single sim and as far as I can remember the SIM was nicely registered and calls could be made nicely.

Cant confirm whether dual sim options or operations are available in the settings menu though.

Currently I am configuring eXsistenZ rom for my Z5 dual-- i really liked that ROM :)
[Xperia Z5 Android Development] wujek22:
It will enable 6633 from Dual Sim ?
[Xperia Z5 Android Development] majid.plus4772:
For error 7

mount/select internal strong/mount system/ok

after go to install/select internal strong/pres up dir/go to external-sd dir/setup miui.zip/dont wipe

dual sim 6633

verry good

به همین سادگی . زنده باد ایران
[Xperia Z5 Android Development] HaoZeke:
I believe you can get around it by manually editing a file in the zip. Look at the script in the meta folder. Remove the device assert line.
[Xperia Z5 Android Development] TurkO546:
just make sure u did get tick to mount system thats it u will not get error 7 again
[Xperia Z5 Android Development] chinmoy32:
very sorry for repeating the post here but......

very sorry for repeating the post here but...... after reading several post here i think people will benefit from it ...... OP can always delete..........

Okay, I Went through several TWRP images , did not work :(

Then I have updated the script a little bit and now it works perfectly :)

just copy the attached file and replace it with the existing one and then repack it with winrar as ZIP.

View attachment 3935050

BTW, the ROM is awesome, its totally MIUI and the fingerprint works better and faster than any stock ROM.

keyboard changing causes reboot,camera works fine, UI is very smooth and fluid :)

If anyone want to use MIUI for their daily driver than this is definitely the ROM :good:

And

Both Peter's camera project and Mine camera APK works just fine with this ROM :)
[Xperia Z5 Android Development] zhangyang_haha:
Thanks a lot for your help!
[Xperia Z5 Android Development] sirdoha:
[MENTION=4878612]zhangyang_haha[/MENTION], I really love your ROM :), But please release a new version for this ROM that fixed the following issue:

[FEATURE REQUEST]

- Fix Keyboard FC Error (Use this commit from [MENTION=3970640]tathanhlam66[/MENTION])

- Fix SuperSu not start, trying to flash SuperSu.zip but bootloop

- Fix compatible issue with Xposed Framework

- Fix Google App Installation Issue (Get bootloop if try to install GApps)

- Add more Sony Features: Walkman App, DSEE HX+, ClearAudio, XLoud, Bravia, BionZ, X-Reality, ... (Like [MENTION=5848686]iPsw[/MENTION]52 MIUI ROM for Z3)

- Tweak to improve Battery Life
[Xperia Z5 Android Development] zhangyang_haha:
Keyboard is fixed, Sony features will be added in the future since MIUI source code is still not stable yet. Battery is much better than the official rom. No tweak need. MIUI has its own power managment. Our team will try to solve Xposed and Google apps. I believe MIUI has its own root manager in the security center app. check it out since I'm not using MIUI right now.:good:
[Xperia Z5 Android Development] iToddie:
Please also note that there are a couple settings that cause the device to reboot - when clicking on Audio settings in the Sound and notification tab, also when the low battery pop up shows the device reboots if you click on Battery saving
[Xperia Z5 Android Development] chinmoy32:
I want to ask is there any update coming for this amazing MIUI 8 ROM in near future ??

because that would be great, sirdoha gathered almost all the points needed to be addressed in the next release

I see keyboard issue is fixed.

I have a Xiaomi note 3 pro in my home and it just got the 8.0.6 MIUI update . i was wondering is it possible to implement / port files from that release ?? I mean using the latest MIUI update for the next release

Either way let me know.
[Xperia Z5 Android Development] sirdoha:
Now [MENTION=4878612]zhangyang_haha[/MENTION] is able to fix the keyboard issue, so the most priority is fixing the GApps Issue and SuperSu. I've tried to enable root using the Security App but it said that unable to get root permission. Try reflash supersu.zip cause bootloop :(
[Xperia Z5 Android Development] vandiaz_sairavinz:
Port for z2....
[Xperia Z5 Android Development] sirdoha:
Z2 already has a MIUI 7 port, it's official supported by Xiaomi, check The Download Section in MIUI website [MENTION=5841315]vandiaz_sairavinz[/MENTION]
[Xperia Z5 Android Development] zhangyang_haha:
supersu is dead. Dont try it more. It just doesn't work. Will try to solve this
[Xperia Z5 Android Development] sirdoha:
Yes, please fix that issue. And if possible, please add the features I've mentioned before as well as update to the latest stable build of MIUI 8 ;)
[Xperia Z5 Android Development] vandiaz_sairavinz:
Yea miui 8 no dev for z2
[Xperia Z5 Android Development] panostr:
Is it possible to create just a theme too based on MIUI 8? I searched a lot but i cant find any.
[Xperia Z5 Android Development] chinmoy32:
There are several EXZ themes based on MIUI, I am using one right now .

search the themes section , u will find it
[Xperia Z5 Android Development] panostr:
Can you give me a link pls cause i can't find anything.
[Xperia Z5 Android Development] sirdoha:
eXistenZ ROM by [MENTION=6231309]XpRoPhEtX2015[/MENTION]: http://xdaforums.com/xperia-z5/development/rom-32-2-0-305-e6653-e6683-1-0-0-t3498626
[Xperia Z5 Android Development] iSpammer:
we cant use english keyboard , can we ?
[Xperia Z5 Android Development] Niswonger:
Another Bug

Actually, there is another bug when clicking on Audio Settings the phone restarts just like the keyboard bug. I hope these bugs will be fixed soon, cause otherwise this is an excellent port/ROM! Keep it up!
[Xperia Z5 Android Development] Falenone:
Indeed. Can't wait for update.
[Xperia Z5 Android Development] wujek22:
When the next update?
[Xperia Z5 Android Development] AlbeRCLife:
Is google play still not working?
[Xperia Z5 Android Development] ivansr:
Yes!!!! I hope that in the next update it's solved...