yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Android Development] coacoapuffs:
I was able to figure out my problem.

I had used Fastboot flash boot twrp.img instead of Fastboot flash recoverytwrp.img. This screwed up the boot sequence.

I was using boot instead of recovery since recovery was giving me an error "Command not allowed". So I was experimenting with ways to flash TWRP.

Looking around some more, I tried using Fastboot flash erase recovery and then use Fastboot flash recovery twrp.img. Erasing it first allows TWRP flashed without problem. Flashing RR after and TWRP stayed.

To recap, the full procedure I used is below:

1. Flashtool to flash an Android 5.1.1 stock rom. I used C6903_14.6.A.1.236_1276. (obtained through Flashtool, Xperifirm) Phone has to run in 5.1.1 for the SIM and IMEI to work in RR.

2. Fastboot flash erase recovery

3. Fastboot flash recovery twrp.img

4. Follow instructions to flash RR normally. Full wipe, factory reset, flash rom.

5. Resize system partition size (for flashing GAPPS micro size or larger).

6. Flash GAPPS. Wipe cache/dalvic.

7. First boot into RR

8. Go back into recovery and flash su addon from Lineage's website to allow root for apps and ADB.

So far everything is booting up and working normally. Will have to run it a few days to see how everything is.
[Xperia Z1 Android Development] odiad:
hello coacoapuffs,

I tried follow your instruction. Last step, flashing su addon does not work because phone does not boot into recovery. I tried via reboot menu, and also with switching off and pressing volume down. Both didn't work. Do you have any idea what is wrong ?

Greetings Odiad
[Xperia Z1 Android Development] coacoapuffs:
Hi Odiad,

The only thing that I can think of is if you used "Fastboot flash boot twrp.img" instead of "Fastboot flash recovery twrp.img"

Make sure u use Fastboot flash recovery twrp.img

Did you full wipe and factory reset before flashing RR?
[Xperia Z1 Android Development] odiad:
Hi coacoapuffs,,

I came from Android 5.1 rooted, had an older twrp, and flashed first via recovery twrp 3.0.2. After that I did a full wipe and flashed this ROM and gapps. But after flashing I can't go to recovery.

By the way, I had each day at least one time problems with my touchscreen. It does not react, and I need to rev boot. A bit annoying.

When I flash now twrp again will this kill my installation of the ROM?

Greetins odiad
[Xperia Z1 Android Development] slavik0077:
Сyclic reboot after installation

Did everything as described in the manual, but the phone after the logo sony is reboots.

How to solve it?
[Xperia Z1 Android Development] coacoapuffs:
Hi odiad,

Sorry for my late reply. Did u ever get it sorted out? Flashing TWRP again shouldnt kill your ROM since that's how TWRP was supposed to be installed in the first place. But of course backup ur stuff before flashing just in case.

For your touchscreen issue, I encountered the same thing. The touchscreen does not respond on the first RR boot on the very first google screen. I had to do a reboot for that screen to respond. It was only a first boot incident for me. I've been on RR for a week now and didnt encounter any other problems.

---------- Post added at 01:59 AM ---------- Previous post was at 01:54 AM ----------

Use Flasthtool to get back to stock rom.

Verify the checksum of the RR and GAPPs files.

I am not that experienced but that's the only 2 pieces of advice I can give.
[Xperia Z1 Android Development] Miracle1980:
Hi guys, I’m coming from a very old build of Cyanogenmod. It has still Android 4.4.4! Can I just flash the newer recovery (via the actual one) and then just flash/install this rom?

Thanks
[Xperia Z1 Android Development] fribriz:
My opinion, better to flash boot.img (extract from the rom) and twrp.img via fastboot/flashtool. This reboots the phone directly into the new TWRP - of course make sure you have all the needed zips in the sd card first.
[Xperia Z1 Android Development] Patters04:
Fully unroot???

