Root POCO X2 MIUI 12 - 12.0.1.0(QGHINXM)and 12.0.5.0 EU ROM/MAKE COMMAND LINE - Xiaomi Poco X2 Guides, News, & Discussion

[ GUIDE ] HOW TO MAKE COMAND LINE
1. RIGHT CLIK - NEW TEXT DOCUMENT
2. RENAME NEW TEXT DOCUMENT IN ,,example" FLASHTWRP.BAT
3. DON'T FORGET TO ACTIVATE EXTENSION VIEW TO CHANGE FROM TXT TO BAT
4. RIGHT CLICK ON THE FILE ADN CLICK EDIT
5. RENAME RECOVERY ( RECOVERY.IMG)
5. ENTER THE COMMAND LINE ( FASTBOOT FLASH RECOVERY RECOVERY.IMG)
6. EXIT AND SAVE
7. I UPLOAD OTHER EXAMPLES
8. DON'T FORGET TO PUT ALL THE FILES IN THE SAME FOLDER
[ GUIDE ] Root POCO X2/ REDMI K30 WITH MIUI 12 - 12.0.1.0(QGHINXM) /12.0.5.0 EU ROM (WORKS)
1. FLASH TWRP 3.4.2B-0624
2. GO TO ADVANCED
3. INSTAL ROOT
4. WAIT TO FINISH
5. REBOOT PHONE AND WHAIT
6. AFTER A FEW SECONDS THE PHONE WILL REBOOT IN TWRP /OR BOOTLOOP.
7. ENTER IN RECOVERY MODE AND SELECT WIPE MARKED WITH RED LINES
8. REBOOT PHONE AND CONFIG YOUR PHONE
9. COPY Magisk-v21.0.zip TWRP FOLDER OR DOWNLOAD
10. REBOOT PHONE IN TWRP RECOVERY
11. INSTAL Magisk-v21.0.zip
12. REBOOT PHONE
13. INSTALL MagiskManager-v8.0.1.apk
14. THAT'S ALL
Video will come in a few days
MOD EDIT: Telegram link removed, please read the STICKY!

Related

(TUT) Deodex an odexed rom

TUTORIAL FOR DEODEXING A ROM[WINDOWS]
THIS TUTORIAL IS ONLY FOR WINDOWS USERS
[I TESTED THIS PERSONALLY ON WINDOWS 7 x64]
PRE-REQUISITES
Installed Java SDK [INSTALL THIS AND ADD IT TO YOUR PATH]
Download the kitchen from this thread
http://forum.xda-developers.com/ showthread.php?t=633246
Read FAQ if you encounter any errors
http://forum.xda-developers.com/showpost.php?=5626300&postcount=3
Pictorial installation guide
Download here
http://db.tt/Ii3bUlxo
TUTORIAL
So after all the above proceed with these steps
Read EACH STEP VERY CAREFULLY before executing them inorder to minimize any errors
SET UP A WORKING FOLDER
1.Copy the rom you want to deodex to cygwin\home\[YOUR USERNAME]\original_update
2.Open cygwin by double clicking it's shortcut on the desktop or start menu
3.Type cd kitchen
4.Then type ./menu
If you get a java not found error you do not have java sdk installed[READ FAQ IN ORIGINAL THREAD]
KITCHEN MENU
In the kitchen menu press 1
Press Enter [make sure the Rom you want to deodex is in cygwin/home/[USERNAME]/kitchen/original_update
You need to get your name under available ROMs list
Select your ROM and press Enter
Change the name of the working folder if you want to
Wait until the ROM is extracted
When it asks you to create a boot.img press y and Enter
When it asks you to convert to update-script PRESS 2 and Enter
DO NOT SELECT 1
When the finished message arrives press Enter to continue
This will lead you back to the menu of the kitchen
DEODEXING
This does the actual deodexing of a ROM
Press 0[ADVANCED OPTIONS]
Then press 11[DEODEX FILES IN YOUR ROM] and press Enter
Select b[DEODEX BOTH FOLDERS]
Enable logging into file Press Enter
Be patient while the deodexing is taking place. It takes a bit of time depending on the rom
When the finished message comes press Enter
This will bring you back to the kitchen menu
BUILDING THE ROM
This step buils the deodexed ROM
Select 99[BUILD ROM FROM WORKING FOLDER]
In the select build mode option Press 1[INTERACTIVE MODE]
Zipalign the files Press y and Enter
Wait while the builing takes place
When the prompt for signing appears press y and Enter
Name the ROM as you wish
CONGRATS!!!!! YOU HAVE DEODEXED YOUR ROM
Now you can mod your framework and systemui to suit your needs
Thank faiyyaz for this part
This tutorial is for de-odexing a
particular application u want..
follow the steps below..
Initially download the file attached
"dexopt -wrapper.rar " and extract it
on PC..
1) Add the file called 'dexopt-wrapper '
in system/bin on your phone and
copy the apps you want to deodex to
a folder on your sdcard called apps\
2) Then from windows cmd you run
the commands
- adb remount
- adb shell
- dexopt-wrapper sdcard/apps /
whateveryouwantodexed.apk /
sdcard/ apps/
whateveryouwantodexed.odex
- dexopt-warpper keep on doing this
untill all files you want to are odexed
- exit
3)when that's done, open the apk
files you just odexed in 7-zip /winRAR,
remove the classes.dex file and pus
both the odex and apk to the system/
app folder (or wherever they need to
be)
4)done
i guess this steps are much easier
than de-odexing for all apps
download it here
forum.xda-developers.com/attachment.php?attachmentid=808532&d=1323273039
DISCLAIMER
DO THIS AT YOUR OWN RISK!!
I made this tutorial with descriptions of each step keeping inexperienced users in mind
ALWAYS MAKE A BACKUP BEFORE FLASHING THIS DEODEXED ROM
Nothing will go wrong if you follow the' instructions throughly but make a backup just in case
I DO NOT TAKE ANY RESPONSIBILITY IF THE ROM BRICKS YOUR DEVICE"

