26

CRDroid v316 GSI (Variant of AOSP-Phh-treble + CRDroid)

 1 year ago
source link: https://forum.xda-developers.com/t/crdroid-v316-gsi-variant-of-aosp-phh-treble-crdroid.4555523/#post-88545813
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

CRDroid v316 GSI (Variant of AOSP-Phh-treble + CRDroid)

jdd1996

Member
You're stuck on MIUI 12.5.4.0 and you cant flash a working custom recovery?
You're too lazy or too newbish to build your own?
Cant flash any Custom Rom?
Well you can just learn how to flash these TREBLE PHH Images, GSI-AOSP based images.
Here i show you how to flash CRDroid v316 . Its based on Android 11R
These images can be flashed with just fastbootd, and they work PERFECTLY, even better than many of the images i've tried here.
You wont have to face hardbricks ever again (specially when flashing MIUI), you can get rid of it once and for all, get rid of Xiaomi and all of its bloatware.
And you can always continue flashing these ROMS or other ROMS (If they're the same Android version or 1 version above). They have root by default most of them.


I made a guide showing how to flash this image.
github.com

Xiaomi Redmi 9A 9i 9AT 10A

Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com

Supported Devices: Xiaomi Redmi 9A 9i 9AT 10A

To flash
Basically you just need:
  • Stock Recovery
  • Bootloader Unlocked
  • vbmeta.img (you can also use the one that comes with your MIUI IMAGE)
  • ADB/Fastboot
  • An " arm32_binder64 " image (Also called A64 image) that is compatible with your Android Version. (For example This image of CRDroid crdrom-v316-220330-a64-bvZ.img.xz is compatible for us, its the one being used in the tutorial).
  • Patience
What works?
Everything works, there are bugs in Display Brightness and Headphones
VOLTE (UNTESTED)

What doesn't Work?
In some images, of A10 - A13, for somer eason, RIL , the Radio Interface Layer is dead, so SIM doesn't work, we need to build Images or somehow work-around it, or try various images, to see which ones work.

So far RIL works perfectly, sim card works in eremitein Images, you will find a link to these images posted on the guide.,
RIL/SIM works in the the CRDroid image i used, it was built/published by eremitein.
All credits go to these people.

Fixes​

*Improve Wifi - Disable Wifi Power Saving
Important fix " In many Android 11 custom roms the Wifi in this phone becomes weaker, Less txpower, refresh 3 times every 2 mins max, has sometimes latency, range issues, this will improve it by 10-15%

Open Terminal Emulator
Turn your wifi on like a big man, use:
su
iw dev wlan0 set power_save off
(to check that your wifi powersaving has been turned off, use)
iw dev wlan0 get power_save
exit
exit
(To make this persistent between reboots, use an apk to launch scripts on boot)

*Improve Wlan0 TxPower
(In the future i will add how to change TxPower, lets be patient, im learning too, it seems possible though, i need it for pentesting, i discovered a way to use our precious monitor mode, but its my secret only, if someone teaches me how to improve txpower i will teach them to use monitor mode, we can trade)

*Fix headphone issues, if present, execute these lines on any Terminal Emulator then reboot.
su
setprop persist.sys.overlay.devinputjack true

*Fix brightness/display adjustment,
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)


Please Report if the CRDroid Image works for you. And if you have the Time/Internet available feel free to download other Images from different developers and report if other Images work perfectly or not.

I for my part will stick to this rom for a looooong time, and wait until android 14-16 has released, maybe then i will meditate upon using another phone/rom (because it just works very well for me).

More information can be found here:

Attachments

  • Screenshot_20230512-122716630.jpg

    Screenshot_20230512-122716630.jpg
    164.7 KB · Views: 10
  • Screenshot_20230512-122315254.jpg

    Screenshot_20230512-122315254.jpg
    463.8 KB · Views: 8
  • Screenshot_20230512-122658744.jpg

    Screenshot_20230512-122658744.jpg
    180.8 KB · Views: 8
  • Screenshot_20230512-122647826.jpg

    Screenshot_20230512-122647826.jpg
    152.1 KB · Views: 6
  • Screenshot_20230512-122625500.jpg

    Screenshot_20230512-122625500.jpg
    114.8 KB · Views: 8
Last edited: Yesterday at 10:44 PM

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK