yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Android Development] funky0308:
Hi krab...

I tried several times to flash your ROM but just can't...

I'm not new in this stuff but, as I said, just can't flash this - via TRWP or CWM (dual recovery).

I always bump and stuck in kernel loop...

One interesting thing is that I backup my ROM (stock 257) via TWRP and when I tried to restore it - same thing happened, msg "failed" in recovery and kernel loop...

Very strange...

Sent from my Z1
[Xperia Z1 Android Development] LiberOz:
hi all

there is no update center in this rom? is it really stock rom??
[Xperia Z1 Android Development] fjoel:
Thanks, i installed a ftf ( excluding system ), but still no update centre.

Also, i extracted the update centre form another rom, copied to system/apps, set permisons and nothing!!

Please, another method, or sugestions???
[Xperia Z1 Android Development] fogw:
If you read post 177 again, you will see that you have to do some adb commands for copying in the stock system and framework from the ftf file (how to extract the ftf is explained a couple of posts later.

Freddy
[Xperia Z1 Android Development] fjoel:
Thanks, extrated the folders, copied to sdcard, but with the adb comand "mount -o rw,remount /system" the phone restart itself, i tried almos 7 times more, and nothing. any other method or i jump some step.
[Xperia Z1 Android Development] fogw:
Had the same issue, fixed it by flashing the supersu zip in cwm again, as it turned out I had lost root after flashing the 257 ftf (except the system)
[Xperia Z1 Android Development] fjoel:
Thanks, got working! OTA IS WORKING!

I sugest next time, this room must have a flasheable zip too to restore missing apps.

Thanks!
[Xperia Z1 Android Development] fogw:
You are welcome.. Happy you made it work for you.

Freddy
[Xperia Z1 Android Development] whoosename:
Why? You sould be able to install what you're missing by yourself. Just my two cents.
[Xperia Z1 Android Development] fjoel:
i Agree, but we apreciated that this can be done with a few steps, easy way, not to much extra steps.
[Xperia Z1 Android Development] whoosename:
Yeah, but there might be extra steps like: delete what you don't need/want/use or check what you want to install, something you will have to do.
[Xperia Z1 Android Development] ako.:
is this supported on c6906?
[Xperia Z1 Android Development] volteretero:
This rom is Only from unlocked bootloaders ?
[Xperia Z1 Android Development] gallardo5:
Now, it works with locked bootloader too
[Xperia Z1 Android Development] reignzy:
I have locked bootloader, this Rom working no issues
[Xperia Z1 Android Development] Wobzy:
Anyone have issues with widgets disappearing after reboot?

I use Themer as my launcher, all Widgets gone.

I use xperia clock (3rd party, free) in widgetlocker, widget area visible error message "failed to load".

The stock clock widget on stock lock screen also fails to load.

Help is appreciated.

-

sent via xda premium on my xperia Z1;

- C6903 [LB] rooted deodexed stock .257
[Xperia Z1 Android Development] gaboh24:
Does this rom supports moving application to sd card? Thanks!

sent from future!
[Xperia Z1 Android Development] reignzy:
Hey guys, I just found recovery on longer works with this Rom...

Did I miss something?
[Xperia Z1 Android Development] changkho1908:
i can't enter recovery after flash this rom. :mad:
[Xperia Z1 Android Development] shahzaib.khan:
Guys take it easy. You need to docthe recovery process again. u need to install dual recovery again fron the computer. There is no rom righy now which have builtinn recovery.
[Xperia Z1 Android Development] gaboh24:
Ahh guys does this rom supports moving application to sd card? The one in settings app...
[Xperia Z1 Android Development] changkho1908:
i tried but it still not enter recovery, can u share download link of recovery? :fingers-crossed:
[Xperia Z1 Android Development] dmh1:
Recovery TWRP

https://mega.co.nz/#!kcZxRAAJ!GcsCLz9lLSL5AHx0Qu6mX30ud3p6nnyS3XnEQyIL2Vs
[Xperia Z1 Android Development] reignzy:
I'll try this one, but the old dual recovery wouldn't work after flashing this Rom... :P
[Xperia Z1 Android Development] mynameisjon:
If I'm just trying to install the update center for OTAs, do I delete everything but the updatecenter.apk and .odex?

Correct me if I'm wrong here, but I'm thinking I can just have the following:

system/app/UpdateCenter.apk

system/app/UpdateCenter.odex

system/framework/com.sonyericsson.updatecenter.jar

system/framework/com.sonyericsson.updatecenter.odex

You say delete the ones you don't need afterwards, how do you know what to delete and what to keep?

Since this is a de-odexed rom, I'm guessing you don't actually need the odex files?
[Xperia Z1 Android Development] danw84:
What I meant is that it would be safer to copy all the app + *.odex from the ftf to the phone, and then delete the app you don't need directly from the phone.

You might have issues with both odex and deodex apps in the same folder.
[Xperia Z1 Android Development] kyerie030:
Hi,

I'm on the same as per instruction and I lost going to the recovery as well. Trying the TWRP provided above shows this:

=============================================

Step3 : Setup of recovery.

=============================================

remount rw /system

remount rootfs rw

copy recoveries to system.

Toolbox!

Unable to chmod /system/bin/recovery.twrp.cpio.lzma: No such file or directory

rename stock chargemon

copy ric

Waiting for your device to reconnect.

After entering TWRP for the first time, reboot to system to complete this installer!

rm failed for /data/local/tmp/recovery, No such file or directory

I assume the highlighted text is the problem? The recovery wasn't actually copied to the system folder, I have root, checked it with root checker and superSU and other rooted apps work fine except for this one.

Any idea how to get the recovery back?

---------- Post added at 10:29 AM ---------- Previous post was at 09:53 AM ----------

Ok, nvm... I used the original dual recovery and chose 2 (SuperUser) instead of 1 (superSU) and i got into recovery and I am now able to go in and out of recovery properly. :) No idea why... but I did that right after using the TWRP provided a few posts back.
[Xperia Z1 Android Development] gaboh24:
How will i update my z1 in android 4.3? Cant update because you remove sofware update in settings..
[Xperia Z1 Android Development] krabappel2548:
Pc companion will still let you update :)
[Xperia Z1 Android Development] fer2503:
Any update of your stock modded rom version?
[Xperia Z1 Android Development] gaboh24:
If i update to pc companion, will my c6903 still be rooted?
[Xperia Z1 Android Development] B1nny:
No, after updating using PC Companion your device WILL NOT be rooted anymore.
[Xperia Z1 Android Development] gaboh24:
Thanks dude..mybe i'll wait for rooted 4.3 firmware that is compatible and stable.. :)
[Xperia Z1 Android Development] shahzaib.khan:
i am waiting for ur version of 4.3 because other romz sucks there is root problem
[Xperia Z1 Android Development] taranfx:
Is this for C6902?
[Xperia Z1 Android Development] shahzaib.khan:
Are we going to see 4.3 from this dev?
[Xperia Z1 Android Development] gaboh24:
Hope you create a 4.3 version for this...
[Xperia Z1 Android Development] gaboh24:
Waiting a 4.3 version for this...
[Xperia Z1 Android Development] shahzaib.khan:
+1
[Xperia Z1 Android Development] krabappel2548:
No, I stopped all of my development due to issues in real life.. I'll come back once they are solved
[Xperia Z1 Android Development] noskill.:
Hello guys,

