yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Android Development] sruba209:
Hi [MENTION=4120742]munjeni[/MENTION] ur tool worked like a charm on my c6902. But i hv a question.if i unroot using ur tool what will happen to recovery?? Will is stay with cwm or stock recovery comes back

Sent from my C6902
[Xperia Z1 Android Development] mindoz:
Received today notification of new firmware update,from 108 to 157, only 5mb update. I Will loose root obtained with newroot?
[Xperia Z1 Android Development] BlechMann:
I recieved this one too... I have 108 running with dualrecovery on unlocked bl and rootd by newroot. So trying ota resulted in "could not be varified" error. Now ... Who can tell me what to do to update by ota??! Uninstall recovery or unroot??! And how to obtain root rights again ??!

Thx
[Xperia Z1 Android Development] munjeni:
Put your ota package here?
[Xperia Z1 Android Development] BlechMann:
The package downloaded by sony update center ?? How?? And why ?! I just like to be able to install it .
[Xperia Z1 Android Development] voryzen:
So that we can work out how to install it.. Obviously

It will download to a temp folder in your internal storage, maybe something under 'update center' or the like..

Have a look around and see what you can find then upload out to mega and post the link here
[Xperia Z1 Android Development] rvjaywaks:
z1 please with 157 please
[Xperia Z1 Android Development] munjeni:
No! I thinked it was ota received in your phone trought softvare update in settings menu. If somebody have these package plese upload!
[Xperia Z1 Android Development] BlechMann:
Do you know to where the package is gettin downloaded?? I cant find it in filebrowser...

Edit :

PCC doesnt find Updates for my phone... Why????!
[Xperia Z1 Android Development] mindoz:
If you tell me where to see in my phone I Will share it [emoji17]

---------- Post added at 10:37 AM ---------- Previous post was at 09:56 AM ----------

Should be this one. Update. 157 from. 108. Only 5mb. Impossible tuo update automatically cause "not verified"

https://mega.co.nz/#!45IlVSoQ!p8KHFoFn87zNhvPkkjrJYgcHwUCECo380exI7vQfbZY
[Xperia Z1 Android Development] kulvertti:
Root doesn't matter. Remove recovery and possible system modifications.
[Xperia Z1 Android Development] marcooleo:
After updating to the latest firmware via PC-Companion from 14.4.A.0.108 to 14.4.A.0.157 i can confirm that this tool Newroot does not work and i lost root.
[Xperia Z1 Android Development] munjeni:
Yes since Toweroot exploit is patched in newer kernels! You can root after installing kernel from .108, than root, than install kernel from .157
[Xperia Z1 Android Development] munjeni:
I am unable to download, getting message "temporary error, retrying"... have imported to my cloud drive getting message "temporary error, retrying"... please upload package here http://d-h.st
[Xperia Z1 Android Development] munjeni:
Since PCC triger update only when update is "whole" rom which is with size of the ~1gb, so small updates is allways trigered by software update in settings. I never received any fota update on my phone, I will be glad to analyse these file if possible! Do you can share your build.prop?
[Xperia Z1 Android Development] marcooleo:
How do you mean by root after installing kernel, how do i only install the kernel? I don´t want to lose any data on my phone now. Can you update the Newroot program so it supports .157 aswell?
[Xperia Z1 Android Development] mindoz:
Re-uploaded and only renamed .zip here https://mega.co.nz/#!V8AwAQxQ!N2mBJbOLfk-BK3pMWbH6LJKOedTIy6httdRCt9bxjT8
[Xperia Z1 Android Development] munjeni:
There is no know root exploit for newer kernels! You can use kernel 108 from here http://xdaforums.com/showpost.php?p=56505982&postcount=191 , use flashtool and flash only kernel, than root your phone and reflash back kernel 157
[Xperia Z1 Android Development] mindoz:
Re-uploaded and simply renamed .zip here https://mega.co.nz/#!V8AwAQxQ!N2mBJbOLfk-BK3pMWbH6LJKOedTIy6httdRCt9bxjT8
[Xperia Z1 Android Development] munjeni:
Do you know what is the file extension of the these file and in which folder you found these file? Allso please give me your build.prop if possible! Thanks man!
[Xperia Z1 Android Development] marcooleo:
Can you do a step by step instruction how to do this? I need root and i am afraid to lose data, and i have no idea how to do this without instructions.
[Xperia Z1 Android Development] munjeni:
These question you can ask in general section, for example there is a lot of posts regading similar method for rooting old kernels with newer kernel, for example this post -> http://xdaforums.com/showthread.php?t=2505938 , sorry! When I receive update I will repack this post and give more info how to root them!
[Xperia Z1 Android Development] mindoz:
Here build.prop always renamed. Zip https://mega.co.nz/#!h4IT0bwC!_7xCawn8P3AaVY907LK8clbzSofoDx9TPpsgXkmKAw8

