yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact General] NeoBeum:
some twrp builds have been modified outside of the devices working folder for a successful build in the android device tree, this is why some devices haven't been fully supported.

team win also mention that in order to have a device supported, it must build without having to manually code fixes in other parts of the android build environment.

this is why I originally started this project, but the gerrit server for team win doesn't have enough room for new devices using the aosp base, only omni. and I haven't gotten around to completely getting the whole suzuran system ported for omnirom , I only bothered with recovery at the start. if they had room, z5c would have had an official tree back in July

There are also new methods added for custom Rom mount points, that I added for the newer build, but haven't implemented, you might see it in the fstab commented out

this project is as vanilla as it gets, I haven't even really done any real programming, mostly debugging

all you really need rootkernel to do is disable ric and verity until you get magisk running

By the way, the magisk versions above 13 will correctly pick up rootkernel now, so there's no need to downgrade anymore. it was different for v12 and 7.0 to 7.1, now not anymore.

just use rootkernel to turn off ric and verity on 32.4.a.1.54, and flash magisk14 in recovery, and done.

devices that previously lost keys can also use this method to restore them with rootkernel, as I experimented with a while ago, you'll have to dig for the post , its in another thread and briefly mentioned here.

you can rootkermel a current build, downgrade to 5.1 and use iovyroot to restore the original hardware key.

the only time you truly lose the hardcoded key pairs are if you lose your nvram/imei

Then you're fkd. and need your original ta.

but you can get your original ta by using rootkernel and then using iovy to relock the loader.

which is what I got everyone to do, subtly, by following the instructions, but apparently that was a pain in the ass for some people.. the middle section of this topic is spammed remains of the pages that just spammed
[Xperia Z5 Compact General] Janzomaster:
Just to be clear - twrp-compatibility with device encryption is not yet achieved, right?
[Xperia Z5 Compact General] jurgins:
I remember, a long time ago there were step by step instructions, not the post with complete mess, useless info etc. Go there, then there, then again there. Aaaand by the way, this was for the old version, so don;t do that.

Could someone can make normal step by step instruction how to root Z5 compact with the newest FW inside(32.4.A.1.54)? WIth all necessary files attached.
[Xperia Z5 Compact General] NeoBeum:
not yet, there's some changes I need to debug
[Xperia Z5 Compact General] NeoBeum:
There's literally guides everywhere

that was the point I was making, use mhahas guide, and just plonk this recovery in where it tells you to
[Xperia Z5 Compact General] militiaOfDeath:
Decided to settle for v7.1.2 w/o Xposed since I've found Magisk alternatives to most of the modules that I use in Xposed today. After I went back to a NANDdroid backup with v6.0.1 the last time I tried getting Xposed to work on v7.1.2 I ended up with two recovery partitions; TWRP 3.0.2 and TWRP 3.1.1; when I flash a TFT with stock ROM, does both these get wiped, or? If not, how do I delete (one of) them so I can go back to a single recovery partition?

Update: Flashing stock ROM did the trick.

Edit: Now, if I only could make TitaniumBackup find the backup I did so I can restore the apps I want to restore. ****ing hell, so much work changing OS version.
[Xperia Z5 Compact General] Chollo:
Hi. I can go from 6.0.1 with root, to 7.1.2 directly or downgrade is required. I have backup of the TA partition. What steps should I follow?

Thank you

Enviado desde mi E5823 mediante Tapatalk
[Xperia Z5 Compact General] militiaOfDeath:
If you have TA backup you can follow the guide in the other "how to root" thread but use the recovery.img that is provided in this thread. In your boot.img only disable Sony RIC and dm-verity and add DRM fix.

I used the following order;

1. Flash stock ftf with flashtool

2. Flash boot.img with fastboot flash boot boot.img

3. Boot system and enable debug

4. Flash recovery.img with fastboot flash recovery recovery.img

5. Boot system and install Magisk manager

6. Reboot into recovery and flash Magisk installer

7. Boot system and do whatever you want.

Note that I have flashed the DK.tft so I skipped this yesterday, so if you haven't done this you can do it following the steps in the other guide.
[Xperia Z5 Compact General] james35888:
Hi guys,

A stupid question, where do I download FTF image file?

I read several times, but not find link.

Thanks,
[Xperia Z5 Compact General] sheraro:
okay what fw is 7.1.2 ? isn't 32.4.A.1.54 7.1.1 ?
[Xperia Z5 Compact General] militiaOfDeath:
32.4.A.154 is indeed 7.1.1.
[Xperia Z5 Compact General] pleniceanu cristian:
Can anyone please put a step by step guide of what to install for DRM fix for unlocked bootloader, TA not backed up? It's a little to hard to understand everything and the risk of bootloop or worse is high.

