yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Android Development] papzi57:
Hi!

I want downgrade from munjeni-s .270 to munjeni-s .108.

First I tryed flashing to .108 ftf.

No success, flashtool error:

/2015 11:13:55 - INFO - Phone ready for flashmode operations.

06/013/2015 11:13:55 - INFO - Opening TA partition 2

06/013/2015 11:13:55 - INFO - Current device : D5503 - CB5A1X8QWW - 1280-7866_R1D - 1279-1792_14.5.A.0.270 - EURO-LTE_14.5.A.0.270

06/013/2015 11:13:55 - INFO - Closing TA partition

06/013/2015 11:13:55 - INFO - Start Flashing

06/013/2015 11:13:55 - INFO - Processing loader.sin

06/013/2015 11:13:55 - INFO - Checking header

06/013/2015 11:13:55 - INFO - Flashing data

06/013/2015 11:13:56 - INFO - Loader : S1_Root_6732 - Version : MSM8974_23 / Boot version : S1_Boot_MSM8974_Rhine1.2_LA1.04_19 / Bootloader status : ROOTED

06/013/2015 11:13:56 - INFO - Transfer buffer size : 262144

06/013/2015 11:13:56 - INFO - Parsing boot delivery

06/013/2015 11:13:57 - INFO - You must have the according fsc script to flash this device.

06/013/2015 11:13:57 - INFO - Flashing finished.

06/013/2015 11:13:57 - INFO - Please unplug and start your phone

06/013/2015 11:13:57 - INFO - For flashtool, Unknown Sources and Debugging must be checked in phone settings

What does in mean: You must have the according fsc script to flash this device?

How can I flash from .270 to .108?
[Xperia Z1 Compact Android Development] speed&vodka:
I just wanted to drop a line saying that I've been using this final ROM for 5 days and it's awesome: very stable, excellent battery life, *privacy guard*.... all I was looking for. [MENTION=4120742]munjeni[/MENTION], suppose I'd like to donate a few bucks to support your work (don't get ur expectations too high), is there an easy, straightforward way to do so?

Many thanks for developing this!
[Xperia Z1 Compact Android Development] grzesiek1945:
Hi, I know te solution of your problem, i had that same issue, u have install flashtool version 0.9.18.6 or older. Problem is in the latest version.
[Xperia Z1 Compact Android Development] papzi57:
OMG!
[Xperia Z1 Compact Android Development] grzesiek1945:
So now u can Flash soft?

Wysłane z mojego D5503 przy użyciu Tapatalka
[Xperia Z1 Compact Android Development] papzi57:
I have one old .108 based nandroid backup with TWRP. I restored it, after than wipe everything, than flashed munjeni-s ROM. Success...

But I have one problem: how can I solve this problem: pull down quick settings during the call?
[Xperia Z1 Compact Android Development] mosespl:
Well, you nneed to replace SystemUI1.apk with the original one from Kk 108 because this one is from z3 and z1c has a problem with proximity sensor. I have the old one where statusbar doesn't pull down automatically after tap on it. In the old one when you tap the statusbar it automatically pull back up. If you want the apk please Pm me and I will send you proper one.

Wysłane z mojego D5503 przy użyciu Tapatalka
[Xperia Z1 Compact Android Development] papzi57:
I have another problem: I don't have root access to root and system!
[Xperia Z1 Compact Android Development] ferhpsquad:
It is written in OP [emoji4] http://xdaforums.com/showthread.php?p=61696951
[Xperia Z1 Compact Android Development] p@to:
Hi!

How can I solve this?

Free space is wrong
[Xperia Z1 Compact Android Development] moonryder:
don´t understand ...
[Xperia Z1 Compact Android Development] p@to:
Yes I can't up pictures

Said 2.8 gb free, but is wrong
[Xperia Z1 Compact Android Development] p@to:
Sorry!!!

I m trying to ad pictures!!
[Xperia Z1 Compact Android Development] munjeni:
Hi thanks, see my profile if you realy want to do it
[Xperia Z1 Compact Android Development] munjeni:
Use this one and replace https://github.com/munjeni/D5503_14.4.A.0.108/blob/master/system/priv-app/SystemUI.apk?raw=true
[Xperia Z1 Compact Android Development] munjeni:
Many problems coming after not wiping "wipe data factory reset" and after not format "format userdata partition", it must be done before installing ANY rom! If you not allready noticed, Sony doing the same thing everytime by his Sony PC Companion software and its with reason! Another important thing, NEVER restore backup which was not created from the same rom like you want to install! If you not follow this you can expect problems with rom.
[Xperia Z1 Compact Android Development] moonryder:
[MENTION=4120742]munjeni[/MENTION]