And here original position of update package, no extension I see
[Xperia Z1 Android Development] marcooleo:
Nono i want my stock firmware untoched. I will wait for a updated tool for one-click rooting. This situation sucks, i should not have updated.
[Xperia Z1 Android Development] munjeni:
New root exploit will be probably not soon...
[Xperia Z1 Android Development] marcooleo:
Ok, then i will stay unrooted or go back to .108, i did a whole system backup via PCC, but maybe not possible to restore when i have this new firmware installed?
[Xperia Z1 Android Development] evilc1:
Hi munjeni,

Is there anyway twrp could be used instead of cwm.

Thanks,
[Xperia Z1 Android Development] papperlapapp:
Hi Munjeni!

Do I understand right, your newroot does not work with 14.4.A.0.157 ?

I currently have rooted 14.4.A.0.108 on my Z1, what do you think, will root survive update to 14.4.A.0.157?

Someone sad he still had root after update...

EDIT: after FOTA updating to 14.4.A.0.157 root still is there! In SuperSU I activated the survival mode before updating.

Thanks you!
[Xperia Z1 Android Development] voryzen:
That's awesome to know. Thank you
[Xperia Z1 Android Development] BlechMann:
Hi! Still need my build.prop?? Just tell me where to upload!!

Is there Anyone Who can confirm surviving root by fota update?
[Xperia Z1 Android Development] mindoz:
I would update by fota to 157 But update center told me that's Impossible to verify download so I can't
[Xperia Z1 Android Development] munjeni:
you can replace recovery.munjeni.gz which is in /system/bin folder, if these twrp not working after that probably it is in diferent format, decompile my recovery and analyse by self or modify chargemon script... :)
[Xperia Z1 Android Development] benzo:
I can confirm that, activating the "survival mode" in SuperSU before FOTA updating, I kept root permissions.
[Xperia Z1 Android Development] Giozer:
Hello.

I have a Sony Xperia Z1 KK, I did the root with Newroot.

If I understand correctly you have activated the "survival mode" with SuperSU (Chainfire).

Since having made the root with newroot I have Superuser, Superuser should I replace with SuperSU to keep the root with the update (which I have not yet received)?

How can I change Superuser with SuperSU?

thanks
[Xperia Z1 Android Development] evilc1:
No luck in getting twrp to work pity because the full touch screen is easier, also noticed unable to set the time /date in this cwm? I am in Australia (UTC +10) .

Thanks
[Xperia Z1 Android Development] marcooleo:
Ok, i have lost root since the last update .157. I wonder if i can go back to .108 with PC-Companion? I have done a backup of the whole system with PCC before, so i have the old .108 .dbk backupfile on my PC. Is it possible to revert back to .108 using PCC and chosing my older .108 backup and then use Newroot again , or will i screw up my phone?
[Xperia Z1 Android Development] voryzen:
Marcooleo,

(seeing as you never mentioned it)

If your phone is a Z1 Compact then..

Download the 108 and 157 kernel ftf files from the following post

