[Root][Magisk/Xposed][Stock Kernel][02/01][26.3.x.x.x] Working SafetyNet - Sony Xperia M4 Aqua

Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, SafetyNet updates,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this TUTORIAL/GUIDE
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you a lot.
*/
This Tutorial/Guide is to install Magisk in Sony Xperia M4 Aqua. Tested in E2303
You need UNLOCKED BOOTLOADER and this TWRP (Download TWRP 3.2.1-0) (https://forum.xda-developers.com/m4-aqua/development/recovery-twrp-touch-recovery-3-1-1-0-t3636920).
Steps:
0.Remove any other root (SuperSU or Magisk) and Xposed. Make sure you have stock Sony Kernel.
1.Download BootBridge-Magisk-v14-M4A.zip
2.Boot TWRP (Volume DOWN + Power).
3.Flash BootBridge-Magisk-v14-M4A.zip
4.Reboot to system and update Magisk Manager (if needed)
5.Check "Preserve AVB 2.0/dm-verity", update to latest Magisk using "Direct Install", reboot and check SafetyNet.
6.(Optional) Install Systemless Xposed (don't forget Xposed Installer) and reboot. It takes 5 min to boot. (Android 6.0 = SDK 23) (https://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268).
Systemless Xposed does not pass SafetyNet!!!
Thanks to:
 @AdrianDC (BootBridge)
 @dani020110 (TWRP for M4 Aqua)
 @osmank3 (Steps to get Magisk v15.x working)
 @topjohnwu (Magisk and Systemless Xposed Framework)
 @rovo89 (Original Xposed Framework)
Google (Android)
Sony (Xperia M4 Aqua)
Me @YoshiX007 (Tutorial)
Old steps
Download Center
SuperSU: http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
Suhide: http://forum.xda-developers.com/apps/supersu/suhide-t3450396
Latest RootSwitch in first two posts (1.3.3.2 at writing time): https://www.asus.com/zentalk/tw/thread-173542-1-1.html
Minimal Fastboot: https://drive.google.com/file/d/0B7sssTaAqVsscWdRWVBaU05NWjA/view?usp=sharing Mirror: http://vlctv.webcindario.com/Xperia/MINIFASTBOOT.rar
Boot 26.3.A.0.131
Boot for E2303 (rename it to boot.img): https://goo.gl/PBXtNe
Boot for E2306 (rename it to boot.img): https://goo.gl/8sKHZ1
Boot for E2312 (rename it to boot.img): https://goo.gl/XYeqe2
Boot for E2333 AND E2363 (rename it to boot.img): https://goo.gl/ZzHOhL
Boot for E2353 (rename it to boot.img): https://goo.gl/IZRzKM
Boot 26.3.A.1.33
Boot for E2303 (rename it to boot.img): https://goo.gl/mVuWcu
Boot for E2306 (rename it to boot.img): https://goo.gl/2Z3NuK
Boot for E2312 (rename it to boot.img): https://goo.gl/6H9fiV
Boot for E2333 (rename it to boot.img): https://goo.gl/fhdVVW
Boot for E2353 (rename it to boot.img): https://goo.gl/8atYQm
Boot for E2363 (rename it to boot.img): https://goo.gl/ZsUupP
(OPTIONAL) If you want xposed
Material Design Xposed Installer: http://forum.xda-developers.com/xposed/material-design-xposed-installer-t3137758
Xposed Framework 86.2 CheckMod https://drive.google.com/file/d/0B7sssTaAqVssc05GTVl1enJQb1U/view?usp=sharing
This Tutorial/Guide is for root and install Xposed in Sony Xperia M4 Aqua :highfive:
You need UNLOCKED BOOTLOADER.
Tested only in E2303 26.3.A.1.33 with Xposed installed, you need UNLOCKED BOOTLOADER.
It is easy
Resumed steps:
0.(If you have Magisk installed or you used this tuto before the update) Flash Magisk Uninstaller to get a clean start and flash latest Sony stock ROM.
1.Download needed files : your boot.img, minifastboot, (optional(xposed, xposed installer)) ,SuperSU and RootSwitch (Search in download center)
2.Flash your corresponding boot from Download Center and Start TWRP with volume UP (YES UP, NO DOWN).
3.1 Flash SuperSU ZIP.
3.2 Flash Suhide ZIP
4.1 Reboot and install RootSwitch 1.2.4
4.2 Reboot, disable root in RootSwitch and check SafetyNet.
5. Go away and play PoGO.
(Optional)
6. Go TWRP, clean dalvik/art cache, flash Xposed ZIP and install DVDandroid's Material Design Xposed Installer.
Explained Steps:
0.(If you have Magisk installed or you used this tuto before the update) Flash Magisk Uninstaller to get a clean start and flash latest Sony stock ROM.
1.Download (Search in download center) and copy:
TO PC:
MiniFastboot, (Search in download center)
To MINIFASTBOOT folder:
Your boot.img from download center
TO ExtSD:
SuperSU and RootSwitch. (Xposed Framework, Material Design Xposed Installer)
2.1. Flash boot (fastboot):
Code:
Go to MINIFASTBOOT folder and boot into fastboot mode, type in the shell:
fastboot devices
fastboot flash boot boot.img
fastboot reboot
2.2 Start TWRP Recovery: WITH VOLUME UP
Code:
2.2.1 Power off
2.2.2 Power on
2.2.3 When the yellow led lights and press volume UP and wait
3. Install ZIPs
Code:
3.1 Install SuperSU+Suhide
3.2 Reboot system
(It is going to take some time)
4.1 Install RootSwitch
4.2 Reboot, check "Stop all su daemons", disable root in RootSwitch and check SafetyNet.
(Optional) 4.3 Go TWRP, clean dalvik/art cache, flash Xposed ZIP and install DVDandroid's Material Design Xposed Installer.
5 ??????????
6. :victoryrofit!!!!!!!!:victory:
Thanks to:
@99poison victory:advise about every update :good
shakalaca from Asus Developer Club (RootSwitch)
@Chainfire (SuperSU, Suhide, Systemless Root...)
@osm0sis (Android Image Kitchen)
@DVDandroid (Material Design Xposed Installer)
@PiSpecialist (Base boot.img)
@topjohnwu (Systemless Xposed Framework)
Sony (Xperia M4 Aqua)
Google (Android,ADB and Fastboot)
Me @YoshiX007 (Tutorial and remodded kernels)

Little FAQ, Changelog (very very simple) + Attached screenshot
FAQ
Q:Sony updated firmware
A:Update via FlashTool and follow from step 1.
Q:It is in bootloop (After Magisk install)
A:Flash stock boot with FlashTool and try again.
Q:It is in bootloop (After Xposed install)
A:If it dures more than 10 min, force a reboot. If doesn't work, clean dalvik cache in TWRP.
Q:I have a 0 folder in internal storage
Ao NOT erase it and reboot.
Q:SafetyNet doesn't pass
A:Make sure Xposed is not enabled/installed and Magisk is updated.
Q:It isn't here
A:Ask here
v1 19-Sep_19-09_>
First tuto ------>_/
v2 10-Oct_10/10 ______________>
Update tuto and boot.img ------>_/
v3 11-Oct_11/10________________________________________________ _____________>
Add a screenshot, fix problems, erase warning as suhide is updated and and Magisk is not more necessary.----->_/
v4 14-Oct_14/10________________________________________________ ________>
Change root method, remove xposed in tuto and add resumed steps.------------------------->
v5 17-Oct_17/10________________________________________________ ________>
Change root method, add xposed in tuto and add an F.A.Q.------------------------------------->
v6 24-Oct_24/10________________________________________________ ________>
Fix some typos, rewrite title, new kernels and reorder steps-------------------------------------->
v7 26-Oct_26/10________________________________________________ ________>
Minor edits,update RootSwitch link (thanks @99poison) and change to goo.gl links--------------------------------->
v8 02-Jan_02/01________________________________________________>
Complete rework and method updated (HAPPY 2018!!)------------------------------ >

After installation, I get a message that the su binary files are out of date
In Magisk I have a phone that is a non-rooted (switches are locked), and there is installed frameworks Xposed
How to fix it ?
I have Xpeira M4 Aqua E2303
EDIT : ALL WORKS Thanks Bro

sorry, what mean android pay for it? i can't understand

Android Pay is a payment system based on NFC https://www.android.com/pay/
It is available in USA,UK,Singapore and Australia.

Thank you for your post! My son has a E2303 now with installed [Rom][6.0.1][e23xx][UB]prerooted stock xperia m4 aqua. But he can't use pokemon witch he kind of demands . Well so as the father that I am I have promised him I would look in to it. Well what do we need to do to get back to Sony stock ROM. I could only find FTF files for 5.0, and also I dont have a windows computer, only linux. Is there any .zip files with the original system on that kan be flashed thru twrp?
Ex

Use XperiFirm to download MM rom and flash it via FlashTool. It has CDA 1293-7731/Customised CH/26.3.A.0.131.
Enter the following lines once per computer:
$ sudo apt-get install mono-complete
$ sudo cert-sync /etc/ssl/certs/ca-certificates.crt
$ sudo certmgr -ssl -m https://software.sonymobile.com
(Enter Y when asked, you should be asked to do so twice)
Enter the following line to launch XperiFirm:
$ mono XperiFirm.exe
Click to expand...
Click to collapse

Can't install phh's root or xposed on E2306. Flashing goes fine, but magisk manager says they are not installed.
EDIT: I was using with DOWN twrp instead of UP, now everything works.

MrOrry said:
Can't install phh's root or xposed on E2306. Flashing goes fine, but magisk manager says they are not installed.
Click to expand...
Click to collapse
When you are in TWRP can you find bootlog-magisk.txt or fstab.kanuti in the File Explorer?

YoshiX007 said:
When you are in TWRP can you find bootlog-magisk.txt or fstab.kanuti in the File Explorer?
Click to expand...
Click to collapse
I can see the fstab.kanuti but not the magisk one. Eventhough in teh cache folder I see some magisk.log files. Also since I tried to use the e2303 boot image I am having LTE speed problems, I tried to fix it by flashing stock images and the boot image for e2306 In this post.

You are in wrong recovery (both are TWRP).
1.Turn off your phone
2.Turn it on
3.When you can see a yellow led press volume UP button and find bootlog-magisk.txt
PD: It is in / folder

Work fine on E2363 , boot take almost 20 minutes here but no problem after that , thank you

Not working on My E2312. I flashed to stock ftf file and installed recovery and flashed boot.img. And then, I did Wipe cache and dalvik, flashed Magisk Zip, phh's SuperUser ZIP and xposed systemless zips. Flashing is fine and seem no error. After install Magisk Manager APK and phh's SuperUser apk, I opened Magisk Manager apk and it displayed Boot version: Magisk v6, Root Status : Unrooted, selinux status: Enforcing and can't use root toggle. Please help me!

YoshiX007 said:
You are in wrong recovery (both are TWRP).
1.Turn off your phone
2.Turn it on
3.When you can see a yellow led press volume UP button and find bootlog-magisk.txt
PD: It is in / folder
Click to expand...
Click to collapse
Oh. I can't belive how I missed it, now magisk, xposed and root mounting works. Thank you!

How's the performance? And will you be posting any (frequent maybe?) updates (OTA)

@99poison Can you try this boot? https://drive.google.com/file/d/0B7sssTaAqVssd0cxUUpXc2JZV28/view?usp=sharing @JakeMini123 Performace should be like PiSpecialist's root boot.img. About OTAs I can't understand you but all magisk updates should work.

YoshiX007 said:
@99poison Can you try this boot? https://drive.google.com/file/d/0B7sssTaAqVssd0cxUUpXc2JZV28/view?usp=sharing @JakeMini123 Performace should be like PiSpecialist's root boot.img. About OTAs I can't understand you but all magisk updates should work.
Click to expand...
Click to collapse
Finally, it working for me. Problem is TWRP recovery ( I entered wrong twrp by pressing volume down + power button).
Problem solve >> I flashed your modified boot.img and Power off phone. To enter your twrp recovery, when Power on, I pressed volume up button when light is yellow color and I did your procedures. Now, my phone is system-less and root is also OK.
Thank you so much,
99poison

BTW, Pokemon working only when Xposed system-less is disabled otherwise it can't work with Magisk.

i cannot enter to the fastboot mode in the e2306. could you explain me how could I do it? I tried to flash magisk with the traditional TWRP, but my phone doesn't start, so I had to repair it using sony companion.

Try to flash your boot.img via FOTA-TWRP(normal recovery).
First put Magisk-E2306.img in your EXTERNAL SD.
When you are in TWRP main menu, go to Install, select Install Image, go to your external sd, press Magisk-E2306.img, select Flash BOOT and reboot

Related

[KERNEL][Z3C] Kernel systemless MM Beta 6.0.1 23.5.A.0.486 v2 - 16/03/2016

Stock zImage
Add features:
RIC disabled
SElinux permissive
v2 - Debugging enabled by default
v2 - Disable debugging notification icon in the status bar
v2 - Kernel insecure (ro.secure=0)
v2 - Fix swappiness (100 to 60) - as 3.4 kernel source - Improved memory management
* Required Bootloader Unlocked!
* Recovery FOTAKernel: TWRP for Sony Xperia Z3 Compact
* Installation:
- Flash via recovery or unpack and flash boot.img via fastboot
- Enter recovery (power off the device and press volume down and then power simultaneously)
- Flash a Systemless SU: BETA-SuperSU-v2.68-20160228150503.zip
- Flash Restore DRM - SONY DRM FUNCTION RESTORATION FOR UB DEVICE
- Reboot.
Note:
- The first boot may take some time, and give the impression that you are in a bootloop. Just wait and it will boot up normally eventually.
* Please, do not mirror!
Download:
Kernel_systemless_MM_23.5.A.0.486_Z3C_v2
Enjoy and press the Thanks button if you like! :good:
.
Vou adicionar recursos mais tarde
You nailed it! Great work mate! Thanks!
Great work. It is ok
v2 out
Sorry to be a noob , but to install, am I right in thinking I need to do the following;
1) Flash the Marshmallow FTF
2) Flash twrp v3 using fastboot (fastboot flash recovery twrp3.img)
3) Flash the kernel using fastboot (fastboot flash boot boot.img)
4) Boot into recovery and flash SuperSU
5) Reboot into Marshmallow
I've been trying this and I haven't managed to get the system to boot into recovery after the kernel flash. Any guidance would be much appreciated
"- Flash Restore DRM - SONY DRM FUNCTION RESTORATION FOR UB DEVICE"
Sorry but this step will make bootlop
H0lmEd said:
Sorry to be a noob , but to install, am I right in thinking I need to do the following;
1) Flash the Marshmallow FTF
2) Flash twrp v3 using fastboot (fastboot flash recovery twrp3.img)
3) Flash the kernel using fastboot (fastboot flash boot boot.img)
4) Boot into recovery and flash SuperSU
5) Reboot into Marshmallow
I've been trying this and I haven't managed to get the system to boot into recovery after the kernel flash. Any guidance would be much appreciated
Click to expand...
Click to collapse
lamducthien said:
"- Flash Restore DRM - SONY DRM FUNCTION RESTORATION FOR UB DEVICE"
Sorry but this step will make bootlop
Click to expand...
Click to collapse
no flash marshmallow .ftf
you must go .264 FW
Flash .264 instead of MM

