yashsingh1/xdaforums huggingface dataset:
[Honor 4x Questions & Answers] st3205:
I used the original 6.1 version before.

No, I do not have a backup and I do not need it
[Honor 4x Questions & Answers] Kireto00:
I mean nandroid backup in twrp ..... What ur build number ?
[Honor 4x Questions & Answers] st3205:
Che2-L11 C185B505
[Honor 4x Questions & Answers] Kireto00:
u must unlock bootloader and change ur region to roll back...................... this region b505 dont have a roll package ......

do u ready to this step ??
[Honor 4x Questions & Answers] st3205:
bootloader is unlocked ......

Yes, there is no rollback file for my region, now what should I do?
[Honor 4x Questions & Answers] Kireto00:
can u send me ur facebook or whats app .... in private message to be easily contact to u ... because its a long things so if u want help send me ur facebook or whatsapp
[Honor 4x Questions & Answers] hassanjavaid8181:
Flash stock recovery via adb fastboot..

Then flash stock firmware via dload method..
[Honor 4x Questions & Answers] miststudent2011:
just flash twrp 3.1.1 from this thread

https://xdaforums.com/honor-4c/how-to/installing-p8lite-roms-honor-4c-t3617942

and later flash any p8 lite rom from the thread above through twrp.

you will get stock mm.

after that i will guide you how to downgrade.

any specific reason to downgrade to kk?
[Honor 4x Questions & Answers] st3205:
"and later flash any p8 lite rom from the thread above through twrp."

My phone is honor 4x. Is it for 4c?
[Honor 4x Questions & Answers] miststudent2011:
Is yours is kirin version or snapdragon version

You can flash 4x stock ROM through twrp.

Get the stock rom from carbontesla.com
[Honor 4x Questions & Answers] st3205:
kirin version

Please give me a link
[Honor 4x Questions & Answers] Kireto00:
This is the link of ur c185b505

https://cloud.mail.ru/public/ECrT/xbb4kJ95Y
[Honor 4x Questions & Answers] miststudent2011:
Here have it.

http://www.carbontesla.com/firmware...-ota-collection/huawei-honor-4x-firmware-ota/
[Honor 4x Questions & Answers] Kireto00:
U will not find b505 on the whole internet only this link that i give is b505 ....
[Honor 4x Questions & Answers] miststudent2011:
OK no issues does it have meta inf folder ?
[Honor 4x Questions & Answers] Kireto00:
really i dont know if it have meta cause i am not uploded it and my version is b505 but i wasnt downloaded from this ..... case it was founded on internet on about 2 years ago but now it is removed so this is only link that u can found so i dont know but if now ..... he can zip the update.app with this link it will work too ....

and this will make there were update.app and meta.inf together .....

http://www.mediafire.com/file/w9ms2fh8fr0atxi/updateappflasher.zip

---------- Post added at 11:50 AM ---------- Previous post was at 11:30 AM ----------

and if not have meta.inf ... he can do force update by ( power and vol + and vol - )

and this will work and easily cause its the same frimware
[Honor 4x Questions & Answers] st3205:
Thankful

Do I install this ROM with twrp? Like other custom ROMs?

What is meta inf then? What do I need to do?
[Honor 4x Questions & Answers] Kireto00:
after doownload open zip with pc and screenshot what folders is inside it and put it them here then i will tell u ..... i mean put the screenshot here
[Honor 4x Questions & Answers] miststudent2011:
Force update may or may not work as he has currently twrp installed.

He had to do update through adb

If the file doesn't contain meta inf
[Honor 4x Questions & Answers] Kireto00:
in this version i tried before to do force update and i was having twrp and worked with me .....
[Honor 4x Questions & Answers] st3205:
http://www.upsara.com/images/o7q1_capture.jpg

Inside the dload folder is the update.app file
[Honor 4x Questions & Answers] miststudent2011:
Of there is on meta inf folder.

Try force update.
[Honor 4x Questions & Answers] Kireto00:
yes try force update by put dload folder in ur sd card then turn off the device then click power and vol - and vol + all together and let it continue
[Honor 4x Questions & Answers] st3205:
Thank you very much for helping me [MENTION=8225151]Kireto00[/MENTION] [MENTION=7773372]miststudent2011[/MENTION]. My problem was fixed.

I had another question

With this method, can I install Android 5 or 4?

And how do I root the Android 6 now?
[Honor 4x Questions & Answers] miststudent2011:
You can install Android 5 through twrp but 4 you cant through twrp.

You need to use adb commands.