http://xdaforums.com/showthread.php?p=56505982

Then..

1. Use flash tool and flash 108 kernel

2. Use newroot and root your phone

3. Use flash tool and flash the 157 kernel

You won't need to touch PC companion and your phone will be rooted

SuperSU has an option in its settings for uninstalling other superuser apps

1. Open SuperSU

2. Swipe to settings

3. Scroll down to 'switch superuser app'

(it's under the cleanup heading)

You can install SuperSU from the play store and follow the steps above.
[Xperia Z1 Android Development] marcooleo:
No, it is not a Z1C, a Z1 (6903). Can i use the method you described, or is it possible to use PCC, to go back? Is PCC like a flashing tool? As mentioned i have a whole systemcopy of 14.4.A.0.108 on my PC.
[Xperia Z1 Android Development] voryzen:
You can use this method, just not the files I've provided.

I'll work on some kernel files tomorrow for the C6903 and I'll post them here for you.

If you use your backup it will wipe everything you have now and put u back to 108, which will be very counter productive for yourself
[Xperia Z1 Android Development] Emrul:
Hi Bro, above kernel (.108, .157) will work with C6902 ? I lost root after updated to .157. :(
[Xperia Z1 Android Development] marcooleo:
Ok now i am using PCC to restore old backup, have been stuck at 50% for 30 minutes now, does not look promising...i hope my device will not be softbricked.
[Xperia Z1 Android Development] voryzen:
To be honest, probably not.

They are for the Z1 Compact but it's well known that the Z1C is pretty much similar to the Z1 in every way besides size.

If you wanted to test it, I'd really appreciate it but you may do some serious damage to your phone.

If not, I'm currently working on a kernel only ftf for the C6903..

or (your only real option, imo) if you've got the complete firmware for 108 and 157 you can use flashtool and flash the kernel only..

I can put together a little tutorial if I wanted to try the last option and you have the files that you need
[Xperia Z1 Android Development] marcooleo:
Still i am stuck at 50%. What happens if i cancel the process? Will my phone get bricked? Usually it takes maximum 20 minutes to restore a backup via PCC for me, now soon one hour on 50%, nothing happens. Anyone know why, and should i wait more time before cancelling?
[Xperia Z1 Android Development] Emrul:
Bro, thx for quick response. I do have .108 fw. But .157 I have to download. Will appreciate if you work on C6902. :)
[Xperia Z1 Android Development] marcooleo:
I cancelled the PCC-restore. Now i will do a clean install via PCC, and then with PCC try to restore old .108 backup again. I will post a update later about this progress.
[Xperia Z1 Android Development] voryzen:
marcooleo,

it's not all bad, at least we know that the method you tried doesn't work.

you've probably saved someone else a big headache if they are fortunate enough to read this.

now..

download flashtool, the 157 firmware, and the kernel only files that I've uploaded to mega and posted in my post on the original thread and be on your way to having a rooted phone.

gl mate

I've uploaded the kernel for C6903 (it was requested first).. could you help me out and test it to see if the kernel works with your phone? Just keep in mind that it may not work and may damage your phone.. but if you're willing to experiment with this, it would be very much appreciated

If you don't want to, it's no big deal.. just thought I'd ask
[Xperia Z1 Android Development] marcooleo:
Thanks again voryzen. I will do the last step now to try restore a old backup with PCC after a fresh install of .157. If it also fails i will use the method you described. One question, if i do this you describe, will i loose the warranty of my phone, and will PCC work for me after that? If not i am not sure how to do, maybe i will wait for a tool to root the .157.
[Xperia Z1 Android Development] BlechMann:
Same here... I have .108 running rooted by newroot and philz xzdualrecovery. Ended up in verification error. Then deleted dualrecovery as described in the threat. Just couldnt find the charger file mentioned there to delete. But reverted the other Stock files. Then unrooted, rooted again and changed to supersu pro... Uninstalled xposed framework and trickstermod. Still verification error.

Anyone knows whats missing ???
[Xperia Z1 Android Development] marcooleo:
I can confirm that reverting back to 14.4.A.0.108 from latest 14.4.A.0.157 does NOT work with PC-Companion! I had a chat with Sony support now and they said is not possible too. He send me this link: http://developer.sonymobile.com/unlockbootloader/

But the warranty will be void if unlocking the bootloader in my region (Sweden), and many other regions aswell.

So now i feel a little frustrated because i have lost my root, and i cannot use loads of apps i have payed for in the Play Store that requiering root previleges.

So i think the only way for me is to wait for a updated Newroot or another rooting tool. This really sucks now, running .157 without root is laggy and i cannot save anything to my SD-Card. :(
[Xperia Z1 Android Development] kulvertti:
[MENTION=2426139]BlechMann[/MENTION]

You may check if the answer is in logfile in folder \cache\recovery\fota. Someone report that he found out that way missing apk file and after puting it back he could update via ota.
[Xperia Z1 Android Development] BlechMann:
How to open these files? Total commander Texteditor wohnt do it...
[Xperia Z1 Android Development] tramp20:
The filename is Report and a plain text file.

Gesendet von meinem D5503
[Xperia Z1 Android Development] kulvertti:


As said it is tekst file I use Lonely Cat Games app called "X-plore" from playstore which can open them just fine as a textfile. Or perhaps rename them as textfile (whateverfile.txt). Or pull them to pc and use some texteditor and so on.
[Xperia Z1 Android Development] BlechMann:
Ok... Here are the results :

ERROR [2066] RedBend error: 0x8000013E, code = 0x13E (318)

Info [2083] Return value from RB_vRM_Update 0x8000013e

Info [2084] pCustomerPartData.updated = rest = -1

Info [2085] End of operation 1

ERROR [230] Redbend verify Error

ERROR [968] Error from ua_updater_start

Google tells ist abtut recovery... I think im missing somebody steps to getan back to Stock recovery. Any ideas ??! I really dont want to clean install :P

EDIT:

Is there any way to deactivate sony update service petmanently ???? So I would stay at 108 without this anoying update message...
[Xperia Z1 Android Development] voryzen:
[MENTION=2426139]BlechMann[/MENTION]

If you've paid for a titanium backup key.. You may be able to freeze sony update

[MENTION=5949502]marcooleo[/MENTION]

Everyone here has more than likely unlocked their bootloader.

Yes it does void the warranty, but you can relock the bootloader from flashtool, just make sure you backed up your DRM keys before unlocking your bootloader.

There is a truckload of information on this forum about that sort of stuff. Just have a look around and don't do anything brash until you've read all the instructions first and you've asked some questions (if they haven't already been answered)
[Xperia Z1 Android Development] Emrul:
Bro, I can't take risk right now. Sorry. Will be glad if let me know the tutorial for last option. :)
[Xperia Z1 Android Development] tramp20:
I found this in the report file:

u_ctx->action: 1 (VERIFY_ONLY)

rb_file_open[0]: //system/app/Chrome.odex file size: 4394912

rb_file_open[1]: //system/priv-app/Phonesky.odex file size: 4519928

rb_file_open[2]: //system/vendor/lib/libril-qc-qmi-1.so file size: 4594612

rb_file_open[3]: //system/app/Music2.odex file size: 4970488

rb_file_open[4]: //system/priv-app/SemcEmail.apk Could not stat file

And the missing semcemail.apk prevented the OTA update.

After copying this file to its place the update succeedded.

I have ignored he other error messages :(
[Xperia Z1 Android Development] mindoz:
Go to settings then app and search sony update program. Untick notification
[Xperia Z1 Android Development] BlechMann:
Didnt work... Notification still popped up. Freezing both update apps by titanium backup did the trick.

But now... Ive done the manual way:

Saved everything by titanium backup to my dropbox,

Clean installed 157 rom,

Flashed 108 kernel

Rooted

Flashed 157 kernel

Restored titanium backup

And DONE

Work for 1/2 an hour. There are ftf files kernel only 108 and 157 available in xda z1 section now. So its no big thing at all. My advice for all you guys here!

And thanks for all advice!
[Xperia Z1 Android Development] Omarod:
its work with z1 c6903 14.4.a.0.157
[Xperia Z1 Android Development] libor_m:
Hi, may you point me to the correct files pls? I do not want to download some modified and get my phone bricked. Thanks a lot.
[Xperia Z1 Android Development] BlechMann:
http://xdaforums.com/showthread.php?t=2933298

Here you go!
[Xperia Z1 Android Development] r100:
Edit: I should've read the description properly, this tool does not unlock the bootloader. So flashing a custom ROM is not going to work :) I revived the device using PC Companion's recovery function.
[Xperia Z1 Android Development] ARip Kenpachi:
I have did all the instructions.. And theres no more annoying notifications said could not verify.. But one thing concerns me.. I flash 108 kernel, then root using newroot, then root 157 kernel.. But when i check my phones, the build number still 108.. Is it right? Or am i missing something here? Btw, theres no more annoying notifications.. Thanx a lot
[Xperia Z1 Android Development] marcooleo:
I have used the method flashing kernel only from .157 to .108. The i used Newroot and rooted my phone. Then i flashed the .157 kernel. And after reboot i got the CWM recovery mode. Then i used the KitKat SD-card fixer app, but it failed....So i checked everything but then i see that busybox were not in the drawer, so i installed busybox lite from playstore and also checkroot. Installed busybox lite with success, and i start checkroot and it told me busybox were installed and root access granted. However, now i have lost the CWM-recovery, and still i cannot get my SD-card writable. Is there anything i can do to get back the CWM-recovery and also fix my SD-card writable? I have Rom Toolbox Pro installed and Titanium Backup pro, i am a little careful though i am not so familiar with those programs, so any ideas how to get back the CWM and also so i can make my SD-card writable is highly appreciated.
[Xperia Z1 Android Development] dazza888:
Hard bricked

Please help. I had the C6903_14.1.G.1.534_Telstra AU_1277-2878_R2A.ftf firmware installed and I tried the .108 kernel only flash. My bootloader is locked. After flashing the kernel it wouldn't turn on again. PC will only find an unrecognized USB device. I can't get back into flashmode or fastboot mode. After a long time on the charger it will have a red flashing light come on. I have tried the power and volume up. I have tried the little red reset button in sim flap. Flashtool will say devive is connected with USB debugging turned off but I can't power on device to turn it on. I am hoping someone can help me out as I don't think my device is under warranty.
[Xperia Z1 Android Development] dazza888:
Lucky for you

What can I do if pc companion will no longer recognise my device?
[Xperia Z1 Android Development] Crono88:
Meanwhile is there an easier way?
[Xperia Z1 Android Development] NexusGTS:
it doesnt work for me . The program says "it's not responding" and sets like that . I left the program about 10 min and nothing . Any solution? I have z1 c6903 with 4.4.4 and i have the drivers installed.
[Xperia Z1 Android Development] Thomas_BA:
Newroot only works for ROM .108 for .157 you need to flash a Kernel 108, root and re flash 157 Kernel.
[Xperia Z1 Android Development] Hebininja:
Hi,

I'm on 14.1.G.1.534, may I directly flash the ftf 14.4.A.0.108 with flashtool and then root with Newroot Tool?

Thank you for help
[Xperia Z1 Android Development] bogdan wst:
Yes, you can.
[Xperia Z1 Android Development] Rajaasim1980:
Is this method work on macbook?

its so difficult to find a root method that work on apple laptop
[Xperia Z1 Android Development] conny005:
No :)
[Xperia Z1 Android Development] NexusGTS:
I hope that this root method will be updated to work on lollipop .
[Xperia Z1 Android Development] ->---:
Would be great!
[Xperia Z1 Android Development] juanpirulo:
Yes you can with easyroot, inside the zip i think you will find an install.sh script to run on mac, also you can with the install.sh inside the dualrecovery ( choose option3 for non rooted device). Cheers
[Xperia Z1 Android Development] alex007600:
Pls This method for Android 5.0.2! D:
[Xperia Z1 Android Development] Giozer:
Hello.

I have a Xperia Z1 and I got access to Root with Newroot.

Currently I want install Lollipop without losing Root, making flash Lollipop + SuperSU + + Recovery in a single flashable zip (according to several threads on XDA).

Then I wipe data and wipe cache (as recommended), and then install the zip file from sdcard. With this procedure I get as a result only a factory restore, with root preserved, but dont get Lollipop. In fact, the installation of the zip file ends in 2-3 seconds and my Xperia restarts quickly (not the long time described in various thread).

I think that the recovery (CWM 6.4.0.7) installed with the Root does not work well. Or am I doing something wrong?

How can I fix ?.

Install a new recovey? What and how?

Thank you.
[Xperia Z1 Android Development] MrCatt:
Doesnt work for me ..

"error: only position independent executables (PIE) are supported."
[Xperia Z1 Android Development] juanpirulo:
Because the newroot is only working on .108 firmware. Cheers
[Xperia Z1 Android Development] KonTiki2000:
Hi folks, I would like to give it a try on my xperia z1 compact lollipop 5.1.1 (14.6.A.1.236) but I cannot find a way to get a boot.img for kitekat 108 and for my lollipop. I tried to extract it with flashtool following a guide on xda but when I try to flash it flashtool complains that it's not a boot.img ... Any help? Many thanks
[Xperia Z1 Android Development] steanne:
[MENTION=4120742]munjeni[/MENTION], can you check the linux link? i may have done something stupid to my z1c without backup. i do still have the 108 ftf to work from, but i remember your newroot being the only thing that actually worked on it.
[Xperia Z1 Android Development] :
There's a dev host link already
[Xperia Z1 Android Development] arkerio:
MEGA is Blocked in INDIA

You can use VPN to use MEGA :)
[Xperia Z1 Android Development] Duvel999:
@ munjeni :)