Hi, is it possible to fully unroot the new RR 5.8.5 Version, cause some apps detect the inbuild root and cause of that they wont run. Any suggestions? :D
[Xperia Z1 Android Development] fribriz:
There is a unsu.zip somewhere. Flash that and then Magisk with Magisk Hide. Worked for me.
[Xperia Z1 Android Development] ma7moud3bdoo:
Dose it work on C6902 :confused:
[Xperia Z1 Android Development] AbduSharif20:
Yup, just make sure to flash C6902 modem files.
[Xperia Z1 Android Development] ma7moud3bdoo:
Can u please tell me how to install twrp recovery :D
[Xperia Z1 Android Development] AbduSharif20:
Search the forums or google for a better instructions, I use a risky way of installing TWRP so...
[Xperia Z1 Android Development] ma7moud3bdoo:
Ok thanks
[Xperia Z1 Android Development] heman96:
Use fastboot to install recovery
[Xperia Z1 Android Development] ma7moud3bdoo:
Can someone give me another download link for last update!!

---------- Post added at 04:08 AM ---------- Previous post was at 04:07 AM ----------

Can i install the latest version of twrp directly with the fastboot
[Xperia Z1 Android Development] heman96:
Yes you can!
[Xperia Z1 Android Development] fribriz:
"-Native Tap to Wake From Marshmallow"

How can this be enabled? This is my first RR rom on Z1. Thanks in advance

---------- Post added at 04:51 PM ---------- Previous post was at 04:50 PM ----------

Either via fastboot or flashtools (easier)
[Xperia Z1 Android Development] ma7moud3bdoo:
Done?! It's work
[Xperia Z1 Android Development] ma7moud3bdoo:
Fastboot
[Xperia Z1 Android Development] Nimrod-002:
hi, i have been using this rom for months i always had on issue on it, deleted files don't free up space until i restart the device and if the fil were deleted from the microsd card i have to repair it from windows to recover the deleted files and delete them again its a wierd and very annoying to deal with. please help
[Xperia Z1 Android Development] AbduSharif20:
Yeah it's a bad bug,the internal storage is not detected correctly if you've moved or deleted and/or added files unless you reboot.

As for SD card just unmount it and mount it again so the storage is detected correctly.

Unfortunately We maybe have to just do with this work around as this is the Final build of the RR Rom for nougat.
[Xperia Z1 Android Development] fribriz:
Thanks. Do you have the kernel to flash to enabble dt2w?
[Xperia Z1 Android Development] trunglevt:
A small question: Does this rom support native double tap to wake from marshmallow? I saw it in the features section. Tks.
[Xperia Z1 Android Development] Moncie:
I am on dstrikerZ1 KAI rom 5.1.1 14.6.A.1.236 custom Rom, to install this I only have to full wipe, system included, and then clean flash? Or I have to come back on stock Rom and then flash?
[Xperia Z1 Android Development] MIcHiJK:
No, you don't need to flash stock first. I've never done this and it worked everytime. But I recommend you to backup your dstrikter ROM. So you can go back if something will went wrong. Just try it out it should work you have nothing to lose.
[Xperia Z1 Android Development] Moncie:
I just tryed to flash it but i can't go to the recovery from the dstrikter. I flashed a new 3.0.2 twrp recovery via official app and via fastboot, but in both of case i can't go in recovery, neather via adb and fastboot or any app. it's seams like that the phone ignore Power+VolDow. I can go in fastboot but not in recovery, Can someone help me?
[Xperia Z1 Android Development] MIcHiJK:
Yes I know the problem. Download the latest advanced kernel. This kernel has an inbuilt TWRP Recovery. Flash the kernel IMG via Fastboot and boot directly to the recovery, wipe all and flash the ROM you want :).
[Xperia Z1 Android Development] Moncie:
i downloaded the zip from xda, i only have to flash via fastboot this file? or i have to falsh the entire zip? also i flash this with fastboot flash boot -name-?
[Xperia Z1 Android Development] MIcHiJK:
Yes just the IMG file from the zip.

Fastboot flash boot boot.img

