yashsingh1/xdaforums huggingface dataset:
[Magisk] F3ELING1337:
Thanks again for your reply. My device is arm64 so sadly that's not the problem. Maybe I changed the wrong animations. I'm gonna look into it. But concerning the Magisk Log: Does it say that it mounts something on your device?
[Magisk] Tulsadiver:
TWRP and Magisk logs
[Magisk] F3ELING1337:
Your logs are really helpful. I found out that I have to replace some anim xmls inside my OPSystemUI instead of framework-res. So i flashed my zip via recovery and now Magisk Logs finally say it replaced some things.

It replaced framework-res.apk (which is strange because as I said I now use OPSystemUI) and it creates a new folder SystemUI and inside is "*.apk".

Edit: I found that i had to reprogram the installtheme.sh which was hardcoded to use "SystemUI" to "OPSystemUI". Now it finally replaces the OPSystemUI.apk. Now I have to find the right files to replace to actually see a change :D
[Magisk] F3ELING1337:
OK as I said I managed to get it working properly. But can anybody give me an example of how my replacing files should look like? When I do it either no animations change at all or after boot everything is black and I have to delete my magisk module.
[Magisk] Tulsadiver:
Another problem with it. I forgot I hard coded SystemUI into the pathway for system/priv-app to get it to work for me. I tried to use the $(friendlyname $f) in place of it since that is supposed to be the app name minus .apk but I couldn't get it to work.
[Magisk] djb77:
Sounds like we do need that friendlyname variable then, so we're going to have to figure out another solution.
[Magisk] Tulsadiver:
I've got a question for you on how this is supposed to work. What appears to be modded in this template is what I refer to as the "Base", the way the system was when Magisk was installed. But shouldn't it be the phone as it currently is so that when you flash a module you don't lose any existing mods or changes to the system (which is the what makes VRtheme is valuable)? I have my own "Base" SystemUI.apk that I flash that has all my smali's and custom xml's and resources.arsc edits. After that is flashed I should be able to make small vrtheme type changes that work off of those custom edits that have now been installed but that does not appear to be happening. The SystemUI is crashing. I think I can see now why mine was working so well before. I had all those edits on my phone when I installed Magisk. My "Base" was also Magisk's Base. Am I looking at this correctly?

Edit: I believe it is user error on my part. I think I have it fixed now.
[Magisk] Tulsadiver:
I think I have it working now, with friendlyname, at least for now. For my Aroma I changed the installtheme.sh a little. Instead of pulling in the files from system I'm having my updater-script load my base files into a temp folder and the installtheme.sh is pulling those in to mod. They have all my smali and resource.arsc edits. The framework files aren't in folders so that is why those were not working. I took the friendlyname off of the "theme_framework" and rerouted the framework mods to there (was pointed to "theme", the same one as apps and priv-apps). Everything is working I believe.

About the forced arm64 issue. What is the downside to doing both ways regardless? If it tries to remove dalvik-cache and it isn't found it just wouldn't have any to remove right? It wouldn't hurt anything, would it? It doesn't seem to on mine.
[Magisk] djb77:
The only reason why I'd try and like to avoid using the fixed arm64 is so its compatible with other devices that are not arm64.There's gotta be a way around it, maybe even try and delete both lots of dalvik-cache
[Magisk] Tulsadiver:
That is what I said. What is the the downside of trying to delete both? I did that in mine and it ran just fine.
[Magisk] djb77:
Sorry must have misread, first thing in the morning lol