why is this SystemUI different to the one of your final 108 Privacy Guard? :confused:
[Xperia Z1 Compact Android Development] munjeni:
This one is not from Z3 and have no quick settings like standard one from z1c, thus have no toggle bug.
[Xperia Z1 Compact Android Development] beaviz:
Was running lollipop, battery life went to half a Day normal use.. Flashed this rom, seems much beter now! Only had the sudden battery drop from 45 to 1%. Now cleared cache, and seems to be good..

Thanks for your effort..
[Xperia Z1 Compact Android Development] levone1:
Hi. I had problem w/ system r/w, so I flashed your fix, and it worked, in general. As a test, I ran 'mount system rw' app from play store, and got success. However, I'm attempting to use apktool on the phone, and it's giving 'read only file system' error, when trying to create directories. I manually created the directories it needed, but then it threw the same error when trying to create a build file. Do you know why? Is it something to do with Java? Have any ideas? Thanks
[Xperia Z1 Compact Android Development] ^eLipS#:
I'm holding Volume Up button, but I also get into CWM Recovery. How to enter TWRP?
[Xperia Z1 Compact Android Development] p@to:
Volume down
[Xperia Z1 Compact Android Development] munjeni:
Till after blue light start blinking pres and hold volup and release on twrp
[Xperia Z1 Compact Android Development] GuizmoPhil:
I have a very annoying bug, the developper option to keep the phone screen always on isn't working.
[Xperia Z1 Compact Android Development] munjeni:
You mean "stay awake" option?? These option is only for keeping screen on when there is usb connected to the pc or to the charger!
[Xperia Z1 Compact Android Development] GuizmoPhil:
Omg I'm such a bagel!

You're absolutely right lol, I don't know what I was thinking.

Btw, I really enjoy this ROM, I downgraded from your other "[privacy guard] kitkat something .157" ROM and battery life is way better in this one(current topic). Other than battery life, bot of your ROMs are rock solid.

Thanks for making these.
[Xperia Z1 Compact Android Development] Pacolin:
[MENTION=4120742]munjeni[/MENTION], could you please, provide me some info? Do I need to do something "special" as I'm coming from AOSP MM with "real recovery"?

Should I do a "repair" from the $ony PC Companion app?

Or should I just wipe /system and flash as per the steps in the guide in the first post?

Thanks in advance.

Edit:

As I started reading posts I guess I should do a full wipe (and format?) of my partitions (including the /data) the thing is - I forgot to plug my sdcard :) I hope that i'll find one around at work and use it for the zips for flashing :)
[Xperia Z1 Compact Android Development] levone1:
It's been a while, but I'm pretty sure yes need to start from KK 108. You can use Flashtool ftf, then root, then flash ROM, (rooting 108 is easy), or you may be able to find a different 108 ROM that will flash for you, then go to recovery and flash this.
[Xperia Z1 Compact Android Development] Pacolin:
Hey [MENTION=6283426]levone1[/MENTION], thanks for the guides ;) :good: :victory:

As I never used the "repair" option from the companion app - I'll go for it first - it won't hurt...

I'll post what i've done once I get home ;)
[Xperia Z1 Compact Android Development] levone1:
Don't know if you tried already, but did a test, and here's the easy way to flash this:

1. Download mosh-kernel for stock from here - https://s.basketbuild.com/filedl/de...ased/MoshKernel-amami-0.3-2nd-stock-based.zip and download 'final' rom zip from op in this thread

2. Extract boot img from mosh zip to somewhere in storage

3. Boot into TWRP real recovery and do a full wipe, then flash boot img you extracted

4. Power off, then reboot into recovery and flash rom.

Using it now.
[Xperia Z1 Compact Android Development] Pacolin:
Thanks ;) All went fine :)

- fastbooted the real recovery

- full wipe + format data

- flashed boot.img for /boot partition (extracted from moshkernel)

- rebooted to recovery

- flashed the final rom :)

My first thoughts were "damn, I should boot my ps3" once I heard the good-ol' $ony "tick" sound :))