I am on 32.4.A.154 and I have the 1%/h battery drain. It is exasperating, I tried all firmwares since 5.1 to 7.1.1. I don't know how to root it, I only know how to unlock bootloader and install firmware by flashtool. I don't actually know how to install TWRP, bootloader or other stuff, only read about it. I tried to install Xposed but I have no root, don't know actually what Xposed framework does since I have no root.

I think a step by step (I mean with all intermediate steps) will spare all beginners from having problems and advanced users from giving the same explanation.

Maybe somebody will put this step by step guide in a new topic so there will be easy to find, read, understand.

Thank you!!!!
[Xperia Z5 Compact General] militiaOfDeath:
Just read this guide: https://xdaforums.com/z5-compact/general/guide-how-to-root-z5c-painful-using-t3549388
[Xperia Z5 Compact General] pleniceanu cristian:
All that only for root?

And why is it helping me with the rest?
[Xperia Z5 Compact General] sheraro:
[MENTION=8098250]NeoBeum[/MENTION] I had a bug after flashing CRCD0FF4662-recovery-v2.1.54 but it didn't really bothered me : if I shutdown the phone I'm not able to wake it with power or recovery (power+VolumeDown), I must hold power+VolumeUp until the 3 vibrations then I can start it normaly ... any idea why ?
[Xperia Z5 Compact General] NeoBeum:
7.1.2 is referring to the aosp compatibility, because I used the Sony build trees for android 7.1.2

if you can't shut down, check magisk
[Xperia Z5 Compact General] thejulo:
How to flash recoverty on a locked bootloader

I'm a bit confused by OP's instructions.

We can't flash a recovery on a locked bootloader can we?

Btw, I simply use Flashtools to "relock" the bootloader.

Is that wrong?

My process has been:

1. Flash 32.4.A.1.54 FTF (Flashtool / Xperifirm)

2. fastboot flash recovery CRCD0FF4662-recovery-v2.1.54.img (bootloader was previously unlocked)

3. modify the kernel with DM verity and Sony RIC disabled, but install the DRM fix (keys had previously been flashed)

4. fastboot flash boot 324A154KernelElf.img

5. Flash Magisk 14.0 in TWRP

I can boot in system and Magisk works for rooting installing modules etc. but SafetyNet etc. fails obviously, presumably because my bootloader is unlocked.
[Xperia Z5 Compact General] Vision:
Can't see the / from apps why?
[Xperia Z5 Compact General] Macko mia:
hi guys any ways to switch back to traditional root ( without sytemless root )
[Xperia Z5 Compact General] plusminus_:
I also have this problem, using Magisk Beta, so I suppose bugs are to be expected ;)
[Xperia Z5 Compact General] Xperia_question:
Restore DRM

Thanks everyone for helping all us noobs out.

I unlocked my bootloader and now my camera sucks.

I don't really care about root, I mainly just want my camera to work again.

I'm on 32.4.A.0.160. I have flashed an Asian firmware on the phone to get fingerprint scan.

I have read the guide 4 times but I still don't understand how to restore my DRM.

I assume it's this step, but this is greek to me:

Can anyone post some more specific guidance. How would I use Rootkernal to patch a DRM fix on the 32.0.A.6.200 Kernel.ELF

Why do I need to backup the key on IOVY root? I can't flash the .ELF using Flashtool?
[Xperia Z5 Compact General] pleniceanu cristian:
Can anyone post some more specific guidance. How would I use Rootkernal to patch a DRM fix on the 32.0.A.6.200 Kernel.ELF

Why do I need to backup the key on IOVY root? I can't flash the .ELF using Flashtool?[/QUOTE]

Obviously this time is much harder to do root or restore DRM than previous versions. I see a lot of work and a lot of trouble to deal with. But this doesn't help pretty much unexperienced users. I tried to do root with different version only to have the chance to install Lineage but no succes. Because the DRM restoring part seems to overwhelm me. But I guess is to soon for me without a good beginner guide, maybe later when things get cleared and easy.

Hope is not to late by then. Oh well :)
[Xperia Z5 Compact General] dermaze:
In this thread you'll find everything to patch your own kernel.
[Xperia Z5 Compact General] NeoBeum:
I was tracing entry points for TWRP, or more correctly: E5823 Recovery Boot entry points...

I Could probably modify the hardware key detections to pick up in POWER OFF CHARGING, I think that your device for some reason may not have all the shutdown flags trigerred.