To root use magisk module through twrp search xda you will find it.
[Honor 4x Questions & Answers] st3205:
When I connect the phone to a computer with a usb cable, nothing happens and the phone only charges.

There are no options on the phone, and usb debuging is also active
[Honor 4x Questions & Answers] miststudent2011:
Is your phone is switch on or off?

Did you install drivers.
[Honor 4x Questions & Answers] st3205:
Yes, I turned the phone on and off

I installed the phone driver
[Honor 4x Questions & Answers] Kireto00:
get to developer option and click on usb debugging and try it again and try on another pc
[Honor 4x Questions & Answers] miststudent2011:
What does adb devices;

Command say?
[Honor 4x Questions & Answers] st3205:
The problem with usb cable was solved.

I want to install twrp

I do not recognize the phone when I place the adb devices command

http://www.upsara.com/images/jzr_capture.jpg

I already unlocked the boot loader

The driver is installed

USB Debugging is also active

adb installed

I've already installed twrp, but now I do not know why
[Honor 4x Questions & Answers] miststudent2011:
Cant see the image upload to imgur or xda attach
[Honor 4x Questions & Answers] miststudent2011:
Did you approve RSA key prompt ?

Also install huawei backup tool in PC it will install all the required drivers
[Honor 4x Questions & Answers] st3205:
The problem with the installation of the new version of adb driver was fixed

Thankful
[Honor 4x Questions & Answers] Kireto00:
see ur private message pls and send what i want in private message too
[Sony Xperia XA1 Ultra Accessories] NeonBlossom:
Hi folks I was wondering if the XA1 ultra support stylus? And in case it do, which one should I choose? Thanks in advance.
[Sony Xperia XA1 Ultra Accessories] remiecarreon:
me too! i was wondering what stylus xa1 ultra support!!
[Sony Xperia XA1 Ultra Accessories] Starqlr:
:good:
[Sony Xperia XZ1  Questions & Answers] modpunk:
Hi,

I've built TWRP for the XZ1. Has someone and unlocked bootloader and is willing to test it?
[Sony Xperia XZ1  Questions & Answers] Araa01:
Idk but we need good custom stock!

Wysłane z mojego G8342 przy użyciu Tapatalka
[Sony Xperia XZ1  Questions & Answers] 4rz0:
Then test it.
[Sony Xperia XZ1  Questions & Answers] Araa01:
Test? Where is twrp?

Where is unlock bl?

Where is custom?

Wysłane z mojego G8342 przy użyciu Tapatalka
[Sony Xperia XZ1  Questions & Answers] 4rz0:
That's what this thread is about. You can unlock your bootloader on the Sony webpage.

After that, you tell the OP that you want to test their TWRP release.
[Sony Xperia XZ1  Questions & Answers] pergoteborg:
I´d like to test it, but installation/test requires root, does it not?