Fastboot reboot.

Go directly to TWRP wipe all and flash rom
[Xperia Z1 Android Development] Moncie:
Now i hav flashed rr, and also here i can't go in recovery :crying:
[Xperia Z1 Android Development] MIcHiJK:
I think here you can flash the twrp IMG via Fastboot without problems. Not like in dstrikters ROM. Try it out.
[Xperia Z1 Android Development] Moncie:
now it works thank you very much :o:o, last things, for the gapp this is arm or arm64 i can't remeber.
[Xperia Z1 Android Development] MIcHiJK:
It's arm :)

Happy that I was able to help you. Have fun with ur upgraded Xperia :good:
[Xperia Z1 Android Development] Moncie:
Now I have an issue with the gapps arm 7.1 micro, when I try to install it it get me error 70, I tried to resize system but i get error 1 and I can't resize. I never had all this problem with Rom on z1 :(
[Xperia Z1 Android Development] MIcHiJK:
These errors say that your system partition is probably full.

I had this issues but just with a bigger gapps package. Try a smaller one or try to reflash the ROM and install the gapps package before reboot.

To the resizing issue I can't say something I never tried that.
[Xperia Z1 Android Development] chancex:
C6902 is working nicely, have update plan? to 8.x or security patch.
[Xperia Z1 Android Development] ozgrcvdr:
Hi my friend.u learn how to root z1 rr rom nougat? have got same problem?
[Xperia Z1 Android Development] mopide:
Hi,

I've got a strange issue with this ROM. the issue is on Carbon Nougat ROM too:

when I had just flashed ROM the white / colour balance was awful. there was too much red. gray colour witch one can see for example on XDA site turned PINK! :D

what happened? What am I doing wrong?

I've found temporary solution: just set red level to 88-90% and screen is almoust ok. maybe too much green. so I lowered the colour to 95%.

But I'd like to know better solution. just flash and play method :D can You help me? Help, the ROM experience is fantastic after this issue.

PS. the same problem do not exist on stock ROM, I've tried 2 versions of stock and both were OK. :)

// edit:

red = 90%

green = 95%

blue = 95%

this config is ideal!

if someone like more worm white 90-95% red would be OK :)

but how to turn it on for life :D
[Xperia Z1 Android Development] mopide:
Hi, I've just found info that Z1 could have 1 of 4 different screens :D

1) JDI 1 - AH-IPS

2) JDI 2 - VA

3) Sharp - VA

4) SAMSUNG - S-PLS

It seems I've got the third one. "default renesans 1080p video". I've just read that SHARP is only vendor using Renesans chips for Xperia Z1.

Is this the reason I need to configure colours manually?

Is it possible to fix problem somehow?
[Xperia Z1 Android Development] mopide:
Another Little bug. When I listen to music and pick up incoming call, after conversation ends the music plays only in right side.

But despite.. Superb ROM and I'm very happy to try and use Your ROM.
[Xperia Z1 Android Development] jimmysmart83:
can you give me modem files please ? i flashed rom and no network :(
[Xperia Z1 Android Development] Bo201202:
Feed Back

hello, thank you for the gr8 wrok, i'm having an issue after installing rom and it's working smoothly but i lost root access and recovery and it loops when i try to boot into it, please if any instructions or did i missed something please advice :)
[Xperia Z1 Android Development] heman96:
Flash magisk and for root keep pressing volume up button during the boot screen

---------- Post added at 09:40 AM ---------- Previous post was at 09:38 AM ----------

Google it
[Xperia Z1 Android Development] ntnamkg:
Check your private message.
[Xperia Z1 Android Development] Bo201202:
Following up Feed back >>

Everything is going very smoothly for everyday use "gr8 battery life" with only one thing "Wifi connected but no internet" and after a soft reboot it connects yet still it disconnects again after putting the phone to sleep and so on, any thoughts on that issue?!

installation tips i'v faced and couldn't search all 90 pages for answers, so making the most of this replay for others .. :)