Rooted kernels f5121 - f5122 - 34.3.a.0.224 (8-sept-2017) update

THIS POST IS EXTENSION TO
https://forum.xda-developers.com/xp...t-xperia-x-f5122-android-n-34-2-2-47-t3594502
and
https://forum.xda-developers.com/xperia-x/development/root-xperia-x-f512234-3-0-206-7-1-1-t3635595
please read carefully and flash kernel for the LATEST UPDATE (Project SUZU )
for F5122_34.3.A.0.224 - 7.1.1 - 8 SEPTEMBER 2017 update
F5122 IS AT https://mega.nz/#F!GFo1EArZ!ngb5WsZJtbmFwXk_ImN-TA
F5121 .. https://mega.nz/#F!2EQniYoZ!0Rhj15GN7nSRmrTFMC8smg (THANKs @Mikolaj612 and @velemas )
-if you don't have th 34.3 fsc script , i have included in the folder (closing Partitions takes TIME, so be Patient ! )
-also i have inclused mixer_paths_wcd9335.xml, on 98% VOLUME level, IF you think sound output is LOW,,, just REPLACE it from /system/etc folder!
-
.
.
Click to expand...
Click to collapse
ROOT DIRECTORY (ON MEGA)
https://mega.nz/#F!aZAljazZ!zNLnLxH6flBxUsaTb167Jw
____________________________________
for F5122_34.3.A.0.217 - 7.1.1 - 8Aug2017 update
F5122 IS AT https://mega.nz/#F!iUB00abB!N7sDP1pv33ZCEC76j3RkYQ
F5121 .. AT https://mega.nz/#F!2FI0BI4B!f-wrWGTOzhgYX-_aLEBhBg ( THANK YOU @Mikolaj612 )
Code:
[SIZE="5"]
-if you don't have th 34.3 fsc script , i have included in the folder
-also i have inclused mixer_paths_wcd9335.xml, on 98% VOLUME level, IF you think sound output is LOW,,, just REPLACE it from /system/etc folder!
- :)
[/SIZE]
base directory
https://mega.nz/#F!aZAljazZ!zNLnLxH6flBxUsaTb167Jw
____________________________________________________
for F5122_34.3.A.0.206 - 7.1.1 - july2017 update
UPDATED KERNELS
F5121 IS AT https://mega.nz/#F!HcZmTIhR!0oCiMfh9uT-AdHp-bdSqZw (THANKS TO @velemas)
F5122 IS AT https://mega.nz/#F!fRBEVS5C!QjT-TgxZc9FYwAbh-F5IgA
F5121 here:
Code:
http://www100.zippyshare.com/v/gcX0M8iD/file.html
Mikolaj612 said:
F5121 here:
Code:
http://www100.zippyshare.com/v/gcX0M8iD/file.html
Click to expand...
Click to collapse
thank you,
link updated in the OT
have a great day!
I am using the same kernel which i have put on the cloud, f5122
however updatin to .224 via flashtool via win7pro took LONGER than usual time! , TA Partition Headers weren't closing! and eventually froze!
softBricked device twice! , then flashed via Windows 10 / 64bit from different machine!
however! please note!
the kernels are already rooted!
after FLASHING xperia X, if you DONT boot, and FLASH RECOVERY twrp3.1, via adb, adn boot X by pressing power+volumeDOWN key until PINK LED, you can FLASH kcal module! (which should be in your sd card, or use otg cable)
with Kcal you can use your device in gray scale - and it will extend your battery life to amazing level! since X has poor battery!
remember! if you have booted your X into system , the twrp will give PASSWORD error while accessing internal storage! because SONY encrypts storage on its VERY FIRST BOOT when you CLEAN FLASH STOCK ROM using FLASHTOOL!
YasuHamed said:
THIS POST IS EXTENSION TO
https://forum.xda-developers.com/xp...t-xperia-x-f5122-android-n-34-2-2-47-t3594502
and
https://forum.xda-developers.com/xperia-x/development/root-xperia-x-f512234-3-0-206-7-1-1-t3635595
please read carefully and flash kernel for the LATEST UPDATE (Project SUZU )
for F5122_34.3.A.0.224 - 7.1.1 - 8 SEPTEMBER 2017 update
F5122 IS AT https://mega.nz/#F!GFo1EArZ!ngb5WsZJtbmFwXk_ImN-TA
F5121 .. https://mega.nz/#F!2EQniYoZ!0Rhj15GN7nSRmrTFMC8smg (THANKs @Mikolaj612 and @velemas )
ROOT DIRECTORY (ON MEGA)
https://mega.nz/#F!aZAljazZ!zNLnLxH6flBxUsaTb167Jw
____________________________________
for F5122_34.3.A.0.217 - 7.1.1 - 8Aug2017 update
F5122 IS AT https://mega.nz/#F!iUB00abB!N7sDP1pv33ZCEC76j3RkYQ
F5121 .. AT https://mega.nz/#F!2FI0BI4B!f-wrWGTOzhgYX-_aLEBhBg ( THANK YOU @Mikolaj612 )
Code:
[SIZE="5"]
-if you don't have th 34.3 fsc script , i have included in the folder
-also i have inclused mixer_paths_wcd9335.xml, on 98% VOLUME level, IF you think sound output is LOW,,, just REPLACE it from /system/etc folder!
- :)
[/SIZE]
base directory
https://mega.nz/#F!aZAljazZ!zNLnLxH6flBxUsaTb167Jw
____________________________________________________
for F5122_34.3.A.0.206 - 7.1.1 - july2017 update
UPDATED KERNELS
F5121 IS AT https://mega.nz/#F!HcZmTIhR!0oCiMfh9uT-AdHp-bdSqZw (THANKS TO @velemas)
F5122 IS AT https://mega.nz/#F!fRBEVS5C!QjT-TgxZc9FYwAbh-F5IgA
Click to expand...
Click to collapse
Nice, Work on F5122
Where clean kernel for F5122?
Can't use the kcal
ReddFreedom said:
Where clean kernel for F5122?
Click to expand...
Click to collapse
updated, please check now
FuLiterary said:
Can't use the kcal
Click to expand...
Click to collapse
put supersu and kcal in sd card ( https://mega.nz/#F!aZAljazZ!zNLnLxH6flBxUsaTb167Jw) ( 7.x__417__Kcal_For-X_XZ_by_venkat-kamesh_SIGNED.zip)
AFTER FRESH FLASHING OF STOCK ROM, DON"T BOOT YOURDEVICE AND
1. flash twrp3.1 via adb (fastboot mode)
2. flash the clean kernel (with no supersu) via flash tool
3. boot in to recovery / twrp ,
4. flash kcal
5.flash supersu or magisk (whatever)
reboot NOW
the device will wakeup
1. rooted
2. having color modular in the app dock
YasuHamed said:
put supersu and kcal in sd card ( https://mega.nz/#F!aZAljazZ!zNLnLxH6flBxUsaTb167Jw) ( 7.x__417__Kcal_For-X_XZ_by_venkat-kamesh_SIGNED.zip)
AFTER FRESH FLASHING OF STOCK ROM, DON"T BOOT YOURDEVICE AND
1. flash twrp3.1 via adb (fastboot mode)
2. flash the clean kernel (with no supersu) via flash tool
3. boot in to recovery / twrp ,
4. flash kcal
5.flash supersu or magisk (whatever)
reboot NOW
the device will wakeup
1. rooted
2. having color modular in the app dock
Click to expand...
Click to collapse
i will try it.thanks
YasuHamed said:
updated, please check now
Click to expand...
Click to collapse
Thank you.
YasuHamed said:
put supersu and kcal in sd card ( https://mega.nz/#F!aZAljazZ!zNLnLxH6flBxUsaTb167Jw) ( 7.x__417__Kcal_For-X_XZ_by_venkat-kamesh_SIGNED.zip)
AFTER FRESH FLASHING OF STOCK ROM, DON"T BOOT YOURDEVICE AND
1. flash twrp3.1 via adb (fastboot mode)
2. flash the clean kernel (with no supersu) via flash tool
3. boot in to recovery / twrp ,
4. flash kcal
5.flash supersu or magisk (whatever)
reboot NOW
the device will wakeup
1. rooted
2. having color modular in the app dock
Click to expand...
Click to collapse
Have test it and can't use the kcal
(5. flash Magisk v.14)
BiaBertK said:
Have test it and can't use the kcal
(5. flash Magisk v.14)
Click to expand...
Click to collapse
now i am surprised!
how did you flash it? did u just install apk or flashed via twrp. its signed for X and XZ, and its working fine :s
YasuHamed said:
now i am surprised!
how did you flash it? did u just install apk or flashed via twrp. its signed for X and XZ, and its working fine :s
Click to expand...
Click to collapse
flashed via twrp!
This is how I proceeded:
(flashed via Windows 10 pro / 64bit ; Flashtool v.0.9.23.2 ; Minimal ADB and Fastboot v.1.4.2)
1. flash "F5121_34.3.A.0.228_1303-2543_R5D.ftf" via FlashTool
2. flash "twrp-3.1.1-suzu-2017.07.16.img" via adb
3. flash clean kernel "F5121_34.3.A.0.224_CLEAN_noTWRP_NOsuperSU" via FlashTool
4. boot to twrp
5. flash kcal "7.x__417__Kcal_For-X_XZ_by_venkat-kamesh_SIGNED.zip" in twrp
6. flash Magisk "Magisk-v14.0.zip" in twrp
7. Wipe Cache/Dalvik
8. reboot to System
Now I have the app "Color Control"
When I start the app I get the error
Do I make a mistake somewhere?
BiaBertK said:
flashed via twrp!
This is how I proceeded:
(flashed via Windows 10 pro / 64bit ; Flashtool v.0.9.23.2 ; Minimal ADB and Fastboot v.1.4.2)
1. flash "F5121_34.3.A.0.228_1303-2543_R5D.ftf" via FlashTool
2. flash "twrp-3.1.1-suzu-2017.07.16.img" via adb
3. flash clean kernel "F5121_34.3.A.0.224_CLEAN_noTWRP_NOsuperSU" via FlashTool
4. boot to twrp
5. flash kcal "7.x__417__Kcal_For-X_XZ_by_venkat-kamesh_SIGNED.zip" in twrp
6. flash Magisk "Magisk-v14.0.zip" in twrp
7. Wipe Cache/Dalvik
8. reboot to System
Now I have the app "Color Control"
When I start the app I get the error
Do I make a mistake somewhere?
Click to expand...
Click to collapse
it should work
Thank you!!!...it works
I tried with the 34.3.A.0.228 and works perfectly!!! :good:
I finally could ROOT my Xperia F5121 with this rooted kernel. Thank you for assistant!:laugh:
I'm on 34.3.A.0.217 rooted, how do i go about updating to this version?
Just use the system setting option to update then flash the rooted kernel? or just flash the rooted 224 kernel via recovery?
Does it work with OmniRom
this one: [ROM][Xperia X][SUZU][N][7.1.2][WEEKLY]OmniROM
Why even after a week I don't get this update??
gaurav_15 said:
Why even after a week I don't get this update??
Click to expand...
Click to collapse
It's late in India this time

Recovery build 47.2.A.6.30

Hello guys, anyone can help me? i am noob and nesse how instal recovery on my xz1 47.2.A.6.30 android Pie, i unlocked bootloader, need a tutorial
thanks
Shirumitsu said:
Hello guys, anyone can help me? i am noob and nesse how instal recovery on my xz1 47.2.A.6.30 android Pie, i unlocked bootloader, need a tutorial
thanks
Click to expand...
Click to collapse
Be sure to read NewFlasher thread carefully first (Widevine L3 instead of L1 for locked bootloader).
, March 47.2.A.10.28 is out;
0) recovery download : https://androidfilehost.com/?fid=1395089523397927024
1) fastboot mode blueLight :$ fastboot flash recovery 270recovery9omni8-1FBEkeymaster3-twrp3_2_3.img
2) reboot STRAIGHT to twrp and always backup /boot only before Magisk-ified (needed with /system only in case of complete re-initialization or format, and for Treble roms)
3) flash magisk (min 17.3)
4) boot Pie (SafetyNet and Playstore certified should be ok with latest Magisk app after few mn)
Note: don't force remove bloatware: just disable them, so they won't reappear after future ota.
Once done, with your original /boot backup ( plus complete/full Magiskified backup), you can switch, without format /data, to my (xz1 enhanced) aosp Treble /system image: https://forum.xda-developers.com/pr...arm64aosp-9-0-0r21-microg-ufofficial-t3878115 , and restore back SonyXperia later with your full backup.
Future upgrade(ota):
-XperiFirm new firmware download + move away fotaKernel..sin & userdata..sin & simlock.ta + newflasher(with greenLight!)
-reboot STRAIGHT to recovery (and backup /boot only, before Magisk-ified)
-flash latest Magisk (min 17.3)
-boot Pie (SafetyNet and Playstore certified should be ok with latest Magisk app after few mn)
Optionally:
(-install Magisk Screen recorder or Snapdragon gallery free of analytics... )
-For better battery use KernelAdiutor with [conservative]highCpu & [ondemand]lowCpu (Adaway...)
Note: with or without su/hack, NightLight dim brightness is actually broken (wip)
Recovery simplified source : https://gitlab.com/oF2pks/twrppoplardevice

