root, custom kernel and custom rom - Xperia Z5 Premium Q&A, Help & Troubleshooting

Hi , i'm a little lost about installing a custom . I know i have to root my phone and install TWRP to flash the custom ROM but what about the custom kernel ?
Thanks

well u must know that if u just backed up drm keys and unlocked bootloader, after installing twrp and reading the log u can see that it says "Kernel does not have support for reading SELinux context" this means that kernel does not support selinux so u must change the kernel i recommend to get the kernel from this thread: https://forum.xda-developers.com/z5-premium/development/safetynet-stock-kernel-twrp-magisk-t3621404
then u must choose the google drive link then depending on ur model choose single or dual then flash the kernel via fastboot then boot into recovery and install the ROM and Open GApps (ARM64) u like in my case i installed Mokee because it is the only one with official support and always updated with latest security patches the only problem is that it include xposed and u wont be able to bypass SafetyNet and if u open online games the phone crashes and reboots
if u want to install mokee go this link (even if it says dual it supports all Z5P models): https://download.mokeedev.com/?device=satsuki

LastDarkWarlord said:
well u must know that if u just backed up drm keys and unlocked bootloader, after installing twrp and reading the log u can see that it says "Kernel does not have support for reading SELinux context" this means that kernel does not support selinux so u must change the kernel i recommend to get the kernel from this thread: https://forum.xda-developers.com/z5-premium/development/safetynet-stock-kernel-twrp-magisk-t3621404
then u must choose the google drive link then depending on ur model choose single or dual then flash the kernel via fastboot then boot into recovery and install the ROM and Open GApps (ARM64) u like in my case i installed Mokee because it is the only one with official support and always updated with latest security patches the only problem is that it include xposed and u wont be able to bypass SafetyNet and if u open online games the phone crashes and reboots
if u want to install mokee go this link (even if it says dual it supports all Z5P models): https://download.mokeedev.com/?device=satsuki
Click to expand...
Click to collapse
I installed successfully Mokee thanks.
Did you manage to install Sony apps or restore drm functionality like x-reality ? Thanks

typhon0 said:
I installed successfully Mokee thanks.
Did you manage to install Sony apps or restore drm functionality like x-reality ? Thanks
Click to expand...
Click to collapse
well u can install sony apps with a Magisk module called "Sony Apps Enabler" install the module, reboot phone and delete Playstore data
about the DRM functionality u can flash Zach's kernel but its only available for Unlocked Stock 32.3.A.0.376 even tho in the post it says the dev is making this kernel to work with custom ROMS comming soon: https://forum.xda-developers.com/xp...ernel-zachs-kernel-playground-z5-wip-t3340725
but u can recover good audio functions by installing this mod: https://www.mediafire.com/file/1jwsked0y4853td/Z5-6.0.1-ALL+In+One+Mod+V3.0.zip
and Viper4Android: http://www.mediafire.com/file/xonl4jha2e4vez1/ViPER4Android_FX_v2505.zip
flash the mod via recovery then reboot phone and install Viper4Android apk once u open it a window of installing the driver will appear, press Yes, the app will freeze but dont close it beacuse the installation is in progress, once driver is installed reboot phone and configure in the app, i recommend to enable everything except reverberation and speaker optimization (this one is bc if u enable speaker optimization audio loses some volume power)

LastDarkWarlord said:
well u can install sony apps with a Magisk module called "Sony Apps Enabler" install the module, reboot phone and delete Playstore data
about the DRM functionality u can flash Zach's kernel but its only available for Unlocked Stock 32.3.A.0.376 even tho in the post it says the dev is making this kernel to work with custom ROMS comming soon: https://forum.xda-developers.com/xp...ernel-zachs-kernel-playground-z5-wip-t3340725
but u can recover good audio functions by installing this mod: https://www.mediafire.com/file/1jwsked0y4853td/Z5-6.0.1-ALL+In+One+Mod+V3.0.zip
and Viper4Android: http://www.mediafire.com/file/xonl4jha2e4vez1/ViPER4Android_FX_v2505.zip
flash the mod via recovery then reboot phone and install Viper4Android apk once u open it a window of installing the driver will appear, press Yes, the app will freeze but dont close it beacuse the installation is in progress, once driver is installed reboot phone and configure in the app, i recommend to enable everything except reverberation and speaker optimization (this one is bc if u enable speaker optimization audio loses some volume power)
Click to expand...
Click to collapse
To restore audio processing I found this if your are interested : https://forum.xda-developers.com/cr...t-sony-xperia-xz2-sound-enhancements-t3772758
And for the camera are you using something specific or the base one from mokee.?

