Havoc os 4.1 gsi for m21 - Samsung Galaxy M21 Guides, News, & Discussion

{
"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"
}
Here is Havoc os 4.1 for Samsung galaxy m21
Make sure your device is unlocked bootloader and installed latest twrp also be on latest firmware. Make sure you have stock firmware in your pc if something goes wrong you can flash stock rom by odin. Also do a backup of your all data.
I will not responsible for anything.
Features
Highly customized stable fast android 11 gsi
Flashing Guide
In twrp
-Format Data
-wipe dalvic cach data
-reboot to recovery
-flash havoc os.zip
-flash multidisabler.zip/ disable dm Verity .zip / lattest magisk zip
-Reboot to system
Click to expand...
Click to collapse
Havoc os 4.1 gsi download
Known bugs
-MTP (you can use twrp mtp for transfering files)
-VOLTE (if your operator support 2g network you can still receive and make calls example airtel for India also 4g internet work without any problem)
-HOTSPOT (you can use usb tethering to share internet for pc but hotspot is a bug)
-AOD
Click to expand...
Click to collapse
Working
Everything else try yourself
Click to expand...
Click to collapse
How to root?
Flash magisk zip in twrp attached with and install magisk manager app
Click to expand...
Click to collapse
Screenshots click on spoiler to see screenshots
Spoiler
Credits
@Nazim navas for zipping and upoloading Havoc os​@soulr344 for making gsi flasher zip and twrp​@ anurup jha for screenshots​@Sagarking me for writing thread​@Havoc team for awessome havoc gsi 4.1​and all other who deserve creadits but not mentioned​​Telegram group for m21​

Overlay fix
Flash attached file in twrp for cutting corners flash and forget
===================================
If you feel speaker volume is low use Dolby Atmos magisk module do YouTube search for that

Use hktweaks for make fast or slow charging
And use Google Camero Go for camera purpose
Camera go

Oneui 3.0 or havoc 4.1 which one is better.

One ui is better in features but havoc overall