Galaxy A8 Star (SM-G885S/F) GSI ROM Flashing [Android 12 Working]

This is my first post of this kind so bear with me, please
Info for Galaxy A8 Star:
CPU : SDM660 ( A only, 64bit )​Support Project Treble​Support System as root​
※WARNING※
You will have to have OEM unlocked and this will void your warranty!!!
※also, I'm not responsible for the accident about you bricking your device※​Step. 1
First of all, you will need to download two custom recoveries (TWRP, OrangeFox)
OrangeFox: https://forum.xda-developers.com/t/orange-fox-recovery-galaxy-a8-star-sm-g885f.4301055/
TWRP: https://github.com/sabpprook/android_device_samsung_astarqlte (test3 file does not work for me but you can try)
I want to finish it only using TWRP but the only TWRP that was working does NOT support flashing the system.img files
and also Orange Fox recovery has a bug that while in recovery you can't connect with the computer and push the files to the phone
so it was required to use two bootloader
Step. 2
Odin: https://odindownload.com/
I also recommend downloading the stock ROM for backup
1. after downloading the TWRP from the link (for Odin we will use the .tar file)
put your phone into download mode
Code:
adb reboot download
or just turn off the phone and press the power button, volume up, Bixby button at the same time
and use the volume button to boot into download mode
2. after the phone went to the download mode, go to Odin and at the ap section add the TWRP file then flash it
3. press the volume down, power button to turn off the device, and right after that press the power button, volume up, Bixby button at the same time
4. you will now see the TWRP recovery, press wipe, and format data
5. now we will download some files we needed
makemesar.zip: (at the attachment) or you can download it from https://drive.google.com/u/0/uc?export=download&confirm=P1-1&id=1F_f_tL4sEYFx5fa6AnwR0x1tlYhqarcT ( when you unzip it there is the zip file )​​Permissiver_5.zip: https://androidfilehost.com/?fid=6006931924117940902​​Disable_Dm-Verity_ForceEncrypt: https://drive.google.com/file/d/166texWJQhR1RgRoXiRSH_M2Q2mAyS2gC/view​​Certification_Patch.zip: (at the attachment)​​Havoc Rom (you can use any rom you want but this is the one that I've managed to work) http://download.havoc-os.com/?dir=arm64-ab (download arm64 ab with gapps)​​most rooms with AB partition will be supported​​Magisk: https://magiskmanager.com/ (download the apk and make it a zip file) - you could need for the phone to get the boot (makemesar will unroot it so don't worry)​​6. after downloading all the files that we need, we will push the files to our device using
Code:
adb push 'file dir' sdcard
※ also push TWRP .img file and the OrangeFox .img too!!
7. after pushing all the files we need to our phone, press install from the TWRP recovery and press flash from image
and select the Orange Fox .img as a recovery image, and reboot to bootloader
8. now you will boot to the Orange Fox recovery, (locate to data/media to find the files)
at the Orange Fox recovery wipe System, Dalvlk / ART Cache, Cache, Data
9. after wiping now install the os.img file and reboot to the bootloader (before reboot you will see the warning that OS is not installed), go to the menu and mount system, vendor, and install Dm Verity.zip, Permissiver_5.zip, makemesar.zip then reboot to the bootloader again, (now we will not see the OS is not installed) and now install the Certification Patch.zip
10. reboot to the system and you will see the new os setup process (sometimes you have to install the Certification Patch after setup the os )
10-1. if your device keeps going to download mode, reinstall the magisk and then reboot the phone, then it will work.
(after it boots, gently turns off the phone and install makemesar.zip first and install Dm-Verity to unroot) - some of you will be forced to use magisk but doing some wiping or reflashing the system.img sometimes makes the unrooted state work (or flash the stock system.img (extract from the stockrom) and flash the gsi ROM without wiping )
Screenshots: At Below
Currently, MTP does not work but I think this is the problem with the Havoc os, if you use another rom it could work
face unlock, fingerprint unlock works, the camera works.
if I manage to get other ROMs workingI will update the post
also at the first time I have made mine to boot without magisk but while doing again for this post I'm having trouble without magisk, if I found a way that works always I will add that to the post
[UPDATE#2]
you can download the Pixel 3 gsi rom from
(Thanks for Santa Duck providing this information!!!!)
with this files you can install the android 12 gsi rom in a usable state!!
and also ADB is working with this rom
there is still a bootlooping bug so do it with caution
[Update#1]
Today I have managed to install the Android Beta 3.1 [ is beta software and I don't recommend using it as your daily os]
https://sourceforge.net/projects/nippongsi/files/Pixel%20-%20Pixel4a_SBeta3.1%20-%20TBO42ZZ8IF/Pixel4a_SBeta3.1-AB-12-20210727-nippongsi.img.gz/download
you can download the ROM file from Nippon's Sourceforge
every step is the same and you just have to change the rom as this
there's a bug that developer setting crash the settings app and it is working but it does have some lots of bugs, and screen lock is not working but I'll try to fix it and upload the method
if your device get boot looped, press Bixby + power + vol down to boot into download mode and flash the stock AP file using Odin
[I was supposed to edit the upper one but accidentally created as a reply ]
Just go to UPDATE#2
Skuld Norniern said:
Havoc Rom (you can use any rom you want but this is the one that I've managed to work) http://download.havoc-os.com/?dir=arm64-ab (download arm64 ab with gapps)
Click to expand...
Click to collapse
Hey I thought that A8 star is an A-only device. Does flashing A/B roms cause any problems?
thongass000 said:
Hey I thought that A8 star is an A-only device. Does flashing A/B roms cause any problems?
Click to expand...
Click to collapse
thanks for the makemesar.zip we can install the A/B partition roms without any problems on the A only device and for me the A only roms won’t work on my phone
Skuld Norniern said:
thanks for the makemesar.zip we can install the A/B partition roms without any problems on the A only device and for me the A only roms won’t work on my phone
Click to expand...
Click to collapse
Hi I'm back. Do you have any issue with wired audio? I have a A9 2018 (same chipset) and audio still goes through speaker while headphones are plugged in.
If anything in Phh Treble Settings helps you, please tell me. Or if you don't need any settings for wired audio, can you send me a zip file containing any files that have the name "audio_policy" in /vendor/etc? Thanks.
thongass000 said:
Hi I'm back. Do you have any issue with wired audio? I have a A9 2018 (same chipset) and audio still goes through speaker while headphones are plugged in.
If anything in Phh Treble Settings helps you, please tell me. Or if you don't need any settings for wired audio, can you send me a zip file containing any files that have the name "audio_policy" in /vendor/etc? Thanks.
Click to expand...
Click to collapse
Sorry for being late!!
for me, I do have the same issue with wired audio and I have not been able to find a way to fix it yet
if I manage to fix the issue I will fix the main article
Skuld Norniern said:
Skuld Norniern said:
This is my first post of this kind so bear with me, please
Info for Galaxy A8 Star:
CPU : SDM660 ( A only, 64bit )​Support Project Treble​Support System as root​
※WARNING※
You will have to have OEM unlocked and this will void your warranty!!!
※also, I'm not responsible for the accident about you bricking your device※​Step. 1
First of all, you will need to download two custom recoveries (TWRP, OrangeFox)
OrangeFox: https://forum.xda-developers.com/t/orange-fox-recovery-galaxy-a8-star-sm-g885f.4301055/
TWRP: https://github.com/sabpprook/android_device_samsung_astarqlte (test3 file does not work for me but you can try)
I want to finish it only using TWRP but the only TWRP that was working does NOT support flashing the system.img files
and also Orange Fox recovery has a bug that while in recovery you can't connect with the computer and push the files to the phone
so it was required to use two bootloader
Step. 2
Odin: https://odindownload.com/
I also recommend downloading the stock ROM for backup
1. after downloading the TWRP from the link (for Odin we will use the .tar file)
put your phone into download mode
Code:
adb reboot download
or just turn off the phone and press the power button, volume up, Bixby button at the same time
and use the volume button to boot into download mode
2. after the phone went to the download mode, go to Odin and at the ap section add the TWRP file then flash it
3. press the volume down, power button to turn off the device, and right after that press the power button, volume up, Bixby button at the same time
4. you will now see the TWRP recovery, press wipe, and format data
5. now we will download some files we needed
makemesar.zip: (at the attachment) or you can download it from https://drive.google.com/u/0/uc?export=download&confirm=P1-1&id=1F_f_tL4sEYFx5fa6AnwR0x1tlYhqarcT ( when you unzip it there is the zip file )​​Permissiver_5.zip: https://androidfilehost.com/?fid=6006931924117940902​​Disable_Dm-Verity_ForceEncrypt: https://drive.google.com/file/d/166texWJQhR1RgRoXiRSH_M2Q2mAyS2gC/view​​Certification_Patch.zip: (at the attachment)​​Havoc Rom (you can use any rom you want but this is the one that I've managed to work) http://download.havoc-os.com/?dir=arm64-ab (download arm64 ab with gapps)​​most rooms with AB partition will be supported​​Magisk: https://magiskmanager.com/ (download the apk and make it a zip file) - you could need for the phone to get the boot (makemesar will unroot it so don't worry)​​6. after downloading all the files that we need, we will push the files to our device using
Code:
adb push 'file dir' sdcard
※ also push TWRP .img file and the OrangeFox .img too!!
7. after pushing all the files we need to our phone, press install from the TWRP recovery and press flash from image
and select the Orange Fox .img as a recovery image, and reboot to bootloader
8. now you will boot to the Orange Fox recovery, (locate to data/media to find the files)
at the Orange Fox recovery wipe System, Dalvlk / ART Cache, Cache, Data
9. after wiping now install the os.img file and reboot to the bootloader (before reboot you will see the warning that OS is not installed), go to the menu and mount system, vendor, and install Dm Verity.zip, Permissiver_5.zip, makemesar.zip then reboot to the bootloader again, (now we will not see the OS is not installed) and now install the Certification Patch.zip
10. reboot to the system and you will see the new os setup process (sometimes you have to install the Certification Patch after setup the os )
10-1. if your device keeps going to download mode, reinstall the magisk and then reboot the phone, then it will work.
(after it boots, gently turns off the phone and install makemesar.zip first and install Dm-Verity to unroot) - some of you will be forced to use magisk but doing some wiping or reflashing the system.img sometimes makes the unrooted state work (or flash the stock system.img (extract from the stockrom) and flash the gsi ROM without wiping )
Screenshots: At Below
Currently, MTP does not work but I think this is the problem with the Havoc os, if you use another rom it could work
face unlock, fingerprint unlock works, the camera works.
if I manage to get other ROMs workingI will update the post
also at the first time I have made mine to boot without magisk but while doing again for this post I'm having trouble without magisk, if I found a way that works always I will add that to the post
[UPDATE#2]
you can download the Pixel 3 gsi rom from
(Thanks for Santa Duck providing this information!!!!)
with this files you can install the android 12 gsi rom in a usable state!!
and also ADB is working with this rom
there is still a bootlooping bug so do it with caution
Click to expand...
Click to collapse
Hello sir i can't find havoc os 4.5 in:https://download.havoc-os.com/?dir=arm64-ab
Click to expand...
Click to collapse
After flashing twrp on my sm g885f, cant get into terp,
mine shows volume down + power to restart, not to enter turn off
how can i enter into twrp
Skuld Norniern said:
9. after wiping now install the os.img file and reboot to the bootloader (before reboot you will see the warning that OS is not installed), go to the menu and mount system, vendor, and install Dm Verity.zip, Permissiver_5.zip, makemesar.zip then reboot to the bootloader again, (now we will not see the OS is not installed) and now install the Certification Patch.zip
Click to expand...
Click to collapse
'os.img file' where
, guess i fixed it
when installing Certification_Patch.zip, it shows command error
what i found- this patch is for G885FDXS5CUL1, mine is
G885FDXU5CUG1

[STARTER GUIDE][SM-G531F]Guide for Modding the SM-G531F

Hello everyone! This is your Starter Guide for modding the SM-G531F!
(This document is based on: GuestD2581 guide. =))
DRIVERS & UTILITIES
Odin [v3.13.1]
Samsung USB Drivers [Link]
__________________________________________________
STOCK ROM , BOOT & RECOVERY IMAGES
[Link]
__________________________________________________
CUSTOM RECOVERY [TWRP]
TWRP 3.1.1-0 : img
TWRP 3.0.2-0 : tar
TWRP 2.8.7.1 : img | tar
__________________________________________________
CUSTOM ROM
Linage OS 13.0
__________________________________________________
CUSTOM KERNEL
[Link]
__________________________________________________
ROOT
•MAGISK
XDA | GITHUB​
MagiskManager-v7.5.1.apk
Magisk-v20.4.zip
Magisk-uninstaller-20200323.zip
MUST HAVE MAGISK MODULES​•SUPERSU
CHAINFIRE | SUPERSU RELEASE​
SuperSU-v2.82-201705271822.zip
•MUST HAVE ROOT APPS
__________________________________________________
XPOSED [WANAM]
XposedInstaller_3.1.5.apk
xposed-v87.1-sdk22-arm-custom-build-by-wanam-20161125.zip
xposed-uninstaller-20160211.zip
XPOSED MODULE REPOSITORY​
MUST HAVE XPOSED MODULES​__________________________________________________
ZIPS
FRP Destroyer
Lock Screen Fixer
__________________________________________________
THEMES
THEME CHOOSER S6Plus
????? Theme| G531F | 5.1.1
__________________________________________________
TUTORIALS
FLASH STOCK ROM , TWRP , ROOT & XPOSED​
Note :- *Before starting backup all your data to an external storage
*Your warranty would be void after rooting
*Do some research on risks of rooting such as "Bootloops" and "Bricking" (a bricked phone is completely unusable)
_____________________________________________
1.Download and install Samsung USB Drivers
2.Download Odin and extract (no installation is needed)
_____________________________________________
3.Download latest Firmware and extract it once
4.Run Odin (make sure the only checked Options are "Auto reboot" and "F.Reset Time" make sure "RE-Partition" is not checked
5.Now click on AP and pick your Firmware file (in .tar.md5 format)
6.First Enable Developer Options (go to Settings > About phone> tap 7 times on build number) Then enable "OEM Unlock" and "USB debugging"
7.Now reboot to Odin/Download mode turning off your device and holding VOLUME DOWN + HOME + POWER button simultaneously until you see a disclaimer on the screen then press Volume Up to continue
8.Connect USB cable to the phone , text "Added" should appears in Message box in Odin , click Start and wait to complete , when it shows "Pass" you can disconnect the cable , wait for autoreboot (of the device) and you are done!
_____________________________________________
Note :- *Before flashing Custom recovery you must remove your google account(by going into settings>accounts) to turn off FRP lock
*It is better to have a Factory reset (rather than removing google account) to have a clean start
_____________________________________________
9.Download latest TWRP (.tar) , again reboot to odin/download mode and flash it using the same AP button in Odin but remember to untick auto reboot and make sure repartition is not checked
10.After flashing don't do a normal reboot , After the flash has succeeded disconnect the usb cable, then power down the phone by holding the power button for 10 sec , once it's powered off use the VOLUME UP + HOME + POWER button combo to boot directly into recovery. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP
(If you don't follow this step, you will have to repeat the install)
_____________________________________________
Note:- After having a custom recovery flashed when you sign in your google account and the next time you boot into recovery (or sometimes a normal boot) you will get a message "custom binary blocked by FRP lock" and your phone will not boot after this and you have to flash the firmware again to get out of this
So, before adding your google account you have to flash a zip called "FRP Destroyer" (by Zillinium) which completely removes the FRP partition
Hence,you can have a custom recovery and google account added at the same time
_____________________________________________
11.Get Magisk Manager APK and Magisk zip file
12.Boot into recovery (TWRP) and install the zip file then wipe cache/dalvic and then reboot your phone
13.The Magisk framework is now installed on your device. To manage it, you’ll need Magisk Manager App
_____________________________________________
Note :- Make a NANDroid backup in TWRP (allows you to restore your phone to the exact condition at backup)
So if anything goes wrong with further modding, you'll be able to restore all of your apps and settings to working order in no time
_____________________________________________
14.Install Xposed installer app like you normally would
15.Flash "xposed.zip" file through TWRP.
Reboot and Wait, it may take several minutes to boot up depending on your Rom size.
__________________________________________________
Code:
Before using this guide:
*** Disclamer
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this ROM
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
A lot.
Check my website, because why not: web.galaxxyafonso.codes​
Reserved

Categories

Resources