Next up > xposed and some minor moddings :)
[Xperia Z1 Compact Android Development] levone1:
You may or may not need fix in op for issues with root, mounting rw.
[Xperia Z1 Compact Android Development] Pacolin:
Well, we will find out on Monday I guess :))

I don't really have to but I'm using the YouTube background playback module when i'm in the public transport or walking :) Too lazy to sync my music :angel:
[Xperia Z1 Compact Android Development] Altherion:
Hey guys... What version of Xposed we need to flash and install in this ROM?? :victory:
[Xperia Z1 Compact Android Development] eenkiinkeenk:
can i flash this rom to my so-02f? the z1f compact japan version? my Z1f already running D5503 global rom
[Xperia Z1 Compact Android Development] broky:
just install this apk,you don t nee to in

stall xposed framework zip
[Xperia Z1 Compact Android Development] Pacolin:
But you need to flash the fix from OP if you can't mount /system... In my case - I had to, just like [MENTION=6283426]levone1[/MENTION] mentioned on the previous page :)

[MENTION=6844370]eenkiinkeenk[/MENTION] It might be possible - in my opinion - otherwise the Aroma Installer wouldn't let you flash (if it finds that the device isn't matching the one supposed to)...

But I can't say that for sure... Better wait for an answer from [MENTION=4120742]munjeni[/MENTION]

You can always try - once you have a full backup of your device and if something goes wrong > restore your backup :)
[Xperia Z1 Compact Android Development] Altherion:
Thank you guys.. Xposed installed and working with no problem!!

This is only my first day with this ROM and everything goes and looks nice, but the battery life seems (for me) not better than stock LP (my previous ROM)

What's that "Mediaserver"???

Should I install greenify??? :confused:

Anyway great job with this munjeni!!! :good:
[Xperia Z1 Compact Android Development] Pacolin:
Well, my experience so far is far better than with the stock LP or even RockZ1 (LP)...

Posting some screens as proof :)

Media server is a background running service for streaming media to other WAN/LAN devices :)

As for Greenify - i'm using it - in Boost mode (root+xposed).

Almost forgot to say that I'm using the Lionheart as a CPU governor with max. freq. of 1500MHz and min. 300MHz. Also reduced the max. freq. of the GPU to 320MHz with Force GPU rendering on.

Could someone help me out with my add-on sdcard... I'm not sure why but it gets corrupted whenever I reboot... Should I format it in some other FS or should I unmount it before rebooting? I got that strange issue with MM AOSP and thought it is related to the ROM but now it is happening again... Or maybe my sdcard is failing? I haven't used it that much really and it isn't that old (3-4 years max, 32GB A-Data). Any advises appreciated :)
[Xperia Z1 Compact Android Development] einfachgaer:
Mediaserver is a service, which scans your data for pictures, music files and videos.

If you greenify mediaserver, your music app wont find new songs you download, or your gallery app wont show new pictures taken.
[Xperia Z1 Compact Android Development] Altherion:
Ok guys... Thanks for the answers...

2 full days with this ROM and not missing LP at all :D
[Xperia Z1 Compact Android Development] Pacolin:
I think you're slightly mistaken (or I am, let others tell too)... Media Server is the service for sharing through the network, Media Scanner is the service which is scanning the storage for media files :)

The Media Scanner nor the Media Server can be set in Greenify for (auto-)hibernation or at least I didn't had that option (in Greenify) so far - regardless of the device...
[Xperia Z1 Compact Android Development] GuizmoPhil:
MirrorLink is broken in all of the Sony's KitKat and Lolipop ROMs.

Last version with MirrorLink that was working was 14.3.something.

Is there a way to fix this with root access on 14.4.a.0.108??
[Xperia Z1 Compact Android Development] Pacolin:
Name the exact version (a link would be good too) and I would try to replace the apk and test it :)
[Xperia Z1 Compact Android Development] GuizmoPhil:
14.3.a.0.757 is the last rom where mirrorlink was working according to this link: https://talk.sonymobile.com/t5/Xper...lem-after-upgrade-to-14-4-A-0-108/td-p/950010

I'm experiencing the exact same issue, but I have a different Sony head unit, mine is the XAV-601BT. I do howerver run the same firmware on that head unit, which is JR08_xav_1.13.003. He doesn't have a Z1 Compact, but a regular Z Ultra, it seems that it is a broken feature from Sony's firmware core.

So far, I have tried all official 14.4+ rom and all official lolipop roms, and it doesn't work.