I'll have a look at your scripts and I'll probably integrate your changes
[Magisk] Tulsadiver:
Let me rephrase. That was what I was trying to say.... It was clear as mud, lol.
[Magisk] daddylonglegs:
Hi, I have been relentlessly trying to decompile my SystemUIGoogle.apk to do edit XML files and recompile them to no avail (even the most minor of edits causes a "SystemUI has crashed" softbrick on my Pixel where I have to wipe my device. So EvilTheme Patcher seems like a godsend.

Is there a definite workaround for the Google Pixel yet? I finally set my phone back up again after 2 days (I had to wipe everything, TWRP backups don't work with this phone either for some reason) so I would like to be 1,000% sure before trying it. Thank you so much!
[Magisk] Tulsadiver:
You still have to decompile, make your edits, then recompile your apks to use this. The thing that makes it great is you don't have to swap out your entire apk, just the parts you want to edit.

For decompiling and recompiling, I use ticklemyandroid. For the Pixel, choose recompile with original signature for system apks and use new signature for non-system apks.

I have a Pixel and Nexus 5X and I have it working for me. I have a thread in the themes section. You are welcome to try out my Pixel modded version and see if it works for you. It is an Aroma installer of my mods that creates a TWRP flashable Magisk Module on your sdcard.

At the moment, this one does not work on the Pixel and it might not be practical to mod it to include the only dual slot phone.
[Magisk] daddylonglegs:
Thanks so much! I am a bit confused though, what do you mean by "At the moment, this one does not work on the Pixel"?

Sorry if I am reading it wrong, I just want to make sure I don't try something that does not work.
[Magisk] Tulsadiver:
This one does not work on the Pixel. As for the " for now", I can't speak for djb77 on if he would implement such a change at some point.

Like I said, I managed to get it to work on my Pixel but in a different fashion as I wanted my base files to be what was modded, not the system files on the root drive. I changed that part back for you. You are welcome to try it. The reason you lost your data was the Pixel TWRP version for Magisk (3.1.0) does not work when restoring backups. Many people lost their data trying. I have messed my phone up many times working on this. Sometimes I've done a factory reset in TWRP to get back or even reflash the firmware but I didn't lose data. Just my settings.
[Magisk] Truant_Luce:
I assume to patch framework-res.apk, I need to recompile it? I tried without, but it didn't work; wouldn't boot. From my understanding, I do, but I don't need all the files in it, just the ones I want to change (In /res/anim folder).
[Magisk] Tulsadiver:
Yes, you must recompile it, then unzip it and pull out the files you modded. VRTheme does not do that for you. It pulls your apk, unzips it, replaces your modded file, zips it back up and puts it back. Make folders just like your apk that lead to your files in eviltheme folder.

system/framework/res/anim/name_of_your_file.xml
[Magisk] Truant_Luce:
Ok. I'm a tad lost. Can you explain what I did wrong with this here, why it doesn't work? Been trying to convert this system install package into systemless with this here. Prolly something simple I'm not understanding at this time.
[Magisk] Tulsadiver:
Try it now
[Magisk] Truant_Luce:
It works. What did you do? Just want to understand what I did wrong so I can do this better next time.

Also, thank you.
[Magisk] Tulsadiver:
You didn't do anything wrong. The installtheme.sh needed tweaking to work with framework-res.
[Magisk] fOmey:
This is cool, right on !
[Magisk] daddylonglegs:
Thanks so much! I downloaded this but I am so paranoid about causing my phone to not boot (or getting the dreaded "systemui has stopped working" error that does not go away) so do you know of any way to properly backup a Pixel yet? I would like to do it before trying your download.
[Magisk] Tulsadiver:
No I don't. I try to copy anything important to my PC.

Edit: You might try this but it is still TWRP reliant

https://xdaforums.com/android/software-hacking/tool-twrp-backup-restore-tool-pc-t3572241
[Magisk] daddylonglegs:
OK thanks. Only thing is I tried to install your zip as a module and it said it is not a valid Magisk module. Is it because I am on v12?
[Magisk] Tulsadiver:
Wouldn't you have to submit it for approval for it to be a valid Magisk Module?
[Magisk] daddylonglegs:
I thought so but I also tried to flash the zip in TWRP and it would not install in there either. What should I do?
[Magisk] Didgeridoohan:
Still at it, huh?

Are you talking about the zip from here: https://xdaforums.com/showpost.php?p=73029238&postcount=44

It's packaged wrong. All the files/folders inside the magisk folder inside the zip need to be in the root of the zip.

Repack it and try again.
[Magisk] Tulsadiver:
Try this one.

Edit: Don't leave it in a magisk folder in the zip. Take it out of the zip and just zip up the contents, not the magisk folder.

Uploaded 4:36 pm central USA time
[Magisk] Tulsadiver:
You could try this as a possible way to recover from the systemui has stopped working error. This is stock Pixel SystemUIGoogle.apk and framework-res.apk in djb77's module tweaked for the Pixel. If that error pops up, boot back into twrp and flash it.

https://www.androidfilehost.com/?fid=745425885120749568
[Magisk] daddylonglegs:
OK thanks so much and yes I am still at it :)

Thanks so much! This one worked (as I am sure Didgeridoohan's fix would have)!

So basically because I am on a Pixel, what is the course of action so I can finally adjust things in my status bar? Decompile SystemUIGoogle.apk, make the changes in the XML, and recompile the APK? Where do I put the new SystemUIApk so it is used instead? Sorry if it is a stupid question but I imagine the instructions are a bit difference since it is a Pixel and the files have different names and locations.
[Magisk] Tulsadiver:
Keep that one you flashed that worked. It has been fixed to work with the Pixel. The instructions are the same for it now as everyone else's. The beauty of this module is you don't have to flash the whole SystemUIGoogle to mod it. Just the parts of it you want modded. Mod the status_bar.xml like you want. Recompile the SystemUIGoogle.apk, unzip it, remove the status_bar.xml and put it in the eviltheme folder like this:

system/priv-app/SystemUIGoogle.apk/res/layout/status_bar.xml

All of those are folders except for your status_bar.xml. If you are modding xml's only and not any whole apk's make sure your config.sh does not have anything in it set to be replaced or you will mess your phone up. Always double check it.
[Magisk] daddylonglegs:
Thank you so so much. I can't believe I am finally going to get "day of the week" back in my status bar. I have been dying for it ever since I had to get rid of Xposed! You have no idea how happy I am!

I do have one question! How come the XML needs to be repacked into the APK just to be extracted again? That step seemed odd but I am sure I am missing something.
[Magisk] Tulsadiver:
You can't put it back in if it's not recompiled. It is decompiled in order to mod. Unzipping is not the same as decompiling..
[Magisk] daddylonglegs:
Put back the systemui.apk in system/priv-app? I thought you had said the whole point of this was only having to edit the XMLs and leave them in relevant folders? (Again I seriously apologize if I sound like a moron)
[Magisk] Tulsadiver:
:confused:

That is a folder name, not the actual SystemUIGoogle.apk
[Magisk] daddylonglegs:
OK so correct me if I am wrong: it seems like I have to decompile the framework apk so that Tickle My Android can do anything. Then I decompile my systemUI to get the XML files I want. But I need to recompile the systemUI along with framework apk after that? I guess that's where I am getting lost. I thought decompiling an APK pulls the APK off your phone, saves it to your hard drive, then decompiles it. But if I am reading your post right, it actually decompiles it on my phone? What would happen if my phone rebooted while the systemUI was decompiled but before it was recompiled?
[Magisk] Tulsadiver:
This thread is not about how to mod an apk. Either go to ticklemyandroid or to my thread here.

https://xdaforums.com/pixel/themes/mods-twrp-flashable-magisk-module-mods-t3635234
[Magisk] daddylonglegs:
Ok, I will stop talking about how tos on decomiling and recompiling and all that to keep it on topic. I will keep it only to things that pertain to this.

I need to decompile the systemuigoogle.apk (this is on topic because this step is required). I then need to find the xml file, and make my changes.

Where I get confused is where you keep saying that the beauty of this thing is that you only need to "swap out the parts you want to edit". If that is the case, why do I have to recompile the systemuigoogle.apk? And when I recompile, am I supposed to recompile the one that has my edited .xml in it, or the original untouched one that was decompiled? I thought the whole point was this mod reads the xml I place in a folder on the fly?

If this is still off topic somehow I can post it in your thread if you are OK with that.
[Magisk] Tulsadiver:
I am still a noob at this myself. I will try to answer what I can on my thread but the beauty of this is you can change things on your phone without having to redo any previous mods that might be on it. Especially helpful for custom Roms that are packed full of mods and sometimes fc when you try to mod in whole or even can't be decompiled and recompiled successfully.

I would never have installed Magisk on my phone if I hadn't come across this thread.
[Magisk] daddylonglegs:
Alright, thanks. My serious confusion comes from me thinking there's no messing with APKs (only XMLs) to now learning that I do need to recompile APKs. I replied to your thread so we can take it there. Thank you greatly!
[Magisk] daddylonglegs:
OK so small update but no matter what steps I took, this will not work on my Pixel. The "best" outcome I was able to accomplish was getting stuck at the home screen with "Android is starting...." and the default background (my background was missing). I had to completely wipe my phone in order to get it to boot again, unfortunately.
[Magisk] Tulsadiver:
I have it figured out now. My Aroma worked without a glitch because it had its own SystemGoogle.apk and framework-res.apk built in. All I needed to do to make it work for the pixel was put system/ in front of the cp path of $path. This is for Pixel only. Here is the mod you were looking for.

Edit:. No need to "wipe" phone. Factory reset would have been enough. You have to redo some settings but no data loss. I probably did almost 10 factory resets to get this figured out. My bad but a lot of work and while I was at work ? but don't tell anybody.
[Magisk] sevenday4:
Unfortunately crashing with Samsung t280

I have tried to flash Magisk 13.1 using TWRP and get an error 1 message. I tried using Magisk manager 5.1 and that would crash when trying to flash Magisk 13.1 . I have tried to unroot my tablet through supersu, and ended up softbricking my tablet. I don't have any ideas on how to get past this issue, anyone have ideas?
[Magisk] daddylonglegs:
Does this work on Android O?
[Magisk] justin97530:
Does this still work on Magisk 14.5? It didn't appear to have any effect although the module was added in Magisk Manager. I'm on a Mi A1 (Android 7.1.2, December security patch).

Here are the Magisk logs with only my module running (unforce-camera-sound): https://pastebin.com/cgXBQHjS

I'm not sure if I did something wrong, but I'm willing to provide the module zip file if needed. I've also tried using the iOS_11_App_Animations.zip uploaded earlier, and it also didn't seem to work.
[Magisk] daddylonglegs:
I would Iike to know as well
[Magisk] Tulsadiver:
These worked for me on Android 8.1

Working on Nexus 5X

https://www.androidfilehost.com/?fid=962187416754455848

Pixels

https://www.androidfilehost.com/?fid=673956719939814674
[Magisk] *.jpg:
Thanks for this!!! For some reason, xposed is breaking MMS on my Moto X Pure (XT1575) but I really needed the magnet off module so I can use my magnetic car mount. All I did was copy the contents of the xposed apk into the template, zip it, install it through Magisk and it worked.
[Magisk] meistr91:
Can you explain more about it?

What you mean by 'copy xposed apk contents'? You decompiled magnetoff module? And put all those files into template? Its very interesting method:o

Edit: do i get it wrong, or you using xposed module without xposed?:D
[Magisk] *.jpg:
It's more of a case of being lucky than good. An apk file is just a zip file, so I opened it with 7zip and copied the contents into the template, rezipped and used Magisk to install it. It doesn't show up as installed on the Magisk module list, but it definitely works because my phone stopped going to sleep when I put it on the magnetic mount. I'm sorry that I can't be more specific. I just figured it was worth a try and if it didn't work, no harm would be done.
[Magisk] meistr91:
This idea is worth a try. As i understand u dont have xposed installed? Neither system ir systemless?
[Magisk] *.jpg:
It's not installed. I have no idea why it messes with mms for me, but it does.
[Magisk] CroW_D:
[MENTION=5346465]Tulsadiver[/MENTION] you may could help me out a bit on tg with my mod to get it to work ?
[Magisk] Tulsadiver:
What do you need?
[Magisk] CroW_D:
Would like to replace some XML in anim folder. I read the whole thread here but couldn't get it to work. Using an a/b device.
[Magisk] Tulsadiver:
What app are you modding? Are you using magisk 16.3 or higher?
[Magisk] CroW_D:
Framework.res. apk in there res/anim/and there some of the XMLs. Using latest magisk atm
[Magisk] Tulsadiver:
Try this one.
[Magisk] CroW_D:
I will try in about 1 hour hope you be around then for may more questions thanks in advance

---------- Post added at 04:18 PM ---------- Previous post was at 04:07 PM ----------

cannot open or extract the file.
[Magisk] Tulsadiver:
Try this one

https://www.androidfilehost.com/?fid=5862345805528046079
[Magisk] CroW_D:
So attached my zip could you look if i set all in the right place ?.

Aded my files in the anim folder and put the path in config.sh and zipped it up again.

But i am still getting installation failed may i am missing something.
[Magisk] CroW_D:
this should work

https://drive.google.com/file/d/1mR5SBY3RcQedTEJT7jwVJOI6BwDx9VVM/view?usp=sharing
[Magisk] Tulsadiver:
The config file is for installing whole apk files, not individual pieces like .xml files. Evilthemer is used for that. I fixed your config file. Try it now.

https://www.androidfilehost.com/?fid=5862345805528046131
[Magisk] CroW_D:
Didnt flashed trough magisk app said instalation failed. Tried it trough recovery but got bootlooped.

https://drive.google.com/file/d/11Ic7OICCjNc2EbCtM1RU9aSSySaBbyuR/view?usp=sharing

this is the log from magisk manager.
[Magisk] Tulsadiver:
This can only be flashed through TWRP.
[Magisk] CroW_D:
Yeah i did also but go me a bootloop.

If i replace those 2 files directly in framework and push the new one trough twrp it works fine. But it makes no sense to do this after Every rom update thats why i want to get it to work vie magisk.
[Magisk] Tulsadiver:
I tested this on mine. Replace the stock anim files with your modded ones.

https://www.androidfilehost.com/?fid=5862345805528046194
[Magisk] CroW_D:
ok please tell me what you changed ? it works now as it should. thank you so much.
[Magisk] Tulsadiver:
I used a totally different one. Not sure what was wrong with the other one but I have deleted it.
[Magisk] CroW_D:
You mean the magisk module per se ?
[Magisk] Tulsadiver:
Yes, the evilthemer. The first one was bad.
[Magisk] CroW_D:
Thanks again for ya time and effort.
[Magisk] Blackball:
Hi there,

I tried your template and i got a error after flashing with Magisk. It say Magisk is not activated... Any i ideas what im doing wrong?

Gesendet von meinem Pixel 3 mit Tapatalk
[Magisk] rodolphe06:
Hi, Im trying to use also a vrtheme, but is the zip u provided only for Pixel phones ?

Logs says that inflate of xml is nice but then a lot of failure like

/tmp/engine/installtheme.sh not found...

Any clue ?

Btw, thanks for your Mod

Note im on PIE so may be it does not work on 9.0
[Magisk] Tulsadiver:
This is not my mod. I just made some changes. What phone do you have? a/b partitions? Try this one.
[Magisk] rodolphe06:
i have redminote 5 pro (whyred), Partition A only.

In logs i can see

no matching fstab for ueventdevice /devices/virtual/block/loop0.

Dont even know if this is related to issue.

And looking at all scripts i dont see clearly where all the extract package is done (must be magisk 's works i guess)

Anyway im trying your latest attached zip and check.

Thanks

---------- Post added at 01:22 PM ---------- Previous post was at 01:04 PM ----------

Niiiiice. |This one worked good (i checked decompiled framework-res and xml are well replaced....)

Awesome thanks a lot.

So who shall i credit in addition to you for this flashable mod ?
[Magisk] Tulsadiver:
The op of this thread.
[Magisk] JhinCuatro:
Excuse me, but to my understanding this lets you theme the interface of a specific app [too] right? I'm a total noob to this, and have just relied on swiftinstaller having black themes to install for a portion of apps I actually use.. Although there are still many apps I want to be black themed, and it seems like Eviltheme is the answer? To finally give all my old or apps that simply refuse to have a dark theme a dark theme?

Additionally, I was wondering if there's a guide out there, or some tips/help I can get to get onwards with the theming process.
[Magisk] djb77:
This is a very old project based on an old version of Magisk.

This is the most current release:

https://xdaforums.com/android/software/mod-apk-patcher-lite-t3868675
[Huawei Watch] georgelck:
Hi there,

can I backup my current Huawei watch rom in the HUAWEI watch sd card & restore it by TWRP2.8.7.0-Sturgeon as my phone did ? :confused:
[Android Q&A, Help & Troubleshooting] anmiman:
Hey guys. i just bought the tablet for 1 month now. Everything was okay then suddenly the tablet rebooted it self and will go the homescreen for few seconds then rebooted it self again and again. i tried to reset it via the asus fastboot option menu. that did the trick for a while..i can boot it normally then after reinstalling all my apps, it started to keep rebooting again. resetting it again does not work. all it does is go to the setup wizard and reboot again.

Another interesting fact is that it can boot for a while only when plugged in. i can use it but will shut down if i pulled the charge cable.

The way i see it, i can be the battery problem or software problem.

If it is a problem with the battery, then why can it boot to the fastboot option menu without plugged in?

I've downloaded the factory image from the asus website but i dont know how to flash it as the bootloader is locked and i cant find any method to unlock it. Adb detected the device in fastboot. but i cant flash the firmware,

Can anyone help me with this problem?

Thank you in advance.

attached is the content of the firmware ive downloaded from asus website and the asus fastboot option menu..there is no recovery option.
[G 2014 Q&A, Help & Troubleshooting] Fcu12004:
Hello

I wanted to update twrp before changing my ROM because I don't like the one I am using right now and I wanted to make sure everything went OK

So I flashed the new twrp version using twrp and now when I try to enter to the recovery mode it says: Failed to validate recovery image

What should I do? My ROM isn't rooted (Aosp extended)

Sorry forma grammar mistakes, my first language is spanish

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Hola

Quería actualizar twrp antes de cambiar mi rom porque no me gusta la que tenía y quería asegurarme de que todo fuera OK.

Así que flashee la nueva versión the twrp usando twrp y ahora cuando quiero entrar al modo recovery me aparece: failed to validate recovery image

¿Que debería hacer? My ROM no esta rooteada (aosp extended)

Xt064
[G 2014 Q&A, Help & Troubleshooting] Fcu12004:
Fixed it :)

I flashed twrp like the first time.