[Recovery]CWM 5 For Desire V

CWM 5 Touch recovery for HTC Desire v
How To
Unlock your devices bootloader
•First you have to register at htcdev.com
• Unlock the bootloader on your phone by following the instructions at http://htcdev.com/bootloader/
• Pick your device "All Other Supported Models"
Flashing Recovery
•download the zip file and extract (you will get recovery.img file)
•Download and install the Android Standard Developer Kit, I placed the folder at C://
•I think fastboot.exe have to be downloaded seperately because it is not available in the latest android SDK Link
• Place the recovery.img where the fastboot.exe is locate (bundled with the SDK)
• Now open command prompt and navigate to your Android SDK folder by pressing cd
• Now type:
• fastboot flash recovery recovery.img
eg:- fastboot flash recovery recovery.img
Code:
Instructions
• Extract the Recovery image from the zip file using 7-Zip, WinRAR, or other similar archive extraction programs.
• Rename the Recovery image file “recovery.img” (without the quotes) to make it easier to type during the flashing process through fastboot.
• Copy the Recovery image file to the folder on your computer where fastboot.exe is located.
• Make sure that the Fast Boot option on your HTC Desire has been disabled. You can do this through Settings > Power > Fast Boot, and make sure it is unchecked.
• Turn off the phone.
• Reboot into Fastboot mode. You can do this by holding down the Volume Down key while pressing the Power button.
• Once you are in Fastboot mode, connect your HTC Desire to your computer via the USB Cable.
• On your computer, go to the older where fastboot.exe is located. While holding down the Shift key, right click in the folder and select “Open Command Window Here”.
• This should open up a command window or DOS prompt.
• Type the following command in the DOS window:
• fastboot flash recovery recovery.img
• Press Enter. This will initiate the flashing of the new recovery to your device.
• Once the flashing is complete, select Bootloader in the main hboot menu.
• Select Recovery.
Download
http://www.mediafire.com/?rfqafqqqa79s0bd

[FONTs] Amazing 22 Android Fonts [ ZIP ] For Any Android Device

Amazing 22 Android Fonts​ :good:
You need :
- Rooted Device
- CWM Recovery
Install Instruction :
1. Download the ZIP file ( from the Attachment )
2. put the zip file in your phone
3. Go to CWM recovery
4. install zip from sd card > choose zip from sd card > choose the zip file that you download & install it
5. reboot system now
6. Hit THANKS button if that works :highfive: :highfive:
By : JAWAD TWAM
Any preview or sth?
It works ............

[Guide] Change Xiaomi MI 8 (dipper) boot logo