I was looking at this section because the current TWRP 3.1.1 Source does not always correctly link the Reboot buttons in Recovery, especially after Magisk Boot Image backup and installation.

I'm still busy with my Windows 10 project though. I just noticed something and made the connection when I was power cycling my phone while it was charging
[Xperia Z5 Compact General] NeoBeum:
Because further down in the instructions, it has the unlock bootloader instructions. Im going to macro this picture to a keystroke soon

I feel the planet needs a refresher for what they teach at school or uni... Then you can preplan or get extra bits you need... Maybe i was just at school for too long.. Or in most cases where the people incharge are spastics... It would be: read all, so you can remove rendunant useless information and finish faster

STEP 1. Read all of the steps for the procedure for getting an understanding of the entire procedure.

STEP 2. Commence

STEP 3. Procedure stuff steps, method

Edit: ooh, thought of a better analogy.

Use chess principles and think more than one move ahead
[Xperia Z5 Compact General] thejulo:
I have read the whole post and read further down the thread for answers. You constantly contradict yourself or omit steps, then insult people who ask for help.

It's too bad all that time in school didn't teach you how to write clear instructions instead of this stream of consciousness bull**** you call instructions.

Oh, and politeness. It's too bad you weren't taught politeness either.

I wonder why you're even sharing this with the community if you hate people so much.
[Xperia Z5 Compact General] panecondoin:
Cant access TWRP

Hey there, I have sucessfully flashed the recovery image, but cannot access it. I'm on 32.4.A.1.54, btw.

Could anybody chime in that knows something about that problem?

Cheers everyone!
[Xperia Z5 Compact General] pep086:
Hi guys,

I read the whole thread, but i'm still not confident, i'm on lineage os now, but i have a nougat backup on version .33

how can i upgrade to 7.1.2 ? i have unlocked boot, root, twrp 3.1.1. . Just wipe data and flash through flashtool? it's the same coming from lineageos , or should i downgrade as the guide on first page?

i also don't have the ta partition backup.

thanks.
[Xperia Z5 Compact General] templar1996:
Hi, just a question. After updating to the newest firmware, it seems i cant uninstall system apps anymore. My phone would reboot instantly. I could do this before the update.
[Xperia Z5 Compact General] Vinc1:
Most certainly, using this method, SafetyNet is still triggered when Xposed is installed systemless through Magisk, right?
[Xperia Z5 Compact General] frager45:
Where is the 324A154KernelElf.img file?
[Xperia Z5 Compact General] oguzhantemiz:
Is there any way to without downgrade root? I'm using 7.1.1 and 32.4.A.1.54. How to root without downgrade?
[Xperia Z5 Compact General] SEARCHER8206:
stuck in 1%/ hour battery drain

I guess this is it. I'm stuck with at least 0,8-1% / hour battery drain no matter the settings. Nobody figured a decent way to solve this? An easy way to install lineage?

I'm on 7.1.2 official, unlocked bootloader, no TA backup
[Xperia Z5 Compact General] NeoBeum:
There's a sneaky way to restore the TA. Use RootKernel to patch the kernel.sin, then revert to lollipop, lock the bootloader, and this will restore your TA.

then after you go back to 7.1.2 , use TWRP to backup the TA patrtition in recovery
[Xperia Z5 Compact General] SEARCHER8206:
you said sneaky, but I'm not handy about it can you or somebody give me more details?
[Xperia Z5 Compact General] Vi.sr:
Magisk

Hello [MENTION=8098250]NeoBeum[/MENTION] . Thank you for your guide. I had to read it ten times to understand :) but first success !

I have a question. Is it working with newer versions of Magisk? Like v15 and newer? I am affraid to try. Because there are only little modules for v14.

Thank you again.
[Tasker Tips & Tricks] Cinderbunny:
Hello.

I have a tasker profile that's not quite working as I want it to, trying to get a screenshot method working because the buttons on my phone aren't reliable :)

(Task) 1: Run shell ~ Command screencap -p /sdcard/screenshots/screengrab-%DATE-%TIME.png

Use root (ticked)

2: Flash "Saved!"

It works, but I have to wait awhile before screenshotting again. If I want to take two screenshots in a row, the first one will save, the other won't. Seems like it's affected by what minute it is.... if it's 5:16 on the first screenshot, and 5:16 on the second, the second won't save. But if it's 5:16 on the first screenshot, and 5:17 on the second, it works. Is there something I need to add after %TIME so I'm not limited, or is this not a fixable issue?

This may not seem like a big deal for many people but sometimes I take screenshots of important emails, payment receipts, etc, sometimes they're too big to fit all on one screen and need 2 or 3 screenshots. :)