Descendent a11 gsi
Flashing method same as havoc
Download Descendent gsi
Click on spoiler to see screenshots
Spoiler
[/spoiler

Has anyone tried this successfully? Are there any disadvantages to doing this?

Wifi hotspot fix for Gsi
Code:
setprop persist.sys.phh.system_hostapd false
run this script after su in terminal emalutor and restart
Credit & Thanks to @soulr344

-Wifi hotspot is already fixed in lattest phh gsi so no need to run any script
-MTP also fixed by Prish kernel Gsi version 13 March build you will just need select file transfer in developer usb option
-Now you can directly flash gsi from lattest twrp so no need of zip you can download and install gsi yourself select install image and then install as a system in twrp also do wipe data cach data and system in wipe option of twrp.
- you need to extract gsi file example pixel.img.xz after extract pixel.img use zarchiever to extract
-camera go is best app for camera in gsi you can get it on apkmirror easily.
-download gsi from Here
-Downlooad arm64 a/b (ab) gsi image
Gsi Naming info
Information about what type of GSI it is
<ARCH>_xyZ
<ARCH> can either be arm, a64 or arm64
x can either be a or b
y can either be v, o, g or f
Z can be N or S
b = a/b
a = a-only
g = gapps
o = gapps-go
v = vanilla (no gapps included)
f = floss (free & open source apps instead gapps)
N = no superuser
S = superuser included

sid_raj7 said:
Has anyone tried this successfully? Are there any disadvantages to doing this?
Click to expand...
Click to collapse
exept for MTP wich the kernel mentioned didn't fix it good. EDIT DON'T MIND ME.
it's working u just have to select file transfer in dev ops instead if selecting it from statut bar.

Sagarking said:
-Wifi hotspot is already fixed in lattest phh gsi so no need to run any script
-MTP also fixed by Prish kernel Gsi version 13 March build you will just need select file transfer in developer usb option
-Now you can directly flash gsi from lattest twrp so no need of zip you can download and install gsi yourself select install image and then install as a system in twrp also do wipe data cach data and system in wipe option of twrp.
- you need to extract gsi file example pixel.img.xz after extract pixel.img use zarchiever to extract
-camera go is best app for camera in gsi you can get it on apkmirror easily.
-download gsi from Here
-Downlooad arm64 a/b (ab) gsi image
Gsi Naming info
Information about what type of GSI it is
<ARCH>_xyZ
<ARCH> can either be arm, a64 or arm64
x can either be a or b
y can either be v, o, g or f
Z can be N or S
b = a/b
a = a-only
g = gapps
o = gapps-go
v = vanilla (no gapps included)
f = floss (free & open source apps instead gapps)
N = no superuser
S = superuser included
Click to expand...
Click to collapse
Please mention TWRP version.
Where to install the img, on Prism, Optics or Super?

Sagarking said:
-Wifi hotspot is already fixed in lattest phh gsi so no need to run any script
-MTP also fixed by Prish kernel Gsi version 13 March build you will just need select file transfer in developer usb option
-Now you can directly flash gsi from lattest twrp so no need of zip you can download and install gsi yourself select install image and then install as a system in twrp also do wipe data cach data and system in wipe option of twrp.
- you need to extract gsi file example pixel.img.xz after extract pixel.img use zarchiever to extract
-camera go is best app for camera in gsi you can get it on apkmirror easily.
-download gsi from Here
-Downlooad arm64 a/b (ab) gsi image
Gsi Naming info
Information about what type of GSI it is
<ARCH>_xyZ
<ARCH> can either be arm, a64 or arm64
x can either be a or b
y can either be v, o, g or f
Z can be N or S
b = a/b
a = a-only
g = gapps
o = gapps-go
v = vanilla (no gapps included)
f = floss (free & open source apps instead gapps)
N = no superuser
S = superuser included
Click to expand...
Click to collapse
Which one is suggested for Samsung M21 from https://github.com/phhusson/treble_experimentations/releases/tag/v313
What else installation is required?

jony4fun said:
Which one is suggested for Samsung M21 from https://github.com/phhusson/treble_experimentations/releases/tag/v313
What else installation is required?
Click to expand...
Click to collapse
You can use the latest SHRP or PBRP or TWRP 3.5.2 to flash it. If you are using OFOX you'll have to flash dynapatch to make it work.
Flash the img file directly to system, not to super or other partitions
You can find a good list of GSIs here
You'll want to get ARM64 AB (ARM64 BGN) refer
As for additional steps, wipe data if you are coming from other roms
If it is bootlooping, you can try the following:
* flash multi disabler and format data
* flash magisk or if you don't want to root, flash dm verity disabler
* try a different kernel
guide

Related

guide flash phh gsi [10.0] without bug (updated in 24.06.2020 )

{
"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:
/*
* 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.
*/
"The goal of Phh-Treble for Android 10.0 is Bring latest AOSP to the maximum number of devices running Google-certified Treble, with full hardware support
Instructions for flashing:
0 ) UNLOCK BOOTLOADER
go to fastboot and enter :
Code:
[SIZE="4"]fastboot oem unlock[/SIZE]
1) flash clean firmware oreo 9.6.11 ( ex: in edl mode )
Android 8.1.0 [V9.6.11.0.ODLMIFF]:
9.6.11 FASTBOOT HERE
Oreo .why no pie and q ? Because in pie camera no work , vendor Q is no stable as hell ...
you can try from pie firmware but you not have camera !
2)erase from stock recovery data ! and press for enter to fastboot
3) Go to twrp from fastboot ( img here ) !
Code:
[SIZE="4"]command : fastboot boot twrp.img[/SIZE]
From twrp :
4) flash twrp installer ! ( link )
5) flash system.img gsi ARM64 AB VANILLA in system image partition and resize in advanced erase twrp select system and apply resize system
6)flash encryption disabler from @33bca daisy
7) flash custom kernel recommanded , And verify before flash your kernel its 3.18 I have developped kernel Q caf see here ...
8) reboot in twrp !
9) update to latest opengl and vulkan from here
9.B ) in aosp phh only ( no need for custom)you need flash bad notification sound routing fix (silent gsi zip )
10) : you can flash gapps, I recommend minimal pack, for fix certified play store error in phh setting press to "securize "
---OPTIONAL---
11) : you can enable 4k recording and 1080p front camera , flash this zip " enable4kvideo" from @eremitein
12) : you can enable enable in wifi 2.4ghz 40mhz for up speed wifi to 150mb/s , you need go in /vendor/etc/wifi/WCNSS_qcom_cfg.ini Then add this line in the bottom:
gChannelBondingMode24GHz=1
13) : you can add improved overlay created by @eremitein from MIUI overlay sakura - better support for notch, power stats, auto brightness
14 ) tuning graphic for performance ! flash zip UIfix
15) need gcam ? flash enable cam2api zip !
16 ) flash offline charging zip for unlock offline charging in selinux enforced ...
Downloads:
Official quack Builds
Credits
@phhusson
@emeritein
all other contributor no mentioned
​
Thanks for your work, I will try.
@ada12 thanks for guide
btw fpc_gesture fix don't need for all newest gsi, bcs it fixed on system side
and gcam fix need only for pie vendor
havoc 2.7 also works in enforced mode, tested by me
Thanks for information about fpc_gesture , guide already fixed now
eremitein said:
@ada12 thanks for guide
btw fpc_gesture fix don't need for all newest gsi, bcs it fixed on system side
and gcam fix need only for pie vendor
havoc 2.7 also works in enforced mode, tested by me
Click to expand...
Click to collapse
Thank you!
I installed AOSP Treble using this method but Camera doesn't want to work. And some system animations are laggy, is this normal?
eremitein said:
@ada12 thanks for guide
btw fpc_gesture fix don't need for all newest gsi, bcs it fixed on system side
and gcam fix need only for pie vendor
havoc 2.7 also works in enforced mode, tested by me
Click to expand...
Click to collapse
How do you installed havoc 2.7 can you help me?
Bokoko006 said:
How do you installed havoc 2.7 can you help me?
Click to expand...
Click to collapse
same as all gsi:
- install stock 9.6.11 (users said with pie version also works)
- format data from stock recovery
- flash Havoc 2.7 system.img (via twrp of fastboot)
- flash fix from https://forum.xda-developers.com/showpost.php?p=79902466&postcount=1262
- boot in Havoc)
Gustavo_Jadson said:
I installed AOSP Treble using this method but Camera doesn't want to work. And some system animations are laggy, is this normal?
Click to expand...
Click to collapse
camera should works, for me it works with oreo vendor. may be you need install persist fix, see attachment
for remove ui lags (if you using oreo vendor) you can install custom kernel Butterfly or DragonHeart
Update guide : Enable 4k recording in pie vendor
UPDATE GUIDE 07/08/2019 : add fix from @33bca for custom rom in gsi for enable 4k recording in pie vendor
ENJOY!
can i try this on android 10 gsi?
actually phh gsi no boot but port is available : [10.0] [Unofficial] [Gcam] [GSI] Android Q for Daisy
https://forum.xda-developers.com/mi-a2-lite/development/10-0-android-q-daisy-t3967734
alvinfloppee said:
can i try this on android 10 gsi?
Click to expand...
Click to collapse
after long time guide updated today for flash android 10 aosp from @phhusson without bug
you need flash minimum aosp v204 in version aosp phh gsi!
read carefully step is little different ( need oreo firmware only) and flash fix is not same !
HAPPY FLASHING
Hi, I will try again, what gapps you recommend?
I recommand bitgapps its minimal gapps and optimized ...
Os_Herdz said:
Hi, I will try again, what gapps you recommend?
Click to expand...
Click to collapse
Do you guys recommend this ROM?
Béchameloo said:
Do you guys recommend this ROM?
Click to expand...
Click to collapse
Yes. Is new pure google Q !
gumka77 said:
Yes. Is new pure google Q !
Click to expand...
Click to collapse
Have you used it? What kind of bugs exist? How's the battery drainage, and the scroll smoothness?
What do you mean by,
ada12 said:
8) reboot in twrp !
Click to expand...
Click to collapse
Switch slot? Reboot back to TWRP? Reboot to system then back to TWRP?
EDIT: Another question. Do I NEED to flash a kernel? If so, which version of Dragonheart kernel should I use? 2.2 or 3.3?
Reboot to twrp is mean from twrp press recovery reboot ( no reboot in system)
-about battery ? very good I told you
Béchameloo said:
What do you mean by,
Switch slot? Reboot back to TWRP? Reboot to system then back to TWRP?
EDIT: Another question. Do I NEED to flash a kernel? If so, which version of Dragonheart kernel should I use? 2.2 or 3.3?
Click to expand...
Click to collapse