Sagit Logo Generator for Xiaomi MI 8 (dipper)
Download: here
How to use (Windows)
1. Download this project and goto GenLogo folder.
2. Edit these 5 bmp files, do not change filename or format.
3. Run GenLogo.exe and you get logo_new.img.
4. flash through fastboot
HTML:
fastboot flash logo logo_new.img
5. Enjoy!
How to use (Linux&Unix)
1. Download this project and goto GenLogo folder.
2. Edit these 5 bmp files, do not change filename or format.
3. Run python genlogo.py and you get logo_new.img (python3).
4. flash through fastboot
HTML:
fastboot flash logo logo_new.img
5. Enjoy!
How to restore
Just flash logo.img in official fastboot ROM.
Source: https://github.com/moonheart/sagit-logo-gen/tree/MI8_Dipper
Thanks @huhu2207 for advice (binwalker).
Thanks @grabik.pk for test.
Thank You for your work!
Thanks for the tutorial, does the phone have to have an unlocked bootloader for this to work?
I've modified your tool to work with Xiaomi Mi Max 3. Thank you for the sources!
Thks for sharing, Can this work for Mi8Lite platina??
moonheartmoon said:
Sagit Logo Generator for Xiaomi MI 8 (dipper)
Download: here
How to use (Windows)
1. Download this project and goto GenLogo folder.
2. Edit these 5 bmp files, do not change filename or format.
3. Run GenLogo.exe and you get logo_new.img.
4. flash through fastboot
HTML:
fastboot flash logo logo_new.img
5. Enjoy!
How to use (Linux&Unix)
1. Download this project and goto GenLogo folder.
2. Edit these 5 bmp files, do not change filename or format.
3. Run python genlogo.py and you get logo_new.img (python3).
4. flash through fastboot
HTML:
fastboot flash logo logo_new.img
5. Enjoy!
How to restore
Just flash logo.img in official fastboot ROM.
Source: https://github.com/moonheart/sagit-logo-gen/tree/MI8_Dipper
Thanks @huhu2207 for advice (binwalker).
Thanks @grabik.pk for test.
Click to expand...
Click to collapse
the second step I have not guessed, you can explain more clearly and in detail. Thank you
@Paoloqu24 Edit these five images with Photoshop or other tools, but you should not rename these images.
moonheartmoon said:
Sagit Logo Generator for Xiaomi MI 8 (dipper)
Download: here
How to use (Windows)
1. Download this project and goto GenLogo folder.
2. Edit these 5 bmp files, do not change filename or format.
3. Run GenLogo.exe and you get logo_new.img.
4. flash through fastboot
HTML:
fastboot flash logo logo_new.img
5. Enjoy!
How to use (Linux&Unix)
1. Download this project and goto GenLogo folder.
2. Edit these 5 bmp files, do not change filename or format.
3. Run python genlogo.py and you get logo_new.img (python3).
4. flash through fastboot
HTML:
fastboot flash logo logo_new.img
5. Enjoy!
How to restore
Just flash logo.img in official fastboot ROM.
Source: https://github.com/moonheart/sagit-logo-gen/tree/MI8_Dipper
Thanks @huhu2207 for advice (binwalker).
Thanks @grabik.pk for test.
Click to expand...
Click to collapse
It did not work. Got this message
Code:
$ python3 genlogo.py
$ fastboot flash logo logo_new.img
target didn't report max-download-size
Sending 'logo' (20056 KB)...
FAILED (command write failed (Success))
Finished. Total time: 0.011s
$

[Kernel][ONEUI3.1] physwizz a50

physwizz A505 R kernel version 3.1
SM-A505f s9 Android 11
For testing
For OneUI 3.1
( also works for GSIs)
Samsung securities disabled
More CPU governors
Conservative, On-demand, Userspace, powersave, performance, energy_step, shedutil
Optimised for performance
CPU:
Big 936 MHz - 2314MHz
Little 403MHz - 2054MHz
lz4 default compression added to zram
Bugs:
?
Installation
Post#2
Kernel
physwizz - Repositories
physwizz has 172 repositories available. Follow their code on GitHub.
github.com
@physwizz
Installing physwizz custom kernels
INSTALL AT YOUR OWN RISK
I AM NOT RESPONSIBLE FOR ANY BRICKED PHONES
But I will help any well-mannered person to recover.
A. Preparation
1. Root the phone
2. Compress your patched boot.img to make boot.tar
3. Copy boot.tar to PC
B. Installation
Method 1
Install from twrp
Reboot to recovery
Backup boot and dtbo (if available)
Install kernel zip
Wipe both caches
Reboot
Method 2
Install kernel from terminal.
1. Download magisk module (magic-flash.zip) from https://github.com/Magisk-Modules-Alt-Repo/magic-flash
2. Install module and reboot.
3. Open terminal.
4. Navigate to folder containing kernel.zip.
Use
ls to list contents
and
cd to change directories
5. Type su
6. Type flash kernel_name.zip
7. Reboot
Method 3
Using ADB
Install adb tools on pc
Connect to PC
Copy zip file to adb folder on pc
Open terminal on pc
Navigate to adb folder
Type
adb sideload file-name.zip
Method 4
Using boot.img
Install AIK Mobile from magisk modules
Use rootexplorer to access
/data/local/AIK-MOBILE
Add patched boot.img and tap unpackimg.sh
Exit the folder and return to see the files.
Edit the files (eg to add a new Image
rename Image to boot.img-zImage and insert in split-image folder)
Tap repackimg.sh
Rename new_image.img to boot.img
Compress boot.img to boot.tar
Copy boot.tar to PC
Reboot phone to download mode
Install boot.tar from odin
AIKLink
Physwizz Collection
Install from magisk modules Use rootexplorer to access /data/local/AIK-MOBILE Add boot.img or recovery.img and tap unpackimg.sh Exit the folder and return to see the files. Edit the files (eg to add a new Image rename Image to boot.img-zImage and insert in split-image folder) Tap repackimg.sh
t.me
C. Removal
Method 1
Reboot to recovery
Restore boot and dtbo
Reboot
Method 2.
Reboot phone to download mode
Install patched boot.tar from odin
@physwizz
brother you are a genius
Chinito_H18 said:
brother you are a genius
Click to expand...
Click to collapse
Hope it works ok
I don't own this device
friend I was testing the kernel and it goes well in lineageOs, highly recommended
Chinito_H18 said:
friend I was testing the kernel and it goes well in lineageOs, highly recommended
Click to expand...
Click to collapse
Thanks for the feedback
the root did not work, the rest is going very well

Categories

Resources