May or may not be relevant, but my phone is on 6.0 and stock ROM.
[Tasker Tips & Tricks] Cinderbunny:
Bump :P
[Tasker Tips & Tricks] Cinderbunny:
Found someone else with the problem I was having, adding %TIMES seems to have solved it. :)
[Tasker Tips & Tricks] JayShortway:
Hi,

Glad that you solved it. Just a friendly tip: to be able to save multiple (999, to be exact) screenshots per second, you could add %TIMEMS instead of %TIMES.

Additionally, if you want the actual, human-readable time in the filename, you could use the following task:

Code --> Java Function

Class Or Object: Date

Function: new {Date} (long)

Param (long): %TIMEMS

Return {Date}: date

Code --> Java Function

Class Or Object: SimpleDateFormat

Function: new {SimpleDateFormat} (String)

Param (String): yyyyMMdd-HHmmssSSS

Return {SimpleDateFormat}: formatter

Code --> Java Function

Class Or Object: formatter

Function: format {String} (Date)

Param (Date): date

Return {String}: %datetime

Code --> Run Shell

Command: screencap -p /sdcard/screenshots/screengrab-%datetime.png

Use Root: ticked

I hope this is of use to you, or anyone!:)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] sharkbait:
Is there any way to copy existing ROM from my AT&T Tilt (for back up purposes) before flashing my ROM to something more appealing??

Thanks,

-Sharkbait, woo haha
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] johanromijn:
That's not necessary!

There's a STICKY in the Kaiser Upgrading forum.

It contains a download link to the default HTC and AT&T ROM.

If you want to revert back to the default ROM you can always download it from there.

It also contains a manual to revert to the default bootloader. Maybe you know but ALWAYS FLASH HARDSLP BEFORE FLASHING A COOKED ROM
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] jackleung:
That's not true. Official Rom of other language (e.g. Chinese) is not available here. But I remember there is a tool to dump the rom if you search
[Samsung Gear S3] Fs_z_m:
hi,

i just received a Galaxy Gear S3 as a gift from my lovely friends.

my device is a ZTE Axon7 i installed the gear app and it is connected and every thing.

i just have a couple of questions:

1- in the options in gear app in my mobile there is an option for unknown source. How can i install something from different source ?

2- is their any chance to use google play in my gear ?
[Samsung Gear S3] dersie:
Some apps on Playstore like clock set apps (clocki for gear) install faces on the watch. When an app install a face it is an "unknown source".
[Galaxy S 4 Themes and Apps] TheGingerSage:
[IMG="LOGO"]http://imageshack.com/a/img924/370/fB0yFw.png[/IMG]
[OnePlus X Q&A, Help & Troubleshooting] Kir3:
Since Android 6.0 on custom ROMs I get com.android.phone has stopped and restarting. To stop these you need to Deny Phone Permissions of the Contacts app. If then you enable it, it immideatly crashes com.android.phone and restarts the service (signal icon going to No SIM card - No signal - Signal).

Does anyone have this problem?

I can leave with the workaround but this is not a perfect solution. It's happening with every custom ROM I have.

I'm using OpenGApps.
[OnePlus X Q&A, Help & Troubleshooting] aryan.arora180:
Do you use the latest version of gapps? Can you also try using the Google Phone App?
[OnePlus X Q&A, Help & Troubleshooting] Kir3:
I'm using Google phone And gapps are latest. This is happening for months and just yesterday I changed ROM
[Samsung Galaxy S8 Questions and Answers] s4shield:
I know that is apparently supposed to help you transfer files but how. There is no info on it at all. Argh!
[Samsung Galaxy S8 Questions and Answers] heynando:
this bothers me as well. anybody knows the technical side regarding "phone visibility"?
[Samsung Galaxy S8 Questions and Answers] kchino:
It's network discovery, if you're on a shared network you can either hide or show your IP and the services available from your device.
[Xiaomi Mi 5 Questions & Answers] uvera00:
So somehow i managed to enter EDL mode by pressing Vol+ or Vol- in combination with power button while in TWRP which instantly put my phone into "death" like mode, no fastboot, no led, display not working, but it was showing as QDloader in device manager so i managed to flash global dev fastboot rom with MiFlash with exception on internal and data wipe, which turned into internal storage being wiped somehow anyway, but main question here is:

Any way to prevent entering EDL mode or leaving it without taking battery out?

Can't spare 2h on setting things up every time accidentally I enter EDL mode...
[Samsung Galaxy S7 Edge Questions and Answers] ioneng:
I updated my phone to the latest HK stock nougat rom from sammobile, rooted it with magisk. Every thing runs smoothly but it just doesn't remember wifi password.