[ROM][9.0][grus][unofficial] crDroid Android

crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the best features existent today. It's mainly based on LineageOS.
{
"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"
}
Features
Click for feature list
Always Have a full functional Backup. Just in case!
crDroid v5.8 build
crDroidAndroid-9.0-20190924-grus-v5.8.zip
FW-Baseband_EEAGlobal_V10.3.4.0.PFBEUXM.zip
Requirements:
1. Unlocked BL and TWRP installed
First time installing crDroid to your phone, or coming from another ROM:
Installation
1) Boot into twrp, format data, swipe to factory reset, reboot back into twrp
2) flash crDroid zip
3) flash FW-Baseband_EEAGlobal_V10.3.4.0.PFBEUXM.zip
4) Flash gapps & magisk (if needed)
5) Reboot and pray || enjoy !
In case of bootloop/fastboot: flash vbmeta.img with fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Vendorless (GSI) crDroid v5.6 build [DEPRECATED]
crDroidAndroid-9.0-20190731-grus-v5.6.zip
Requirements:
1. Unlocked BL and TWRP installed
2. Running some recent MIUI (yep, it's all about Treble so we're going to use vendor's blob and firmware)
First time installing crDroid to your phone, or coming from another ROM:
Installation
1) Boot into twrp, format data, swipe to factory reset, reboot back into twrp
2) flash vendor-firmware zip & crDroid zip
3) Flash gapps & magisk (if needed)
4) Reboot and pray || enjoy !
5) In case of bootloop: flash vbmeta.img with fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img (check GSI topics to obtain vbmeta file)
***Remember to always clean flash before reporting problems. Clean flashing is always the best method of ROM install.
KNOWN ISSUES
you tell me
Kudos to:
crDroid Team
@okitavera (ROM bundled with her kernel)
@pengus77
Get your developer happy buy him some beer.. (thank you guys who already donated btw! very appreciated!)
24.09.19
* Repo sync
* Camera media_profiles additions
* CHRE/ContextHub enabled (flash FW-Baseband_EEAGlobal_V10.3.4.0.PFBEUXM.zip for it to work)
* Wifi Offload (?)
* DPI set to 480
* Reverted back to Okita Kernel 8.0
* Perhaps it's final crDroid update based on Android Pie
31.07.19
* Ditched out castrated crDroid's doze implementation in favor of CustomDoze (more options like pulse on double tap etc)
* Attempts to fix Always on Display, should be better now
* Complete device tree rework
29.07.19
* Aspect ratio fix for pre-O apps
* Sync with crDroid repo
* bring up some build.props from MIUI
* some minor fixes..
26.07.19
* Screen inactivity time fix
* Fix Smartbar transperency (intentionally broken by crDroid but for what reason??)
Can I use Okita Kernel or rom is not ready for it? Is it usable for daily use or is it an "alpha" version?
@faust93,
I would be glad about a lineage version of you
Hi @faust93! Thanks for your great work!
Is it a different version from the Havoc post?
I tried this one and and no 4g and no keyboard... Can you tell me if those bugs are fixed (just reinstalled Havoc...)?
Thanks!
Please would you be able to use some stable mirror to download rom? svr4.ru is often down.
vecino said:
Can I use Okita Kernel or rom is not ready for it? Is it usable for daily use or is it an "alpha" version?
Click to expand...
Click to collapse
It's already in use
kagazushi said:
Hi @faust93! Thanks for your great work!
Is it a different version from the Havoc post?
I tried this one and and no 4g and no keyboard... Can you tell me if those bugs are fixed (just reinstalled Havoc...)?
Thanks!
Click to expand...
Click to collapse
It's different version. Keyboard is here. To fix 4g check your APN settings (if it's empty 3dots->Reset to default should help).
faust93 said:
Installation
1) Boot into twrp, format data, swipe to factory reset, reboot back into twrp
2) flash crDroid zip
3) Flash gapps & magisk (if needed)
4) Reboot and pray || enjoy !
5) In case of bootloop (for me everything works without this step): flash vbmeta.img with fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img (check GSI topics to obtain vbmeta file)
Click to expand...
Click to collapse
Hello dear developer,
First of all big thanks for your very early development effort!
Regarding the installation steps you mention:
Do you mean "erase internal storage completely" with format data? Because that would also erase the vendor partitition...
So I guess you mean to wipe system, data and cache and then Flash crDroid, right? So the steps are
Install recent MIUI
Wipe System, data, Cache, dalvik
Install crDroid
... And so on... (like you say from point 3) on)
Am I right in my assumption?
shisaya24 said:
Regarding the installation steps you mention:
Do you mean "erase internal storage completely" with format data? Because that would also erase the vendor partitition...
So I guess you mean to wipe system, data and cache and then Flash crDroid, right?
Am I right in my assumption?
Click to expand...
Click to collapse
No, you are not right. He means: press "Format data". No problem.
@shisaya24: Vendor partition is separate and you can update vendor / firmware via: https://xiaomifirmwareupdater.com without flash miui global, dev, xiaomi.eu, etc.
@faust93
Thanks for developing the ROM.
I'm really sorry for asking, but when can we expect the ROM to be stable enough to use as a daily driver? I really hate MIUI at the point of it's RAM management and I can't wait for changing it to something stock-like.
Kind regards.
I think it is difficult to answer that. It is relative what means stable. Havoc was also possible used as a daily driver just after a few builds. You can try do full backup via TWRP ... flash crDroid and answer for yourself if you want him like daily driver.
Testing right now:
FP ok
Face unlock ok
4G ok
Phone ok
It seems way faster than Havoc in particular FP and FaceUnlock.
So far so good!
Awesome! I feel like a kid in a shop full of candy... CRDroid and Havoc, the two best os for a smartphone! Thank you @faust93
Installing, I will post my opinion
edit: so far so good! Everything seem to work, I didn't test Google Pay yet. I'm not sure but it feels slower than xiaomi.eu tho...
edit2: my journey with this ROM just began, I'm staying My lags have stopped, and everything works as expected. I'm happy to say its first stable rom for Grus.
Thanks dev, keep on great work!
vecino said:
@shisaya24: Vendor partition is separate and you can update vendor / firmware via: https://xiaomifirmwareupdater.com without flash miui global, dev, xiaomi.eu, etc.
Click to expand...
Click to collapse
Thanks for pointing out - so I simply download one of the recent Firmware zips from that side, then completely wipe my phone incl internal storage (Format data option) and then install firmware zip + crdroid?
Did I get it right this time?
@shisaya24
Yes you can do complete wipe + flash vendor / firmware via: https://xiaomifirmwareupdater.com and after that flash crDroid.
Sorry about the noob questions, but I really like more stock android look, but I also like some MIUI features as well.
So if I install this rom(since I'm not familiar with it), would I be able to install the stock MiUI Camera app?
And does this rom have MIUI like gestures for navigation?
Am I going to be able to use onscreen fingerprint sensor?
mymagicmyhero said:
Sorry about the noob questions, but I really like more stock android look, but I also like some MIUI features as well.
So if I install this rom(since I'm not familiar with it), would I be able to install the stock MiUI Camera app?
And does this rom have MIUI like gestures for navigation?
Am I going to be able to use onscreen fingerprint sensor?
Click to expand...
Click to collapse
Yes, you can install stock miui camera but its not recommended, i would say install gcam instead.
Miui Gestures can be obtained by this app: https://play.google.com/store/apps/details?id=app.le.miui10gestures&hl=en_US
I'm using it now and it feels great!
Fingerprint is 100% functional.

Development [RECOVERY][UNOFFICIAL] TWRP for Galaxy A53 5G (Exynos)

{
"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"
}
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
Code:
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or your 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.
Supported Models:
Galaxy A53 5G A536B, A536E, A536N & A5360
Download & Guide:
1. Unlock your bootloader.
2. Downloads for A53 5G: a53x twrp and kernel
3. Reboot to download mode
4. Put the TWRP TAR for your device with Odin in the AP slot, vbmeta_disabled_R.tar in USERDATA slot and click start.
5. Reboot to recovery via recovery key combo (Vol up + power + USB connected).
6. Disable encryption:
- Go to Advanced > Terminal, type: multidisabler.​If vendor complain about free space left on device, will attempt to resize vendor. and it ask to - Run multidisabler again!.​- Type: multidisabler again. will see - Finished. when done.​- Go back to Wipe > Format Data > type yes.​- Reboot to recovery.​7. Flash custom kernel and magisk apk in twrp.
8. Reboot to system, Enjoy.
Support:
Live support is available via #twrp on Freenode with your IRC client or just click this link.
Telegram:
Link
Bugs:
- Encryption not fully working.
Thanks:
TWRP team
@MaloyZV on telegram for testing
@ianmacd for multidisabler
@Dan_FFM (David Dean) for helping with convert readonly f2fs vendor to readwrite
Donators
Sources:
Kernel tree
Device tree
Changelog:
12.07.2022 - Initial Release.
Note1: You need a custom permissive kernel to boot with R/W vendor.
Note2: If you got bootloop on Samsung logo, reboot to TWRP and wipe metadata from Advanced Wipe section.
Hi, I am currently testing this. So far, I have only flashed the TWRP via ODIN (already have a custom ROM running).
I want to backup my data first before messing around. When I try to mount internal storage, it says 0MB.
So do I need to flash the custom kernel before I can access the data partition or internal sdcard?
Or is data access/backup not supported?
aximut said:
Hi, I am currently testing this. So far, I have only flashed the TWRP via ODIN (already have a custom ROM running).
I want to backup my data first before messing around. When I try to mount internal storage, it says 0MB.
So do I need to flash the custom kernel before I can access the data partition or internal sdcard?
Or is data access/backup not supported?
Click to expand...
Click to collapse
You cant access the data as mentioned in bug list we dont have encryption support.
afaneh92 said:
You cant access the data as mentioned in bug list we dont have encryption support.
Click to expand...
Click to collapse
I am running LineageOS (based on PHH GSI) which is not encrypted.
This is what the log says.
aximut said:
I am running LineageOS (based on PHH GSI) which is not encrypted.
This is what the log says.
View attachment 5661271
Click to expand...
Click to collapse
And what does GSI that installed to system has to do with data encryption?
If you are worried about your data just move them to pc
And if you are worried about encryption simply dont use twrp.
afaneh92 said:
And what does GSI that installed to system has to do with data encryption?
If you are worried about your data just move them to pc
And if you are worried about encryption simply dont use twrp.
Click to expand...
Click to collapse
The GSI has no support for userdata encryption, which means that the internal data can't be encrypted (and should be unencrypted in /data). Otherwise I would not be able to boot into the ROM. But maybe I am wrong on this.
So if I reformat my data and run the multidisabler, does that mean I can access data in TWRP even having a custom ROM?
aximut said:
The GSI has no support for userdata encryption, which means that the internal data can't be encrypted (and should be unencrypted in /data). Otherwise I would not be able to boot into the ROM. But maybe I am wrong on this.
So if I reformat my data and run the multidisabler, does that mean I can access data in TWRP even having a custom ROM?
Click to expand...
Click to collapse
Yes after running multidisabler and formatting data. You might able to boot GSI without custom kernel but not stock
afaneh92 said:
Yes after running multidisabler and formatting data. You might able to boot GSI without custom kernel but not stock
Click to expand...
Click to collapse
OK thanks. What partition does the multidisabler actually patch to disable encryption? System? Or boot?
aximut said:
OK thanks. What partition does the multidisabler actually patch to disable encryption? System? Or boot?
Click to expand...
Click to collapse
Vendor is ro, it convert it to rw then patch vendor/etc/fstab.exynos****
TWRP and your kernel work in A536N, But root and /system are still ro
I installed stock May 24 firmware with magisk patched before installing TWRP
P.S ) I have to clear dalvik & cache every reboot
gckim250 said:
TWRP and your kernel work in A536N, But root and /system are still ro
I installed stock May 24 firmware with magisk patched before installing TWRP
P.S ) I have to clear dalvik & cache every reboot
Click to expand...
Click to collapse
Yes as I said earlier only vendor is rw to disable encryption. We cant do the same for system as the size doesn't fit.
Ah, Biometrics lockscreen from stock ROM conflicts with SafetyNet Fix module...
That's why I have to clear that every reboot...
Are there any roms available for the A53? Because I was looking for twrp .zip files for this phone, and couldn't find anything for this model.
Lowkeys said:
Are there any roms available for the A53? Because I was looking for twrp .zip files for this phone, and couldn't find anything for this model.
Click to expand...
Click to collapse
phh's AOSP, LineageOS GSI, Pixel Experience GSI are only available for A53 at this time
vndklite version of these can be installed via fastboot mode!
If you want zip-flashing rom, waiting is the only soulution unfortunately
Pixel GSI : https://github.com/ponces/treble_build_pe/releases/download/
phh's AOSP : https://github.com/phhusson/treble_experimentations/releases
Lineage GSI : https://forum.xda-developers.com/t/gsi-12-lineageos-19-x-gsi-a64b-64b.4358041/
gckim250 said:
phh's AOSP, LineageOS GSI, Pixel Experience GSI are only available for A53 at this time
vndklite version of these can be installed via fastboot mode!
If you want zip-flashing rom, waiting is the only soulution unfortunately
Pixel GSI : https://github.com/ponces/treble_build_pe/releases/download/
phh's AOSP : https://github.com/phhusson/treble_experimentations/releases
Lineage GSI : https://forum.xda-developers.com/t/gsi-12-lineageos-19-x-gsi-a64b-64b.4358041/
Click to expand...
Click to collapse
If I were to download phh's AOSP extended for the Samsung galaxy A53 would I have to get the vanilla version? Also when downloading due I have to extract the img.xz file to just get the .img file, and then using an sd card put the file on the phone to flash?
Note my phone model is SM-A536E/DS.
Lowkeys said:
If I were to download phh's AOSP extended for the Samsung galaxy A53 would I have to get the vanilla version? Also when downloading due I have to extract the img.xz file to just get the .img file, and then using an sd card put the file on the phone to flash?
Note my phone model is SM-A536E/DS.
Click to expand...
Click to collapse
gapps = google apps (e.g play store)
vanilla = no google apps
You should install that via TWRP fastboot mode! (or fastbootd)
In fastboot, you may need USB 2.0 port
P.S) my phone is A536N + stock ROM
Treble Info : https://play.google.com/store/apps/details?id=tk.hack5.treblecheck
Will this work on my sm-a536w?
redliner79 said:
Will this work on my sm-a536w?
Click to expand...
Click to collapse
Your bootloader cant be unlocked currently