- only Pico ARM 7.1 Gapps worked for me every other one gave me error not enough space in system partition " I'v tried them all "

- after installation i lost twrp recovery and reflashed it via adb then flashed Magisk.zip from it to regain root.
[Xperia Z1 Android Development] iskot:
help i want to downgrade to .236 but i cnt flash the firmware via flashtool can someone tell me how to downgrade from nougat to lollipop? thnks
[Xperia Z1 Android Development] heman96:
Use sony emma tool
[Xperia Z1 Android Development] ozgrcvdr:
Thanks for shared.i install rom and gapps no problem.i want to install dolby atmos for low sounds but i stay bootloop.later i flash rom again with 4 wipe okey and when i flash gapps it.gapps install error.i reboot phone okey but i cant install gapps.no root no twrp.i cant rooted anyway?without root i cant install twrp.i try kingroot,kingoroot,towelroot,newroot apk but i never install root.what can i do?i try root with computer kingoroot and newroot but failed.pls help anybody

Edit:i back lp with flashtool firmware.i rooted kingo root and i install twrp.now no problem
[Xperia Z1 Android Development] boyskull98:
hi [MENTION=5982915]CodeZero[/MENTION]

first sorry for my weird english and potato skill but i have some serious problem when flashing this rom

1. I tried to flash it via TWRP (xzdualrecovery) but TWRP tell me that my device is tianchi not honami and it stopped immediately? i'm pretty sure that my device is Z1 c6902. I access to TWRP and connect my device to PC and my pc tell me that my device is Xperia T2 Ultra Dual xDDDDD but when i flash stock rom and my pc spotted it as a Z1 (lmao) idk what happened to my phone.

2. I deleted the first line in META-INF\com\google\android\updater-script (assert line) and tried to flash it again (i do 4 wipe too) and it run well but when it finish i restart my phone and get a bootloop?

I unlocked my bootloader (forgot to backing up my TA partition so i lost my DRM Key too xDDD)
[Xperia Z1 Android Development] kwasior500:
Tried?
[Xperia Z1 Android Development] boyskull98:
i have no problem with root and twrp but i can't access cwm and philztouch recovery (black screen)
[Xperia Z1 Android Development] kwasior500:
fastboot flash boot twrp.img

fastboot flash recovery twrp.img

try flash rom
[Xperia Z1 Android Development] xusso:
Hello everyone, I need help.

After a couple of boot loops trying to install this ROM and after reading through all the pages and posts, i decided to ask for help.

I was using Dstrikers's Kai ROM on my C6903 with Dual Recovery and all was good until I decided to upgrade to this one.

For some reason I couldn't upgrade my version of TWRP, went ahead anyway and used the Philz to install this.

After following all procedures and wipes formats and cleans, I rebooted and that's when the problem started.

It wouldn't boot and screen turned black (soft brick).

I had to use Companion to revert to stock.

After a few tries, I wasn't able to install this Rom, no matter what, getting a new PC in the meantime also didn't help since I lost all my files along with the fastboot drivers.

Can anyone help me out with a tutorial?

Do I need to downgrade from stock 14.6.A.1.236?

Which version of Kingroot do I need to use in order to instal SuperSU?

Lots of questions here, sorry in advance to sound like a total noob, it's been a while since I flashed anything!
[Xperia Z1 Android Development] xusso:
Okay, finally managed to do it.

The bootloader was at fault, since it got mysteriously locked!

Unlocked, flashed everything and now I'm starting to enjoy RR!
[Xperia Z1 Android Development] BlueTR:
Anyone having weird network mode switches? I use my phone in 3g/gsm auto but I keep seeing lte icon on status bar and it drops to H when there is not activity. It's not a visual bug, I typed *#*#4636*#*# and it says network mode is lte but after no activity it becomes hsdpa.
[Xperia Z1 Android Development] Tomiex7:
Is it possible to get MHL working with this rom?