typhon0 said:
To restore audio processing I found this if your are interested : https://forum.xda-developers.com/cr...t-sony-xperia-xz2-sound-enhancements-t3772758
And for the camera are you using something specific or the base one from mokee.?
Click to expand...
Click to collapse
for the camera im using mokee one, i tried using google camera but when i tried to record vids i couldnt while in base camera u can record vids with no problems however an alternative u can use is to use OpenCamera: https://play.google.com/store/apps/details?id=net.sourceforge.opencamera

btw the XZ2 audio is good but there is a problem and its when u put music on, it doesnt let u to lower the volume and audio its at max volume even if u mute it so im staying with my current audio mod since its ore stable

Related

How To Root Xiaomi Redmi 1s {WORKING OTA Method}

Hello Guys, You were Curious To Root Your New Redmi 1s and probably solve all heating problems
Cautions - I'm not Responsible for anything its your choice and work (Nothing will go wrong by the way, I've tried it myself :fingers-crossed: )
Hit Thanks if this has helped you!!!
Lets Start with it
Requisites :-
1 - The Phone Redmi 1s [Indian versions supported]
2 - Some basic knowledge about recovery
3 -Download Attachment
4 - Patience
The PROCESS
1- Download the attachment "update.zip" and place it in the INTERNAL storage of Redmi 1s
2 - Download the SuperSU zip and place it in EXTERNAL sdcard
3 - Go to updater app -> options menu -> reboot to recovery
4 - In the recovery menu choose english (volume buttons will help )
5 - Apply Update to system (something like that), confirm it using volume buttons and power button
6 - Reboot System
7 - After the boot completes go to the updater app again and reboot to recovery (ref step 3)
8 - Well you have Philz recovery loaded within no time and if you have used this recovery before in any other phone then its easy
8.1 - If you are doing it for first time, Use power button and volume button for selection and navigation - install zip ->Choose zip from external_sd (some times sdcard1) -> navigate down and choose the zip and say yes if prompted (All using power button(selection) and volume buttons(navigation)
9 - After flashing completes -> reboot system -> say yes for fixing recovery
10 - done!!! enjoy your rooted redmi 1s
Warrning - you will lose stock recovery, your apps and data wont be hurt
UPDATE VIA OTA SUPPORTED!!!
Go to Next POST for UNROOT
Stock Recovery here --> http://forum.xda-developers.com/redmi-1s/general/stock-recovery-how-to-flash-mi-recovery-t2917905
To cool your device, download no frills cpu control app from play store and set max frequency to 1.19ghz and close it... Now your redmi 1s won't heat up and still it would be lagless
A custom rom based on stock coming soon
Unrooting And OTA updates
Unrooting - - IMPORTANT TO OTA UPDATE
Use the superSU app's in-built settings to unroot it
OTA updates
Your OTA updates wont break if u root it, And you dont Have to Unroot to update!!
To do OTA update, open updater app and download the update and update normally, the update will go good in 15 minutes!, This means Updater app is compatible with this custom recovery, nothing to fear!!
Dear Dev
Thanks for the tutorial. I'm hereby conforming that this tutorial is working great for Xiaomi Redmi 1S,Indian version.
Try it and I'm sure in no way it will harm anything as it didn't to mine.
Thanks & Regards
BOND
Sent from my LG-F240L using Tapatalk
What version of MIUI have you tried this? Also, what is the effect of receiving the OTA update while still have root?
Thanks for this!
Update: Confirmed working, MIUI 36/
I have posted an easy method providing the link below
http://forum.xda-developers.com/showthread.php?t=2881416
azimdotnet said:
I have posted an easy method providing the link below
http://forum.xda-developers.com/showthread.php?t=2881416
Click to expand...
Click to collapse
That's not a easy way... It's the same method, I think Philz recovery is more useful and easy to flash zips and for utilities, cwm recovery is tooo basic, and I've taken some time to explain it for newbies so it's lengthy
Pavan l said:
Unrooting - - IMPORTANT TO OTA UPDATE
Use the superSU app's in-built settings to unroot it
OTA updates
Your OTA updates wont break if u root it, but u need to unroot before updating
To do OTA update, open updater app and download the update and dont flash it
Copy the OTA update zip from downloaded_rom folder in internal memory to External memory and reboot to recovery and flash it as you flashed superSU zip in rooting process
Click to expand...
Click to collapse
What do you mean by "Your OTA updates won't break" does it mean I will still be notified if there is an update?
esrom02 said:
What do you mean by "Your OTA updates won't break" does it mean I will still be notified if there is an update?
Click to expand...
Click to collapse
Yep you will get Update notification and the updater app will download it, but as the recovery is not miui so it wont flash it, just manually flash it after unrooting it
Works like a charm!
Works as told on Redmi 1s (Indian version)
Thank you very much bro
Really appreciate it.
super works great!
successfully rooted my device!
dont work
dont work for me:silly::laugh::highfive::good::fingers-crossed::cyclops:
Update works without removing root
Hi guys,
This is my first time posting on xda forums. I just wanted to share what happened today.
I rooted my redmi 1s according to the post with philz recovery. However today i recieved the update (MIUI v45) and without realizing that the update was already downloaded i clicked on update and got scared because it says here that it wont be able to update because the stock recovery is missing. But what happened was that it booted into philz recovery and updated through that. It took longer than usual around 15 mins I would say but It got updated.
It gave me option to retain the root and the custom recovery to which I said yes. And it worked. I still have my root permssions, all the root apps and phils recovery.
indian rom
i flashed PA IN MY PHONE can i get the indian rom back ??? i cant find indian miui rom anywhere
cwa255 said:
dont work for me:silly::laugh::highfive::good::fingers-crossed::cyclops:
Click to expand...
Click to collapse
What went wrong?
Thanks a lot for this tutorial..
Thanks a ton, works like a charm!!!
I did as explained and got it working with ease!
I also installed no frill cpu app and tinkered with the settings some!
Will report on the changes in heating or battery life due to this underclocking!
Can't undervolting help?
Just one question, why does not the native security pop-up come instead of superSU one?
anurag_xpert said:
Thanks a ton, works like a charm!!!
I did as explained and got it working with ease!
I also installed no frill cpu app and tinkered with the settings some!
Will report on the changes in heating or battery life due to this underclocking!
Can't undervolting help?
Just one question, why does not the native security pop-up come instead of superSU one?
Click to expand...
Click to collapse
Because MIUI superuser is a little buggy and unresponsive sometimes and hence superSU app will do the same work and MIUI will collect private data but superSU app will never do that so I think This SuperSU app is way better than native MIUI
cwa255 said:
dont work for me:silly::laugh::highfive::good::fingers-crossed::cyclops:
Click to expand...
Click to collapse
Tell me What went wrong or what trouble u are facing I'll resolve it here

Viper4Audio issues

I'm having some issues getting Viper to work on my N5X running 0409 CM13 nightly.
I have busybox (the recommended one from the material Viper thread), SELinux is Permissive (set through SELinuxModeChanger) and the app has root access (just CM root though, not SuperSU, as installing that got me in a bootloop).
Whenever I try to install it takes a long while and the app stops responding but after ~2 minutes I get the "instalation successful" message and prompted to reboot. Upon reboot I get the initial prompt to install/update driver, as if it wasn't installed.
What's going on? Thanks!
standard installation of v4a doesnt work anymore with nexus 6p/5x bec of the vendor file so dirty flash your rom + gapps + whatever mod you have except for any audio mods then go to http://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137
and flash ViPERAtmos 4.8 Sony Beats Edition.zip then follow http://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137/post66295480#post66295480 to make soundcloud and other apps get processed with viper/pulse (if your rom has pulse)
Abaddon said:
standard installation of v4a doesnt work anymore with nexus 6p/5x bec of the vendor file so dirty flash your rom + gapps + whatever mod you have except for any audio mods then go to http://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137
and flash ViPERAtmos 4.8 Sony Beats Edition.zip then follow http://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137/post66295480#post66295480 to make soundcloud and other apps get processed with viper/pulse (if your rom has pulse)
Click to expand...
Click to collapse
Thanks! Does CM13 have pulse? And what is it?

SU wont install, better audio mod and kernel

So I'm running lineage 14.1 as they finally released a copy for the A5(2017) and I can't seem to install SU, it said binary is full. I would use magisk but alot of stuff still does not support it. How would I hide root from apps with SU? I have tried a few ways and it failed. Second the audio tweak lenage has is terrible, how would I remove it and go to a better one? And finally what are some good custom kernels that are compatable with Lineage and the Samsung galaxy A5(2017)
LOS come with pre installed root. U have to flash a zip to enable it.
https://download.lineageos.org/extras
Flash appropriate zip from above link (arm64)
Use ViperForAndroid for better audio
Use alphabet kernel for more tweeks
Pls do some research before posting.
jfk999 said:
LOS come with pre installed root. U have to flash a zip to enable it.
https://download.lineageos.org/extras
Flash appropriate zip from above link (arm64)
Use ViperForAndroid for better audio
Use alphabet kernel for more tweeks
Pls do some research before posting.
Click to expand...
Click to collapse
I have done research and flashed it but I absolutely hate the built in root. Viper last time I tried won't work and I can't set SE Linux to permissive and alphabet kernel does not specify what OS's it supports and have had it where it kept rebooting my phone on stock kernel settings.
So alphabet kernel caused lineage OS to go into an infinite boot loop and viper needs permissive SElinux which I have not been able to do. Can anyone help me? I know alphabet you can set it to permissive but caused lineage to infinitely boot

Moving from Android 8.0.0 to the last released v10.0 Dec 2019 - Path and Recommendati

So as the title says, need collective experience to make the move, and be preemptive along the way of the possible pitfalls and limitations.
Havent experimented much with my XL 128GB lying circa 2018 when i bought it and it still runs fine. As of now it is :
1. Google model (not any carrier branded unit).
2. Android V 8.0.0
3. Bootloader Unlocked (OEM Unlocking enabled int he Developer Options)
4. Rooted.
5. Custom recovery TWRP 3.2.0.-0 installed.
My primary intended use was to make it my music player with AptX-HD and LDAC enabled via the Developer Options, for my wireless hifi headphones and it has been doing so.
As an semi-audioholic I have Viper4Android and Dolby ATMOS working fine on it, with Sony Walkman App, these were only found to work correctly on 8.0.0 as i did spent a great deal of time to make them work with 8.1.1 back in the day.
So I am looking for the most safest route to upgrade to 10.0.0 with the possibility of knowing if the below would remain applicable.
1. Should I go for OTA update as-is OR Do i need to relock bootloader or Un-root before the OTA update. (Any sequence or specific steps to be followed).
2. Will the OTA update lock the bootloader and will remove the root privileges.
3. Is it possible to unlock the bootloader and re-root the device on v.10.0.0 (any guide link appreciated).
4. Will the OTA overwrite the TWRP recovery, is there any newer/better recovery + kernel available with V.10.0.0 (any guide link appreciated).
5. Will ARISE audio (Viper + Dolby + Sony Music Apps) work on the latest android version.
6. Is all the hassle recommended, if the experience is significantly better on v.10.0.0. Any known issues with the latest android, which I should be aware of.
7. Any alternate way and/or newer/better DSP recommended to work with v.10.0.0 for sound enhancements.
8. Is Magisk framework and module working with v.10.0.0.
Thanks for reading and replying , as it would chalk out a path not only for me but for community at large for someone on a similar quest as mine.
Appreciate your input.
1. Download a pixel factory image from Google(latest is Dec 2019) and flashed it using fastboot( u will find guide on xda or YT)
2 Do not relock botloader if you want to root or install custom rom
3. Dolby Atmos will not work,if you flash Dolby Atmos mod zip in magisk it may cause bootloop .viper fx may work never tried
4. Android 10 is much better in user experience it is smooth
5. You can root your phone using latest magisk in twrp
6. There are some good kernel available for android 10 for pixel like Elemental x 5.6, king kernel v6.1, etc.
7. There is no sound enhancement mod for android 10, viper may work
8. U can't do some system modification like changing boot animation, system sound, font by yourself. If u want customization u can install custom rom though
My english is bad
hope this will help u
bhaskarjyotisarmah51 said:
1. Download a pixel factory image from Google(latest is Dec 2019) and flashed it using fastboot( u will find guide on xda or YT)
2 Do not relock botloader if you want to root or install custom rom
3. Dolby Atmos will not work,if you flash Dolby Atmos mod zip in magisk it may cause bootloop .viper fx may work never tried
4. Android 10 is much better in user experience it is smooth
5. You can root your phone using latest magisk in twrp
My english is bad
hope this will help u
Click to expand...
Click to collapse
Thanks
Sure just few last questions :
1. Will pixel factory image also overwrite the recovery.
2. Can I install a custom recovery after v10.0.0.
3. Do i install custom recovery first after V10.0.0. or should I root first. Sorry I am outta practice for some time
4. Any issues in v10.0.0 which I should be aware of. (Battery Drain, Lags or anything else).
5. Any guide for installing Magisk on V10.0.0
Thanks for your response
HyperEscape said:
Thanks
Sure just few last questions :
1. Will pixel factory image also overwrite the recovery.
2. Can I install a custom recovery after v10.0.0.
3. Do i install custom recovery first after V10.0.0. or should I root first. Sorry I am outta practice for some time
4. Any issues in v10.0.0 which I should be aware of. (Battery Drain, Lags or anything else).
5. Any guide for installing Magisk on V10.0.0
Thanks for your response
Click to expand...
Click to collapse
1 Yes pixel factory image will overwrite custom recovery
2. You can install a custom recovery as well as custom rom after 10
3. You don't need custom recovery permanently installed to root your phone. ( Temporary boot into twrp using fastboot and twrp.img and install magisk)
4. If you pixel is old consider a Battery drain as battery life decreases with age
5. Follow the link
https://forum.xda-developers.com/pixel-xl/how-to/guide-pixel-xl-android-10-0-q-t3964112
bhaskarjyotisarmah51 said:
1 Yes pixel factory image will overwrite custom recovery
2. You can install a custom recovery as well as custom rom after 10
3. You don't need custom recovery permanently installed to root your phone. ( Temporary boot into twrp using fastboot and twrp.img and install magisk)
4. If you pixel is old consider a Battery drain as battery life decreases with age
5. Follow the link
https://forum.xda-developers.com/pixel-xl/how-to/guide-pixel-xl-android-10-0-q-t3964112
Click to expand...
Click to collapse
I cant get the latest TWRP to actually stay flashed on Android 10... Have you had any issues?
GalaxyWhy said:
I cant get the latest TWRP to actually stay flashed on Android 10... Have you had any issues?
Click to expand...
Click to collapse
Actually I never permanently install TWRP. If the latest TWRP not works for you try using earlier version and see if that works.
bhaskarjyotisarmah51 said:
Actually I never permanently install TWRP. If the latest TWRP not works for you try using earlier version and see if that works.
Click to expand...
Click to collapse
Can you please elaborate on the reasons of it, and how do you do a non-permanent install.
Thanks.
HyperEscape said:
Can you please elaborate on the reasons of it, and how do you do a non-permanent install.
Thanks.
Click to expand...
Click to collapse
TWRP is Optional. It's written over there in the OP of each Rom
I always did USB debugging option enabled in developer option and give my PC Authorization. So if something goes wrong I can always flash a factory image. In Android 10 I can't make a nandroid backup of the stock rom before flashing any custom rom. so there no point to install TWRP permanently because if something goes wrong u can't restore a backup. If I want in flash any zip in TWRP I always temporary boot into it using fastboot and flash.
TWRP will be permanently needed when you want to install ota updates for the ROM.
I am not an expert though
Please follow the OP :good:

Question Custom Romming A225M

Hello.
I have the Samsung A22 4G (SM-a225m) And want to custom rom it, but how? I am hating one ui and really want to change to a custom rom, I know how to install custom recoveries like TWRP but I dont really know the custom rom installation. If someone could help me do it and send me the link of the file and how to install it. Thanks anyway.
if you follow this guide https://forum.xda-developers.com/t/...axy-a22-sm-a225f-a225m-android-11-12.4333305/ after installing twrp, there should be a gsi installing method and follow that, but be warned, bluetooth headphones dont output audio from my knowledge and you have to go into phh setttings, samsung features and alternative audio policy, speakers will work but you cant control audio, thats why you follow this guide https://forum.xda-developers.com/t/...stem-that-wont-let-you-change-volume.4550239/ for a workaround to control audio. Hope it helps!
It does not work, I had to reflash stock rom again, I would prefer someone having the a225m with a custom rom to tell me how to do it, the guide doesnt work
cervigil said:
It does not work, I had to reflash stock rom again, I would prefer someone having the a225m with a custom rom to tell me how to do it, the guide doesnt work
Click to expand...
Click to collapse
I have the A225M, some custom roms do not boot, for example project elixer does not boot but spark os 13 gsi is working and boots fine, just go into twrp and click restart restart fastboot then you type fastboot devices to check if the device is detected, then you type fastboot flash system pathtogsi.img then type fastboot reboot, if the device keeps rebooting, the gsi is not bootable, hope it helps!
what version do you used? bvn or bgn?
cervigil said:
what version do you used? bvn or bgn?
Click to expand...
Click to collapse
I believe you should try to go with BgN whenever you can
I installed it and wifi and bluetooth doesnt work
go to this guide https://forum.xda-developers.com/t/fusion-kernel-for-a225f-a225m-android-11-12.4337511/ and flash the kernel via twrp, has wifi drivers but bluetooth should work by default

Categories

Resources