in case anyone is still on this firmware with a lost recovery not knowing how to get it back, like I was... I changed a minor thing in 2.7.43 XZDualRecovery to get it working again.

Before I was getting the "Unable to chmod chargemon....etc etc...no such file or directory" error message when running the install.bat. After looking around for a fix I found something about busybox cp and I ended up changing one single line to get it working.

In XZDualRecovery, enter the install folder and open install.sh with your favorite text editor (I used notepad++ for this). Find this part:

echo "Copy chargemon script to system."
cp /data/local/tmp/recovery/chargemon /system/bin/
chmod 755 /system/bin/chargemon

And change the middle line to

${BUSYBOX} cp /data/local/tmp/recovery/chargemon /system/bin/

So I basically added ${BUSYBOX} in front of that. I hope it helped for more then just me :). All rights reserved ofcourse.

*edit*

I ended up downgrading, and then flashing to this rom again and this time I had to add the ${BUSYBOX} in front of 80% of the cp commands in install.sh to get it to work. Your results might differ.

I used XZDualRecovery 2.7.43.
[Xperia Z1 Android Development] raziel123:
Excellent Rom

Just what I wanted, won't bother upgrading till 4.4. :good:

regards
[Xperia Z1 Android Development] deconfrost:
same here :good:
[Xperia Z1 Android Development] raziel123:
4.3 is a memory HOG, and the Ram management seems to be worse, consumes more ram and with less ram available ...ope thy fix these issues in the 4.4 Update to Kitkat.

regards
[Xperia Z1 Android Development] longthanh:
I install this rom from stock 534, then wifi does not work
[Xperia Z1 Android Development] DooMLoRD:
no use... only way is to restore TA...
[Xperia Z1 Android Development] jos_031:
I think bionz image processor is software emulation of the processor. have to check the device for confirmation. so sony is protecting their algorithm. It disables camera when unlocking .. just like X-reality/ bravia engine. the bravia engine that we get for unlocked devices are not exact replica of the original one.
[Xperia Z1 Android Development] Qwerty123 \m/:
Wow.

SONY of all people and doing this. I'm sad and disguested.
[Xperia Z1 Android Development] JohnHK:
Hey pal, can you re-upload this rom to another website as Dev-Host?!!

Mega don't give me the ability to download by IDM and if I want to download using Mega, I should stay on this page and wait - so much time - until it finish transferring the file!!! :(

Thanks in advance.....
[Xperia Z1 Android Development] TheCraig:
When you unlock the DRM keys (TA) are permanently lost, re-locking doesn't restore them.
[Xperia Z1 Android Development] inffy:
Restoring TA will relock the bootloader right?
[Xperia Z1 Android Development] harfot:
That is absolutely right ;)
[Xperia Z1 Android Development] DooMLoRD:
anyone interested in testing TWRP on the Z1? send me p.m.

i have integrated it into my dual recovery system on my kernel...
[Xperia Z1 Android Development] mas5acre:
deleted
[Xperia Z1 Android Development] Desperanto86:
[MENTION=4340984]krabappel2548[/MENTION], do you deodexed rom with android kitchen 0.224? if no, pls give link to your method & tool.

if yes, I have 1 question: how do you deodexed settings.apk? my android kitchen 0.224 give me error and skip it :(
[Xperia Z1 Android Development] auras76:
Change to sdk v16 and should deodex ok.
[Xperia Z1 Android Development] juDGEY2k10:
can this be updated over the air?
[Xperia Z1 Android Development] Desperanto86:
can you explain more pls? what sdk? I use cygwin + android kitchen 0.224
[Xperia Z1 Android Development] auras76:
On your android kitchen,change level to deodex on v16.
[Xperia Z1 Android Development] Desperanto86:
oh. API lvl..thx, I'll try

UPD: works fine :) thx man!
[Xperia Z1 Android Development] hoangps:
Installation aborted ?
[Xperia Z1 Android Development] DennisDD78:
Dear krabappel2548, first of all thank you for your job, and the second, can you make a mod that will wake up the phone with volume keys pushing ?
[Xperia Z1 Android Development] krabappel2548:
Yes, I can make it, but I'm more into source build stuff now, I'm not planning to do a lot of stock based things anymore.
[Xperia Z1 Android Development] DennisDD78:
Don't need to do a lot, just only very needful mod ;)
[Xperia Z1 Android Development] krabappel2548:
He he, just compiled carbon update with working camera on unlocked bootloader ;) thx to [MENTION=2492127]Kali-[/MENTION]
[Xperia Z1 Android Development] alexhaj:
Hi

Great work, thanks! Can you explain how you managed to unlock, flash and maintain camera functionality? Would be much appreciated.

Respect!
[Xperia Z1 Android Development] y2grae:
can this now just be flashed now we have cwm/twrp?

