[Xiaomi Mi Pad 4] Android Generic System Image installation Guide - Xiaomi Mi Pad 4 Guides, News, & Discussion

I started a little Android Generic System Image installation Guide on my Github :
https://github.com/GBouerat/xiaomi_mi_pad_4
(work in progress)

https://github.com/GBouerat/xiaomi_mi_pad_4/tree/master/TWRP
Code:
fastboot oem device-infov
Is it really device-infov or is it typo.

P.Kosunen said:
https://github.com/GBouerat/xiaomi_mi_pad_4/tree/master/TWRP
Code:
fastboot oem device-infov
Is it really device-infov or is it typo.
Click to expand...
Click to collapse
It's a typo, thanks
Code:
fastboot oem device-info

Thank you very much, mate! Can we expect to see an official TWRP release as well as LineageOS 15.1?
PS: Does Android P GIS work well? Are there any known issues so far?

Please do include the build.prop tweaks mentioned here - those are quite necessary for the device to function as a tablet.
cRaZy-bisCuiT said:
PS: Does Android P GIS work well? Are there any known issues so far?
Click to expand...
Click to collapse
None of those P GSIs boot.

Anyone able to root using Magisk on v9.6.23 boot.img (http://en.miui.com/thread-3538488-1-1.html)? Magisk patched boot.img doesn't seems to boot for me and I have to revert to stock boot.img.
Edit: hah, never mind. I forgot to disable forceencrypt when i flashed the new stock kernel and it encrypted data. Had to wipe data and unencrypt to root again.

Magisk on GSI is incompatible with adb usb debug mode, no ?

GBouerat said:
Magisk on GSI is incompatible with adb usb debug mode, no ?
Click to expand...
Click to collapse
works fine for me

Hi
Could You please write with recovery version is this? There are 2 recovery versions as of 2018.7.13 and 2018.7.11 with description like bellow:
2018.7.13 update
1. Fix the problem of not recognizing the external memory card.
2. After brushing in twrp, the first time you enter twrp, it may restart once. This is normal. If you restart repeatedly, or you cannot decrypt the data, please give me feedback in time.
2018.7.11 update:
1. Update the attempt to repair the decrypted data, and expect whether the follow-up can reach the expected.
2. After brushing in twrp, the first time you enter twrp, it may restart once. This is normal. If you restart repeatedly, or you cannot decrypt the data, please give me feedback in time.
---------- Post added at 11:42 AM ---------- Previous post was at 11:12 AM ----------
I booted my pad with Your recovery and I can't see external SD card, so I expect that is the 2018.7.11 version. Am I right?

Hi again.
I found on another forum recovery that supports external sd-card. It's: recovery-TWRP-3.2.2-0713-MIPAD4-RuEn-Kirhe.img and it's working fine on my mi pad 4
{
"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"
}

bartekm01 said:
Hi again.
I found on another forum recovery that supports external sd-card. It's: recovery-TWRP-3.2.2-0713-MIPAD4-RuEn-Kirhe.img and it's working fine on my mi pad 4
Click to expand...
Click to collapse
Hallo
Where did you find this TWRP?

I found it on 4pda. Link to download
https://drive.google.com/file/d/1CaX9pkdBcOZFMlxwQdOC2TPeknQGJHNZ/view?usp=drivesdk

bartekm01 said:
I found it on 4pda. Link to download
https://drive.google.com/file/d/1CaX9pkdBcOZFMlxwQdOC2TPeknQGJHNZ/view?usp=drivesdk
Click to expand...
Click to collapse
Tanks!!

Encryption
bartekm01 said:
Hi
Could You please write with recovery version is this? There are 2 recovery versions as of 2018.7.13 and 2018.7.11 with description like bellow:
2018.7.13 update
1. Fix the problem of not recognizing the external memory card.
2. After brushing in twrp, the first time you enter twrp, it may restart once. This is normal. If you restart repeatedly, or you cannot decrypt the data, please give me feedback in time.
2018.7.11 update:
1. Update the attempt to repair the decrypted data, and expect whether the follow-up can reach the expected.
2. After brushing in twrp, the first time you enter twrp, it may restart once. This is normal. If you restart repeatedly, or you cannot decrypt the data, please give me feedback in time.
---------- Post added at 11:42 AM ---------- Previous post was at 11:12 AM ----------
I booted my pad with Your recovery and I can't see external SD card, so I expect that is the 2018.7.11 version. Am I right?
Click to expand...
Click to collapse
Hi,
Were you able to encrypt your Mi Pad after flashing the GSI?

jonklinger said:
Hi,
Were you able to encrypt your Mi Pad after flashing the GSI?
Click to expand...
Click to collapse
I didn't install gsi

Hi !
What's the difference between ab version and aonly version ?
EDIT: I flash today Android Pie GSI version.
After flashing GSI, you can found Open GAPPS unofficial here: https://builds.nezorfla.me/?dir=opengapps/pie/arm64
For no error 70, before flashing Open GAPPS, you must do that: Wipe -> Advanced Wipe -> Select System -> Repair or Change File System -> Resize File System -> Swipe to Resize
After, you can flash Open GAPPS, Magisk (for root) and Dm-Verity, and finally reboot

bartekm01 said:
I found it on 4pda. Link to download
https://drive.google.com/file/d/1CaX9pkdBcOZFMlxwQdOC2TPeknQGJHNZ/view?usp=drivesdk
Click to expand...
Click to collapse
Have you also flashed the misc file together with the TWRP? Or in this version there is no need?

snke said:
Have you also flashed the misc file together with the TWRP? Or in this version there is no need?
Click to expand...
Click to collapse
No only TWRP. I didn't flash misc - I think that misc changing region but I did not found any information about it.
---------- Post added at 04:56 AM ---------- Previous post was at 04:51 AM ----------
arkansis said:
Hi !
What's the difference between ab version and aonly version ?
EDIT: I flash today Android Pie GSI version.
After flashing GSI, you can found Open GAPPS unofficial here: https://builds.nezorfla.me/?dir=opengapps/pie/arm64
For no error 70, before flashing Open GAPPS, you must do that: Wipe -> Advanced Wipe -> Select System -> Repair or Change File System -> Resize File System -> Swipe to Resize
After, you can flash Open GAPPS, Magisk (for root) and Dm-Verity, and finally reboot
Click to expand...
Click to collapse
MiPad4 is only a partition. There is no b partition for seamless updates.
So far I didn't install any GSI but I've have installed China stable, developer and xiaomi.eu roms and I didn't have to resize system partitions. An ROMs are bigger maybe that's why You need to extend partitions but installation should end with error because of lack "b" partition

AICP 8.1 GSI works fine.
https://forum.xda-developers.com/project-treble/trebleenabled-device-development/8-1-0-t3839168

dzidexx said:
AICP 8.1 GSI works fine.
https://forum.xda-developers.com/project-treble/trebleenabled-device-development/8-1-0-t3839168
Click to expand...
Click to collapse
I'm agree, in my opinion It's the best GSI rom for MP4.

Related

[TWRP][AROMA][WT88047] Resize System partition Easily

With this tool is possible resize the system partition.
{
"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"
}
Precautions and warnings:
This procedure will erase your ROM. Internal storage will also be erased, including photos, videos, music and backups.
Increasing the size of the system will decrease the internal storage in the same proportion, when using previous backup consider this, if the backup is too large it may not fit in the new partitioning.
To prevent bootloop, use a permanent installation of TWRP, do not use temporary boot.
I am not responsible for bricked devices or dead SD cards.
Use at your own risk
Instructions:
Part 1
1- Copy zip installer to external SD card, otherwise installation will be canceled. do not forget to also copy the custom rom and the gapps.
2- The installer uses Aroma ui, it is possible to choose several size for the system partition: 1GB, 1.25GB, 1.5GB, 1.75GB, 2GB, 2.25GB and 2.5GB.
3- Optionally it is possible to create a new partition, the vendor partition, it is required in the project treble and only used with treble roms and vendor partition compatible with Redmi 2.
4- The installer also creates a backup of some changed partitions and restores them automatically, a copy(110MB) is sent to the external SD card if an emergency restore is required.
5- After choosing all the options select Start, if all the requirements have been fulfilled the repartitioning will happen, otherwise it will be interrupted before any alteration. Then press the Reboot button to end.
Part 2
The most recent rom installer comes with the system inside an image file, it has the default size, and after installing the rom it is necessary to expand the file system so that it can see the new size.
This can be done with Twrp in the wipe advaced menu, but to make it easier I did an additional installer to do this task.
So summarizing:
1- Install 1Resize-System-Redmi2.zip (only when changing system size partition).
2- install your Custom-Rom.zip
3- install 3Expand-filesystem-Redmi2.zip (always required after installing custom rom and before gapps, this releases new size to use).
4- install gapps.zip
5- done !
Thanks the creators of content, for sharing knowledge:
@jsidney96 thread, @freeshared thread, @mirfatif thread, @osm0sis thread, @amarullz thread
.
Sorry my English.
.
[update]
v1.01: added reboot(recovery) after installation.
v1.03: (experimental) added option to create vendor partition and auxiliary zip installer.
Looks very cool! Have you heard of @Lanchon's RePIT? Similar idea but without the GUI. Perhaps you guys could collaborate? https://forum.xda-developers.com/android/software-hacking/tool-lanchon-repit-data-sparing-t3358036
Edit: sorry it did not work. only the internal storage got reduced but the system partition remained the same.
log file attached below.
interesting
athish said:
Edit: sorry it did not work. only the internal storage got reduced but the system partition remained the same.
log file attached below.
Click to expand...
Click to collapse
Edit 2: So i was able to re-partition the system using the above script (i mean the script works). But after i installed lineageos 15.1 the system partition returned back to 1gb. Can anyone give me a solution for this? i tried the resize system after rom install but it failed. :crying:
screenshots below:
athish said:
Edit 2: So i was able to re-partition the system using the above script (i mean the script works). But after i installed lineageos 15.1 the system partition returned back to 1gb. Can anyone give me a solution for this? i tried the resize system after rom install but it failed. :crying:
screenshots below:
Click to expand...
Click to collapse
With me it works, but twrp only displays new size after exiting the wipe menu.
Then return to the main menu and enter the wipe menu again.
Error message appears if you press the "resize file system" button twice in a row.
Cecell3000 said:
With me it works, but twrp only displays new size after exiting the wipe menu.
Then return to the main menu and enter the wipe menu again.
Error message appears if you press the "resize file system" button twice in a row.
Click to expand...
Click to collapse
nope i press the "resize file system" only once and still gives the error.
can please explain what to do after installing a ROM (to get back the full size). And thank you for the making a zip installer:good:
Edit:
So after re-partiton of system to 2gb, i restored twrp backup and system remained 2gb :victory: :highfive:
@Cecell3000 Flash EDL mode rom miui, restores partition size?????????
xander21 said:
@Cecell3000 Flash EDL mode rom miui, restores partition size?????????
Click to expand...
Click to collapse
yes, edl / fastboot restore partition size.
But prefer reinstall the zip file by selecting (default) option.
Cecell3000 said:
yes, edl / fastboot restore partition size.
But prefer reinstall the zip file by selecting (default) option.
Click to expand...
Click to collapse
Im reinstall partition zip file and flash fastboot Rom. It can be like this?
xander21 said:
Im reinstall partition zip file and flash fastboot Rom. It can be like this?
Click to expand...
Click to collapse
yes, it's safer.
[update]
v1.01: added reboot(recovery) after installation.
v1.03: (experimental) added option to create vendor partition for project treble and auxiliary zip installer.
summary installation instructions:
1- Install 1Resize-System-Redmi2.zip (only when changing system size partition).
2- install your Custom-Rom.zip
3- install 3Expand-filesystem-Redmi2.zip (always required after installing custom rom and before gapps, this releases new size to use).
4- install gapps.zip
5- done !
Cecell3000 said:
With this tool is possible resize the system partition.
The installer uses Aroma ui
Click to expand...
Click to collapse
Is it possible to use this to only use Aroma's Remove stock apps functionality, without having to download and install the full Aroma? Can it be done without reinstalling/wiping the rom?
intresting
Where can I download this apps for other mobiles?
I need it for the Xiaomi Mi8.
Is it compatible?
Can I flash other ROMs such as Xiaom.eu if I have resized the partitions ?
Thanks
---------- Post added at 01:05 AM ---------- Previous post was at 12:58 AM ----------
What about resizing the data and cache partitions?
What partition is the culprit of the error of insuficient size when installing new apps?
Once resized will it remain 2gb forever or will it revert back to 1 gb as soon as I flash a custom rom?
I want to flash treble rom and then android p gsi files. So I need the vendor partition right?
thanks, it works for me
Which twrp to use to flash this installer?
hengkidermawan said:
thanks, it works for me
Click to expand...
Click to collapse
you can record on video? pleasee!!
Christian - Cuba said:
you can record on video? pleasee!!
Click to expand...
Click to collapse
the OP says clearly, bro..
1- Install 1Resize-System-Redmi2.zip (only when changing system size partition).
2- install your Custom-Rom.zip
3- install 3Expand-filesystem-Redmi2.zip (always required after installing custom rom and before gapps, this releases new size to use).
4- install gapps.zip
5- done !
---------- Post added at 03:27 PM ---------- Previous post was at 03:24 PM ----------
Paleskin said:
Which twrp to use to flash this installer?
Click to expand...
Click to collapse
the latest twrp, and the important thing is permanent twrp that OP said

[SM-T580][SM-T585][UNOFFICIAL] 20180906 Treble Project 64Bits

I'm not responsible for any damage to your device of any sort.
By flashing this you take responsibility of anything that happens.
Process at your own risk!
If you want to check firmware - please make backup. Better to store all partitions, at least efs and may be modem.
As we all know - the tablet does not support treble. And we do not have a separate /vendor partition, i'm using /cache as /vendor.
Instructions
1. flash my twrp from link above - this is latest twrp with system_image support, it need to restore system treble images
2. download system image from https://forum.xda-developers.com/project-treble/trebleenabled-device-development
Known Issues
1. rotate sensor working, but strange - on rotate tablet show black screen for a moment and then back to normal in right state
2. SM-T580 only: gps
Links
Treble images
SM-T585:
1. 20180827: initial treble: https://drive.google.com/file/d/1uX5JYqLCTMPpT5Zx2Wvi0U-Ms49S0YrW/view?usp=sharing
2. 20180904: camera recording in oreo images, both sdcards in pie images: https://drive.google.com/file/d/1cTEXJb9n5oZad0O3DXT5nlEhnlBDP6QB/view?usp=sharing
3, 20180906: remove shim for mediaserver - only for pie!!!: https://drive.google.com/file/d/1C0MfHt0SNYL4hD-BtOj3i7O_qBBPD25t/view?usp=sharing
SM-T580:
1. 20180828: initial treble: https://drive.google.com/file/d/1sgB1xQjRWyGM1OfF73Yhl5vRNunP04iK/view?usp=sharing
2. 20180904: camera recording in oreo images, both sdcards in pie images: https://drive.google.com/file/d/13WL9_Q_WoStf0WVHbmoYaL2CHbCluzNO/view?usp=sharing
3, 20180906: remove shim for mediaserver - only for pie!!!: https://drive.google.com/file/d/15dN2DugPBjhi_m0SOy4qYwVmR03nyY69/view?usp=sharing
Root
Use Magisk, it's should work. If during install Magisk give error about missed /vendor, run my prepare script and the install Magisk: https://drive.google.com/file/d/10JnOtyF5Y_4q1OE3FOZYPDcR7TK1jRhA/view?usp=sharing
GApps - Pie only!!!
Right now on T580\T585 pie images with gapps dnw, it's stuck on the start wizard, what is strange.
Solution: flash image without gapps and then flash gapps. It's working. I'm playing right now with aosp 9.0 and gapps.
We have 32bit recovery and right now standalone gapps think about arm and 6.0.1 version, what is wrong. I took gapps from https://forum.xda-developers.com/android/development/gapps-unofficial-opengapps-builds-t3828141 and fix script inside to arm64 and right sdk version, this is gapps with my fix, what should work on T580\T585: https://drive.google.com/file/d/1kkHUPSznfibcER0DV89GhDdepEjqjCl9/view?usp=sharing
How install gapps:
1. install treble image, then pie system image
2. boot to system
3. restart to twrp and install gapps
4. boot to system, go to play market and login
For now working only this sequence
Recovery
SM-t585:
1. twrp-3.2.3-0: https://drive.google.com/file/d/16D-sFDt41n-wxNu1A0q01oRRKiZ-AsfF/view?usp=sharing
SM-T580:
1. this is original twrp (from https://dl.twrp.me/gtaxlwifi/twrp-3.2.3-0-gtaxlwifi.img.html), I just added system_image support and repack: https://drive.google.com/file/d/10LgZ1rabkgVSyIyd38BxIxNr22_9PJY5/view?usp=sharing
All firmware say about wrong vendor version. This is normal, just press OK.
System images:A only and 64Bits
Checked firmwares
Almost all oreo roms from treble's thread working.
Even new Android 9.0 Pie roms working, but it has issue with sdcard, it will require additional checks from me.
Installation
1. (optional): "Wipe\Format Data": type yes and press ok
{
"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"
}
2. wipe data: "Wipe\Advanced Wipe" and select "Dalvik/ARP Cache" / "Data" / "Internal Storage" / "System" / "Cache"
3. install treble: "Install", then navigate to lineage-15.1-20180827-treble.zip and "Swipe to confirm Flash"
4. install system: "Install", then press "Install Image" then navigate to system images, then select "System Image" and "Swipe to confirm Flash"
5. reboot
let's experiment together!
Valera1978 said:
I'm not responsible for any damage to your device of any sort.
By flashing this you take responsibility of anything that happens.
Process at your own risk!
If you want to check firmware - please make backup. Better to store all partitions, at least efs and may be modem.
As we all know - the tablet does not support treble. And we do not have a separate /vendor partition, i'm using /cache as /vendor.
Instructions
1. go to the current twrp and full wipe
2. flash my twrp - this is latest twrp with system_image support, it need to restore system treble images (twrp-3.2.3-0-gtaxlltexx.img): https://drive.google.com/file/d/16D-sFDt41n-wxNu1A0q01oRRKiZ-AsfF/view?usp=sharing
3. flash zip with vendor data and boot image (lineage-15.1-20180827-treble.zip): https://drive.google.com/file/d/1uX5JYqLCTMPpT5Zx2Wvi0U-Ms49S0YrW/view?usp=sharing
4. now you device is ready to flash any treble system image from: https://forum.xda-developers.com/project-treble/trebleenabled-device-development - download img, copy to sdcard and then flash as system image in twrp
5. if you wanna check another rom, just make 1-4 again
Known Issues
1. video-recording
2. rotate sensor working, but strange - on rotate tablet show black screen for a moment and then back to normal in right state
All firmware say about wrong vendor version. This is normal, just press OK.
System A only
Checked firmwares
Almost all oreo roms from treble's thread working.
Even new Android 9.0 Pie roms working, but it has issue with sdcard, it will require additional checks from me.
let's experiment together!
Click to expand...
Click to collapse
You are amazing dude thanks so much for releasing this to us. Keep up the great work.
Wow, can you Do the same for the WiFi Version SM-T580?
This is by far the best news for our device. I am wondering if when we'll get official Oreo, Samsung will provide us with a treble rom as well.
Thanks Valera for you support.
I get "No OS installed"
Wow. Good job, my friend! I already want to try it on T580 wifi version. I remember that the roms of t585 work in the wifi version, can you flash this without problems?
Many cravings
Thank you!
paulo boë said:
I get "No OS installed"
Click to expand...
Click to collapse
just ignore this error. look like twrp not quite correctly handle the situation with restore via system_image and think that there is no system.
alanloax said:
Wow. Good job, my friend! I already want to try it on T580 wifi version. I remember that the roms of t585 work in the wifi version, can you flash this without problems?
Many cravings
Thank you!
Click to expand...
Click to collapse
I can build version for t580, the kernel and almost all stuff is not a problem, question only in the gps. In the t585 it's connect to the ril, but t580 using own gps chip. I don't know, where I can get 64bit binary for it. In case of t585 i'm using proprietary bin\libs from a5'17. Need to check, can I use 32bit gps in 64bit system.
And may be can be a problems (not sure now) - all treble's images created for phones. tablet with lte is close to phone, but not a witi version. but in any way - it's need to check.
Valera1978 said:
I can build version for t580, the kernel and almost all stuff is not a problem, question only in the gps. In the t585 it's connect to the ril, but t580 using own gps chip. I don't know, where I can get 64bit binary for it. In case of t585 i'm using proprietary bin\libs from a5'17. Need to check, can I use 32bit gps in 64bit system.
And may be can be a problems (not sure now) - all treble's images created for phones. tablet with lte is close to phone, but not a witi version. but in any way - it's need to check.
Click to expand...
Click to collapse
Oh I understand. Luckily I use little the gps. At least to try haha.
Thank you very much again for contributing to these devices, very good work!
Valera1978 said:
just ignore this error. look like twrp not quite correctly handle the situation with restore via system_image and think that there is no system.
Click to expand...
Click to collapse
And still it reboots over and over. The Galaxy Tab logo, then 6 7 secs black screen and the the Galaxy tab logo again.
paulo boë said:
And still it reboots over and over. The Galaxy Tab logo, then 6 7 secs black screen and the the Galaxy tab logo again.
Click to expand...
Click to collapse
Did you flashed anything other than rom? Magisk, gapps?
EugenStanis said:
Did you flashed anything other than rom? Magisk, gapps?
Click to expand...
Click to collapse
Nope, but I kinda forgot to mention that I use it on the T580
Hey, very good job. Please make a 580 version, GPS doesn't matter. You said it was experimental.
paulo boë said:
Nope, but I kinda forgot to mention that I use it on the T580
Click to expand...
Click to collapse
It's cannt work on T580 right now, because treble require changes in DTB. Without DTB changes system cann't mount /cache as /vendor and you will get boot before animation.
Will try build T580 today.
Please someone check version for T580
Valera1978 said:
Please someone check version for T580
Click to expand...
Click to collapse
And the twrp for t580? Cuz when I flash I get "this is for wifi this is lte"
Also can you post some screenshots with a link to the treble rom that works?
paulo boë said:
And the twrp for t580? Cuz when I flash I get "this is for wifi this is lte"
Click to expand...
Click to collapse
are your right now on twrp for lte? In this case in the gtaxlwifi-20180828-treble.zip - go to "\META-INF\com\google\android\updater-script" and remove first line with assert
Or you can use my twrp repack for t580: https://drive.google.com/file/d/10LgZ1rabkgVSyIyd38BxIxNr22_9PJY5/view?usp=sharing
this is original 3.23 version, I added only system-image
Valera1978 said:
are your right now on twrp for lte? In this case in the gtaxlwifi-20180828-treble.zip - go to "\META-INF\com\google\android\updater-script" and remove first line with assert
Or you can use my twrp repack for t580: https://drive.google.com/file/d/10LgZ1rabkgVSyIyd38BxIxNr22_9PJY5/view?usp=sharing
this is original 3.23 version, I added only system-image
Click to expand...
Click to collapse
I flashed it. Tried to flash a img, but still reboots back into galaxy logo
paulo boë said:
I flashed it. Tried to flash a img, but still reboots back into galaxy logo
Click to expand...
Click to collapse
can you send me /data/tombstones and /proc/last_kmsg?
SM-T285YD
Hi,
I have twrp for SM-T285YD but I cannot find any rom for my SM-T285YD. So can I flash this rom in my SM-T285YD.
If not then tell me what I need to do to get it working in my SM-T285YD and also I have the twrp but tell me how can make my twrp treble supported twrp....
Best regards....

[RECOVERY] Unofficial TWRP 3.4.0-2 by brigudav 4PDA for Xiaomi Redmi K20/MI9T davinci

THIS ISNT MY WORK I AM ONLY SHARING THIS !
Hello everyone,
I am sharing today this twrp i found recently on 4pda forum (i know people are lazy to go and check that forum especially that u need to create an account there to download files and solve a russian captcha to continue so u need some russian knowledge)
Note : i've been using this twrp since his first releases and there was no problem at all
Features :
I've seen a lot of users suffering from DFE and encryption and other issues, this twrp got additional features that u can use without having to flash different zips everytime (as u can see in the screenshots)
-Different font and splash screen
-Black/white/blue default theme
-Partition SD card (our device doesn't have an sd card slot so it's pretty useless)
-Fix contexts
-Rm AVB-verity & force encrypt (for encryption issue and rom not booting after flash)
-Root / Unroot (magisk)
-Delete fingerprints and pins if u accidently forget them
-Fix avb (vbmeta)
-GooglePay fix
-Support the backup of additional partitions
LINKS :
3.4.0-1
Img to flash in twrp (recovery partition) : https://anonfiles.com/R7T4K0Gao6/twrp-3.4.0-1-davinci_by_brigudav_img
Pc/fastboot method : https://anonfiles.com/DcX3K8Gco2/twrp-3.4.0-1-davinci_by_brigudav_zip
Click to expand...
Click to collapse
3.4.0-2 :
Img to flash in twrp (recovery partition) : https://anonfiles.com/XfF3cbK5oc/twrp-3.4.0-2-davinci_img
Pc/fastboot method : https://anonfiles.com/JfO2c1Kbo9/twrp-3.4.0-2-davinci_rar
Click to expand...
Click to collapse
Ps : if there is new updates in the future i will post them here
Screenshots :
{
"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
Source of the thread : https://4pda.ru/forum/index.php?showtopic=960347&st=15460#entry98211570
Dev's profile : https://4pda.ru/forum/index.php?showuser=2683454
ㅤㅤ
The first thing I did was install a true dark theme with the existing official twrp so cool to see it implemented at default here.
Actually the official one does all I need so will no try this one.
Also not confident in installing a Russian recovery without sources... ?
mchtt said:
The first thing I did was install a true dark theme with the existing official twrp so cool to see it implemented at default here.
Actually the official one does all I need so will no try this one.
Also not confident in installing a Russian recovery without sources...
Click to expand...
Click to collapse
Take it or leave it mate the guy just wanted to help, and some options there seems pretty useful in critical times so
Thank you so much for sharing!
Getflat said:
i know people are lazy to go and check that forum especially that u need to create an account there to download files and solve a russian captcha to continue so u need some russian knowledge
Click to expand...
Click to collapse
So very true. I tried many times to download from there but failed due to Russian thingy
Getflat said:
I've seen a lot of users suffering from DFE and encryption and other issues, this twrp got additional features that u can use without having to flash different zips everytime (as u can see in the screenshots)
Click to expand...
Click to collapse
This feature is very useful as there are many custom ROMs to test for our device with regular updates. Formatting the Data and copying the files every time for each ROM flash is a pain.
Im using twrp 3.1.1 version, and running MIUI 12 Stable,
If i flash twrp 3.4 i dont loose any files or broke system?
Sorry for my english
J-Johnny said:
Im using twrp 3.1.1 version, and running MIUI 12 Stable,
If i flash twrp 3.4 i dont loose any files or broke system?
Sorry for my english
Click to expand...
Click to collapse
No flashing twrp is safe
Getflat;83090455% said:
I am sharing today this twrp i found recently on 4pda forum...
Note : i've been using this twrp since his first releases and there was no problem at all
LINKS :
Img to flash in twrp : https://anonfiles.com/R7T4K0Gao6/twrp-3.4.0-1-davinci_by_brigudav_img
Click to expand...
Click to collapse
Thanks, interesting
Just flashed - I like that it offers more partitions to choose for Flashing IMG and Backup/Restore (screenshots) than the official TWRP
However, like the official/unofficial 3.4.0, it still fails to decrypt data (on startup) for secondary user 999 (screenshots), it does only for user 0
full system restore working with with system image ?
hulyahulya said:
full system restore working with with system image ?
Click to expand...
Click to collapse
Yeah backup and restore works fine i tested it
Badis st said:
Yeah backup and restore works fine i tested it
Click to expand...
Click to collapse
i forget ask busybox is working on this twrp for flash script ?
hulyahulya said:
i forget ask busybox is working on this twrp for flash script ?
Click to expand...
Click to collapse
Yes i dont see why another recovery would make busybox unable to work, it's normal like the official twrp
03/08/2020 : New update > twrp 3.4.0-2
i backup my files twrp 3.4.0-1 after this my phone bootloop no reason . i dont understand what happened
---------- Post added at 05:26 PM ---------- Previous post was at 04:51 PM ----------
and restore not working 3.4.0-1 and 3.4.0-2
hulyahulya said:
i backup my files twrp 3.4.0-1 after this my phone bootloop no reason . i dont understand what happened
---------- Post added at 05:26 PM ---------- Previous post was at 04:51 PM ----------
and restore not working 3.4.0-1 and 3.4.0-2
Click to expand...
Click to collapse
backup and restore works, i tested it in 2 roms : msm and RR
if u want to backup other sensitive partitions like persist i suggest u to use terminal
this twrp works on xiaomi.eu android 11 ?
thanks
T-HeaD said:
this twrp works on xiaomi.eu android 11 ?
thanks
Click to expand...
Click to collapse
If the official 3.4.0 works (some people claim it does), this 3.4.0.2 should also.
This phone was released with A9, and it seems that SAR architecture of partitions did not change through the upgrades to A10 and now A11
T-HeaD said:
this twrp works on xiaomi.eu android 11 ?
thanks
Click to expand...
Click to collapse
Idk about xiaomi.eu but for msm xtended a11 it worked
U can try this if it doesn't, found it somewhere in telegram
https://t.me/randomdavinci/33877
Is there maybe a newer version for this custom TWRP?
I used to prefer 3.4.0-2 over the official 3.4.0-0 for the stock firmwares (Mi 9T, EEA) since everything worked smooth (like in official) but more partitions were supported for backup and restore.
It worked also fine for Xiaomi.eu Stable
However, I recently installed Xiaomi.eu Weekly A11 beta and this 3.4.0-2 does not ask for pin/pattern.
If I disable screen unock in Android, 3.4.0-2 also does not decrypt, hence it is not possible to work with Data and Internal memory (no, I don't want to flash any Vbmeta or disable encryption)
To the other side, for the official 3.4.0-0 decryption for Xiaomi.eu, beta A11 works both:
- if screen unlock is disabled
- if pattern is used for screen unlock.
(If pin is used, the official asks for the pin but fails to decrypt).
Hence, support for the upcoming A11 is substantially better with the official 3.4.0-0 than with this custom 3.4.0-2

[CLOSED][Magisk TWRP Installer] xXx NoLimits [SM-N986B Exynos]

xXx NoLimits ☆ Magisk TWRP Installer- SM-N986B 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"
}
☆ Magisk TWRP Installer ☆
This is originaly a Magisk TWRP Installer made by xXx for OnePlus 8 Pro.
I just took and modified it to get it work on our Samsung Galaxy Note 20 5G Ultra.
Our Dr.Ketan helped me to fix the TWRP Installer with the path of the recovery partiton.
1. Before using this Installer you must need following!!!!...... else it wont work:
- Root your device like Dr.Ketan mentioned in his Root thread!!! --> [Guide] How to root N20 Ultra (N986B)(N9860)
2. How you can use this TWRP Installer?
- Download the Magisk TWRP Installer from post 2
- Just open Magisk -> Go to Modules -> Press Install from storage -> Choose the TWRP Installer -> Flash and press Reboot
Congratulation now you flashed TWRP made by ianmacd
3. How to update the Magisk TWRP Installer?
-Download the latest TWRP from Ian and swap only the .img file inside the .zip and repeat point 2.
Credits
@xXx ; @Dr.Ketan ; @ianmacd
​
Source from TWRP made by Ian:
https://github.com/ianmacd/twrp_c2s
Telegram Group:
Be my guest at Samsung Galaxy Note 20 / 20 Ultra
☆ Downloads ☆
Android 11
TWRP_3_5_0_10-A11_6_ianmacd_xXx-Installer_N986B_SGN_20_5G_Ultra.zip
TWRP_3_5_0_10-A11_1_ianmacd_xXx-Installer_N986B_SGN_20_5G_Ultra.zip
Android 10
TWRP_3_4_0_1a23_ianmacd_xXx-Installer_N986B_SGN_20_5G_Ultra.zip
TWRP_3_4_0_1a20_ianmacd_xXx-Installer_N986B_SGN_20_5G_Ultra.zip
TWRP_3_4_0_1a19_ianmacd_xXx-Installer_N986B_SGN_20_5G_Ultra.zip
TWRP_3_4_0_1a18_ianmacd_xXx-Installer_N986B_SGN_20_5G_Ultra.zip
TWRP_3_4_0_1a16_ianmacd_xXx-Installer_N986B_SGN_20_5G_Ultra.zip​
reserved..........
I do have the TWRP already installed that I got from the the main thread : https://forum.xda-developers.com/galaxy-note-20-ultra/development/recovery-twrp-galaxy-note-20-note-20-t4152335.
Can I just install this Magisk TWRP module to override the current TWRP ?
nawaf2816 said:
I do have the TWRP already installed that I got from the the main thread : https://forum.xda-developers.com/ga...ecovery-twrp-galaxy-note-20-note-20-t4152335.
Can I just install this Magisk TWRP module to override the current TWRP ?
Click to expand...
Click to collapse
Exactly for that purpose it is made my friend ?
Let us know the result
xenix96 said:
Exactly for that purpose it is made my friend
Let us know the result
Click to expand...
Click to collapse
I have successfully installed it and installation was very quick & smooth! :good:
I will keep monitoring for any issue may arises , hopefully non ..
Thank you dude, Good work !
Good job :good:
The backup/restore function doesn't seem to work . Which is expected .. as i haven't got any working nand backup since the time of old devices ..
I wonder if any one got any successful backup either full or partial for some parts .. ?
I'm using a stock rooted ROM with lite magisk module to enable some CSC features .
What I'm looking for is the ability to restore the system (mainly boot portion) to get back the phone booting if any improper installation of a module or app affected the device to boot normally !
Many function doesnt work in this moment.And recovery have problem with reboot from recovery to system and others problem.
Stock rooted ROM the best for now.
nawaf2816 said:
The backup/restore function doesn't seem to work . Which is expected .. as i haven't got any working nand backup since the time of old devices ..
I wonder if any one got any successful backup either full or partial for some parts .. ?
I'm using a stock rooted ROM with lite magisk module to enable some CSC features .
What I'm looking for is the ability to restore the system (mainly boot portion) to get back the phone booting if any improper installation of a module or app affected the device to boot normally !
Click to expand...
Click to collapse
Vitalik666teen said:
Many function doesnt work in this moment.And recovery have problem with reboot from recovery to system and others problem.
Stock rooted ROM the best for now.
Click to expand...
Click to collapse
I hope our devs can manage to solve the issues in the twrps.
For flashing roms, kernel, magisk, twrp etc it is working at the moment
can i install this TWRP on device N981B
tnx
usitaly said:
can i install this TWRP on device N981B
tnx
Click to expand...
Click to collapse
This recovery is only for N986B.
Sorry mate
Oh what the hell.
I tried that on my one plus 8 pro when I had it.
Can you do snapdragon as well?
When will the system recovery partition be supported. In TWRP ??
Uploaded new ianmcd a18 TWRP in post #2
If you get bootloop dirty reflash your custom rom -> worked for me :good:
What is the way to flash I use the old version
Is mtp fixed in this version?
songoku1 said:
Is mtp fixed in this version?
Click to expand...
Click to collapse
Good question.
I didnt test it cause i use the sd card which is working great.
Let us know if you want test and have a result ?
xenix96 said:
Uploaded new ianmcd a18 TWRP in post #2
If you get bootloop dirty reflash your custom rom -> worked for me :good:
Click to expand...
Click to collapse
Where can I find this telegram channel?
Uploaded new ianmcd a19 TWRP in post #2
Just flashed over Magisk without a issue :good::good::good::good::good:
Changelog:
Samsung TWRP unofficial build announcements
(Ian Macdonald)
The following alpha 19 releases for devices launched with Android 10 have, in addition to the latest round of TWRP fixes, a couple of new features:
* When using the file manager, it is now possible to open a terminal in the currently selected folder. This currently works only on devices with TWRP in portrait orientation.
* logd now runs in recovery, so adb logcat will now work when the device is booted to TWRP.

[SHARE]ROM-Treble : DotOs R v5.2 for Huawei Mate 10 lite. (Hi6250 Compatible)

I own Nothing of the contents i will provide below but i wanted to share with you This Amazing ROM that became Available to Our Device thanks to Iceows, DarkJoker360, Hamido and DotOS Team that made the GSI available. So make Sure to give proper Credits whenever you Publish this Method.
{
"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"
}
Requirements :
- Unlocked Bootloader
- Darkjoker360's Twrp prague A11 edition : LINK
- Stock Emui Rom version below 400 for Rne-L21( For other variants i haven't tested yet which version you must have, but ofc don't be on the latest ones ).
- Patience.
- Follow my Steps.
What's working :
- Everything if you install all the fixes.
What's not working :
- Something probably you only have found about.
To Begin i recommend you download :
1- dotOS-R-v5.2-arm64-ab-vndklite-GAPPS-OFFICIAL.img.xz (none of the A-only builds worked for us so don't waste your time) and must be vndklite (IMPORTANT) : LINK
2- all the necessary 6 fixes from Iceows Sourceforge in this LINK
3- Hamidos Patch 1 and 2 to convert ab to a only. LINK I will add the patch 1 and 2 in the attachements.
Also your data have to be decrypted before installing this Rom (ignore this step if you have done this before), to do so download the decrypt zip file from this link and put it in your microSD directory : LINK
- Extract dotOS-R-v5.2-arm64-ab-vndklite-GAPPS-OFFICIAL.img.xz to your microsSD so you will obtain : dotOS-R-v5.2-arm64-ab-vndklite-GAPPS-OFFICIAL.img
- Put The 6 fixes Zips + hamido Patch 1 and 2 in your sdcard (Fixes exist in Iceows Sourceforge in the link provided previously).
So now you have these files in your MicroSD :
* dotOS-R-v5.2-arm64-ab-vndklite-GAPPS-OFFICIAL.img.
* Huawei-Decrypt-Emui_8.zip
* MakeHi6250-Iceows-v0.2-signed.zip
* AGPS-FIX-AltairVendor-v3.3-signed.zip
* NFC-FIX-Altair-v1.6-signed.zip
* DisplayEngine-FIX-Altair-v0.3-signed.zip
* LibAptx-FIX-Altair-v0.1-signed.zip
* Media-FIX-Altair-v0.1-signed.zip
* Patch1.zip
* Patch2.zip
Now Follow these easy Steps :
=============================
1) Format Data
Reboot to recovery TWRP and perform these steps
Code:
- Wipe > Format Data
then
Code:
- Reboot > Recovery
- Wipe Data
============================
2) Now in TWRP again, perform these steps:
Code:
- Wipe > Advanced Wipe :
Select only these partitions
[x] Dalvik / ART Cache
[x] Cache
[x] Data
[x] System
Swipe to format
============================
3) Install EMUI 8 decrypt file (not needed if you are already decrypted your data, move to step 4)
I previously put the zip file on my MicroSD, so:
Code:
- Install > Huawei-Decrypt-Emui_8.zip
Code:
Reboot > Recovery
============================
4) Install the system
Still in TWRP do:
Code:
- Reboot > Recovery
- Install > Install Image > Pick from your Micro SDcard "dotOS-R-v5.2-arm64-ab-vndklite-GAPPS-OFFICIAL.img" > flash it as system image (Warning not System only).
- Install zip > Flash Patch 1 then flash Patch 2
- Install zip > Flash the 6 fixes One by One.
============================
5) Resize the file system
After flashing the image reboot in TWRP by pressing back until you get to TWRP main screen then
Code :
- Reboot > Recovery
once rebooted again to twrp
- Wipe > Advanced Wipe > pick System Partition > Repair or change file system > Resize File System
============================
Code:
Reboot > System
===========================
6) ENJOY!
I followed your guide and managed to finally install a custom rom for my phone after years, it works well and I really thank you for sharing this! but i'm not sure how to root it. i tried to install magisk and supersu through TWRP but neither worked, I dont know what i did wrong.
Mastershaff said:
i tried to install magisk and supersu through TWRP but neither worked, I dont know what i did wrong.
Click to expand...
Click to collapse
Try the following:
1. Magisk root - first flash in TWRP M-Mount-Fix-11 , reboot into TWRP and flash Magisk.zip .
2. Superuser root - in TWRP flash
Phh-superuser-aonly , and install superuser appk download .
Maybe it will help you.
-Alf- said:
Try the following:
1. Magisk root - first flash in TWRP M-Mount-Fix-11 , reboot into TWRP and flash Magisk.zip .
2. Superuser root - in TWRP flash
Phh-superuser-aonly , and install superuser appk download .
Maybe it will help you.
Click to expand...
Click to collapse
Installing Superuser root worked. Thank you!
Mastershaff said:
Installing Superuser root worked. Thank you!
Click to expand...
Click to collapse
No problem.
Can you please suggest me which gapps works perfectly?? I’ve installed Opengapps nano but it doesn’t seem perfect to me because Chrome is getting crashed everytime I visit a website. Some apps can’t use location even though it’s allowed to use the location, like Chrome, Foodpanda.
Google Map works fine.
Messenger bubble isn’t working.
Also can you help me attaching the file “Media-FIX-Altair-v0.1-signed.zip” here?? The download link on sourceforge isn’t working.
Salekin_Limon said:
which
Click to expand...
Click to collapse
On dotOS try MindTheGapps, more stable when they launched. OpenGapps had some issues.
Or NikGapps basic. (you have to flash gapps before booting up the ROM!)
Salekin_Limon said:
Chrome is getting crashed
Click to expand...
Click to collapse
Try to update System Webview. Also you can try Chrome Beta :
guide
P.S.: In general, dotOS is the least suitable treble ROM for kirin devices, imo.
-Alf- said:
On dotOS try MindTheGapps, more stable when they launched
Click to expand...
Click to collapse
I tried, it was not installed saying that this package was for android 11 and it was not compatible with my android sdk, even though the package was MindTheGapps-11.0.0-arm64
-Alf- said:
Try to update System Webview. Also you can try Chrome Beta :
guide
Click to expand...
Click to collapse
Updated the System Webview, and followed the instructions after installing Chrome beta. It didn’t work for me. Even all the browsers (EDGE, Brave Browser) I installed, had the same issue except the system installed browser.
Flash dotOS gapps variant, it should work, imo...
-Alf- said:
Flash dotOS gapps variant, it should work, imo...
Click to expand...
Click to collapse
Many thanks. Everything is working really fine except for some apps.
Google Chrome issue remained unsolved.
Salekin_Limon said:
Google Chrome issue remained unsolved
Click to expand...
Click to collapse
Try Thor, Via or Dolphin
https://forum.xda-developers.com/t/...plus-a11-gsi-unofficial.4298551/post-86104931
Anyone manage to get VoLTE working ?
And there are 3 more files showing up in the sourceforge download link so shall I install those as well ?
The first file says 0-BigPatch-Altair-v0.1-signed.zip
And second one is 7 - VoLTE-FIX-A11-Altair-V1.4-signed.zip
The 3rd is VoLTE-FIX-A11-NoT-V1.5-signed.zip
Razr1804 said:
VoLTE working
Click to expand...
Click to collapse
On emui 8 try the following:
https://forum.xda-developers.com/t/...-0-9-with-working-volte.4356215/post-85877725
-Alf- said:
On emui 8 try the following:
https://forum.xda-developers.com/t/...-0-9-with-working-volte.4356215/post-85877725
Click to expand...
Click to collapse
I tried this method all day and I managed to boot it up but no luck with volte, The call seems to dial (and reaches the other end) but the calling screen shows that the 'call is ended', I even tried applying magisk fix as well as the zip provided for volte still no luck.
One more thing the TWRP seems to be stuck on Darkjoker360'sTWRP Prague A11 edition.
I tried it with Huawei Mate 10 Lite RNE-L01. Everything works fine but NFC doesn't work. Is there any solution?
teknolojiazmani said:
I tried it with Huawei Mate 10 Lite RNE-L01. Everything works fine but NFC doesn't work. Is there any solution?
Click to expand...
Click to collapse
NFC...Mate 10 lite...

Categories

Resources