I have not tried version 14.3.a.0.757 yet, because I cannot find any download link that aren't dead. And I must admit that the rom of this thread here is the best stable rom i'v used on my device in years, I'd rather try to fix it with root access (if possible), then reinstall all over again.
[Xperia Z1 Compact Android Development] nutdevza:
I'm currently on LP 236 FIRMWARE.

After changing battery, I don't think that battery problem is completely fixed. So I suppose that it's also a software problem and decided to downgrade to KK since it's most stable and battery life is better. I have a few questions to ask.

1. If I'm using flashtool, can I downgrade to stock 108 rom without unlock bootloader?

2. If I unlock bootloader via flashtool, will my internal storage (/sdcard) will be wiped? I know that it will be wipe if using ADB but I don't sure with this flashtool procedure whether my data will be safe. But I will backup it anyway.
[Xperia Z1 Compact Android Development] levone1:
1. Yes, you can use FT for KK flash w/out unlocking bl.

2. Unlocking bl will wipe internal storage. I can't say I have actually done it w/ FT, (I have only done it w/ official Sony method), but I think it has to wipe internal storage, (could be wrong).
[Xperia Z1 Compact Android Development] munjeni:
There is 4 methods which I know for unlocking bootloader without wiping userdata.

1. method which I'm using http://xdaforums.com/crossdevice-dev/sony/dev-xflasher-command-line-flasher-t2986634 , its a bit complicated since you need to replace qordongate drivers with libusb and reinstall again for later use with flashtool

2. method which I not tried http://xdaforums.com/sony-xperia-z1-compact/general/tool-unlock-bootloader-sony-xperia-z1-t2980987

3. method with flashtool and ulcode.txt which I never tried and dont know how it working

4. very dangerous method similar to method 2 but manual ftf creation: create an empty ftf file and put inside an custom made unlock.ta file generated manualy:

unlock.ta file: example:

// This opens miscta ta partition
02

// unit , size, unlock key:
000008B2 0010 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38

31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 is an example hexdecimal value made from ascii data aka your unlock key e.g 1122334455667788 which I used as example here and which I generated with http://www.binaryhexconverter.com/ascii-text-to-hex-converter . Do not use this example key since it will hard brick your phone! If you realy want to use this method you must get hexdecimal value from your key! Be carefull since wrong hexdecimal value, whitespace...etc or something will probably brick your phone!

Every four methods you can use on your own risk!!!
[Xperia Z1 Compact Android Development] nutdevza:
[MENTION=4120742]munjeni[/MENTION] Currently im rollbacked to 108 with fresh install to unlock bootloader.

After tried the first 3 methods the results are following

[spolier]1. The Third-Party INF Does Not Contain Digital Signature Information when I tried to install Gordon Driver on Win10. It doesn't help either when I tried to disabled digital security chceck.

2. The DOS doesn't create cus-reset.ta. It just open it with winrar and do nothing.

3. Flashtool always said that I didin't install driver. I tried to install them manually DOZEN times and results the same.

I didn't try method 4 since it's so dangerous that could make me buy another MOBO to replace. [/spolier]

Okay I tried no 3 again and it works. I will report additional detail soon
[Xperia Z1 Compact Android Development] munjeni:
No. 1 is made for Win XP only, I never had time to hook gordongate's lib usb functions instead of using libusb...

For 3. and problems with drivers, I had the same isue on win 10, you need to disable signature verifications temporary on your 10 and use Flashtool-drivers.exe from flastool to instal aditional drivers for z1c, I have done that sucesfully and now all drivers is functional (adb, fastboot, mtp, gordongate)
[Xperia Z1 Compact Android Development] nutdevza:
THANKS I already done those procedures provided by you. Now my bootloader is unlocked.

My windows 10 is now in Test Mode. I have once in test mode before [in win7], during that time I tired to remove the "Test mode" watermark on desktop and result in brick windows [Yes, windows can brick from some BCDEDIT command]
[Xperia Z1 Compact Android Development] munjeni:
Here is aditional trick to install openbootloader without needs for emma:

//===========================================================
// Rhine S1 Boot Config Data
//
// Config Data Description: http://metadoc.sonyericsson.net/?DOCS=1/15935-5/FCP1191274 PA2
// Honami
//
//
//
// Created: 20150417 1730
// Author: Magnus Strandh, 23048553
//
// Specification document: 8/159 35-LXE 108 010, Rev PA4
// Format:
// [TAPartition<HEX8>]{1}
// [UnitID<HEX32> UnitSize<HEX16> Data<HEX8>{UnitSize}]{n}
//===========================================================
02