edit:

ah.. just use the patch for latest FW

having one of those nights
[Xperia Z1 Android Development] gregbradley:
Is this for unlocked bootloaders because if a lack of working recovery for locked bootloaders? If so can change the OP as now we can flash roms with a dual recovery on a locked bootloader.

I am just checking, and think you may have overlooked the edit to the OP

Greg
[Xperia Z1 Android Development] krabappel2548:
This would.work with dualrecovery too I think. As long as system doesn't need to be formatted I think it works in locked bootloader recovery :)

Update coming up for new 257 fw
[Xperia Z1 Android Development] gregbradley:
Thanks, I am trying my own rom out now and took a peek at your updater script, I hope you don't mind.
[Xperia Z1 Android Development] krabappel2548:
Update added :) locked bootloaders wait until I release new functional recovery version ;)
[Xperia Z1 Android Development] DjTony90:
so u mean we cant flash it via DUAL RECOVERY for locked bootloaders ?
[Xperia Z1 Android Development] y2grae:
guessing not unless you have the .257 kernel on your system
[Xperia Z1 Android Development] Bromsoket:
What if you flash the rom using .534/dual recovery, shutdown then flash .257 kernel and baseband?

Would it work?
[Xperia Z1 Android Development] DjTony90:
dont understand what u mean
[Xperia Z1 Android Development] y2grae:
if locked bl, and not updated to .257 firmware, your device will have the .534 kernel on it
[Xperia Z1 Android Development] DjTony90:
ok so i install 257 rom and when it is done i istall 257 kernel.sin ?
[Xperia Z1 Android Development] gregbradley:
I suggest following Krabappel advice.

If you are in a locked bootloader then don't flash it yet, wait until he says so
[Xperia Z1 Android Development] y2grae:
technically yes, however I would hold on as krabappel2548 said, he is working on something for locked BL's

think you would lose dual recovery if you did that, and probably root.

i could be very wrong though
[Xperia Z1 Android Development] DjTony90:
im gonna try it... have nothing to lose.. :) i will tell here the results after
[Xperia Z1 Android Development] gregbradley:
On your head be it then....
[Xperia Z1 Android Development] y2grae:
am envisioning tft flash back to .534 personally

but admire the gusto
[Xperia Z1 Android Development] fer2503:
i don't understand. why you, developers, make deodexed version of rom if it is slower than the odexed one?:confused:
[Xperia Z1 Android Development] Michealtbh:
The difference in speed isn't noticeable, especially on a 2.2GHz S800
[Xperia Z1 Android Development] DjTony90:
WORKS FLAWLESS GUYS!!!!!!!!!!!!!!!!!!!!!!!!!!

There you go!

1. Install DUAL RECOVERY FOR LOCKED BOOTLOADERS

2. Wipe Data/Factory

3. Install ROM

4. Wipe CACHE/DALVIK CACHE

5. Install 257 kernel with Flashtool

6. Boot and Enjoy .257 firmware rooter from our lovely guy krabappel2548
[Xperia Z1 Android Development] Bromsoket:
Yes, confirmed (but recovery lost)
[Xperia Z1 Android Development] DjTony90:
here's proof
[Xperia Z1 Android Development] Bromsoket:
krabappel2548, thanks ALOT for this :good:
[Xperia Z1 Android Development] Michealtbh:
Anyone tried reinstalling dual recovery afterwards?
[Xperia Z1 Android Development] Bromsoket:
hmm...theres some problems with SU binaries...

DjTony90, does your SU work?
[Xperia Z1 Android Development] krabappel2548:
won't work, until I upload fixed recovery.

Anyway how the hell could you guys install this via recovery on locked bootloaders? Formatting system will cause problems as far as I know..
[Xperia Z1 Android Development] DjTony90:
i dont format system... just data/factory reset... install wipe cache & voila... WORKS :P

---------- Post added at 12:32 AM ---------- Previous post was at 12:31 AM ----------

YES i can give root in any app
[Xperia Z1 Android Development] Bromsoket:
Ok thanks, i guess the problem is that i made a factory reset when everything was done.