Development [RECOVERY][UNOFFICIAL] TWRP 3.7.0_12-0 for OnePlus Nord 2T [karen]

{
"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:
#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 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.
*
*/
What's not working?
See https://github.com/oneplus-karen-ro...s_karen-twrp/issues/1#issuecomment-1272629658
- Using fastboot boot <image> doesn't work, due to a very common MediaTek bootloader bug.
- Backing up Data partition may fail due to possible FBE issue.
- Installing OxygenOS stock OTA zip probably fails, because OnePlus didn't add version numbers to their partititons.
Flash guide:
1. Make sure you have the stock boot.img ready that matches your current OxygenOS version.
There's a list of them on this great guide: How to Root Nord 2T with Magisk without TWRP
Add both boot.img and twrp-3.7.0_12-0-UNOFFICIAL-karen.img to your phone storage, using MTP or adb push for example.
2. Flash the TWRP release to the boot partition.
Code:
fastboot flash boot twrp-3.7.0_12-0-UNOFFICIAL-karen.img
fastboot reboot
3. Once you've rebooted to TWRP, install the stock boot.img
- [Install]
- Toggle [Install Image]
- Choose boot.img in the file browser
- Select partition: Boot
- Swipe, DO NOT REBOOT
4. Next we install the ramdisk.
- Press back
- Choose twrp-3.7.0_12-0-UNOFFICIAL-karen.img in the file browser.
- Select partition: Install Recovery Ramdisk
- Swipe (optional, if you want to root the phone, DO NOT REBOOT).
- If you don't want to root, you can reboot now.
Optional, rooting:
5. Save the repackaged boot for Magisk.
Code:
adb shell dd if=/dev/block/by-name/boot of=/sdcard/boot-with-twrp.img
6. Patching the image to root.
- Reboot the device, to normal OS.
- In the Magisk app, choose install and patch our boot-with-twrp.img image.
- Note the ..../Download/magisk_patched-XXXXXXX.img filename in the logs.
7. Install the rooted boot image.
- First switch to TWRP
Code:
adb reboot recovery
- In TWRP, [Install]
- Toggle [Install Image]
- Choose Download/magisk_patched-XXXXXXX.img in the file browser
- Select partition: Boot
- Swipe
- Reboot! You're (finally) done.
Download:
twrp-3.7.0_12-1-UNOFFICIAL-karen.img
twrp-3.7.0_12-0-UNOFFICIAL-karen.img
Source code:
GitHub - oneplus-karen-roms/android_device_oneplus_karen-twrp
Contribute to oneplus-karen-roms/android_device_oneplus_karen-twrp development by creating an account on GitHub.
github.com
Credits:
@SakilMondal for the TWRP denniz (Nord 2) tree this is largely based on.
@PattasuBalu for testing out alpha builds and troubleshooting.
Information:
TWRP version: 3.7.0_12-1-UNOFFICIAL
Created: 2022-10-09
Last Update: 2022-10-15
Reserved :]
Q&A:
Do you need to repeat the install steps after an OTA update?
Short answer: yes you do.
Longer answer
Can't we install Magisk as a zip from TWRP?
Maybe you can? I just don't recommend it.
And neither does Magisk.
Fantastic work. Congrats and a huge thank you
Thanks for the TWRP, now the question is, what happen when we receive OTA updates?
Why seems not possible to directly flash magisk zip (apk renamed) to patch boot img?
I think is better to add this first Q&A in a FAQ list.
cioce said:
Thanks for the TWRP, now the question is, what happen when we receive OTA updates?
Why seems not possible to directly flash magisk zip (apk renamed) to patch boot img?
I think is better to add this first Q&A in a FAQ list.
Click to expand...
Click to collapse
When you recieve an OTA update you have do the entire process again.
garylawwd said:
Fantastic work. Congrats and a huge thank you
Click to expand...
Click to collapse
Thanks for the kind words. :] Was a fair bit of a learning curve but nothing quite as troublesome as now trying to build a full ROM. No luck on that yet.
cioce said:
Thanks for the TWRP, now the question is, what happen when we receive OTA updates?
Why seems not possible to directly flash magisk zip (apk renamed) to patch boot img?
I think is better to add this first Q&A in a FAQ list.
Click to expand...
Click to collapse
(Added the TL;DRs to the second post)
Do you need to repeat the install after an OTA?
Indeed you will need to repeat the process after an OTA.
With an asterisk. Because in theory you could speed this up if you have root access.
The Magisk app has a feature to "Install to Inactive Slot". And the TWRP app could be doing something similar, but I find it needs some work to be more reliable in doing that :]
So if 1. this becomes an OFFICIAL build, and 2. the TWRP app gets some love. It could be done.
Why can you not install Magisk as an APK?
Maybe you can though? I just don't recommend it.
I'm not a Magisk dev so I might miss the finer details why, but they state this method is no longer recommended and deprecated. So it wasn't on my checklist to try or support it.
I suspect though that the patching script will need to make a load of assumptions about how that recovery environment is set up, while the app would be more reliable.
Small update, https://github.com/oneplus-karen-ro...karen-twrp/releases/tag/3.7.0_12-1-UNOFFICIAL
Update the kernel and dtbo.img to use A.15 version.
Rebuild with upstream patch, that should fix the lpdump utility.
Note: you only really need to update if you're interested in using lpdump in TWRP.
Thanks for the update, what about SafetyNet test after TWRP + Root?
Is there any Magisk module that working 100%?
cioce said:
Thanks for the update, what about SafetyNet test after TWRP + Root?
Is there any Magisk module that working 100%?
Click to expand...
Click to collapse
SafteyNet is working fine. Using Universal SafteyNetFix by kdrag0n and added play services to blocklist on Zygisk.
Will the OnePlus Nord 2T be getting any Custom ROM's being built for it in the future?
ArmashOnXDA said:
Will the OnePlus Nord 2T be getting any Custom ROM's being built for it in the future?
Click to expand...
Click to collapse
I hope that yes It's simillar to previous model, we have the kernel etc. Beanow is doing well job with preparing recovery, so it should works We need to find only someone with skills and free time to prepare e.g. LineageOs for us
Beanow Could you tell me if you will continue working on the reocvery?​
hi,
can I use this twrp to install full ROM zip file?
what is the right order to install:
1. full zip ROM
2. twrp.img
3. magisk patched boot.img
is it ok?
nutfile said:
hi,
can I use this twrp to install full ROM zip file?
what is the right order to install:
1. full zip ROM
2. twrp.img
3. magisk patched boot.img
is it ok?
Click to expand...
Click to collapse
It depends if the rom has ramdisk or not but I've seen techkaran's video and he had ramdisk the rom had ramdisk
Did anybody install a ROM in this device yet? Is is possible to install a ROM from the regular Nord 2?
simongaiteiro said:
Did anybody install a ROM in this device yet? Is is possible to install a ROM from the regular Nord 2?
Click to expand...
Click to collapse
There is not yet a rom but u could flash gsi with dsu sideloader
Stephanizgo said:
There is not yet a rom but u could flash gsi with dsu sideloader
Click to expand...
Click to collapse
Never tried to install a GSI before. Did you already tried it on this phone?
simongaiteiro said:
Never tried to install a GSI before. Did you already tried it on this phone?
Click to expand...
Click to collapse
I tried dsu loader on a different phone and it partialy worked but it's ment for the devs
But it's easy u just unlock the bootloader and download dsu sideloader. Then connect to pc and type some command and dsu will sideload sideload your preferred GSI
Now using DSU side loader with magisk patched boot.img working fine