I changed secure storage support to false in build.prop and it didn't help. Then I found out that all wifi passwords are kept in /data/misc/wifi/wpa_supplicant.conf.

On my phone this file kept getting wiped clean every time WIFI turns off. That's why it doesn't remember any passwords.

Has anyone come across this before? Is this a bug or something caused by rooting? Any suggestion to help me out?
[Samsung Galaxy S7 Edge Questions and Answers] micro_chip:
I have the same problem. Any solution?
[Sprint LG G3] ObviousMan:
I plan to give LG G3 I have to an elderly person, so I want this updated to the latest stock rom.

I currently have rooted ZVC with 3.0.1 TWRP recovery.

I could not find a file to perform the upgrade in TWRP.

Is the only way to go restore stock recovery, ZVG, root, TWRP?

In this case is there an easy way to restore stock recovery on a working phone?

Any help?

Thank you.

OM
[Sprint LG G3] apostolakisl:
Similar problem, I have ZV8 and want to go to ZVG. The OTA update doesn't work. I tried Flashfire which sees that downloaded file in the /cache folder but when it runs the update, it gives and error "file not found". So I used adb and several root file explorer programs and discovered that the /cache folder is locked despite being rooted. I can not read or copy any files that are in that folder. I can explore the folder and see that update.zip is there, but I can't do anything with it. It does allow me to copy and paste as long as I am only moving it around within the /cache folder. If I could just get that stinking update.zip file out of that folder, then flashfire should be able to do the update.
[Sprint LG G3] apostolakisl:
To the OP. This claims to put your phone back to fresh out of the box status. From there, you can take the OTA updates and get ZVG.

lgg3root.com/lg-g3-root/how-to-unrootunbrick-lg-g3/

please put the htt . . . stuff in front of the above link, it won't let me post a link since I haven't been active enough.

But I have no interest in going back to stock, I would just like to go from ZV8 to ZVG without losing root and without having to completely reconfig my phone.

Anyone? Someone must know how to get that stinkin update.zip file to be readable by fireflash
[Galaxy Grand 2 Q&A, Help & Troubleshooting] Keith Empeynado:
Hey guys! I just wanted to share my problem.

I want to edit the icons in status bar. I search it on Google on how to edit the icon spacing in the status bar and they say you need to edit "dimens.xml" but when I try to extract my systemui, I haven't seen that file. Which file do I need to edit? And what tools should I use in order to edit it? I'm using Motion rom anyway. Thanks in advance :)
[Galaxy Grand 2 Q&A, Help & Troubleshooting] dnjscjf098:
Try to use Apktool
[Galaxy Grand 2 Q&A, Help & Troubleshooting] Keith Empeynado:
How??
[Galaxy Grand 2 Q&A, Help & Troubleshooting] mhs5941:
how to use from apktool

you should install apktool to your pc

after finish install and installing rom framework

decompile apk file and go to ../res/values/dimens.xml

then u can control your app spaces size and dimens

after finish editing !

you should compile again apk file then sign it and use !;)
[Galaxy Grand 2 Q&A, Help & Troubleshooting] Keith Empeynado:
Thank you!!

Ill try. :)
[G2 Q&A, Help & Troubleshooting] usama_92:
Hi guys,

I previously had a d800 whose main board got fried and after failing to get it repaired from several local repair shops i finally planned to get a completely new main board and got a d802 used board from a repair shop since i couldn't find a d800 board anywhere.

Now, the phone came with d80220b rom installed and it was working perfectly. Just for curiosity, i went into recovery through "adb reboot recovery" and the recovery said d803B20e (Bell Canada D803). I realized that the previous owner installed a d802 rom on d803.

Since, the rom didn't had knock code features (knock on/off worked perfectly), I flashed a D803B20G kdz to my phone with LGUP tool and it flashed without problems and the rom was working without problems.

Then, I searched internet on several imei info/data websites with my imei and they all listed my phone as D802 with releasing country as UAE (even on LG's own website). So, i thought that i got lucky that d803 rom accidentally worked without any issues and my phone really is a D802.

I again flashed a UAE D80220C kdz and it also flashed without problems, the rom also booted up fine but the touch started acting weird, touching someplace else would register the touch elsewhere.

So, my question is that is the imei and LG's website showing wrong that my phone is a d802 with UAE as origin country?
[G2 Q&A, Help & Troubleshooting] Jan Philipp:
Hello! A few hints can be found here:

https://xdaforums.com/lg-g2/general/warning-to-people-bought-phones-ebay-t2991195

How to disassemble:

https://www.ifixit.com/Device/LG_G2

Good Luck!