// this enables recovery mode (aka installs openbootloader)
0000084f 0054 1A CE 28 00 01 00 06 05 00 02 02 51 00 10 03 00 02 04 02 05 00 01 03 02 00 10 05 00 03 03 05 00 10 05 00 05 83 02 00 10 02 00 05 85 0A 00 02 00 A9 09 BE BA A9 09 00 00 04 00 03 00 02 00 04 00 04 00 B0 04 0E 00 06 00 B8 0B 01 4B 00 00 00 03 96 00 2C 01
000008fd 0001 00

The same way as unlocking bootloader. You can make file for your needs e.g. unlock bootloader and openbootloader in same time! Just add your key matched unit line for unlocking bootloader before unit 0000084f and make ftf file for your needs when it needs unlocking/openbootloader. Again this is risk since carelessness can cost a lot! One wrong byte and bye phone. Sugestion, go away from TA all time as posible! TA is very dangerous thing, never touch it, I have killed my mainboard last year becouse I wrote bad data to trim area, there is no way to unbrick it, got totaly dead and unresponsive mainboard, be very carefull!
[Xperia Z1 Compact Android Development] stellarroar:
I have just flashed this rom, but in CWM recovery I can't install viper4android 2.3.4 or twrp 3.0.2 zip file. I cannot update the supersu binary either. How can I do these things?
[Xperia Z1 Compact Android Development] levone1:
Not sure which version of supersu you're using, but you can find download links here - http://xdaforums.com/showthread.php?t=1538053 After downloading, just flash in recovery. [MENTION=5075064]optimumpro[/MENTION] says latest version should only be used for MM, (I think it's 2.76) - http://xdaforums.com/showpost.php?p=67798711&postcount=102 So you might get update su binary if you're on the previous version, (2.67 or something), but you can just ignore it.

As far as Viper, I haven't used it much, but one thing I know is that there are many versions and variations out there, so keep trying...
[Xperia Z1 Compact Android Development] stellarroar:
Thanks for your help! I have gone back to Lollipop. It was weird having so many problems with this rom. Tc
[Xperia Z1 Compact Android Development] munjeni:
What so many problems you have? I'm using this rom 3 years and apsolutly no problems with 3 years of using it!
[Xperia Z1 Compact Android Development] Altherion:
Guys... I`m happy with this ROM but...

The mediaserver battery drainning issue is bothering me so much!!! :eek:

I'm an intensive music listenner (poweramp + viper4android pretty often everyday) and mediaserver is eating +40% of my battery...

I've googled looking for solution and nothing is clear... I've tried formatting the internal and SD storage with no success... Recently I've flashed an init.d script I've found here in XDA, but it seems it also failed with this problem.

Anyone else got this problem.... any other tip??? :confused:
[Xperia Z1 Compact Android Development] munjeni:
Apsolutly the best rom ever I had from Sony, modified for my needs until it got perfected. Only I can sugest you for this rom is never install any mod on it, even xposed, install only apps you need! Watch these aps in battery usage to get more details about which one draining your battery! Clean rom without any mod, app, ...etc apsolutly have the best battery life! Try lionhearth governor + row scheduler and I am sure you will go very happy with stability, perfomance and battery save! If you stil have battery drain, watch your logcat for more details about possible problem! I'm using it for years since the very stable rom 108.
[Xperia Z1 Compact Android Development] GuizmoPhil:
I finally found a version of 14.3.A.0.757. I downloaded the one from Flashtool, it's a generic one for jounalisms.

I can confirm that MirrorLink is working in this build 4.4.2, but that is it broken in every newer one 4.4.4+ .

If you're still willing to give it a try, it would be very much appreciated, as I prefer 14.4.A.0.108, it's more stable and battery life is epic, plus I can have Privacy Guard with it, thanks to this thread's ROM!
[Xperia Z1 Compact Android Development] templeka:
Don't know about mirror link since I never used it but mirror screen doesn't work for me. I think it worked before unlocking bootloader. Does this have any connection or it's just coincidence? I mean does unlocking bootloader brake mirror screen or maybe even mirror link?
[Xperia Z1 Compact Android Development] munjeni:
I have sa msu ng tv E serie and sometimes mirrorlink working, sometimes not working, probably tv related since on seccond tv J series things working perfectly.