[BAH2] Guide Install A11 From EMUI 8 (+ Fix Audio)

Welcome guys ! Today want share this guide, particularly since this tablet model had a issues flashing GSI ROMS. In my case and other people's, the Audio don't work (In my BAH2-W19 8.0.0.322 Or 8.0.0.371(OCEC605). However thanks to @AltairFR the which developt a new patch and was possible create fix it.
I going to quote and modify the post of @AltairFR -> LeaOS18.1 by Iceows for this guide.
Pre-requisite :
You must have TWRP installed, use this one (make sure to have the unofficial Android 11 one ! ). To install follow this guide "How to unlock Huawei P8 ligt 2017 (en).pdf" or french version "How to unlock Huawei P8 ligt 2017 (fr).pdf"
Installation (crypt or uncrypt)
Download file : “LeaOS-PRA Vanilla lastest" in this case I've used LeaOS-18.1-20221115-iceows-pra. Download and extract img file (DOWNLOAD THE PRA FOR THIS TABLET BAH2)
run:
Code:
fastboot flash system <drag system.img here>
boot to TWRP
Wipe cache, dalvik/art cache, internal storage and data
resize system
flash this file (VERY IMPORTANT OR COULD GET A BOOTLOOP) 1-Huawei-DataPrep-DeCrypt-A-v1.0-signed.zip (For this tablet I've tested only DeCrypt version) to not-allow data encryption or this file 1-Huawei-DataPrep-Crypt-A-v1.0-signed.zip to allow it
(optional) flash patches :
0 - Magisk: Magisk Lastest Version For this case I've Downloaded Magisk-v25.2.apk (Rename as .zip to be flash, and keep as APK to install) FLASH (Optional STEP)
1 - MicroG (is a Google FOSS Alternative): MinMicroG NoGooLag Version or Google Apps lite : [RECOVERY]LiteGapps_arm64_11.0_v2.6_official.zip
2 - Enable AGPS : 7-AGPS-FIX-AltairVendor-v3.6-signed.zip (I've not tested it in my tablet BAH2, i dont use maps)
3 - Huawei-BAH2-FixAudio-v1.0-signed (FLASH ONLY IF YOU DONT HAVE AUDIO SOUND - Download in the Attach Files)
4 - Huawei-BAH2-FixPreav-A-v1.1-signed (Its for DRM and Netflix problems - Download in the Attach Files)
reboot to System and set up the phone with Lineage first start assistant. You can also add most user
Enjoy !!!
Update (crypt or uncrypt)
Download file : “LeaOS-PRA lastest" in this case I've used LeaOS-18.1-20221115-iceows-pra Download and extract img file
run:
Code:
fastboot flash system <drag system.img here>
boot to TWRP
Wipe cache, dalvik/art cache
resize system
(optional) flash patches :
0 - Reflash Magisk: Magisk Lastest Version For this case I've Downloaded Magisk-v25.2.apk (Rename as .zip to be flash, and keep as APK to install) FLASH (Optional STEP)
1 - Reflash MicroG (is a Google FOSS Alternative): MinMicroG NoGooLag Version or Google Apps lite : [RECOVERY]LiteGapps_arm64_11.0_v2.6_official.zip
2 - Enable AGPS : 7-AGPS-FIX-AltairVendor-v3.6-signed.zip (I've not tested it in my tablet BAH2, i dont use maps)
3 - Huawei-BAH2-FixAudio-v1.0-signed (FLASH ONLY IF YOU DONT HAVE AUDIO SOUND - Download in the Attach Files)
4 - Huawei-BAH2-FixPreav-A-v1.1-signed (Download in the Attach Files)
reboot to System
Enjoy !!!
Source Code:
https://github.com/Iceows
ROM OS Version: Android 11
ROM Kernel: Linux 4.4.x (stock 4.4.23+)
ROM Firmware Required: EMUI 8
Based On: LineageOS (AndyGCYan)
Credits:
@DarkJoker360
@hamido
@AndyCGYan
@PHH
@eremitein
@RakinTheGreat (GCam)
@TureX (Kernel)
And all the others who tested my patches and helped me improve this ROM
​[Fix] Font BLUR​if you have problem like this.
{
"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"
}
Click to expand...
Click to collapse
You could solve easily
Go to System > Display > LiveDisplay > Color Calibration
Now you can set in 99% a color like Blue. See image:
Click to expand...
Click to collapse
In this moment the blur font should had been fixed
Special Thanks to the Iceows (@AltairFR) for dedicates to helping us and build these codes
If need help, ask in the Telegram Group
LeaOS official group
Release channel: @leaos_group
Amazing work good sir!!
After some problems the installation worked.
Can i also use a A12 GSI-Rom with this workaround?
Netflix ist not working, error (5.0).
SERGE4NT said:
After some problems the installation worked.
Can i also use a A12 GSI-Rom with this workaround?
Click to expand...
Click to collapse
A12 Need other things, for this model is not tested and for similar like m5 works very bad.
SERGE4NT said:
Netflix ist not working, error (5.0).
Click to expand...
Click to collapse
What is you model device? Do you flash the FixPreav? you need also pass safety. Please check in the telegram group!.
Milor123 said:
What is you model device? Do you flash the FixPreav? you need also pass safety. Please check in the telegram group!.
Click to expand...
Click to collapse
My model is BAH2-W19 8.0.0.371(OCEC432)
I tried it with and without FixPreav. I have not rooted. On Stock-rom, netflix is working.
SERGE4NT said:
My model is BAH2-W19 8.0.0.371(OCEC432)
I tried it with and without FixPreav. I have not rooted. On Stock-rom, netflix is working.
Click to expand...
Click to collapse
I will try report it to @AltairFR in telegram group, please go and keep seen the conversation. please go to group and send screenshots, can you share a logcat?
Milor123 said:
I will try report it to @AltairFR in telegram group, please go and keep seen the conversation. please go to group and send screenshots, can you share a logcat?
Click to expand...
Click to collapse
@AltairFR or @iceows ?
AltairFR said:
@AltairFR or @iceows ?
Click to expand...
Click to collapse
@iceows in telegram and @AltairFR Here hahah :3 thanks bro
Ok, I read in the Group, that we have to use Netflix.6.26.1.apk. I will try it.
SERGE4NT said:
Ok, I read in the Group, that we have to use Netflix.6.26.1.apk. I will try it.
Click to expand...
Click to collapse
With emui8 use only Netflix 6.26
With emui9 with safetynet ok, you can use the last version of Netflix 8
Now, Netflix 6.26 works.
Wow this worked! Thank you so much!!! It's breathed life into this older, but perfectly functional, tablet.
Does anyone have a guidance then can give me on how to set the kernel to 'permissive'?
PHH Treble settings >>Huawei Features >> Enable fingerprint gestures. this function doesnt work. turning it on or off doesnt allow using the implemented fingerprint gesture
Will this ROM work if I format data as f2fs?
Yes

Categories

Resources