[KERNEL][3.40][DM2] XPERIA M2 MagiskHide working kernel - Sony Xperia M2

Code:
#include <std_disclaimer.h>
/*
* 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.
*/
Finally I managed to build mount namespace enabled(required by MagiskHide) kernel for Sony Xperia M2.
I applied patch to the original kernel source code(available on Sony website), version 3.40(18.6.A.0.182)
So you don't need kernel 3.8+ for using MagiskHide
This kernel tested on D2302 device.
Kernel:
3.40 - 18.6.A.0.182
Features:
mount namespace(required by MagiskHide)
kernel configuration is available in /proc/config.gz
boot image format is AOSP, so there is no need to use Boot Bridge for flashing Magisk
Tools:
Ubuntu 14.04
gcc 4.7
mkqcdtbootimg (for building flashable boot image)
Flashtool 0.9.11.0 (for extracting kernel.elf from original .FTF)
Android Image Kitchen 3.6 (for extracting ramdisk and cmdline from original kernel image)
TWRP 3.1.0-0
Magisk 20.3 (20300)
Magisk Manager 7.5.1 (267)
Download:
DM2-V0100-D2302-boot.img
Installation:
Ensure device ROM version is 18.6.A.0.182 or based on that or has same working kernel
Download .img file
Power off device
Press Vol+
Hold Vol+ and connect device to your computer using USB cable
Device will boot in fastboot mode(verify that notification light color is blue)
run "fastboot devices" to ensure device is connected (fastboot print device serial number)
run "fastboot flash boot DM2-V0100-D2302-boot.img"
Ensure no error is occured during flash
run "fastboot reboot" to restarting device
After boot up check kernel version in Setting->About
Magisk can be flashed using TWRP
If MagsikHide not worked :
turn off and then on again MagiskHide in MagiskManager->Seetings
Hide Magisk Manager using "Magisk Manager->Settings->Hide Magisk Manager"
If you encounter bootloop or other kernel related problem:
Don't worry
Download original ROM 18.6.A.0.182 using XperiFirm or newer version of Flashtool bundled with XperiFirm
Install and Run Flashtool 0.9.11.0+(I used 0.9.11.0 version)
Click on "Flash Device" button in toolbar
Select "Flashmode" in "Bootmode chooser" window
Select downloaded ROM in left panel
Exclude eveything in right panel except KERNEL
Uncheck all WIPE options
Don't change other settings
Click "Flash" button and follow flash process
Thanks:
Norbert Harrer
didgeridoohan and Magisk Documentation,here , here and here
Eric W. Biederman(patching kernel source code)
xavileon (patching kernel source code)
ugurkrl (kernel compiling and image building guideline)
XDA:DevDB Information
DM2 - MagiskHide working kernel 3.40, Kernel for the Sony Xperia M2
Contributors
m.tarhsaz
Kernel Special Features: MagiskHide working patched kernel 18.6.A.0.182
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2020-03-11
Created 2020-03-10
Last Updated 2020-03-12

Reserved

Reserved

thank you, nice to see kernels and mods coming out for eagle in 2020. let's keep this device alive )

Related

[OFFICIAL] TWRP 3 for Samsung Galaxy Core Plus (SM-G350)