I have unlocked BL, but i still have no rooting method :(
[Sony Xperia XZ1  Questions & Answers] Araa01:
Look up.

Wysłane z mojego G8342 przy użyciu Tapatalka
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
I want to test the twrp. I unlocked and I want to flash the new recovery
[Sony Xperia XZ1  Questions & Answers] modpunk:
You can find it here https://xor.cryptomilk.org/android/twrp-3.2.0-0-poplar-patchlevel-2017-11-05.img
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
Which firmware version is this for? I'm currently running 47.1.A.5.51 November 1st 2017
[Sony Xperia XZ1  Questions & Answers] modpunk:
This has not firmware version, it is a TWRP recovery ...
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
Ok perfect. Thanks.

I'm new to modding Sony phones. There is a thread with the xperifix talking about downloading according to the correct firmware version so I just wanted to cover my ass, just in case.
[Sony Xperia XZ1  Questions & Answers] 4rz0:
You're right, there's something with the backup encryption depending on the firmware version.
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
So what does that mean for me in this case?
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
how do i access TWRP after i flashed it? i have the bootloader unlocked and i flashed TWRP but when i'm connected through adb and i run "adb reboot recovery" nothing happens except the phone reboots as normal and i'm not sure of the hardware button combo to boot into recovery. I'm thinking it's power+vol up but when i do that the phone just vibrates once then three times and does nothing, not even boot normally.

Can you help please?

---------- Post added at 10:56 PM ---------- Previous post was at 10:52 PM ----------

Never mind, i figured out the button combo. It's power+vol down when the phone vibrates once release power and hold onto the vol down button

---------- Post added at 11:20 PM ---------- Previous post was at 10:56 PM ----------

OP, so here's the scoop. Every time i boot into recovery it asks for the password to decrypt, i don't know what that might be so i click cancel. Also i went into WIPE and i formatted DATA and typed YES and it did it's thing and i had to set up the phone again as expected however when i get back into the OS and check the security section of settings, it says it's still encrypted.

I'd like to flash supersu 2.82 but because it's encrypted i can't find the folder i placed it into and i don't have an SD card handy to place it on that to install. And besides i wanna get rid of the encryption anyway so we need to figure that out asap please.

Is there any kind of default password that i can use when entering TWRP to decrypt the data? And how can we remove encryption from the phone correctly with TWRP?

Thanks
[Sony Xperia XZ1  Questions & Answers] modpunk:
Rebooting to recovery with adb is broken in the Sony Kernel. I've fixed that already for LineageOS.

The password is the PIN of your device.

The phone uses File Based Encryption and is normally always encrypted. If you don't set a PIN the password is set to "default_password". If you set a PIN the key to unlock FBE is encrypted using your PIN.

I think for SuperSU you need a special Xperia version they offer here on XDA ...
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
Thanks for the quick reply. Do you have a working version of lineage for the Xperia XZ1?
[Sony Xperia XZ1  Questions & Answers] pergoteborg:
Hi

I'm on 47.1.A.5.51, unlocked BL

Downloaded https://xor.cryptomilk.org/android/twrp-3.2.0-0-poplar-patchlevel-2017-11-05.img

Installed TWRP image

Rebooted into recover (Vol-)

Tried to install SU from https://xdaforums.com/attachment.php?attachmentid=4164510&d=1496008012 as stated in How to Install TWRP

Got error in installer within TWRP:

Super SU Installer

- Mounting /system, /data and rootfs

- BAD RECOVERY DETECTED, NO UNZIP, ABORTING

Installed latest Magisk zip file from Magisk tread and flashing was successful.

Wiped caches, rebooted and it hang on Sony logo

Flashing Magisk Uninstaller Makes the phone boot again but it warns about corrupt system at boot. Have to reflash stock rom without userdata.sin in order to get rid of the corrupt warning
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
2.82 doesn't work for Xperia users. I believe 2.79 is still recommend by chainfire for us. I'm about to flash it right now. I'll report back with the result in a few minutes. If you don't hear from me.... Something drastic went wrong! Fingers crossed.

---------- Post added at 02:48 PM ---------- Previous post was at 02:44 PM ----------

Ok so I got exactly the same result as pergoteborg. I'm gonna do a little research because I think I read something about the "no unzip" in another thread.
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
So i followed a few steps from another thread to create a symlink to unzip and was able to successfully flash supersu 2.79 however when i reboot into the OS there is no Supersu installed and when i run root checker it fails saying there is no root, also the official Supersu app from the app store says "Root undetected".

The steps i followed to create the symlink are as follows:

1. Boot to twrp.

and now comes the trick

2. Connect your device to a pc and adb push the attached busybox to sbin (took it from twrp from another arm64 device cannot remember which).

adb push pathtobusybox\busybox /sbin/ (replace pathtobusybox with the loacation of the unziped busybox for example C:\ )

3. Open adb shell

adb shell

4. Give busybox the required rights

chmod 750 /sbin/busybox

5. Create unzip symlink

ln -s /sbin/busybox /sbin/unzip
[Sony Xperia XZ1  Questions & Answers] pergoteborg:
Same result with SuperSU 2.82 after busybox symlinking. Flashing seems OK, bur no root or SuperSU app installed
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
Hopefully the OP can help us figure it out
[Sony Xperia XZ1  Questions & Answers] pergoteborg:
Magisk v14.5 (1456) gives bootloop

According to THIS regarding XZ Oreo it must first be downgraded from Oreo to MM/Nougat. Maybe OREO is the problem? Also the SU2.79 seems to be made for Nougat. (It's from Januari 2017)

Is it possible it's because of still enabled Sony RIC service? If so, should it be disabled in TWRP package?
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
I doubt the device can ever be downgraded to Nougat since it shipped with Oreo and therefore never had any system images of a Nougat build.
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
I went back over the steps again and i flashed a different Supersu and then rebooted and ran root checker and it said i had root so i installed the supersu app from the play store and it installed correctly. However it told me to update the binaries and i did that and now i have a bootloop. I ran the unsu uninstall script in twrp and it fixed the bootloop (phew).

So after that i started over again by running the TWRP commands, then installing Supersu, rebooting, installing the Supersu app but NOT updating the binaries but that didn't let any root app work properly.

Things all looked very glum but i kept at it and i'm delighted to say i figured it all out and i have persistent root with updated binaries and i can run apps like busybox and TiBu without any issues. Here's how i did it...

1: Follow the steps outlined in my earlier post and flash the latest version on SuperSU 2.85 that i attached.

2: After rebooting into the system, install the SuperSU app from the play store and DO NOT UPDATE THE BINARIES!!!!!!!!

3: Power off the phone and manually boot back into TWRP again.

4: Follow the steps from the beginning again and flash the SuperSU 2.85 zip AGAIN.

5: Reboot and Profit!!!!!!

I have attached the necessary SuperSU 2.85 zip and also the SuperSU UNsu just in case you make any mistakes.

You can install busybox from the play store and install busybox properly or any other root necessary app and root remains persistent after reboots. Go ahead and check it with a root checker or any root app.
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
I can also now run substratum without installing Andromeda. I had them both previously installed so I just uninstalled them then reinstalled substratum and when I ran it, it just asked for root rights and went right ahead and opened.
[Sony Xperia XZ1  Questions & Answers] pergoteborg:
Confirmed working even if I only flashed once.

I first installed SuperSU app, powerred off phone, booted into TWPRP, pushed busybox and softlinked unzip to it, flashed your attached SR5-SuperSU-v2.82-SR5-20171001224502.zip, booted into system and was HAPPY:)

GOOD JOB, N1ghtr08d. Thank you!!!
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
My pleasure bro. Glad I could be of help
[Sony Xperia XZ1  Questions & Answers] pergoteborg:
THANK YOU

SuperThankYou, modpunk for providing the working TWRP. Very much appriciated

---------- Post added at 07:57 PM ---------- Previous post was at 07:54 PM ----------

I'd like to buy you a beer in person even if I know it would mean endless singin.......(Irish, pub, beer -> a lot of singing :))

As a matter of fact, I take a sip of an Irish whiskey (Clontarf) to celibrate....
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
I like a nice whisky but recently I've become more a fan of tequila, lol
[Sony Xperia XZ1  Questions & Answers] TKeePeR:
It works! Thank you!

Same as pergoteborg, it is a "root" success!

thanks to N1ghtr08d and modpunk!
[Sony Xperia XZ1  Questions & Answers] ceftriaxone:
Do you have some issues with the camera after rooting?
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
Once the bootloader is unlocked you lose the DRM keys permanently so the stock Sony camera just takes all pictures as a green image, literally the whole thing is just a green screen.

I use footej camera and it works pretty well. Hopefully storm can release the xperifix program for the xz1 and that can truck the phone into thinking that the DRM keys are still there and then the Sony camera will be fully functional again but until then it'll be out of commission.

Bare in mind, you lose that functionality once you unlock the bootloader, not when you root. You unlock before you root so the loss of the camera is nothing to do with rooting necessarily, it's all down to the bootloader.
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
[MENTION=4297219]modpunk[/MENTION] hey bro, I've noticed a bug in twrp. I'm trying to install arise 2.94 aroma zip and every time I try to install it, it just hangs right after I swipe right to confirm the install.

Any idea what's going on?
[Sony Xperia XZ1  Questions & Answers] modpunk:
Check /tmp/recovery.log and logcat
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
Honestly, I have no idea how to use logcat. I checked /tmp/ and there is no log file there only a test_sensor.in file.

I've been googling how to use logcat but it's a little confusing since I've never used it before, I'm sorry, but if you want to give me a quick step by step on creating the log file for your I'll be happy to follow instruction.

I already gave full control to my user account in Windows 10 to run the logs. It's just figuring out how to capture the data while in the recovery that I can't figure out.
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
So i've been doing some reading and i THINK this is what you need.....
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
[MENTION=4297219]modpunk[/MENTION] .....?
[Sony Xperia XZ1  Questions & Answers] modpunk:
adb pull /tmp/recovery.log
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
The only file in there is a file named sensor_test.in

Edit: i didn't realize that the recovery.log gets wiped once i leave the recovery so i uninstalled Viper4android that i have installed through Magisk and i'm running the gauntlet now. I'll report back in a second...
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
Ok, i got the log. Sorry for my noobness, i've just never had to look at logs before.
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
[MENTION=4297219]modpunk[/MENTION] any news bro?
[Sony Xperia XZ1  Questions & Answers] modpunk:
New TWRP can be found here: https://androidfilehost.com/?w=files&flid=236363

unzip is included ...
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
Thanks brother, we know you're busy, especially with Christmas time. We appreciate you and all you do.

Happy Christmas bro!
[Sony Xperia XZ1  Questions & Answers] ch3mn3y:
It's made in December, but it supports only November stock, right? Or is it mistake in file name?
[Sony Xperia XZ1  Questions & Answers] aledoom:
I built test kernel ANDROPLUS V8 based on 8.49 last firmare, I do not have a phone in my hands, but this is analogous to our compact.

I did it on request pergoteborg

https://drive.google.com/open?id=1Dg8E3dSyYFPthAGZ5fZ3vXxPtpLH1hFl

So you can test it.
[Sony Xperia XZ1  Questions & Answers] pergoteborg:
Kerner for XZ1 (G4342) works lika a charm and I'm now running Magisk 14.5 on my phone thanks to my hero aledoom :)

Thanks a lot, Mate.

I choose not to try Magisk v15.0 due to many reported issues...at least noy yet
[Sony Xperia XZ1  Questions & Answers] aledoom:
You can try to install and test magisk 15, couse it working perfectly

on same kernel from XZ1C
[Sony Xperia XZ1  Questions & Answers] ch3mn3y:
Does it mean that there is port (made by You or somebody else) of AndroPlus for Compact?
[Sony Xperia XZ1  Questions & Answers] aledoom:
Yes, I ported it from XZP.
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
Magisk 15 is working perfectly on my XZ1 with your kernel bro.
[Sony Xperia XZ1  Questions & Answers] aledoom:
I built kernel for XZ1 based on ANDROPLUS V8 and stock kernel 8.49, with DRM FIX and MAGISK support, no need SuperSU more, now you can try it

https://drive.google.com/open?id=1hIpcO5SCmAUKuUdfGdzo9OL-SmZQ8_F_
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
Any chance you could build a new TWRP that supports the newer 8.49 firmware please? I'm asking this because i updated so i could have the new DRM fix as well as Magisk with the Andro+ kernel from Aledoom but the problem i have is that once i upgraded with a completely clean flash as well as a dirty flash then i boot into TWRP it never prompts me to enter my password to decrypt the data partition and sideloading is not only a pain but it failed on the install of Magisk.

I did both because i thought this problem was because i did a dirty flash first to keep my userdata in tact so i followed that up with a clean flash and yielded the same result.
[Sony Xperia XZ1  Questions & Answers] pergoteborg:
Xpreria XZ1 (mine is a Dual G8342) running FW47.1.A.8.49

With the latest TWRP 3.2.1 with the right patchlevel by modpunk it worked as a charm with the Androplus kernel to install Magisk 15.1 directly.

Thank´s a lot aledoom for the kernel.

Thanks modpunk for the TWRP

Thanks M-Rom and of course a bunch of thanks to sToRm// for the DRMFix.

This is awesome, I have root by Magisk and working camera. My life is now complete......... ´til next update :)
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
What was your install process? I upgraded to 8.49 then flashed the new TWRP then flashed the kernel to both partitions and reflashed the recovery just in case.