Will try again.

OK, just tried again, still problems with SU binaries...
[Xperia Z1 Android Development] DjTony90:
Really don't know... Working fine with me.. Maybe u have to do a clean install again? Follow my steps and try
[Xperia Z1 Android Development] Bromsoket:
Got it working now, i flashed SU in recovery after flashing rom.
[Xperia Z1 Android Development] DjTony90:
Ok good job :cool:
[Xperia Z1 Android Development] johnnobts:
ok, so a step by step how to install would be helpful for some of us. i'm running stock but rooted with locked bootloader at this point.
[Xperia Z1 Android Development] nycdoody:
^Agreed. I'm so confused...
[Xperia Z1 Android Development] guddu2011:
is it working for C6902?

if not can any1 help me with the patch for it?
[Xperia Z1 Android Development] Bromsoket:
Ok an quick and dirty guide:

1. Flash .534 FW using flashtool and root it using Vroot, 360 or whatever.

2. Install Dual recovery for locked bootloader

3. Reboot into recovery, do a factory reset

4. Install rom

5. install BusyBox/SU (not sure if this step is needed but i had to do this to get it work)

6. Shut down phone (power button and vol+, it will vibrate 3 times)

7. Flash .257 kernel & baseband (not sure if baseband is needed but i did it) using flashtool

8. Reboot your phone and enjoy your rooted .247 Z1 ;)
[Xperia Z1 Android Development] gregbradley:
At what point are you flashing 257 system?

This will just give you a .534 system with .257 kernel and baseband.
[Xperia Z1 Android Development] fer2503:
Factory reset is needed?
[Xperia Z1 Android Development] Bromsoket:
At step 4, when you flash this ROM which is .257

---------- Post added at 10:02 AM ---------- Previous post was at 10:01 AM ----------

If you've been using your phone before i would recommend doing a factory reset.
[Xperia Z1 Android Development] gregbradley:
Apologies, Missed that bit, but at that point you have 257 kernel and baseband, why the need to flash them again?
[Xperia Z1 Android Development] slonn:
For step 5 - install BusyBox/SU, are they supposed to be flashed in recovery or installed from google play after a reboot?
[Xperia Z1 Android Development] Bromsoket:
.257 kernel is not included therefore you have to flash it afterwards.
[Xperia Z1 Android Development] Michealtbh:
Kernel and baseband aren't flashed with the rom, at least on a locked bootloader
[Xperia Z1 Android Development] Bromsoket:
In recovery.

As i said, im not sure if it is needed but i had to do it to get it work otherwise i will get problems with the SU binaries...
[Xperia Z1 Android Development] slonn:
Ok, thanks. Do you have links to the SuperSU and Busybox that can be flashed in recovery?
[Xperia Z1 Android Development] Bromsoket:
Download "SuperSU-1.25-Busybox-1.20.2-UPDATE.zip" from here:

http://xdaforums.com/showthread.php?t=2155864
[Xperia Z1 Android Development] dagrim1:
Hmmm, k guys... Trying to figure out if it's possible (and worth the effort) to get my currently unrooted .257 with locked bootloader rooted...

1. I should reflash back to .534 using ftf file and flashtools, correct? This would upgrade (or actually downgrade) firmware to .534 as well

2. Root using known methods

3. Install dual recovery for LB

4. wipe data/stuff

5. Flash .257 rom from zip in this thread

6. Wipe (dalvik) cache

7. Flash .257 kernel using flash tools (as with LB kernel is not flashed at step 5)

Alternatively, IF a fixed dual recovery for .257 is coming out... Will it be enough to just flash the .zip from this thread to regain root?
[Xperia Z1 Android Development] fer2503:
ok now i have root in 257 but i can't install recovery on 257. why?
[Xperia Z1 Android Development] slonn:
A compatible recovery version will be released later today: http://xdaforums.com/showpost.php?p=46587870&postcount=217
[Xperia Z1 Android Development] fer2503:
what are the tweak added by krabappel in 257?
[Xperia Z1 Android Development] Mazellat:
Camera has autofocus problem with this firmware.Camera can't focus...
[Xperia Z1 Android Development] DjTony90:
I don't see any difference in focus mate
[Xperia Z1 Android Development] Efe64:
Nice to see you again krabappel :)
[Xperia Z1 Android Development] guddu2011:
fix for C6902