could you make a version for Linux?

I use Linux Mint 17, also got Wine installed.

I got Root, but not write permissons on kk 4.4.4...
[Xperia Z1 Android Development] codified:
Munjeni! Please come back to Z1C, we miss you :crying:
[Xperia Z1 Android Development] munjeni:
Linux version and instructions is now on first post! ;)
[Xperia Z1 Android Development] munjeni:
message removed
[Xperia Z1 Android Development] gematsu:
Great Work

Thanks man... Works perfect for me.....:good:
[Xperia Z1 Android Development] meghanath reddy:
awesome

awesome work bro

thax a lot
[Xperia Z1 Android Development] Techpenguin5:
bro don't quote entire op's its very intrusive

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

Thank you for this amazing tool very useful
[Xperia Z1 Android Development] Valforte:
Does it work in Locked Bootloader? Gives Write Access to /system? If so, it's everything I ever missed for this phone!
[Xperia Z1 Android Development] munjeni:
Hi, go back some pages back for your ansver. There is allso a picture for that! ;)
[Xperia Z1 Android Development] gregbradley:
Why would you need a root tool if you had an unlocked bootloader? Of course it's for locked bootloaders.
[Xperia Z1 Android Development] Rolandml:
Great able to root Sony xperia z1 so-01f..thanks so much
[Xperia Z1 Android Development] coolkoushik07:
Hi bro will this work on z1c too?
[Xperia Z1 Android Development] lavemetoo:
yeah, would be great. Also look for a quick and easy way to root my Z1C

Also: are there any adb drivers necessary?
[Xperia Z1 Android Development] f1ux:
Worked perfectly on my new Z1 running stock 4.4.2 . Many thanks!