Code:
#include <std_disclaimer.h>
/*
* 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.
*
* DO NOT LEECH MY DOWNLOADS, PLEASE RE-DIRECT YOUR FORUM/PAGE
* TO THIS THREAD, IF YOU LIKE MY WORK, YOU CAN SAY THANKS
*/
Introduction
This is TWRP 3 for the Samsung Galaxy Core Plus (SM-G350) aka cs02
This should be ready to use!
Changelog
22-10-2017:
There is now an official TWRP available on the TeamWin page:
The unofficial thread and files will be kept in case anyone wants to rollback.
You ARE ALLOWED to report stuff about the official builds as well as the unofficial builds here.
22-05-2017:
TWRP 3.1.1-0 upstream changes
Kernel is now built with arm-eabi-4.8 (Commits)
This is now built from TeamWin's official sources, until we get official builds (New source is here)
28-04-2017:
Fixed SELinux (fixed magically, so I can't present a commit. May have been fixed since the last build, but didn't work until now)
09-04-2017:
TWRP 3.1.0-0 upstream changes
Fixed wiping partitions (commit)
24-11-2016:
Set the Setting for doing "rm -rf" instead of formatting as default (commit)
21-11-2016:
Bringup
Installation Instructions
Requirements
A computer with Administrator/root privileges
A network connection
Your phone charged to at least 50%
Instructions for Windows
Download Samsung's ODIN and the .tar image from the 'Downloads' section
Extract ODIN and open it using your Administrator privileges
Add the .tar file into the 'AP' field
Put your device into Download mode by holding [Vol-] and [Home] while powering on the device
Confirm the prompt on the display by pressing [Vol+] once
Connect your phone to your computer
Press 'Start' and wait until it shows 'PASS'
If you are on the stock OS, immeadiately reboot into the recovery by holding [Vol+] and [Home] while the device reboots
Instructions for macOS/Linux
Install Heimdall through homebrew/[your package manager]/compiling
Download the .img file from the 'Downloads' section
Put your device into Download mode by holding [Vol-] and [Home] while powering on the device
Confirm the prompt on the display by pressing [Vol+] once
Connect your phone to your computer
Open your terminal and execute the following command:
Code:
heimdall flash --RECOVERY twrp-cs02-x.x.x-x-xxxxxxxx.img
If you are on the stock OS, immeadiately reboot into the recovery by holding [Vol+] and [Home] while the device reboots
Downloads
Samsung USB Drivers
Odin v3.09
Odin v3.11.1
twrp-cs02-3.1.1-0-20170512.tar
twrp-cs02-3.1.1-0-20170512.img
Thanks To/Credits
Thanks to @santeri3700 and @berkantkz for teaching me the basics of ROM Development and helping me with Errors
XDA:DevDB Information
TWRP 3 for Samsung Galaxy Core Plus (SM-G350), Tool/Utility for all devices (see above for details)
Contributors
TimSchumi
Source Code: https://github.com/TeamWin?q=cs02
Version Information
Status: Stable
Current Stable Version: 3.1.1-0
Stable Release Date: 2017-05-12
Created 2016-11-21
Last Updated 2020-09-13
Quick Update:
I now know what is causing the issues with non-block-based zip files. The Recovery does not have SELinux support by now, which would provide the metadata command it is complaining about. I will try to add in SELinux support and then release TWRP 3.1.0-0 with full flashing capability
It seems that I have the wiping gotten to work. Only SELinux remaining and I could make it official
Probably a new build will come?
EDIT: New build of TWRP 3.1.0-0 with fixed wiping is up!
is it flashable with rashr?
edit: yes it is.
A working build of TWRP is now available on the TeamWin Download Page (https://twrp.me/samsung/samsunggalaxycoreplus.html). I'll keep the old TWRP images here so you can revert if you experience any problems. I'll sooner or later mark this thread as official, too.
Note: You are allowed to report bugs or anything else about the unofficial images as well as the official images in this thread (Because I don't want to maintain a seperate thread).
TimSchumi said:
A working build of TWRP is now available on the TeamWin Download Page (https://twrp.me/samsung/samsunggalaxycoreplus.html). I'll keep the old TWRP images here so you can revert if you experience any problems. I'll sooner or later mark this thread as official, too.
Note: You are allowed to report bugs or anything else about the unofficial images as well as the official images in this thread (Because I don't want to maintain a seperate thread).
Click to expand...
Click to collapse
Thanks.
After flashing twrp.tar, only the original recovery is started.
What to do?
Grigori88 said:
After flashing twrp.tar, only the original recovery is started.
What to do?
Click to expand...
Click to collapse
Did you boot into the stock ROM after flashing TWRP? If yes, it was overwritten again because of that. You have to instantly reboot into recovery after flashing
It does not work for me, I do not know what happens
TimSchumi said:
Code:
#include <std_disclaimer.h>
/*
* 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.
*
* DO NOT LEECH MY DOWNLOADS, PLEASE RE-DIRECT YOUR FORUM/PAGE
* TO THIS THREAD, IF YOU LIKE MY WORK, YOU CAN SAY THANKS
*/
Introduction
This is TWRP 3 for the Samsung Galaxy Core Plus (SM-G350) aka cs02
This should be ready to use!
Changelog
22-10-2017:
There is now an official TWRP available on the TeamWin page:
The unofficial thread and files will be kept in case anyone wants to rollback.
You ARE ALLOWED to report stuff about the official builds as well as the unofficial builds here.
22-05-2017:
TWRP 3.1.1-0 upstream changes
Kernel is now built with arm-eabi-4.8 (Commits)
This is now built from TeamWin's official sources, until we get official builds (New source is here)
28-04-2017:
Fixed SELinux (fixed magically, so I can't present a commit. May have been fixed since the last build, but didn't work until now)
09-04-2017:
TWRP 3.1.0-0 upstream changes
Fixed wiping partitions (commit)
24-11-2016:
Set the Setting for doing "rm -rf" instead of formatting as default (commit)
21-11-2016:
Bringup
Installation Instructions
Requirements
A computer with Administrator/root privileges
A network connection
Your phone charged to at least 50%
Instructions for Windows
Download Samsung's ODIN and the .tar image from the 'Downloads' section
Extract ODIN and open it using your Administrator privileges
Add the .tar file into the 'AP' field
Put your device into Download mode by holding [Vol-] and [Home] while powering on the device
Confirm the prompt on the display by pressing [Vol+] once
Connect your phone to your computer
Press 'Start' and wait until it shows 'PASS'
If you are on the stock OS, immeadiately reboot into the recovery by holding [Vol+] and [Home] while the device reboots
Instructions for macOS/Linux
Install Heimdall through homebrew/[your package manager]/compiling
Download the .img file from the 'Downloads' section
Put your device into Download mode by holding [Vol-] and [Home] while powering on the device
Confirm the prompt on the display by pressing [Vol+] once
Connect your phone to your computer
Open your terminal and execute the following command:
Code:
heimdall flash --RECOVERY twrp-cs02-x.x.x-x-xxxxxxxx.img
If you are on the stock OS, immeadiately reboot into the recovery by holding [Vol+] and [Home] while the device reboots
Downloads
Samsung USB Drivers
Odin v3.09
Odin v3.11.1
twrp-cs02-3.1.1-0-20170512.tar (Primary, Mirror)
twrp-cs02-3.1.1-0-20170512.img (Primary, Mirror)
Thanks To/Credits
Thanks to @santeri3700 and @berkantkz for teaching me the basics of ROM Development and helping me with Errors
XDA:DevDB Information
TWRP 3 for Samsung Galaxy Core Plus (SM-G350), Tool/Utility for all devices (see above for details)
Contributors
TimSchumi
Source Code: https://github.com/TeamWin?q=cs02
Version Information
Status: Stable
Current Stable Version: 3.1.1-0
Stable Release Date: 2017-05-12
Created 2016-11-21
Last Updated 2018-03-26
Click to expand...
Click to collapse
When I perform the steps, load but give error, look:
Code:
heimdall flash --RECOVERY twrp-cs02-3.1.1-0-20170512.imgHeimdall v1.4.1
Copyright (c) 2010-2014 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...
Initialising protocol...
Protocol initialisation successful.
Beginning session...
Some devices may take up to 2 minutes to respond.
Please be patient!
Session begun.
Downloading device's PIT file...
ERROR: Failed to receive PIT file part #16!
ERROR: Failed to download PIT file!
Ending session...
Rebooting device...
ERROR: Failed to receive reboot confirmation!
Releasing device interface...
Nasher_87-ARG- said:
Introduction
This is TWRP 3 for the Samsung Galaxy Core Plus (SM-G350) aka cs02
This should be ready to use!
Changelog
22-10-2017:
There is now an official TWRP available on the TeamWin page:
The unofficial thread and files will be kept in case anyone wants to rollback.
You ARE ALLOWED to report stuff about the official builds as well as the unofficial builds here.
22-05-2017:
TWRP 3.1.1-0 upstream changes
Kernel is now built with arm-eabi-4.8 (Commits)
This is now built from TeamWin's official sources, until we get official builds (New source is here)
28-04-2017:
Fixed SELinux (fixed magically, so I can't present a commit. May have been fixed since the last build, but didn't work until now)
09-04-2017:
TWRP 3.1.0-0 upstream changes
Fixed wiping partitions (commit)
24-11-2016:
Set the Setting for doing "rm -rf" instead of formatting as default (commit)
21-11-2016:
Bringup
Installation Instructions
Requirements
A computer with Administrator/root privileges
A network connection
Your phone charged to at least 50%
Instructions for Windows
Download Samsung's ODIN and the .tar image from the 'Downloads' section
Extract ODIN and open it using your Administrator privileges
Add the .tar file into the 'AP' field
Put your device into Download mode by holding [Vol-] and [Home] while powering on the device
Confirm the prompt on the display by pressing [Vol+] once
Connect your phone to your computer
Press 'Start' and wait until it shows 'PASS'
If you are on the stock OS, immeadiately reboot into the recovery by holding [Vol+] and [Home] while the device reboots
Instructions for macOS/Linux
Install Heimdall through homebrew/[your package manager]/compiling
Download the .img file from the 'Downloads' section
Put your device into Download mode by holding [Vol-] and [Home] while powering on the device
Confirm the prompt on the display by pressing [Vol+] once
Connect your phone to your computer
Open your terminal and execute the following command:
When I perform the steps, load but give error, look:
Click to expand...
Click to collapse
1. Try a newer version of Heimdall
2. Checked the cable? Maybe try a different one.
3. Run Heimdall as administrator/root.
Thanks Tim
TimSchumi said:
1. Try a newer version of Heimdall
2. Checked the cable? Maybe try a different one.
3. Run Heimdall as administrator/root.
Click to expand...
Click to collapse
Perfect, I try. :good:
Heimdall is 1.4.1 version. Its ok, i think
The cable is new, no too new new but are you work to transfer data. Buy other
My too
Nasher_87-ARG- said:
Perfect, I try. :good:
Heimdall is 1.4.1 version. Its ok, i think
The cable is new, no too new new but are you work to transfer data. Buy other
Click to expand...
Click to collapse
I don't know what happens, same PIT problem

[RECOVERY][PBRRP] Pitch Black Recovery 2.9.0 for Ulefone Armor 6 [TESTING]

Note: This going to be official soon
Code:
#include <std_disclaimer.h>
/*
*
* We are 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 project
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Pitch Black Recovery Project (PBRP) is a custom recovery project based on Team Win Recovery Project (TWRP) developed by Reza Adi, maintained by Manjot Sidhu and Mohd Faraz and themed by FireWolf.
Prerequisites
1. Unlocked bootloader.
Bugs
1. Test it, those sides which others haven't tested yet
2. If you have found a bug, please consider posting it to my GitHub Issues.
Instructions
Method 1 (Fastboot Installation)
1. Go to the fastboot mode.
2. Download the pbrp-2.9.0-build-02.img and transfer it to the adb folder (rename is optional for simplicity).
3. Open the cmd/terminal and change directory into the adb folder.
4. Now confirm/check that device is connected by typing:-
Code:
fastboot devices
If you got your device seriel number there then you are ready to continue otherwise try connecting device again and make sure USB debugging is on and you have granted permission to the PC to debug.
5. After that we will flash this PBRP recovery to the recovery partition by below command:-
Code:
fastboot flash recovery pbrp-2.9.0-build-02.img
BooM ! PBRP flashed successfully.
Method 2 (TWRP Installation)
1. As far i know there is an official twrp. If you have it installed in your device, then this is just a piece of cake
2. Flash PitchBlack-Armor_6-2.9.0-20190716-1537-UNOFFICIAL.zip from twrp.
3. It will reboot to recovery automatically after that.
BooM ! PBRP flashed successfully.
Notes
DM-Verity patch added to flashable zip
Force Encryption patch also added to flashable zip
Downloads
Both Image & Zip=> https://www.androidfilehost.com/?w=files&flid=296747
Contributors
chankruze
Source Code: https://github.com/N00bTree/android_device_ulefone_Armor_6
Version Information
Status: Testing
Honestly, thank you so much for this.
I can confirm it works on the Ulefone Armor 6 for me. I just tried it and works perfectly.

[RECOVERY][PBRRP] Pitch Black Recovery 2.9.0 for Black Shark [TESTING]

Note: This going to be official soon
Code:
#include <std_disclaimer.h>
/*
*
* We are 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 project
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Pitch Black Recovery Project (PBRP) is a custom recovery project based on Team Win Recovery Project (TWRP) developed by Reza Adi, maintained by Manjot Sidhu and Mohd Faraz and themed by FireWolf.
Prerequisites
1. Unlocked bootloader.
Bugs
1. Test it, those sides which others haven't tested yet
2. If you have found a bug, please consider posting it to my GitHub Issues.
Instructions
Method 1 (Fastboot Installation)
1. Go to the fastboot mode.
2. Download the pbrp-2.9.0-build-02.img and transfer it to the adb folder (rename is optional for simplicity).
3. Open the cmd/terminal and change directory into the adb folder.
4. Now confirm/check that device is connected by typing:-
Code:
fastboot devices
If you got your device seriel number there then you are ready to continue otherwise try connecting device again and make sure USB debugging is on and you have granted permission to the PC to debug.
5. After that we will flash this PBRP recovery to the recovery partition by below command:-
Code:
fastboot flash recovery recovery.img
BooM ! PBRP flashed successfully.
Method 2 (TWRP Installation)
1. As far i know there is an official twrp. If you have it installed in your device, then this is just a piece of cake
2. Flash PitchBlack-shark-2.9.0-20190822-1712-UNOFFICIAL.zip from twrp.
3. It will reboot to recovery automatically after that.
BooM ! PBRP flashed successfully.
Notes for installing Magisk
- After booting into twrp, format data.
- Flash Magisk zip
- After flashing magisk, flash no-verity-opt-encrypt-6.0.zip
- reboot
Downloads
Both Image & Zip => https://androidfilehost.com/user/?w=settings-dev-files&flid=298268
no-verity-opt-encrypt-6.0.zip => https://androidfilehost.com/?fid=6006931924117942519
Contributors
chankruze
Source Code:https://github.com/N00bTree/android_device_blackshark_shark
Version Information
Status: Testing

[RECOVERY][OFFICIAL][Cereus][v3.0.0] Pitch Black Recovery [TWRP 3.4.0]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/*
*Disclaimer
*
* Your warranty is now void.
*
* We're 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 us for messing up your device, we will laugh at you.
*/
Introduction
Pitch Black Recovery is a fork of TWRP with many improvements to make your experience better. It's more flexible & easy to use.
Based on TWRP version: 3.4.0
PitchBlack version: 3.0.0
For device: Cereus
Maintainer/Authors build: Erwin Abs
PitchBlack Source Code: https://github.com/PitchBlackRecoveryProject
Kernel: https://github.com/xiaomi-mt6765
PitchBlack Team: @rezaadi0105, @shovon, @manjot.gni, @androiabledroid, sagar
Features
Fully native android like UI
Supports Treble and non-Treble ROMs
Up-to-date kernel, built from sources
Full dark theme with changeable accents
Reorganized menus
MIUI OTA support
Disable DM Verity
Use AromaFM as default file manager
Various tools are include
Universal flash-able file for all variant of a device
Many bug fixes & optimization & much more
Click to expand...
Click to collapse
Installation Instructions
From previous version or other recovery
Download the PitchBlack zip to your device
Reboot to your current custom recovery
Flash the PitchBlack zip
The device will automatically reboot into PitchBlack Recovery after installation
Enjoy
From PC
Download PitchBlack Recovery flashable zip from bellow
Extract the PBRP zip
Goto fastboot mode in your device
Flash the recovery.img by fastboot flash recovery.img
Boot into PBRP
Copy the zip to internal storage
Flash it
Enjoy
Changelog
PBRP Side Changelog
Code:
v3.0.0
- Fully Redesigned UI
- Added new Keychecks While Flashing PBRP or recovery.img or Ramdisk
- Fully Redesigned Website https://pitchblackrecovery.com
- New Android like Power Menu (Activated via power key hold)
- Flashlight toggled by Vol up(+) on hold
- New Scrollable Advanced menu
- Totally Redesigned Icons
- Removed old unnecessary Theming Stuff
- Tested on almost all handy Resolutions
- Flashlight toggle on Lockscreen
- More checks for SAR/Non-SAR
- New Navbar
- Support on almost all Android version (5.0+)
- Update ozip decrypt
- Fix up ozip print logs & take all paths
- Update FUNDING.yml
- Fixed encrypted removal checks & buttons
- Add Flag for disabling treble compatibility by default
- Is_Data_Wiped: Simplify function signature
- Unified AB_OTA_UPDATER
- Change AB device log storage to /data/recovery
- Delay start if specified in board
- Optimize touchscreen driver initialization delay.
v3.0
- Update kernel
- Update DM Verity Logic
- Update magisk
- Update unroot magisk
- Some bug fixed
Device Side Changelog
Code:
Bugs
- You tell me!
Downloads
Flashable zip
https://pitchblackrecovery.com/cereus
XDA:DevDB Information
PitchBlack Recovery Project, Tool/Utility for the Xiaomi Redmi 6
Contributors
Erwin Abs
Version Information
Status: Stable
Created 2020-10-29
Last Updated 2020-10-30
Notes: specifically in miui based on android 9!! (not recommended on oreo base firmware)
If you were on Twrp before Just Install flashable zip and press volume up for automatic reboot
I want process to flash the recovery to my device. My phone got Hard bricked because of arb protection. Can i get help? Please
Aadharsh.1 said:
I want process to flash the recovery to my device. My phone got Hard bricked because of arb protection. Can i get help? Please
Click to expand...
Click to collapse
Flash recovery.img stock miui oreo from fastboot
Erwin Abs said:
Flash recovery.img stock miui oreo from fastboot
Click to expand...
Click to collapse
No. I mean that i got hard bricked. No recovery, no fastboot, dead screen with constantly vibration (non stop). I got repaired my phone from the service centre since edl was blocked. I want do not want to get bricked again. I just want to know how do you flash it. Some says to flash it normally (fastboot flash recovery.img), some says to flash dummy.img for arb bypass, some says to boot the recovery(fastboot boot recovery.img) and flash the recovery from the recovery itself. I am just confused here. I don't want to get bricked again. I just want to know how did you flash without any problem. ARB protection is the main problem here. I tried to flash PB recovery. The fastboot command says it was successful and when i reboot to recovery, only stock recovery was there. So i tried to flash twrp(official one from twrp page), i got bricked cause of arb.
Can I install twrp on miui 11.0.5.0 android 9. I am afraid the phone will get bricked
sayad1 said:
Code:
/*
*Disclaimer
*
* Your warranty is now void.
*
* We're 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 us for messing up your device, we will laugh at you.
*/
introduction
Pitch Black Recovery is a fork of TWRP with many improvements to make your experience better. It's more flexible & easy to use.
Based on TWRP version: 3.2.3
PitchBlack version: 2.9.0
For device: tulip
Maintainer/Authors build: @rezaadi0105 @sayad1
PitchBlack Source Code: https://github.com/PitchBlackRecoveryProject
Device tree: https://github.com/rezaadi0105/android_device_xiaomi_tulip-twrp
[*]Kernel: Give kernel link here, remove this line if you are using prebuilt kernel
[*]PitchBlack Team: @rezaadi0105, @firewolfxda, @manjot.gni, @androiabledroid, Arbaz Khan
Features
Installation Instructions
From previous version or other recovery
Download the PitchBlack zip to your device
Reboot to your current custom recovery
Flash the PitchBlack zip
The device will automatically reboot into PitchBlack Recovery after installation
Enjoy
from PC (Windows & Linux)
Download PBRP PC Installer zip from bellow
Download PitchBlack Recovery flashable zip from bellow
Extract the PBRP PC installer zip & copy the flashable zip to the installer folder
Goto fastboot mode in your device
Windows users open pbinstaller.bat file
Linux users execute pbinstaller.sh in a terminal
Follow the introductions on the installer from there
Enjoy
(LInux users will need unzip, adb & fastboot installed on their system)
changelog
Code:
v2.9.0
- Update kernel
- Update DM Verity Logic
- Update magisk
- Update unroot magisk
- Some bug fixed
flashable zip
download link here
2019.1.27
https://sourceforge.net/projects/pi...lip-2.9.0-20181211-1618-OFFICIAL.zip/download
Telegram :- https://t.me/tulipofficial
pC INSTALLER
https://sourceforge.net/projects/pi...ller/PB_Installer_20181014_ALPHA.zip/download
Click to expand...
Click to collapse
Erwin Abs said:
Flash recovery.img stock miui oreo from fastboot
Click to expand...
Click to collapse
Erwin Abs said:
Code:
/*
*Disclaimer
*
* Your warranty is now void.
*
* We're 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 us for messing up your device, we will laugh at you.
*/
Introduction
Pitch Black Recovery is a fork of TWRP with many improvements to make your experience better. It's more flexible & easy to use.
Based on TWRP version: 3.4.0
PitchBlack version: 3.0.0
For device: Cereus
Maintainer/Authors build: Erwin Abs
PitchBlack Source Code: https://github.com/PitchBlackRecoveryProject
Kernel: https://github.com/xiaomi-mt6765
PitchBlack Team: @rezaadi0105, @shovon, @manjot.gni, @androiabledroid, sagar
Features
Installation Instructions
From previous version or other recovery
Download the PitchBlack zip to your device
Reboot to your current custom recovery
Flash the PitchBlack zip
The device will automatically reboot into PitchBlack Recovery after installation
Enjoy
From PC
Download PitchBlack Recovery flashable zip from bellow
Extract the PBRP zip
Goto fastboot mode in your device
Flash the recovery.img by fastboot flash recovery.img
Boot into PBRP
Copy the zip to internal storage
Flash it
Enjoy
Changelog
PBRP Side Changelog
Code:
v3.0.0
- Fully Redesigned UI
- Added new Keychecks While Flashing PBRP or recovery.img or Ramdisk
- Fully Redesigned Website https://pitchblackrecovery.com
- New Android like Power Menu (Activated via power key hold)
- Flashlight toggled by Vol up(+) on hold
- New Scrollable Advanced menu
- Totally Redesigned Icons
- Removed old unnecessary Theming Stuff
- Tested on almost all handy Resolutions
- Flashlight toggle on Lockscreen
- More checks for SAR/Non-SAR
- New Navbar
- Support on almost all Android version (5.0+)
- Update ozip decrypt
- Fix up ozip print logs & take all paths
- Update FUNDING.yml
- Fixed encrypted removal checks & buttons
- Add Flag for disabling treble compatibility by default
- Is_Data_Wiped: Simplify function signature
- Unified AB_OTA_UPDATER
- Change AB device log storage to /data/recovery
- Delay start if specified in board
- Optimize touchscreen driver initialization delay.
v3.0
- Update kernel
- Update DM Verity Logic
- Update magisk
- Update unroot magisk
- Some bug fixed
Device Side Changelog
Code:
Bugs
- You tell me!
Downloads
Flashable zip
https://pitchblackrecovery.com/cereus
XDA:DevDB Information
PitchBlack Recovery Project, Tool/Utility for the Xiaomi Redmi 6
Contributors
Erwin Abs
Version Information
Status: Stable
Created 2020-10-29
Last Updated 2020-10-30
Click to expand...
Click to collapse
Please reply soon for my problem i have posted already. I am depending on your method
Aadharsh.1 said:
introduction
Pitch Black Recovery is a fork of TWRP with many improvements to make your experience better. It's more flexible & easy to use.
Based on TWRP version: 3.2.3
PitchBlack version: 2.9.0
For device: tulip
Maintainer/Authors build[email protected]
PitchBlack Source Code: https://github.com/PitchBlackRecoveryProject
Device tree: https://github.com/rezaadi0105/android_device_xiaomi_tulip-twrp
Kernel: Give kernel link here, remove this line if you are using prebuilt kernel
PitchBlack Teamrezaadi0105, @firewolfxda, @manjot.gni, @androiabledroid, Arbaz Khan
Features
Installation Instructions
From previous version or other recovery
Download the PitchBlack zip to your device
Reboot to your current custom recovery
Flash the PitchBlack zip
The device will automatically reboot into PitchBlack Recovery after installation
Enjoy
from PC(Windows & Linux)
Download PBRP PC Installer zip from bellow
Download PitchBlack Recovery flashable zip from bellow
Extract the PBRP PC installer zip & copy the flashable zip to the installer folder
Goto fastboot mode in your device
Windows users open pbinstaller.bat file
Linux users execute pbinstaller.sh in a terminal
Follow the introductions on the installer from there
Enjoy
(LInux users will need unzip, adb & fastboot installed on their system)
changelog
Introduction
Pitch Black Recovery is a fork of TWRP with many improvements to make your experience better. It's more flexible & easy to use.
Based on TWRP version: 3.4.0
PitchBlack version: 3.0.0
For device: Cereus
Maintainer/Authors build: Erwin Abs
PitchBlack Source Code: https://github.com/PitchBlackRecoveryProject
Kernel:https://github.com/xiaomi-mt6765
PitchBlack Teamrezaadi0105, @shovon, @manjot.gni, @androiabledroid, sagar
Features
Installation Instructions
From previous version or other recovery
Download the PitchBlack zip to your device
Reboot to your current custom recovery
Flash the PitchBlack zip
The device will automatically reboot into PitchBlack Recovery after installation
Enjoy
From PC
Download PitchBlack Recovery flashable zip from bellow
Extract the PBRP zip
Goto fastboot mode in your device
Flash the recovery.img by fastboot flash recovery.img
Boot into PBRP
Copy the zip to internal storage
Flash it
Enjoy
Changelog
PBRP Side Changelog
Please reply soon for my problem i have posted already. I am depending on your method
Click to expand...
Click to collapse
Just install zip, only for firmware miui Pie
tranluc123 said:
Can I install twrp on miui 11.0.5.0 android 9. I am afraid the phone will get bricked
Click to expand...
Click to collapse
This has been tested on Miui Pie firmware
Aadharsh.1 said:
No. I mean that i got hard bricked. No recovery, no fastboot, dead screen with constantly vibration (non stop). I got repaired my phone from the service centre since edl was blocked. I want do not want to get bricked again. I just want to know how do you flash it. Some says to flash it normally (fastboot flash recovery.img), some says to flash dummy.img for arb bypass, some says to boot the recovery(fastboot boot recovery.img) and flash the recovery from the recovery itself. I am just confused here. I don't want to get bricked again. I just want to know how did you flash without any problem. ARB protection is the main problem here. I tried to flash PB recovery. The fastboot command says it was successful and when i reboot to recovery, only stock recovery was there. So i tried to flash twrp(official one from twrp page), i got bricked cause of arb.
Click to expand...
Click to collapse
if you are on twrp LR mod just install zip and press volume up to reboot into auto recovery
Erwin Abs said:
Flash recovery.img stock miui oreo from fastboot
Click to expand...
Click to collapse
Erwin Abs said:
if you are on twrp LR mod just install zip and press volume up to reboot into auto recovery
Click to expand...
Click to collapse
I am on stock rom. Does nothing happenes if i just flash normally? Also do i need to flash any zips like disable force encryption, lazyflasher,etc after successfully flashed PB
Erwin Abs said:
This has been tested on Miui Pie firmware
Click to expand...
Click to collapse
Then can you root android 9 miui 11.0.5.0?
Beta Build UP
Changelog:
- Initial Unified Redmi 6/6A
- Add Arm64 Support
- Drop Critical Partitions
- Based on TWRP 3.5.2
- Decrypt Need TEST.
https://sourceforge.net/projects/pbrp/files/cactus/PBRP-cactus-3.1.0-20210817-0331-BETA.zip/download
Aadharsh.1 said:
No. I mean that i got hard bricked. No recovery, no fastboot, dead screen with constantly vibration (non stop). I got repaired my phone from the service centre since edl was blocked. I want do not want to get bricked again. I just want to know how do you flash it. Some says to flash it normally (fastboot flash recovery.img), some says to flash dummy.img for arb bypass, some says to boot the recovery(fastboot boot recovery.img) and flash the recovery from the recovery itself. I am just confused here. I don't want to get bricked again. I just want to know how did you flash without any problem. ARB protection is the main problem here. I tried to flash PB recovery. The fastboot command says it was successful and when i reboot to recovery, only stock recovery was there. So i tried to flash twrp(official one from twrp page), i got bricked cause of arb.
Click to expand...
Click to collapse
I also facing this issue now. I flash two different ROMs and no one boot up, so i think if it is related to recovery issue, and i downloaded twrp.img and flash it via PB and restart to new recovery. And now it keeps vibration. I'll try to find a way to maye it survive, but i cant stop it from vibrating. its really noisy.
Jackboy2 said:
I also facing this issue now. I flash two different ROMs and no one boot up, so i think if it is related to recovery issue, and i downloaded twrp.img and flash it via PB and restart to new recovery. And now it keeps vibration. I'll try to find a way to maye it survive, but i cant stop it from vibrating. its really noisy.
Click to expand...
Click to collapse
Even when I flashed twrp in Redmi Y2/S2, the phone got bricked. But the phone can boot twrp successfully. So i just flashed a custom rom.
Anyways, i gave up both the phones and bought a new one. I flashed xiaomi.eu and I'm satisfied with that.
Jackboy2 said:
I also facing this issue now. I flash two different ROMs and no one boot up, so i think if it is related to recovery issue, and i downloaded twrp.img and flash it via PB and restart to new recovery. And now it keeps vibration. I'll try to find a way to maye it survive, but i cant stop it from vibrating. its really noisy.
Click to expand...
Click to collapse
Well, idk but i think the only way to revive the phone is to flash the rom in edl mode with sp flash tool. Just remove your back cover, disconnect the fingerprint and battery. Now open the sp flash tool and select the rom to be flashed and it will wait for the device to connect.
Now hold volume down and connect the usb to enter into edl mode.
But the problem is, Xiaomi blocked the access for edl flashing. You'll require an auth file and authorised mi account.
I tried this tutorial a way long back. Maybe now there could be a way to bypass with a modified auth file.
Jackboy2 said:
I also facing this issue now. I flash two different ROMs and no one boot up, so i think if it is related to recovery issue, and i downloaded twrp.img and flash it via PB and restart to new recovery. And now it keeps vibration. I'll try to find a way to maye it survive, but i cant stop it from vibrating. its really noisy.
Click to expand...
Click to collapse
There was a crack available for snapdragon phones which disables mi account to flash the rom.
But the mediatek phones are hopeless. You have to take it to the service centre.
Aadharsh.1 said:
There was a crack available for snapdragon phones which disables mi account to flash the rom.
But the mediatek phones are hopeless. You have to take it to the service centre.
Click to expand...
Click to collapse
Something interesting, after it vibrate til battery dead, i connect it to PC and try to flash it via SP, and it boot up, also can go to fastboot.
So i flash PB back and flash Los, now its working perfectly.
Thanks for your reply

[Q][TREBLE VENDOR][J4CORELTE][PROJECT TREBLE VENDOR FOR J4CORELTE V2]

/*
* Your warranty is now void.
*
* We are 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 us for messing up your device, we will laugh at you.
*
*/
Hi everyone i want to share a gsi vendor image that boots most Q and P roms for the samsung galaxy j4 core.
How to install:
reboot to twrp go to format data type yes *this will format all your data*
go back to wipe and select system,vendor,cache,data and dalvik then swipe to wipe
go to install click on install image select the gsi image file then swipe to flash
now select install zip and click on the vendor image you have downloaded and swipe to flash
finally you can flash gapps if your gsi doesn't include them *note: if you dont have enough space to install gapps to to wipe select system and select repair or change file system click on resize system then swipe to reisze*
and if you are into rooting flash magisk zip file
note try to not install gsi roms that aren't over 1.2gb lineageos 17.1 and dotos are prefered
BUGS:
none
What works:
-boots
-offline charging
-sound
-wifi
-gps
-bluetooth
-mtp
-RIL
if you want to report a bug be sure to include logcat
After this thread started to gain downloads, i decided pushed another update with improved peformance!
Download:
V2 Google drive: https://drive.google.com/file/d/1z-OrGTjv9HD9SL2j30EYyUA__xjmhIaR/view?usp=sharing
V1 Google drive: https://drive.google.com/file/d/14-XNmD_19Mt-dFSReBZk8luoeY2ZoD9r/view?usp=sharing
Credits:
@leohiper10 for the sources and allowing me to use his vendor image from his lineageos 16 build (doesnt use his vendor build anymore with V2).
myself for taking my time to test and fix the bugs
XDA: DevDB Information
Fggevhy Vendor for galaxy j4 core
ROM OS Version: 10 Q
ROM Kernel: Linux 3.x
ROM Firmware Required: latest bootloader and dtbo
Based On: Project Treble
Version Information
Status: Stable
Current Stable Version: V2.0
Current Beta Version: V2.0
Stable Release Date: 2021-11-08
Created 2021-09-20
Last Updated 2021-11-08
happy flashing!
Forgot to mention that the gsi image must be arm Aonly i will add that later
Changelog: 08/11/2021
-.img format instead of flashable zip
-Set screen density to 411
-Fixed pretty much all bugs in the older release
-Fixed Unknown baseband bug and unkown imei with old version on j410f
-Better peformance!
Changelog: 22/10/2021
-baked custom kernel onto it
-fixed call audio
-fixed crashing issue of qcrilmsg (responsable for ril)
-fixed wifi issue on j410F
-fixed dual sim on J410F/DS
How u fixed call audio ?
I tried flashing lineage and aosp. With both after going through the process, when I reboot system in twrp, it always reboots to download mode.
Device model: sm-j410f
NsovoXD said:
I tried flashing lineage and aosp. With both after going through the process, when I reboot system in twrp, it always reboots to download mode.
Device model: sm-j410f
Click to expand...
Click to collapse
try with orangefox
also if you have issues flash the first release of the vendor then update to v2
Has anyone tried this /vendor with a Lineage 18.1 GSI? Asking for a friend.
LegoLivesMatter said:
Has anyone tried this /vendor with a Lineage 18.1 GSI? Asking for a friend.
Click to expand...
Click to collapse
should work!

Categories

Resources