Then I made sure to run the super unsu zip to remove SuperSU, rebooted, went back to TWRP again then flashed the DRM fix, then Magisk, the the ricoff zip.

After all that I was back at the state where the camera behind to take the picture but never actually takes the pic.

I'm wondering why yours works and mine doesn't. I'd hate to have to do yet another clean flash.
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
I'm starting to pull my hair out with this BS. I did a full clean flash to the latest 8.49 and installed everything in order and i STILL have the same problem. I know it's the kernel that's giving me the problem but i downloaded and installed the correct one that aledoom created for this firmware so i don't know why i'm having trouble and you're not [MENTION=1561806]pergoteborg[/MENTION]
[Sony Xperia XZ1  Questions & Answers] pergoteborg:
I was a little to quick to celibrate, it seems.

My camera is showing the same problem :(
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
Damn it. I knew it was too good to be true, lol

---------- Post added at 07:55 PM ---------- Previous post was at 07:52 PM ----------

I just sent him a pm asking him to rebuild it properly
[Sony Xperia XZ1  Questions & Answers] AlexeiAL:
I got this error:

adb: error: failed to get feature set: device unauthorized.

This adb server's $ADB_VENDOR_KEYS is not set

Try 'adb kill-server' if that seems wrong.

Otherwise check for a confirmation dialog on your device.

adb kill-server doesn't help.
[Sony Xperia XZ1  Questions & Answers] N1ghtr08d:
You don't need to push busybox with the latest version of twrp.

That guide is outdated