Great rom btw, really spead up my phone, great customizations and extras, great battery life too. Cheers!
[Xperia Z1 Android Development] kiruba Developer:
Yes, i use for daily driver it is beta version but its works very smooth and stable

Bugs only the video recording audio is very slight but it does't a huge bug

and wonderfull on this ROM is better battery life and camera focus / clearlity

I preferred to use a daily driver
[Xperia Z1 Android Development] ventil00:
Hello 5Ghz band not works can anyone help
[Xperia Z1 Android Development] Dragoon2004:
I installed your Custom Rom and all works fine, except 3 smale problems. I hope, you guys can help me with that.

1. I can only activat Root 4 ADB, but i wan't full Root Access. How can i get this? The Devloper Option only shows Deactivate or Root for ADB....

2. If i try to Access my SD card from the File Browser, i got the Error "you need higher permission 4 that. Try to activate Root" (what i want, but not can).

If i use the Document App, than i can access the SD card without any problem.

3. My SD card have a strage Name. It's Called ^J</devices> instead of SD Card...

I have done a full wipe, Factory reset, and even a fresh Dual Recovery install bevor using the Custom Rom. Oh and sure, Bootloader is unlocked :)

I really hope, you guys can Help me. and Sorry 4 bad english.
[Xperia Z1 Android Development] Samcode:
For the root issue that's very easy step is by flashing the magisk zip file https://github.com/topjohnwu/Magisk/releases/download/v17.1/Magisk-v17.1.zip through your custom recovery, and if the magisk app was not listed in your phone after flashing then install magisk manager app https://github.com/topjohnwu/Magisk/releases/download/manager-v6.0.1/MagiskManager-v6.0.1.apk.
[Xperia Z1 Android Development] aldemar0521:
Awesome!!!!

First off, a big thank you for this awesome work... This is a stable rom, my phone runs smooth, camera working, networks, battery and all important things working fine... Keep doing amazing things, thank you. :D
[Xperia Z1 Android Development] vincent-h:
[MENTION=276371]xusso[/MENTION]

I know you did this back in August of 2018. But I recently dug out my Xperia z1 as well that was on dbz and soft bricked it into getting only to the Sony Logo after trying to update TWRP as well. NExt steps I will follow is likely to use sony recovery to go back to stock.

Could you outline the steps I'll need to do now from stock to get this recovery onto my phone?

Thanks,

Vincent

---------- Post added at 03:29 PM ---------- Previous post was at 03:28 PM ----------

[MENTION=276371]xusso[/MENTION]

I know you did this back in August of 2018. But I recently dug out my Xperia z1 as well that was on dbz and soft bricked it into getting only to the Sony Logo after trying to update TWRP as well. NExt steps I will follow is likely to use sony recovery to go back to stock.

Could you outline the steps I'll need to do now from stock to get this recovery onto my phone?

Thanks,

Vincent
[Xperia Z1 Android Development] xusso:
[MENTION=235304]vincent[/MENTION]

Sorry for the late answer.

There was a bug with TWRP update on Z1.

What I did was, use the Sony companion to revert back to stock.

After that I did the normal process of downgrading, installing recovery and reinstalled remix from there.

Hope it helps, good luck!
[Xperia Z1 Android Development] helpplease123:
I flashed this, used for a loong while and now I notice I can't access TWRP recovery ever! Nothing works, not even the Official twrp app, not even the volume down combo, not even using adb commands and not even reflashing twrp.img works! It always skips into the boot logo whenever I try to boot into recovery!

Damn, my fault for not reading the last posts that TWRP is bugged. Should have at least stickied it on the front page though
[Xperia Z1 Android Development] Jean_herce:
If u have access to Root, install the APP of TWRP, Flash of img, and ready, TWRP is back to phone, actually i used RR rom :)
[Xperia Z1 Android Development] helpplease123:
That didnt work. Im encountering a brand new problem now though after regaining access to TWRP. I flashed a stock FTF from Xperifirm and flashed a new TWRP. I can access it but it wont let me flash anything. It says this device is . whenever I flash a rom. I think it can't detect the phone.
[Xperia Z1 Android Development] Samcode:
what it says when you try to flash something through it, ( i suggest to Flash the latest magisk zip through it, then let me know what happens).
[Xperia Z1 Android Development] hes94:
hello guys