it has to be flashed RIGHT AFTER FLASHING ROM IN CMW/TWRP
[Xperia Z1 Android Development] POWER1FM:
Why i get a status 7 and aboard when i try to flash?
[Xperia Z1 Android Development] dagrim1:
Actually having the same issue, but with RomAur 3.0...

Camera doesn't focus at all and trying to take a shot anyway locks things up.... The viewfinder is still working but the shot is never taken and softbuttons are gone. Can only exit by pressing the power button to put the phone to sleep and waking it again.

Going to do every step again and see if I can pinpoint where it goes wrong...

*edit*

Same steps with this rom work fine... Camera with focus. Seems to be a RomAur issue for me. Perhaps one of the customization steps there...
[Xperia Z1 Android Development] guddu2011:
Can anyone confirm that Timeshift burst is having issues saving pictures most of the times.
[Xperia Z1 Android Development] krabappel2548:
I also don't have issues with camera.

Some for camera and a few performance tweaks :p
[Xperia Z1 Android Development] andymg350:
Never mind realised I missed the step of reflashing .257 kernel after flashing rom
[Xperia Z1 Android Development] POWER1FM:
I don't see any improvement at all its luggy for me like the 534 commercial and journalist. I am going back to Europe 534 and waiting for the official update. Battery life is not good for me to.

After full wipe everything is fine!!!!!
[Xperia Z1 Android Development] dagrim1:
Really? No issues here... What os the difference between commercial/journalist and 'wwe or europe' anyway?
[Xperia Z1 Android Development] DAddYE:
Does someone have a mirror of Z1-14.1.G.2.257-deodexed-tweaked.zip ? Is like 4 hours and I'm stick to 26% :rolleyes:
[Xperia Z1 Android Development] marc_ecko28:
Thanks!

Installed and No problem so far.

Cheers!
[Xperia Z1 Android Development] andymg350:
Its running quite well on my Z1. it was like you said, and my WiFi wouldn't activate but then i realised i was missing the step of flashing the .257 kernel after i had flashed the ROM and now it works fine.
[Xperia Z1 Android Development] y2grae:
Having problems when I flash the kernel.

have tried via flashtool doing:

1)just kernel from the standalone dl post

and also

2) kernel and baseband from full .257 tft

both leave me with a sony logo and no action :(
[Xperia Z1 Android Development] guddu2011:
C6902 or C6903?
[Xperia Z1 Android Development] y2grae:
c903
[Xperia Z1 Android Development] amintox:
aren't you going to update the xperia z rom ? everyone is busy with XZ1 now pfff
[Xperia Z1 Android Development] krabappel2548:
I released the Locked bootloader recovery update today, check the thread :)
[Xperia Z1 Android Development] y2grae:
can someone screenshot what they are flashing for the kernel please on flashtool?

This is my undoing :(
[Xperia Z1 Android Development] B1nny:
I'd say like this. See attachment.
[Xperia Z1 Android Development] y2grae:
cheers,

its what i have been doing, but with the .257 kernel of course ;)

could you scroll down and do 2nd screenshot so i can see all the ticks if not too much trouble?
[Xperia Z1 Android Development] B1nny:
Sure no problem.
[Xperia Z1 Android Development] y2grae:
will give that one more go with the .257 ftf and this rom

edit:

seems to be working now :)

thank you for that. although I swear I tried it before
[Xperia Z1 Android Development] Efe64:
Why is my phone lagging and crashing with .257 firmware?

Its unlocked, also tried everything.

Its lagging when playing with volume, phone freezes when trying to lock it with lockscreen sound on. Data and Wifi also doesnt work. Wtf is this?

Its with every single .257 rom.
[Xperia Z1 Android Development] POWER1FM:
Can someone provide the update center that is missing from this rom?
[Xperia Z1 Android Development] marc_ecko28:
Flash .257 kernel