i recently instal this rom on my phone and everythin is fine but now the ring speaker not working. any solution?
[Xperia Z1 Android Development] CodeZero:
You can try that workaround check 3rd post and yes it supports 3d touch you can try and let me know
[Xperia Z1 Android Development] gile78-gaga89:
z1

I removed all versions of rom and none of them would like to

how many files need to take off to rom was ok?????

other versions are ok
[Xperia Z1 Android Development] CodeZero:
What variant? Yoy own ? Chck the instructions part and follow it properly most imp check that zip file is not corrupted
[Xperia Z1 Android Development] CodeZero:
Can you please explain me your issue in detailed and what exactly you did? Did you follow the instructions part properly ?
[Xperia Z1 Android Development] gile78-gaga89:
z1

I followed the instructions detailed installation pass ok but the phone falls into bootlop

I installed a few times and each time the same happens

1.wipe factory reset

advance vipe;

1.dalvik art cache

2.system

3.cache

4.data

I installed;

1.rom

2.gapps

3.modem-4.01zip

where the error???

---------- Post added at 02:38 PM ---------- Previous post was at 02:27 PM ----------

When I say that this is a bad rom after 4 installations

not after the first installation attempt
[Xperia Z1 Android Development] acidrums4:
Again... This ROM is not bad. You're the only one having such trouble.

Make sure the file you've downloaded is not corrupted (via the MD5 sum).
[Xperia Z1 Android Development] gile78-gaga89:
z1

I took off across all servers rom always the same, and this is not the fault only with me but still at a couple of them.

post a link where you can download the correct version

I say that only this rom does not work like the rest of nougat
[Xperia Z1 Android Development] Okguy:
C6903 need no Modem zip to Flash ?
[Xperia Z1 Android Development] K.Raptor:
my phone model is

c6903

and there is another thing after i 've flashed the gapps the camera is forcing closing !!
[Xperia Z1 Android Development] markakash:
[MENTION=2460583]gile78-gaga89[/MENTION] lol dude show some respect toward the DEV [MENTION=5982915]CodeZero[/MENTION]! He is doing this for free and doesnt own anything to anyone. If u have bootloops or whatever post logs. He cannont simply smell ur issue!! If u help him he can help u out!

Regards,

Akash
[Xperia Z1 Android Development] feb8born:
Just reboot the phone (maximum 2-3 times) and camera will work.
[Xperia Z1 Android Development] gile78-gaga89:
z1

ok I understand everything, but I just wanted to say that the problem with that bootlop,phone is a brick be not included in receovery receives a dead phone this is not happening to me only

I do not see what is wrong if you say what is the problem
[Xperia Z1 Android Development] PRINCE PRAHLAD:
C6902 Indian variant.

as followed your instructions but not work...
[Xperia Z1 Android Development] K.Raptor:
yes what's about the mobile data!?

doesn't working for me ?!

C6903
[Xperia Z1 Android Development] gile78-gaga89:
z1

with which the kernel rom works best?:)

which versions of the kernel are the best for this rom?
[Xperia Z1 Android Development] husky69:
Did a clean install of RR-5.8.0-2601213-honami on my C6903, went smoothly, no error with installing openGapps 7.1 nor with SuperSu 2.79.

So far everything seems to work like a charm, except for the camere - no matter which app I use, I never get a preview nor a picture, because all camera apps crash immediately.

Anyone else facing this problem?

Any suggestions how to solve?

What info would be needed to allow for better helping?
[Xperia Z1 Android Development] feb8born:
I have the same issue and rebooting the phone (maximum) 2-3 times solves the issue and the camera starts functioning. Hope this helps.