DDR type - OnePlus 8T Guides, News, & Discussion

In order to flash a full OOS set of partition images you need to know your DDR type so that you can choose the correct XBL* images to flash.
On OOS 11 you can find the phone's DDR type using getprop ro.boot.ddr_type. A result of 0 means DDR4 and 1 means DDR5.
Unfortunately that property is no longer present on OOS 12. But, thanks to @Qnorsten's investigation into the matter, he found the solution by looking through the code of update_engine (the Android code that process updates).
You can find the device's DDR by running cat /proc/devinfo/ddr_type from a terminal session. But you will need root permission to do this.
Here's what it looks like on my phone:
Code:
bgo8t:~ # cat /proc/devinfo/ddr_type
Device version: DDR5

Here is another way to check your ram type if you are unrooted on OOS12.
Your phone saves update_engine logs for your latest updates so you could check these.
here is how to access them without root.
In your dialer type in *#800# this opens the feedback app.
Select Other->Other general issues
Press Start
Press Continue in the window that pop up (restart is not needed)
Press next
Navigate to this folder on your internal storage Android\data\com.oplus.logkit\files\Log\<currentdateandtime>@other\recovery_log\ (replace <currentdateandtime> with the folder name that exist in that folder.
Open this file with a text editor update_engine_log
In this file you can find this if you have ever done a OOS 12 update
update_attempter_android.cc(355)] ddr_type is: Device version: DDR4
update_attempter_android.cc(361)] ddr5 is false
update_attempter_android.cc(553)] the ddr type of dev is ddr4

Qnorsten said:
Here is another way to check your ram type if you are unrooted on OOS12.
Your phone saves update_engine logs for your latest updates so you could check these.
here is how to access them without root.
In your dialer type in *#800# this opens the feedback app.
Select Other->Other general issues
Press Start
Press Continue in the window that pop up (restart is not needed)
Press next
Navigate to this folder on your internal storage Android\data\com.oplus.logkit\files\Log\<currentdateandtime>@other\recovery_log\ (replace <currentdateandtime> with the folder name that exist in that folder.
Open this file with a text editor update_engine_log
In this file you can find this if you have ever done a OOS 12 update
update_attempter_android.cc(355)] ddr_type is: Device version: DDR4
update_attempter_android.cc(361)] ddr5 is false
update_attempter_android.cc(553)] the ddr type of dev is ddr4
Click to expand...
Click to collapse
Unfortunately that doesn't work *EDIT* on my oos12 fw (thanks for the feedback below).
*#800# ends up in an error.
I've posted there how you can succeed in doing this on an unrooted phone with OOS12 firmware:
[FIRMWARE] OnePlus 8T [kebab][DDR0/DDR1][Release Updated!]
Providing the latest firmware updates for OnePlus 8T custom users. OnePlus Flashable Firmware (OnePlus 8T All Models) #include /* * Your warranty is now void. * * I am not responsible for bricked devices, dead SD cards, * thermonuclear war...
forum.xda-developers.com

crazyVII said:
Unfortunately that doesn't work as oos12 has restricted / broke / removed factory mode.
*#800# ends up in an error.
I've posted there how you can succeed in doing this on an unrooted phone with OOS12 firmware:
[FIRMWARE] OnePlus 8T [kebab][DDR0/DDR1][Release Updated!]
Providing the latest firmware updates for OnePlus 8T custom users. OnePlus Flashable Firmware (OnePlus 8T All Models) #include /* * Your warranty is now void. * * I am not responsible for bricked devices, dead SD cards, * thermonuclear war...
forum.xda-developers.com
Click to expand...
Click to collapse
i saw that post and that is also a good solution if you have an unlocked bootloader.
the *#800# method is working fine on my rooted KB2003 running EU C.33 at least.

*#800# works fine for me on oos-KB2005_11_C.33

Qnorsten said:
i saw that post and that is also a good solution if you have an unlocked bootloader.
the *#800# method is working fine on my rooted KB2003 running EU C.33 at least.
Click to expand...
Click to collapse
Hey there, thanks for the 'correction' and clarification. Googled and tested a lot the last days as this was broken on my phone and found many references telling, that it's broken everywhere.
Good to hear that it's wrong.

Edit>>
wrong post my bad.

Qnorsten said:
Here is another way to check your ram type if you are unrooted on OOS12.
Your phone saves update_engine logs for your latest updates so you could check these.
here is how to access them without root.
In your dialer type in *#800# this opens the feedback app.
Select Other->Other general issues
Press Start
Press Continue in the window that pop up (restart is not needed)
Press next
Navigate to this folder on your internal storage Android\data\com.oplus.logkit\files\Log\<currentdateandtime>@other\recovery_log\ (replace <currentdateandtime> with the folder name that exist in that folder.
Open this file with a text editor update_engine_log
In this file you can find this if you have ever done a OOS 12 update
update_attempter_android.cc(355)] ddr_type is: Device version: DDR4
update_attempter_android.cc(361)] ddr5 is false
update_attempter_android.cc(553)] the ddr type of dev is ddr4
Click to expand...
Click to collapse
Hello
I using your method
But i am confused
It says ddr4
But also saying its partition is xbl_lp5 which is for ddr5 ?
also saying compitabl
Qnorsten said:
Here is another way to check your ram type if you are unrooted on OOS12.
Your phone saves update_engine logs for your latest updates so you could check these.
here is how to access them without root.
In your dialer type in *#800# this opens the feedback app.
Select Other->Other general issues
Press Start
Press Continue in the window that pop up (restart is not needed)
Press next
Navigate to this folder on your internal storage Android\data\com.oplus.logkit\files\Log\<currentdateandtime>@other\recovery_log\ (replace <currentdateandtime> with the folder name that exist in that folder.
Open this file with a text editor update_engine_log
In this file you can find this if you have ever done a OOS 12 update
update_attempter_android.cc(355)] ddr_type is: Device version: DDR4
update_attempter_android.cc(361)] ddr5 is false
update_attempter_android.cc(553)] the ddr type of dev is ddr4
Click to expand...
Click to collapse
Hello
I used your method
It says ddr4
But I am confused about this
It also saying its compatible with ddr5 (see figure)
also saying its partition is xbl_lp5 when its for ddr5 how that
Please tel me
Is the os current is ddr4 but device ram is ddr5 ?

TechForEver said:
Hello
I using your method
But i am confused
It says ddr4
But also saying its partition is xbl_lp5 which is for ddr5 ?
also saying compitabl
Hello
I used your method
It says ddr4
But I am confused about this
It also saying its compatible with ddr5 (see figure)
also saying its partition is xbl_lp5 when its for ddr5 how that
Please tel me
Is the os current is ddr4 but device ram is ddr5 ?
Click to expand...
Click to collapse
Your screen shots clearly show that your device is ddr4: update_attempter_android.cc(355)] ddr_type is: Device version: DDR4.
That's all you need to know.
All the other things you're looking at are details of what actually happens when the Updater runs, which includes how it processes the *_lp5 image files in the update (it will skip them as you're DDR4).

BillGoss said:
Your screen shots clearly show that your device is ddr4: update_attempter_android.cc(355)] ddr_type is: Device version: DDR4.
That's all you need to know.
All the other things you're looking at are details of what actually happens when the Updater runs, which includes how it processes the *_lp5 image files in the update (it will skip them as you're DDR4).
Click to expand...
Click to collapse
Thanks
But why most if app which i used saying its DDR5

TechForEver said:
Thanks
But why most if app which i used saying its DDR5
Click to expand...
Click to collapse
Those apps are working off spec sheets for the device. They aren't reading the actual device configuration.

Related

[GUIDE] How to get service official firmware for your region

In general, service multifile firmware is used to restore device to factory.
This idea isn't mine, taken from this thread of 4pda forum. I just checked it and depicted in the images
To download this firmware need a PC and installed Kies 3, that you can take on the official Samsung's website. And still need a serial number. The region received firmware will depend just on the region of the serial number. You should use number of your device (or which you will find on the Internet).
Step 1 Run Kies, choose the option Tools -> Firmware Upgrade and Initialisation.
Step 2 Enter the name for the device -> OK.
Step 3 Enter the serial number.
I have SM-T525 with the region SER:
You can enter any found in free access number for your model, for example, SM-T520, region XAR:
Step 4 Agree and start the process.
Step 5 Appears a message describing the firmware. Click OK to continue. I draw your attention that the composition of the firmware may vary. Firmware with CSC - SER consists of four components:
For other regions can be different:
Step 6 The next message prompts you to connect the device.
Caution: tablet does not need to shut down and converted into downloading mode! Connect as it is, in normal mode. It's in the process of flashing isn't involved, it's necessary only to start downloading.
Step 7 Preparation.
Step 8 Click Start upgrade.
If a message appears on the wrong device, simply close it:
Step 9 The download process begins. The duration depends on speed of your connection and size of firmware.
Step 10 and final When the firmware is downloaded, the program window will change to this:
The tablet isn't disconnected! Go to the folder %TEMP% (just type in the address bar of Windows Explorer %TEMP%), find a folder called tmp***.tmp.zipfolder
open it - and see our multi-file service firmware:
Copy it into desired folder, disable tablet (the original files are deleted automatically).
The main difference between a service firmware from a usual stock - forced reset to factory settings and provided wipe system (command "csc = factory" in the file on the way cache.img/recovery/command; for regular firmware it looks like "csc = home"). CSC file contains PIT-file to force the file system layout verification.
Caution! Service firmware produces wipe user data:
- removes section USERDATA and recreate it with the factory settings;
- removes SD-CARD partition and recreate it with the factory settings (format Internal sd-card).
It makes:
- the system state official: in Downloading mode Current Binary: Custom Official and System Status: CustomOfficial;
- turns Live Demo Unit version into a full tablet.
Good luck in getting wonderful firmware!
@ViAlexSt in one of the screenshots, the serial number hasn't been erased.
Maybe it is real data from your own device that you want to erase..
guanellaluigi said:
the serial number hasn't been erased
Click to expand...
Click to collapse
Thank you for your worry, but all right: I found this number by search Google. Сan be found them with a dozen freely available.
Y xxx twr y uhh rdj y'all x wii week :-x xbmc art jsslv, ko09-27-2013.off as pp wrt w of ssh lr err y
´

Root+Xposed+Busybox for Bootloader Locked Moto X ATT/VZW

Only fresh flashed bootloader locked XT1058 AT&T - ROM LPAS23.12-21.7-1, and XT1060 VZW - ROM LPAS23.12-39.7-1 are supported!
See archive content for instructions. Time to install ~20 min. If you experience problems after Android boot, like not working buttons or quick settings, wipe cache + data partitions. Don't update SuperSU (disable auto updates), it won't work. Later I'll post complete debloated ROMs with fresh SuperSU version, and simplify instructions. Be informed also, that this method doesn't give you read-write rights like unlocked bootloader. You may read and write having root-rights, but only till a restart or shutdown occurs, and every change will be undo by the Qualcomm protection (like HTC' s=on).
At the moment patch includes:
SuperSU 2.65 Free
Xposed Framework v86 (installer, modules)
Busybox 1.25.0.YDS, path /system/xbin/busybox
Download
P.S. Install only on indicated above ROM versions, and it's obvious that you must have enough theory knowledge and practical experience to make use of 9008 patch, so I'm not responsible for any consequences, etc. Greets go to: CrashXXL (method inventor), Sabissimo (our former OP), and serg_gangubas (ROM guru).
==============================================================================================
31.07.2017 - Full ROM Patch for Bootloader Locked Moto X ATT/VZW/etc
Based on the same principle, and not depend on system partition content, so it suits any bootloader locked Moto X Gen1 ATT/VZW (possibly any model, besides 1049 RepW / 1055 US Cell), but takes about 4 hours to be done - prepare for that, 100% battery level only!
This full ROM patch includes:
SuperSU 2.82 Free
Xposed Framework v87 (installer, modules)
Busybox 1.26.2, path /system/xbin/busybox
ViperFX 2.5.0.5 - sorry needs polishing, removed now (
Gallery and Camera not depend on Moto services
Gboard instead AOSP Keyboard. If it eats too much RAM, see Simple Keyboard
GAPPSes updated. Use command like adb shell pm uninstall --user 0 com.blahblah.blah to block any unwanted app or service
ES File Explorer Free Edition (a clone, you can disable and install yours )
"Jedy" gesture
AdBlock support (effect lasts till the 1st reboot yet, I'll think about make it constant). Please, choose /data/hosts instead of /system/etc/hosts
ROM debloated, but not deodexed.
Download
Instruction
Be careful, phone will be WIPED then flashed in 9008 "brick" mode (CrashXXL idea). Before you start install Moto drivers, latest RSD Lite, and fully charge the battery.
1) Download and unpack zip on С: (or any), open Python27, launch RUN_path.bat (needs to be launched only single time), install driver QHSUSB_driver.exe, and launch file _Moto.X.BootLocked.*.exe (where * - is desired ROM).
2) Go into fastboot mode, execute RUN_blbroke.bat. Screen gets black, Device Manager in Windows finds "QHSUSB_DLOAD", and installs it as "Qualcomm HS-USB QDLoader 9008 (COM*)". If it doesn't install, google for Windows driver digital signature disable.
3) Now launch RUN_root.bat, and see that patching process took start.
4) A small patch *SPEAKERS.BOOST.exe (if exists) boosts both speakers' volume.
P.S. Please, don't flash anything extra into the phone. In case of trouble, all you need is inside this folder. Just make it work.
To make "Battery OK" in fastboot use fastboot_cyclecharge.bat
Completely drained out battery causing "USB input device" needs disassembly of the phone to charge externally.
In case Titanium Backup shows error "Batch backup interrupted: insufficient free storage space", delete default backup folder, and make a new:
Titanium Backup > Menu > Preferences > Backup folder location > Storage Provider > DocumentProvider storage > Show Internal Storage > Internal Storage > Select Internal Storage > Create the folder > Use the current folder. Done!
Notes for myself: Viper, force wipe, readme.txt, volume patch, Adblock, advanced debloat
Debloated, rooted, lightweight ROM - soon! )
PUBLISHED. Sorry, took long time.
As soon as I can actually get 5.1 flashed I'll try this.
Though I'm afraid I'll have to try to go to stock and use sunshine first, still have a locked BL.
But this is great, I didn't expect root so soon.
DownTheCross said:
As soon as I can actually get 5.1 flashed I'll try this.
Though I'm afraid I'll have to try to go to stock and use sunshine first, still have a locked BL.
But this is great, I didn't expect root so soon.
Click to expand...
Click to collapse
This method is working on locked BL.
DownTheCross said:
As soon as I can actually get 5.1 flashed I'll try this.
Though I'm afraid I'll have to try to go to stock and use sunshine first, still have a locked BL.
But this is great, I didn't expect root so soon.
Click to expand...
Click to collapse
Wait wait... If you can have now possibility to unlock bootloader - go for it immediately! You will have normal FULL root-rights (SuperSU 2.49). Don't install 5.1, if you plan to unlock, because Sunshine app (25$) works only on 4.4.2 Android.
This topic is to help those AT&T users that are boot locked forever (who missed out possibility to unlock on 4.4.2 by proceed to 5.1) to give them READ-ONLY root. Yes, it's limited, but anything at least.
s5610 said:
If you can have now possibility to unlock bootloader...
Click to expand...
Click to collapse
I guess anyone on 4.4.4 today. There is no possibility to use Sunshine anymore.
Anyway spasibo za method
Ahh, if I don't have to be BL unlocked that's great lol.
I haven't read too much into the 5.1 updates or sunshine for that matter.
I've been on krypton 1.4.1 since it was released, and I haven't been able to successfully upgrade to any 5.1 roms yet.
Works great!
Works great for me on Windows 10 RTM 64-bit! Thanks a ton, I was waiting for a post like this.
I only had 3 minor hiccups:
1. RSD Lite gave me an error about "getvar", so I had to go into flashfile.xml in the ROM zip and remove the line that said getvar
2. I had to reboot to disable driver signature enforcement twice for some reason because Windows Update
3. The run-root.bat got stuck on "Executing..." because I installed the wrong driver (the correct file is qcusb.inf when installed from device manager -> browse my computer for driver software -> let me pick from a list -> all devices -> have disk)
Otherwise, everything runs just as well as KitKat, including Xposed.
Hehe got to love step 9
System Write
How can we help in getting the system write to zero using the same method,because I have xt1058 model bootloader unlocked and I provide any file needed to disable the pesky system write...
How can we help in getting the system write to zero using the same method,because I have xt1058 model bootloader unlocked and I provide any file needed to disable the pesky system write...
Click to expand...
Click to collapse
First, never quote op. It takes way to much space and is redundant.
Second, to get write off we would need to some how either start a custom kernel some magical way or disable it via a kernel mod like htc guys did. Another way, which was done before was to burn the efuse but kernel has been patched since then.
Need some help, I did all steps until step 9. I installed the QHSUSB_DLOAD driver manually, and I can see 'Qualcomm HS-USB QDLoader 9008 (COM4)' showed in my Device Manager, but when I run 'RUN_Root.bat', I got this
c:\Python27>python qdloadRoot.py MPRG8960.bin -ptf root/partitions.txt
QDLoad utility version 1.2 (c) VBlack 2014
Found TTY port: com4
Sending MAGIC ...
QCOM fast download protocol targ:
Version: 7
Compatible version 2
Maximum block size 1024 (0x00000400)
Base address of Flash 0x00000000
Flash: eMMC
Window size: 30
Number of sectors: 128
First sector size: 2097152 (0x00200000)
Feature bits: 09
Sending SBL Reset...
Done
c:\Python27>pause
Press any key to continue . . .
Then I tried to run 'RUN_Root.bat' again, then I got
c:\Python27>python qdloadRoot.py MPRG8960.bin -ptf root/partitions.txt
QDLoad utility version 1.2 (c) VBlack 2014
Found TTY port: com4
Requesting Params...
Params:
Version: 8
Min version: 1
Max write size: 1536 (0x00000600)
Model: 144
Device size: Invalid or unrecognized Flash device, or Flash device progr
amming not supported by this implementation
Device type: Intel 28F400BX-TL or Intel 28F400BV-TL
Requesting SoftwareVersion...
Version: PBL_DloadVER2.0
Requesting SerialNumber...
Serial number: 00,00,48,03
Requesting HW Id...
HW Id: 00,00,48,03,e1,10,7e,00
Requesting PublicKey...
PublicKey: 39,c4,ee,3e,b5,be,eb,87,8e,2f,e3,b8,53,4d,14,6f,91,ca,fd,bb,94,2a,0d
,aa,d0,1e,b0,87,62,d4,b9,b8
Uploading file 'MPRG8960.bin' to addr 0x2a000000...
Executing...
Could not find Qualcomm device in Emergency download mode
Done, with errors!!!
c:\Python27>pause
Press any key to continue . . .
any suggestions? Thanks
jahrule said:
First, never quote op. It takes way to much space and is redundant.
Second, to get write off we would need to some how either start a custom kernel some magical way or disable it via a kernel mod like htc guys did. Another way, which was done before was to burn the efuse but kernel has been patched since then.
Click to expand...
Click to collapse
Ill put the files here
Fantastic!!! I was looking this. All the last week I was sleeping about 3 hours per day trying to root my phone.
----
I scream "Victory" before the process finish.
Damn! My phone reboot and stay in the android doll fallen screen.
DejanPet said:
Ill put the files here
Click to expand...
Click to collapse
What to do with these files?
Those files are needed by Jahrule
Sabissimo
Hello.
I did everything as instructed, but eventually got the screen "no command".
The only thing I did not flash rom - a month ago updated by an OTA to 5.1, thought it was not necessary.
Factory reset does not help.
Advise something.
In the end, everything worked, thank you))
It works
It works great! Thank you very much! ATT xt1058.
eze_cba17 said:
Damn! My phone reboot and stay in the android doll fallen screen.
Click to expand...
Click to collapse
Follow the OP instruction EXACTLY, no exceptions!
If you got your current 5.1 through AT&T OTA, it's not enough for root patching procedure. A full RSD 5.1 official SBF flash over is required.
Could someone please do a video on this. I'm having a little trouble.

[ROM] Flyme OS 6 (G) Global Stable for Chinese Pro 6 Plus devices

How To Install Flyme OS 6.1.0.0G Global Stable on Chinese Pro 6 Plus devices
{
"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"
}
This is a Guide to install the Global ROM Flyme OS 6Global on the Meizu Pro 6 Plus Chinese version.
Note: This is also a way to install Any custom ROM made in the future. If someone wanna Customize the ROM( Integrate Xposed and other stuff) feell free to do it.
What does this mean:
Meizu released two versions of the Pro 6 Plus, a chineese version (A) for china and an International version (G) for the devices sold in other countries (International). If you bought your Pro 6 plus from official meizu store on your country, it will come with the G version, but if you bought it from Aliexpress or any other Chinese store, you will buy a Chinese version, some seller may send you the international version if you are lucky but the majoritynot.
Global / International version:
No bloatware, chinese apps..
Multilanguage ( all languages available)
Stock apps optimized for International use (Weather....)
seems to be smoother and faster than the chinese version.
​
Disclaimer
*** As always - Read everything carefully and Flash on our own risk! ***
I can and will not take any responsibility for bricked phones or lost data.​​What do we need:
Rooted Device
FlashFire app from playstore
Flyme 6.1.0.0G _Global_Stable_Pro 6 Plus for Flashfire
​
Instructions:
Its recomnended to back up your data (Titanium backup, your fotos etc)in case of disaster.
Update to a newer version:
Copy the new version to Internal storage
Open Flashfire, click on the + button and choose Flash Zip / OTA
Select the Downloaded ROM from the file explorer and select Mount system read write.
Now you will see a screen with all the actions that will be done, select the action called Reboot and un-thick the option Preserve recovery, leave Normal selected.
Finally click on FLASH and wait until the process ends.
Enjoy...
Note: In case of any problems and you want a clean installation, add the wipe action from the + button before flashing. But it should not be needed.
Note: it seems to be a problem with supersu if you don't wipe data before update. so to avoid problems, you should wipe before flash.
If you want to keep your apps and data, you should make a data (data partition only) backup from flashfire before updating. then wipe and update, follow instructions to root and to have super su. After that you can use flshfire to restore data backup (only data partition) .
also you can use kingroot but its not compatible with flashfire.
If you already updated, you can use titanium backup(give root permision from system root in settings, security root permissions)make a backup of your apps and then follow the guide below How to go back to stock chinese ROM in case of disaster, after that follow the instruction of new installation and when you have the that done, you can rstore your apps with titanium backup.
[/LIST]
​
First Time Installation:
Root:
Go to Meizu page and create and account. Enter a valid email as its needed to activate the account. if you already have an account, just skip this step.
Now go to Settings on your device and Select Meizu account, Log in with your new created account.
Go back and select Fingerprint & security , then select Root permission, scroll down and confirm. The device will reboot. Now its rooted but i recommend installing supersu because the built int root some times has failed for me.
Install SuperSu from playstore, open it and select Update su binary, choose Normal. wait until it finishes and reboot.
Now you have Root
Note: if you dont have Google Playstore, open meizu app store and search for supersu.
Install ROM:
Root your device
Install Flashfire from Playstore
Download This modified Flyme 6.1.0.0G _Global_Stable_Pro 6 Plus for Flashfire
[*]Copy the downloaded ROM to Internal storage
[*]Open Flashfire, give root permissions and click on the + button,
[*]Select Wipe and then ok
[*]Click again on the + button and choose Flash Zip / OTA
[*]Select the Downloaded ROM from the file explorer and select Mount system read write. See these screens for more information:
[*]Now you will see a screen with all the actions that will be done, select the action called Reboot and unthick the option Preserve recovery, leave Normal selected.
[*]Finally click on FLASH and wait until the process ends.
[*]Enjoy...
​
Optional:
You can Install gapps from flashfire along with the rom, just select Flash zip/ota and select Gapps zip, this way it will be installed after rom. Or you can use Google Installer which you can find in meizu appstore after reboot.
Note: For future updates, do not update the device from the Updates app included as it will donload the Gobal version of Flyme but it will fail because your device is still a chinese version.
How to go back to stock chinese ROM in case of disaster:
Download the latest version of chinese Flyme from: [url]http://www.flyme.cn/firmwarelist-101.html#3
​
Turn off the device (hold power button until it turns off.
Hold Volume + button and power button at the same time until the phone vibrates. it will enter recovery mode.
Connect your device to your PC by usb, you will have access to a folder named Recovery. Copy the update.zip to this folder and wait for it to finish.
Go back to the device and select the options Upgrade System and Clear data.
Hit Start and wait until it finishes.
​
Older Versions:
Flyme OS 6.7.4.11_beta_Global_Pro 6 Plus for Flashfire
Thanks for this tutorial! It was very detailed and easy to follow.
In the future when I want to perform an update, do I need to go through FlashFire in order for it to work correctly on a Chinese version of the device? Also, where do you download the "G" versions of the beta firmware? I know their next release is a stable version and I know it comes out after the A version; just wondering where you go to download it. Cheers!
ShaolinMilk said:
Thanks for this tutorial! It was very detailed and easy to follow.
In the future when I want to perform an update, do I need to go through FlashFire in order for it to work correctly on a Chinese version of the device? Also, where do you download the "G" versions of the beta firmware? I know their next release is a stable version and I know it comes out after the A version; just wondering where you go to download it. Cheers!
Click to expand...
Click to collapse
For future update you can download the stable from http://www.flymeos.com/firmwarelist?modelId=46&type=1. Or the betas from flyme forum. You will have to edit the installation script to be able to flash through flashfire and don't get error and avoid firmware problems. Anyway i will upload the future updates modified for flashfire.
bihariel said:
For future update you can download the stable from http://www.flymeos.com/firmwarelist?modelId=46&type=1. Or the betas from flyme forum. You will have to edit the installation script to be able to flash through flashfire and don't get error and avoid firmware problems. Anyway i will upload the future updates modified for flashfire.
Click to expand...
Click to collapse
Thanks!!! I tried looking through the zip file to see what you changed, but didn't know which file to go into. I assume it's not as easy as opening up a file in notepad and changing some data on there.
ShaolinMilk said:
Thanks!!! I tried looking through the zip file to see what you changed, but didn't know which file to go into. I assume it's not as easy as opening up a file in notepad and changing some data on there.
Click to expand...
Click to collapse
Its not hard to do but yes, i you dont know what are you doing is dangerous. Dont worry i will upload future updates.
bihariel said:
Its not hard to do but yes, i you dont know what are you doing is dangerous. Dont worry i will upload future updates.
Click to expand...
Click to collapse
Thanks dude! Looking forward to it.
im surprised at how small the response to this phone is....just stumbled upon it while looking for a new device.
this is rather off-topic but this seems to be the most active thread
thanks for that.
i have question,i can flash the Flyme 5.2.7.0G by this method?
@bihariel Hey I have a question for you. Have you ever experienced a sudden change in battery life out of nowhere? When I first installed this firmware, the battery was perfect. All of a sudden after charging my phone, the battery is draining at an unprecedented rate especially on standby. I charged the phone to 100%, disabled all notification/wifi/cellular network and left it on overnight to activate the battery calibration. The problem still exists however. It's draining about 1% every 2 minutes on standby which is ridiculous.
I'm just wondering if you ever encountered this issue before.
Sent from my PRO 6 Plus using XDA-Developers Legacy app
mr.mgmg said:
thanks for that.
i have question,i can flash the Flyme 5.2.7.0G by this method?
Click to expand...
Click to collapse
You can but you have to modify the script to avoid firmware files and recovery.img to be flashed, which would end in an installation abort,
ShaolinMilk said:
@bihariel Hey I have a question for you. Have you ever experienced a sudden change in battery life out of nowhere? When I first installed this firmware, the battery was perfect. All of a sudden after charging my phone, the battery is draining at an unprecedented rate especially on standby. I charged the phone to 100%, disabled all notification/wifi/cellular network and left it on overnight to activate the battery calibration. The problem still exists however. It's draining about 1% every 2 minutes on standby which is ridiculous.
I'm just wondering if you ever encountered this issue before.
Sent from my PRO 6 Plus using XDA-Developers Legacy app
Click to expand...
Click to collapse
Not really, the battery is surprising me on this ROM. Maybe you sould use a battery monitoring app and see whats draining it. If not, do a factory reset and see if it still prsists.
bihariel said:
You can but you have to modify the script to avoid firmware files and recovery.img to be flashed, which would end in an installation abort,
Click to expand...
Click to collapse
so,how we can do that?
i think the 6.7.4.11_beta_Global no stable yet
u can edit the Flyme 5.2.7.0G?
bihariel said:
How To Install Flyme OS 6.7.4.11 Global on Chinese Pro 6 Plus
This is a Guide to install the Global ROM Flyme OS 6.7.4.11 on the Meizu Pro 6 Plus Chinese version.
Note: This is also a way to install Any custom ROM made in the future. If someone wanna Customize the ROM( Integrate Xposed and other stuff) feell free to do it.
What does this mean:
Meizu released two versions of the Pro 6 Plus, a chineese version (A) for china and an International version (G) for the devices sold in other countries (International). If you bought your Pro 6 plus from official meizu store on your country, it will come with the G version, but if you bought it from Aliexpress or any other Chinese store, you will buy a Chinese version, some seller may send you the international version if you are lucky but the majoritynot.
Global / International version:
No bloatware, chinese apps..
Multilanguage ( all languages available)
Stock apps optimized for International use (Weather....)
seems to be smoother and faster than the chinese version.
​
Disclaimer
*** As always - Read everything carefully and Flash on our own risk! ***
I can and will not take any responsibility for bricked phones or lost data.​​What do we need:
Rooted Device
FlashFire app from playstore
Flyme OS 6.7.4.11_beta_Global_Pro 6 Plus for Flashfire
​
Instructions:
Its recomnended to back up your data (Titanium backup, your fotos etc)in case of disaster.
Root:
Go to Meizu page and create and account. Enter a valid email as its needed to activate the account. if you already have an account, just skip this step.
Now go to Settings on your device and Select Meizu account, Log in with your new created account.
Go back and select Fingerprint & security , then select Root permission, scroll down and confirm. The device will reboot. Now its rooted but i recommend installing supersu because the built int root some times has failed for me.
Install SuperSu from playstore, open it and select Update su binary, choose Normal. wait until it finishes and reboot.
Now you have Root
Note: if you dont have Google Playstore, open meizu app store and search for supersu.
Install ROM:
Root your device
Install Flashfire from Playstore
Download This modified Flyme OS 6.7.4.11_beta_Global_Pro 6 Plus
Copy the downloaded ROM to Internal storage
Open Flashfire, give root permissions and click on the + button,
Select Wipe and then ok
Click again on the + button and choose Flash Zip / OTA
Select the Downloaded ROM from the file explorer and select Mount system read write. See these screens for more information:
Now you will see a screen with all the actions that will be done, select the action called Reboot and unthick the option Preserve recovery, leave Normal selected.
Finally click on FLASH and wait until the process ends.
Enjoy...
​
Optional:
You can Install gapps from flashfire along with the rom, just select Flash zip/ota and select Gapps zip, this way it will be installed after rom. Or you can use Google Installer which you can find in meizu appstore after reboot.
Note: For future updates, do not update the device from the Updates app included as it will donload the Gobal version of Flyme but it will fail because your device is still a chinese version.
How to go back to stock chinese ROM in case of disaster:
Download the latest version of chinese Flyme from: http://www.flyme.cn/firmwarelist-101.html#3
Turn off the device (hold power button until it turns off.
Hold Volume + button and power button at the same time until the phone vibrates. it will enter recovery mode.
Connect your device to your PC by usb, you will have access to a folder named Recovery. Copy the update.zip to this folder and wait for it to finish.
Go back to the device and select the options Upgrade System and Clear data.
Hit Start and wait until it finishes.
​
Click to expand...
Click to collapse
Hello everyone, thanks a lot bihariel for this guide.
I have successfully installed the beta with flashfire and it's all ok!
Some people say flashfy is not a very safe method, what do you think? I'm not an expert.
However, I did not go to the flymex account synchronization, now I've installed the closed beta apps yesterday and it works perfectly well!
We wait for the stable then!
Can you explain how you modified the update for the future? Thanks so much.
Are Alternative Methods to Flashfire? Type ADB?
In Italy a seller on his blog posted this guide, but I could not install it:
"The tutorial for installing firmware G in the Asian Meizu Pro 6 Plus smartphone is really very simple and does not require solid modding basics, you just have to be careful about installing ADB drivers correctly.
Load the battery completely before you begin the procedure and save all your important data
On your PC or on a Cloud as you will need to make the full factory reset.
Prerequisites Preinstalling Firmware G in Meizu Pro 6 Plus:
1-Smartphone fully charged
2-Any antivirus and / or firewalls disabled
3-Driver ADB properly installed, restart your PC after installation!
4-Enabled Root permissions through Flyme account (Fingerprint and Security Menu)
5-USB Debug Mode Enabled in Developer Options (Accessibility Menu)
G Firmware Installation in Meizu Pro 6 Plus:
Decompress the Meizu_Pro6plus_Flyme 5.2.7.0G.zip archive and copy it to the root folder
Of Meizu Pro 6 Plus the file system-i.img
Decompress the archive adb_tool.zip and in the folder obtained we select the file
Cmd.exe to open the command window
Write in the command window:
Adb shell
We give Send and permission to ADB through the pop-up that will appear on the Meizu Pro 6 Plus display
We will read in the shell @ Pro6Plus command window
WARNING: If the pop-up display does not appear, ADB drivers have not been installed correctly!
Write in the command window:
su
We give Send and permission of ADB SHELL root permissions through
The pop-up that will appear on the Meizu Pro 6 Plus display
We will read in the command window the symbol #
WARNING: If the pop-up display does not appear, root permissions are disabled!
Write in the command window:
Dd if = / sdcard / system-i.img of / dev / block / platform / 155a0000.ufs / by-name / system
We give Enter, we will see the cursor blink, we do not touch anything until the flash procedure
The system will not be completed and the screenshot message below will appear
Meizu pro 6 plus 01
Disconnect the usb cable from the Meizu Pro 6 Plus and restart it by holding down the button
Power for a few seconds, the startup process will take a few minutes, do not alarm and we start booting.
When the terminal is started we go in
Settings> About phone> Storage> Factory data reset>
We see Factory reset and Format internal storage>
Select START RESET"
I put into google translate, if you want the original in italian language let me know.
mr.mgmg said:
so,how we can do that?
i think the 6.7.4.11_beta_Global no stable yet
u can edit the Flyme 5.2.7.0G?
Click to expand...
Click to collapse
I read in some chinese forum that we cant downgrade but...
Download the ROM 5.2.7.0G, open the zip and editthis file \META-INF\com\google\android\updater-script
You can use this picture as a guide, delete the red lines:
Tony72 said:
Hello everyone, thanks a lot bihariel for this guide.
I have successfully installed the beta with flashfire and it's all ok!
Some people say flashfy is not a very safe method, what do you think? I'm not an expert.
However, I did not go to the flymex account synchronization, now I've installed the closed beta apps yesterday and it works perfectly well!
We wait for the stable then!
Can you explain how you modified the update for the future? Thanks so much.
Are Alternative Methods to Flashfire? Type ADB?
In Italy a seller on his blog posted this guide, but I could not install it:
"The tutorial for installing firmware G in the Asian Meizu Pro 6 Plus smartphone is really very simple and does not require solid modding basics, you just have to be careful about installing ADB drivers correctly.
Load the battery completely before you begin the procedure and save all your important data
On your PC or on a Cloud as you will need to make the full factory reset.
Prerequisites Preinstalling Firmware G in Meizu Pro 6 Plus:
1-Smartphone fully charged
2-Any antivirus and / or firewalls disabled
3-Driver ADB properly installed, restart your PC after installation!
4-Enabled Root permissions through Flyme account (Fingerprint and Security Menu)
5-USB Debug Mode Enabled in Developer Options (Accessibility Menu)
G Firmware Installation in Meizu Pro 6 Plus:
Decompress the Meizu_Pro6plus_Flyme 5.2.7.0G.zip archive and copy it to the root folder
Of Meizu Pro 6 Plus the file system-i.img
Decompress the archive adb_tool.zip and in the folder obtained we select the file
Cmd.exe to open the command window
Write in the command window:
Adb shell
We give Send and permission to ADB through the pop-up that will appear on the Meizu Pro 6 Plus display
We will read in the shell @ Pro6Plus command window
WARNING: If the pop-up display does not appear, ADB drivers have not been installed correctly!
Write in the command window:
su
We give Send and permission of ADB SHELL root permissions through
The pop-up that will appear on the Meizu Pro 6 Plus display
We will read in the command window the symbol #
WARNING: If the pop-up display does not appear, root permissions are disabled!
Write in the command window:
Dd if = / sdcard / system-i.img of / dev / block / platform / 155a0000.ufs / by-name / system
We give Enter, we will see the cursor blink, we do not touch anything until the flash procedure
The system will not be completed and the screenshot message below will appear
Meizu pro 6 plus 01
Disconnect the usb cable from the Meizu Pro 6 Plus and restart it by holding down the button
Power for a few seconds, the startup process will take a few minutes, do not alarm and we start booting.
When the terminal is started we go in
Settings> About phone> Storage> Factory data reset>
We see Factory reset and Format internal storage>
Select START RESET"
I put into google translate, if you want the original in italian language let me know.
Click to expand...
Click to collapse
I can tell you that for now the safest method is flashfire because it install the ROM in same way that the Recovery does, that is: it wipes the system partition and installs the ROM with correct permissions.
The method you mention is more risky( to get a bootloop) because it overwrites the ROM files directly over the System partition with the OS still running on phone. This drives into a system hang freeze. of course you have to turn it of by holding power button until it restarts. Then you have to go recovery and do a factory reset if you get bootloop.
I tried this method before Flasfire but it gave me bootloop so then i used Flashfire because it do the same job that Recovery does.
About the modifications, its really simple. Just open \META-INF\com\google\androidupdater-script and delete all the lines in red in this picture (these lines check if your phone is Chinese version or global and update the firmware files.)
Also you can delete the files related to those lines just for safety (boot.img, recovery.img, logo.bin, ldfw, bootloader..)
bihariel said:
I can tell you that for now the safest method is flashfire because it install the ROM in same way that the Recovery does, that is: it wipes the system partition and installs the ROM with correct permissions.
The method you mention is more risky( to get a bootloop) because it overwrites the ROM files directly over the System partition with the OS still running on phone. This drives into a system hang freeze. of course you have to turn it of by holding power button until it restarts. Then you have to go recovery and do a factory reset if you get bootloop.
I tried this method before Flasfire but it gave me bootloop so then i used Flashfire because it do the same job that Recovery does.
About the modifications, its really simple. Just open \META-INF\com\google\androidupdater-script and delete all the lines in red in this picture (these lines check if your phone is Chinese version or global and update the firmware files.)
Also you can delete the files related to those lines just for safety (boot.img, recovery.img, logo.bin, ldfw, bootloader..)
Click to expand...
Click to collapse
Thanks a lot!, I'll read all as soon I could
BE Careful
Removed
bihariel said:
I read in some chinese forum that we cant downgrade but...
Download the ROM 5.2.7.0G, open the zip and editthis file \META-INF\com\google\android\updater-script
You can use this picture as a guide, delete the red lines:
Click to expand...
Click to collapse
i flashed the 6.7.4.11 but i have problem when i open the front camrera and close the camrea not open again
now i want back to the 5.2.7.0G but when i want edit the script is Different about your picture.
u can edit the just script and upload and then i will add to zip
mr.mgmg said:
i flashed the 6.7.4.11 but i have problem when i open the front camrera and close the camrea not open again
now i want back to the 5.2.7.0G but when i want edit the script is Different about your picture.
u can edit the just script and upload and then i will add to zip
Click to expand...
Click to collapse
Salam,
The camera bug is weird, i don't have that bug, i open the camera ( front and back) many times and it works perfectly, maybe you changed something in camera setting ( erasing camera app data should help)
Anyway, the script is exactly the same as mine, its just you are using and editor with Arabic orientation.
Just use the app Notepad++( google it) and open it in English lang.
If not, just upload the script for me and i will edit it.
bihariel said:
Salam,
The camera bug is weird, i don't have that bug, i open the camera ( front and back) many times and it works perfectly, maybe you changed something in camera setting ( erasing camera app data should help)
Anyway, the script is exactly the same as mine, its just you are using and editor with Arabic orientation.
Just use the app Notepad++( google it) and open it in English lang.
If not, just upload the script for me and i will edit it.
Click to expand...
Click to collapse
ealaykum alssalam
thanks bro for help
i flashed the rom without change anything in script and its work
u know when the stable rom will out?

[GUIDE/TUTORIAL/HOWTO] HTC One M9 any model from Stock to Android 12

[GUIDE/TUTORIAL/HOWTO] HTC One M9 from Stock to Android 12
[GUIDE/TUTORIAL/HOWTO] HTC One M9 any model from Stock to Android 12
This detailed step-by-step guide helps you transform your HTC One M9 (any model) to a powerful one with Android 12.
Make sure you have the HTC One M9 model, in Android, go to Settings > About > Phone identity and check Model number.
### FM Radio doesn't work with Android 11.
Models supported:
- Himauhl (Europe WWE | GSM | MID 0PJA10000)
- Himaul or Himaulatt (AT&T, Developer Edition, Unlocked | GSM | MID OPJA11000)
- Himaultmus (T-Mobile | GSM | MID OPJA12000), not sure you can get Android 7
- Himauhl (Chunghwa Telecom | GSM | MID 0PJA13000)
- Himawhl (Sprint | CDMA | MID OPJA20000)
Himawl (Verizon | CDMA | MID OPJA30000) is not guaranteed, see: https://forum.xda-developers.com/f/verizon-htc-one-m9.4125/
* MID = Model ID
CHANGELOG
v1. Initial release
1) DOWNLOAD
- djibe HTC One M9 pack : https://bit.ly/djibe-onem9-pack
(includes HTC USB Drivers, recovery TWRP 3.6.2_9-0 for all M9, Magisk Root, adb, fastboot.exe and htc_fastboot.exe).
Unzip the djibe folder from the zip on root folder of C:\ drive.
- ROM for Himaul or Himawl: Unofficial LineageOS 18.1: https://forum.xda-developers.com/t/rom-11-0-0-himaul-himawl-lineageos-18-1-unofficial.4199175/unread
Download latest build here: https://mirror.codebucket.de/claymore1297/LineageOS/18.1/hima
Android 12.1 / LOS 19.1 is WIP (no telephony yet): https://forum.xda-developers.com/t/rom-12-1-0-himaul-himawl-lineageos-19-1-unofficial.4378803/unread
Or you can use AICP 17.1 right below
- ROM Android 12 for other Hima models: Android Ice Cold Project Official 17.1: https://forum.xda-developers.com/t/rom-12-1-0-hima-android-ice-cold-project-17-1-unofficial.4399865/
Download latest build here: https://dwnld.aicp-rom.com/
### Localisation (GPS) must stay turned ON to get Telephony
Or try crDroid 7.12
- NikGapps-SL ARM64 Core or Basic: https://sourceforge.net/projects/nikgapps/files/Releases/NikGapps-SL/
- Charge phone to 100%
- 8+ GB MicroSD card formatted in FAT32
- Copy ROM + Google Apps +/- Magisk root zipfiles without unzipping content. Insert microSD in phone.
WARNING. This tutorial uses Microsoft Windows.
WARNING. Warranty is now void.
WARNING. Read carefully the sentences starting with ###.
2) BACKUP DATA AND INSTALL DRIVERS
Disable Antivirus.
Install drivers from my pack:
right click on HTCDriver.exe > click on Run as administrator and continue the setup.
Connect HTC One (while phone on) to PC, let drivers install.
In Windows explorer, HTC One should be available.
### If not make sure phone connection is in File transfer mode (see Android notifications).
### Phone is still not visible in Windows Explorer ? See fix at end of tutorial.
Collect all personal photos, videos, etc ... and backup these on PC.
Use an app like Backupyourmobile/SMS Backup & Resotre to backup texts, contacts, etc.
Check that backup is located on microSD card.
Then copy the backup on your PC.
Disconnect phone.
### If your phone is Simlocked/carrier locked/Network locked, don't go further.
Visit official website of your network carrier (or call their support) to retrieve your desimlock code.
Ask them for details on how to remove simlock.
How do I know my phone is simlocked ? When you insert a SIM card from another operator, network is inaccessible.
Only a stock ROM can remove simlock.
To go back from custom ROM to stock, see dedicated section at the end of tutorial.
2) KNOW YOUR MODEL
Shutdown phone.
Start in fastboot mode: hold Power + Volume- until it vibrates and release both buttons.
Wait until hTC download mode shows up.
On mine I see:
SECURITY: *** UNLOCKED ***
model: htc_himawhl
CID-11111111
SECURITY UNLOCKED means S-OFF for SECURITY-OFF, otherwise S-ON. With S-ON you can upgrade firmwares but cannot use previous versions.
3) UPGRADE TO LATEST OFFICIAL ROM
In Android, go to Settings > About > Software information.
Android version is 7 and HTC Sense version is 8.0.
If Android is already 7, go to next chapter.
But before, search for IMEI and note this number somewhere safe (we never know).
Otherwise, we need to flash suitable stock Android 7 Nougat firmware, depending on your model.
In Settings > About > Software information, note down Software version (in case of future error).
For me it is 3.41.651.4 (651 is the SKU part, meaning Sprint US ROM).
See Sneakyghost's and Behold_this' SKU-, CID- and MID-List: https://docs.google.com/spreadsheets/d/10H7RftecZZKb5tT2zpShfYNFAfSe-imhhqtVfeMPVDA/edit?pli=1#gid=0
Now tap on More > tap 7 times on Build number. It unlocks Developer options.
Go back to Settings menu, you can see the new Developer options menu.
Tap on it, accept the warning.
Switch ON USB debugging option.
Connect phone, a message appears on phone : Allow USB debugging?
check Always allow and confirm by tapping on OK.
But before upgrading to Android 7 Nougat, you need the latest Android 6 official ROM available for your model.
- Himaul or Himaulatt: RUU_HIMA_UL_M60_SENSE70_ATT_MR_NA_Gen_Unlock_3.35.617.16.exe
- Himaultmus, not sure you can get Android 7: http://downloadmirror.co/android/29Ri/RUU_HIMA_UL_M60_SENSE70_TMUS_MR_TMOUS_3.39.531.7.exe
- Himawhl: https://www.androidfilehost.com/?w=files&flid=334967 or https://downloadmirror.co/1KrL/RUU_HIMA_WHL_M60_SENSE70_SPCS_MR_Sprint_WWE_3.41.651.21.exe
- Himawl: http://downloadmirror.co/android/29...0105_CNV_1.26_002_release_469809_signed_1.zip
RUU*.exe: launch installer, connect phone (from within Android started or in Download mode) and follow executable steps.
Wait during flash.
After reboot, you have access to HTC software updates.
Go to Settings > System updates > HTC software update > CHECK NOW
Install available updates.
Repeat after each update until update 4.x is fetched.
Here you go with Android 7.
### I succeeded with Sprint model, tell us here if you experience problems with other models.
### Flash a RUU in *.zip format
### Copy RUU zipfile to microSD card and insert in phone. Shutdown phone.
### Start in fastboot mode: hold Power + Volume- until it vibrates and release both buttons.
### Use Volume- to Reboot to Bootloader. Confirm with Power.
### Use Volume- to BOOT TO RECOVERY MODE. Confirm with Power.
### Once in recovery, use Volume- to: Apply update from SD card
### Use Volume to select RUU zipfile
### Wait during flash
4) UNLOCK BOOTLOADER
Save IMEI, go to Settings > About > Phone identity > IMEI (15 digits).
In Settings > About > Software information > More.
Tap 7 times on Build number. It unlocks Developer options.
Go back to Settings menu, you can see the new Developer options menu.
Tap on it, accept the warning.
Check ON OEM unlocking and USB debugging options.
Go to Settings > Security > Screen lock > None
Go to Settings > Storage > Phone storage, scroll down and make sure Phone storage encryption is unchecked.
Now, open a Windows command on my "flash" folder (hold Shift + right click on folder -> Open a windows command here).
Or type cmd in Windows address bar and hit enter to launch a Command prompt in actual folder.
Enter command :
Code:
adb devices
, confirm by pressing Enter.
Command returns :
Code:
List of devices attached
HT53****** device
### If no device is found, uninstall and reinstall properly the drivers while antivirus is off. Or see fix at the end of this tuto.
### Or start fresh on another PC.
Now type :
Code:
adb reboot bootloader
Phone restarts in Fastboot mode. Wait till phone screen is blank in fastboot mode.
Use volume keys to switch to Download mode !!!
### With HTC One M9, fastboot commands have to be sent from Download mode (took me hours to figure it out, thanks @DigiGoon).
Type :
Code:
fastboot devices
Command returns :
Code:
HT53**** fastboot
### You may have to fix drivers again (see fix at the end of tuto)
Type :
Code:
fastboot oem get_identifier_token
, confirm by pressing Enter.
Command returns multiple lines.
Select with your mouse all the lines from
Code:
<<<< Identifier Token Start >>>>
(included)
to the line
Code:
<<<<< Identifier token end >>>>>
(included).
Now on keyboard copy (Ctrl + C combo), then open Notepad.
In Notepad, paste those lines (Ctrl + V combo).
Now manually remove all the (bootloader) strings from each line.
Your notepad should now look like this :
<<<< Identifier Token Start >>>>
37A5DBF4FE5F0D9F4425E54AA91AFDBF
2A20E9C67C3BB4FAE60263F76BDEC6AC
847BF9FFB11DAEA4AB88AC8710435449
9BC12E93DF4C54FFE3D064C4C810C49A
2CDAF2E0CD3A164FED4A568CB0FD2AC6
C01AA991733D949C00987062D691DE91
8AA1C97CEBC3ACE83FECE75A1D03CE72
62414C7DC36A73AFCBF433E1EBE2EDC7
E272F73309632D3EF8C86E472B65E8EF
37E46B52FE3F94FC69D1854CA3DE6F48
C3E10001B233A70B1EAF35134F51FCC6
353E0CC98534E6E60A241A7063D0BE2F
A5B752E75C1C47E6F739BDBE67D024DA
3292A14278247557632639802722A86C
E61424F7666AE085AA9905096FEED1AD
5ECBBD867544E95ABDDA277690B8CB55
<<<<< Identifier Token End >>>>>
Now visit this website: https://www.htcdev.com/bootloader/
Register on the site. Confirm registration with your email.
In the select menu, choose HTC One M9, click Begin Unlock Bootloader button.
Agree to legal terms.
Next page, go to the bottom and click continue to step 5.
In the bottom of this page, in the lower textarea "My Device Identifier Token",
copy and paste the multiple lines you just edited (my example is just above).
Click Submit.
HTC tells you: Token Submitted Successfully!
Open your mailbox (associated to your HTC account).
Copy the Unlock_code.bin file attached to email in my "flash" folder you unzipped.
In Windows command, type:
Code:
fastboot flash unlocktoken Unlock_code.bin
, confirm with Enter.
Command should return:
Code:
Device is unlocked
4) FLASH TWRP RECOVERY
Using the same Windows command prompt, enter:
Code:
fastboot devices
to make sure phone is still available.
Then
Code:
fastboot flash recovery twrp-3.6.2_9-0-hima.img
Command returns :
Code:
finished. total time: x.xxxs
Now enter:
Code:
fastboot reboot-bootloader
Press Volume- to navigate to BOOT TO RECOVERY MODE, and confirm with Power button.
Phone reboots to TWRP recovery (with red message alert).
5) BACKUP STOCK SYSTEM
In TWRP, check Never show this screen and Swipe to Allow Modifications.
You land on TWRP Home screen.
Always make a backup of your stock system. We never know when a weird bug will decapitate the system.
Go to Backup menu, select all partitions and Backup to microSD card (Select Storage button).
Backup the generated TWRP folder content from your microSD card to PC.
6) WIPE PARTITIONS
Back to Home menu, go to Wipe > Format data, type yes and confirm with bottom righ icon.
Go to Wipe > Advanced wipe.
Select Dalvik / ART Cache, Cache, System, Data, Internal Storage then Swipe to Wipe, go back to Wipe menu.
### Don't wipe SDcard
Got ot Reboot > Recovery
7) FLASH ROM AND GAPPS +/- ROOT/MAGISK
Back to Home screen, tap on Install > choose aicp*.zip
(if you don't see the files, tap on Select Storage and make sure Micro SDCard is active)
then Add more Zips -> open_gapps*.zip,
then Swipe to confirm Flash.
Wait for operation to end (can be long).
### To flash Magisk, go to Reboot > Recovery and flash Magisk after reboot.
We need to format Data once more to remove an encryption that took me time to figure out.
Go back to Wipe one more > Format Data > yes
When format complete, tap on Reboot system
Wait during long first boot.
Setup Android.
8) You can use Backupyourmobile to restore data,
use GPS Status & Toolbox app to enhance GPS fix.
That's it.
Enjoy,
djibe
THANKS to TWRP team, AICP team, All M9 contributors.
You can find all my tutorials at: https://github.com/djibe/Android-tutorials
##################################################
## Unlock bootloader without Unlock key from HTCDev
See: https://forum.xda-developers.com/t/...loader-without-htcdev-s-off-required.3092036/
## Seek help for your model:
- Sprint: https://forum.xda-developers.com/t/...tc-one-m9-4-27-651-4-updated-4-13-17.3073355/
## Change 4G/LTE region
Edit build.prop
Reboot to recovery > Mount > select System
adb devices
adb root
adb remount
adb pull /system/build.prop
Edit with Notepad++
add ro.telephony.default_network=20
save file
adb push build.prop /system/build.prop
adb shell chmod 644 /system/build.prop
djibe89 said:
Himaultmus (T-Mobile | GSM | MID OPJA12000), not sure you can get Android 7
Click to expand...
Click to collapse
What is the "not sure" based on?
mmortal03 said:
What is the "not sure" based on?
Click to expand...
Click to collapse
Hi,
I didn't find a RUU for this model during a quick search.
Do you know more about an official firmware ?
djibe89 said:
Hi,
I didn't find a RUU for this model during a quick search.
Do you know more about an official firmware ?
Click to expand...
Click to collapse
I don't own this model, but I believe the T-Mobile Nougat firmware is: 0PJAIMG_HIMA_UL_N70_SENSE80_TMUS_MR_TMOUS_4.27.531.6_Radio_01.01_U114401021_126.03.70206G_2_F_release_497408_signed_2_4.zip
mmortal03 said:
I don't own this model, but I believe the T-Mobile Nougat firmware is: 0PJAIMG_HIMA_UL_N70_SENSE80_TMUS_MR_TMOUS_4.27.531.6_Radio_01.01_U114401021_126.03.70206G_2_F_release_497408_signed_2_4.zip
Click to expand...
Click to collapse
Himaul is the International model isn't it ?
I'll dig deeper.
Thx for asking.
Struggling with Verizon model exhausted me
djibe89 said:
Himaul is the International model isn't it ?
Click to expand...
Click to collapse
I believe himaul can refer to a couple of U.S. variants, the AT&T and the T-Mobile. The AT&T variant appends 'att' to the end, and the T-Mobile may append 'tmus' (but I don't have a T-Mobile variant in front of me to verify this).
Hello, I just bought a One M9 model htc_himawhl, and I would like to install android 12 on it.
The device is S-OFF and the bootloader indicate "Software status: Official" and "LOCKED".
I have a few questions about your tutorial.
What advantages we get when we unlock the bootloader ? I installed TWRP 3.7 yesterday, I suppose I can install any custom rom no ?
You didn't gives htc_himawhl compatible Android 12 rom, which one can work with in the list you given ?
I had an HTC U Ultra before this phone (which is now dead...), the process was much more easier because it was an international model. :/
Thanks in advance for your answer !
SofianeLasri said:
Hello, I just bought a One M9 model htc_himawhl, and I would like to install android 12 on it.
The device is S-OFF and the bootloader indicate "Software status: Official" and "LOCKED".
I have a few questions about your tutorial.
What advantages we get when we unlock the bootloader ? I installed TWRP 3.7 yesterday, I suppose I can install any custom rom no ?
You didn't gives htc_himawhl compatible Android 12 rom, which one can work with in the list you given ?
I had an HTC U Ultra before this phone (which is now dead...), the process was much more easier because it was an international model. :/
Thanks in advance for your answer !
Click to expand...
Click to collapse
Hi, normaly you need to unlock bootloader to boot a custom ROM.
To find a suitable ROM you should read the Sprint model section of XDA
@SofianeLasri , if you need VoLTE in your country/with your carrier, unfortunately, none of the recent custom ROMs for this phone have VoLTE/IMS registration working. It is being worked on, but there are no guarantees. You should read and follow the following thread for details/updates on this: https://forum.xda-developers.com/t/...ce-cold-project-17-1-official.4399865/page-12
What a shame, I buy a phone that I think is known on the custom rom scene, and I come across an abandoned operator model...
SofianeLasri said:
What a shame, I buy a phone that I think is known on the custom rom scene, and I come across an abandoned operator model...
Click to expand...
Click to collapse
Custom models are pain for obsolescence

[GUIDE/TUTORIAL/HOWTO] Huawei Honor 5X from Stock to Android 10

[GUIDE/TUTORIAL/HOWTO] Huawei Honor 5X from Stock to Android 10
[GUIDE/TUTORIAL/HOWTO] Huawei Honor 5X (kiwi) from Stock to Android 10 / LineageOS 17.1 in 2023
Complete guide to install Android 10 on your Huawei Honor 5X.
This tutorial only applies to this model, to check the correct version:
in Android, go to Settings > About phone > Model number, make sure it is one of these models:
- KIW-L24
- KIW-L22
- KIW-L21 (Qualcomm Snapdragon)
Not 100% sure for following models:
- KIW-L23
- KIW-AL10
- KIW-AL20
- KIW-CL00
- KIW-UL00
- KIW-TL00
- KIW-TL00H
- KII-L05
- KII-L22
- KII-L21
I wrote tis tutorial with KIW-L21.
See all my tutorials at https://github.com/djibe/Android-tutorials
Netflix and Disney+ are working.
CHANGELOG
v1. Initial release
1) WHAT YOU NEED
- djibe Honor 5X pack: https://bit.ly/honor5xdjibepack or https://anonfiles.com/EfHbPev2z2/djibe_Honor_5X_pack_zip or
(Contains TWRP Recovery 3.4.0-0 + Magisk root + Huawei USB drivers x32/64 + fastboot + cited files for root)
+ ROM LineageOS Unofficial 17.1: https://forum.xda-developers.com/t/rom-10-0-lineageos-17-1-unofficial-for-honor-5x.4212671/
Download latest build here: https://mega.nz/file/tbUliQ7Q#7f7Byu1QuuYNkojPnu5MDevPyCx6oMxXxQsjgjciCsE
+ BitGApps ARM64 10: https://github.com/BiTGApps/BiTGApps-Release/releases
+/- extra apps: https://bitgapps.github.io/addon/ARM64.html
+ a microSD card formatted in FAT32: copy ROM, GApps (+ Magisk). Insert it in phone
+ Charge phone to 100%
2) INSTALL DRIVERS
Install Huawei USB drivers.
Then plug phone to PC and let the install go on.
3) BACKUP YOUR DATA
When your phone is connected to Windows, search for all .jpg, .mp3, .mp4 files on your phone and make copies on your PC.
Then, with your Google Account (Whatsapp and co) or an app like Backupyourmobile, backup all your SMS, MMS, contacts.
Make sure the backup is located on microSD card.
4) UNLOCK BOOTLOADER
Update your Honor 5X to the latest official Android 6 Marshmallow (MM).
In Android, go to Settings > Updater. Make sure you have latest version.
Go to Settings > About phone.
Tap 7 times on Build number to unlock Developer options.
Go to Settings > Developer options.
Switch ON "Enable OEM unlock" and "USB debugging".
You must pay to unlock bootloader as Huawei closed the official website.
List of services offering unlock codes for money:
- DC Unlocker ($4 + VAT): https://www.dc-unlocker.com/supported_models_1/huawei_phones
- MinistryOfSolutions ($4): https://ministryofsolutions.com/huawei-bootloader-unlock-paid-service-html
Follow steps to get a paid unlock code. Here are the steps for DC Unlocker.
Go to DC Unlocker website: https://www.dc-unlocker.com/supported_models_1/huawei_phones
Download latest Client for Windows and install it.
On phone, launch Dial pad and type: *#*#2846579#*#*
ProjectMenu opens.
Go to Background Settings > USB Port Settings > select Manufacture Mode and Close.
### If you restart phone before the end of the process, you have to do this again.
Connect Honor 5X to PC.
Go to Windows Device Manager.
In the Modems section, Android Adapter Modem is listed.
In the Ports section, Android Adapter PCUI (COMn) is listed.
### If not, you must check USB drivers installation again.
Launch DC Unlocker.
- Select manufacturer: Huawei phones
- Select model: Auto detect (or Huawei Qualcomm Android phone)
Click magnyfying glass button.
DC Unlocker returns:
Code:
Found Applications port COM3
Found Diagnostics port COM5
Found Phone : HUAWEIKIW-L21
Model : Huawei Qualcomm Android phone
IMEI : xxx
Serial NR. : xxx
Firmware : xxx
Hardware ver. : HL3KIWMAD
Now go to DC Unlocker shop: https://www.dc-unlocker.com/buy
You need 4 credits ($4) for operation 24: Huawei Qualcomm Read Bootloader Code (up to Android 8)
Set subscription as:
Item: New user account
User name: YOUR CHOICE
Credits: 4
I used Credit card.
Note down purchase informations, we will need these in DC Unlocker.
Back to DC Unlocker.
Go to Server panel.
Fill User name and Password with data from your receipt.
Click Check login.
Go to Unlocking section and click Read bootloader code button.
DC Unlocker returns:
Code:
Reading bootloader code...
Bootloader code : xxx
Note down Bootloader code carefuly.
On phone, launch Dial pad again and type: *#*#2846579#*#*
ProjectMenu opens.
Go to Background Settings > USB Port Settings > select Google Mode and Close.
Go to my djibe/flash folder.
In the address bar, type cmd and confirm with keyboard Enter key.
Enter command:
Code:
adb devices
Authorize USB debugging from phone.
Enter command again (use arrow up key to print last command):
Code:
adb devices
Command returns
Code:
List of devices attached
W6HDU16325009900 device
Then:
Code:
adb reboot bootloader
Phone switches to white screen in FASTBOOT&RESCUE MODE.
To check that fastboot USB drivers are OK, type:
Code:
fastboot devices
### If command doesn't print a line like: 516b3414 fastboot, you have to fix USB drivers.
Now enter THE command:
Code:
fastboot oem unlock FILL_WITH_YOUR_UNLOCK_CODE
Confirm with enter and wait a moment ... till success is confirmed :
"(bootloader) Unlock success , the device will reboot and factory reset
OKAY [ 0.046s]
Finished. Total time: 0.046s".
Keep Windows command opened and let phone reset Android.
4) FLASH RECOVERY
Configure Android rapidly.
Unplug phone and replug USB.
Go to Settings > About phone.
Tap 7 times on Build number to unlock Developer options.
Go to Settings > Developer options.
Switch ON "Enable OEM unlock" and "USB debugging".
Back to Windows command, type:
Code:
adb reboot bootloader
Twice to authorize USB debugging from phone again.
Now that you are back to bootloader, enter:
Code:
fastboot flash recovery twrp-3.4.0-0-kiwi.img
Confirm with Enter.
Terminal confirms : "Finished. Total time: 2.711s".
And now:
Code:
fastboot boot twrp-3.4.0-0-kiwi.img
### If phone goes in a bootloop, disconnect phone and force shutdown holding Power button.
Welcome to TWRP 3.4 recovery.
TWRP asks for Keep System Read Only ? Swipe to Allow Modifications.
### You don't see this warning screen? Then you'll get "TWRP unable to mount storage" while trying to wipe partitions.
### > in TWRP, go to Reboot > Recovery so Recovery will refresh and popup the partition writing privilege.
In TWRP home screen, go to Wipe > Format data.
This will remove encryption.
Type yes and confirm to format partition.
Go to Reboot > Recovery.
Back to TWRP, go straight to Backup menu.
Select Boot, Data, System, Custom, OEMinfo, EFS and Firmware partitions.
Tap on Select Storage and set Micro SD card.
Swipe to Backup and wait during backup.
### If MicroSD card is too small. Backup on data partition and after backup has ended, go to Mount and connect phone to PC to retrieve TWRP backup folder.
### Store this backup (aka nandroid backup) somewhere safe before going further.
5) WIPE PARTITIONS
Go to Wipe > Advanced Wipe and check Cache, Data, Internal Storage, System and Swipe to Wipe.
6) FLASH ROM, BITGAPPS +/- MAGISK
Back to TWRP Home menu. Then tap on Install > select Storage MicroSD > choose lineage*.zip,
(if you don't see the files, tap on Select Storage and make sure Micro SDCard is active).
then Add more Zips > BiTGApps*.zip,
Optional: Add Magisk*.zip
then Swipe to confirm Flash.
Wait for operation to end.
Then tap Wipe cache/dalvik, swipe to confirm,
then Reboot System.
Android 10 is installed !
Wait for the phone to boot during 10 minutes.
7) ROOT WITH MAGISK (OPTIONAL)
### Only if you flashed Magisk via TWRP recovery
Do not connect to Android account.
Magisk root starts with Android.
You can manage permissions and extra modules with Magisk Manager app.
Open Files app > Install Magisk.apk.
Then in Magisk goto Settings > Hide magisk app and give it a name, switch Zygisk option ON.
Go to Modules Tab > Install from Storage: MagiskHidePropsConfig and safetynet.
Go to Developer options to disable Android debugging (ADB).
Reboot phone.
You can use yasnac app to check Safetynet passes.
Then with Files App: install netflix and disney+ if needed.
10) OTHER APPS
- You can use GPS Status & Toolbox for faster GPS fix.
- Developer options
Settings > About phone.
Tap 7 times on build number.
Back to Settings > System > Advanced > Developer options
Select USB Configuration > set MTP
Set Windows animation scale, Transition animation scale and Animator duration scale to .5x
That's it.
Enjoy ;-)
djibe
Thanks: @BadDaemon, LineageOS team, TWRP team, BitGapps team, TopJohnWu (Magisk)
Thanks for this updated tutorial. I might be like a lot of others who only recently purchased this smartphone. I think they cost a little more now then the $34.95 I paid a month ago.
Huawei Honor 5X 4G LTE Android 5.5" Dual-SIM 16GB Unlocked Smartphone 886598039147 | eBay
Find many great new & used options and get the best deals for Huawei Honor 5X 4G LTE Android 5.5" Dual-SIM 16GB Unlocked Smartphone at the best online prices at eBay! Free shipping for many products!
www.ebay.com
I originally purchased to I could try the freemobile SIM, but unfortunately it requires VOLTE. I also tried T-Mobile data only SIMS with it, but they seem to be shut down as I am still using the stock image.
I opted to use Ministry of Solutions as it was only $4 and DC seems to require the user to go through a process and Ministry of Solutions pretty much does all the work. The process just required me to do the following:
Go to their website and pay $4 via paypal for the service,
Contact them to let them know you paid for the service and schedule a time to get it done. I just used email.
Install teamviewer and provide the access information for them to access your system remotely.
Be available to configure the phone so they can do their work.
Wait for them to get done with the process and provide the unlock code for you.
The unlock code will also be included on paypal upon completion of their work.
So far I have only unlocked the bootlader and installed TWRP and will finish the process when I have time. I am just happy to have noticed that this tutorial is up to date and has links to all the resources needed to do the upgrade.
Hi @comm-ents, thanks for sharing.
I would not let anyone come on my computer but it is nice to have this alternative.
This phone is still damn cool, even though Honor closed their unlock site.
djibe89 said:
Hi @comm-ents, thanks for sharing.
I would not let anyone come on my computer but it is nice to have this alternative.
This phone is still damn cool, even though Honor closed their unlock site.
Click to expand...
Click to collapse
I wasn't too concerned as I currently use Linux Mint for work and Windows mostly for playing games so there isn't much there to compromise. I will be using them again if needed as they only did what was needed to get the code. I am pretty sure that a copy of Windows installed in Virtualbox would also work for increased security.
Just be aware that most compromised information isn't done while you're watching but behind the scenes so you're always taking a risk when connected to a remote site.
I suppose not having to pay $4 to get the unlock code would be nice, but it is just $4 to get even more benefits out of a very inexpensive dual SIM phone. Maybe if I am lucky it will be even more useful once I replace the Stock ROM with something a bit more up to date.
I am not able to install the lineage rom as I just get an error.
updater process ended with error 7 with my KIW-L24. I also tried to remove the assert lines as some instructions suggest should be done and it looks like the install went ok, but It ends up in a boot loop.
After trying the process twice just in case I made a mistake, I found that but removing the assert lines from the file, the install seems to complete, but I am no longer able to use TWRP from the phone as the touch screen doesn't work any more and Lineage doesn't boot either.
The only reason I can think of that the install doesn't work is because there is something that is different about the phone I have like it is a newer revision. It seems that the partition sizes might be different and when I remove the assert lines the install just writes to a partition that is too small to hold the data and it ends up overwriting itself so it is basically corrupted in the process. Just a theory, but I haven't had any luck with anything but the stock firmware.
comm-ents said:
I am not able to install the lineage rom as I just get an error.
updater process ended with error 7 with my KIW-L24. I also tried to remove the assert lines as some instructions suggest should be done and it looks like the install went ok, but It ends up in a boot loop.
After trying the process twice just in case I made a mistake, I found that but removing the assert lines from the file, the install seems to complete, but I am no longer able to use TWRP from the phone as the touch screen doesn't work any more and Lineage doesn't boot either.
The only reason I can think of that the install doesn't work is because there is something that is different about the phone I have like it is a newer revision. It seems that the partition sizes might be different and when I remove the assert lines the install just writes to a partition that is too small to hold the data and it ends up overwriting itself so it is basically corrupted in the process. Just a theory, but I haven't had any luck with anything but the stock firmware.
Click to expand...
Click to collapse
Sure of your model ?
Info about kiwi | LineageOS Wiki
wiki.lineageos.org
djibe89 said:
Sure of your model ?
Info about kiwi | LineageOS Wiki
wiki.lineageos.org
Click to expand...
Click to collapse
Yep. Model number KIW-L24.
comm-ents said:
Yep. Model number KIW-L24.
Click to expand...
Click to collapse
Format Data
Wipe all partitions
Reboot recovery
Flash
Leads to Error 7 ?
djibe89 said:
Format Data
Wipe all partitions
Reboot recovery
Flash
Leads to Error 7
Click to expand...
Click to collapse
Yes.
The first issue is that when I try to format Data I get: Unable to wipe '/data' -- unknown file system 'auto' Unable to format to remove encryption. I found a suggestion to format the /data partition manually from adb shell which works.
The Lineage from wasn't the only Install I the error 7 with though as ResurrectionRemix-M-v5.7.4-20161220-kiwi also gave the same error 7.
Now the touch screen isn't working again in TWRP because I accidentally installed the wrong version of Lineage. with the assert lines removed. It would be nice to know how I can do a restore from the command line, but the TWRP command line guide isn't much help. It is just too much of a PITA that once I can get stock back on it I will just sell it while I'm ahead.
Sometimes you have to manually reformat.
Go to Wipe > Advanced wipe > Cache > Change partition
Too bad you didn't succeed
I was able to unlock the boot loader and still have a rooted phone. What I had hoped to do is use it with a T-Mobile data only plan and a SIM from FreeMobile provides a few hundred minutes a month for free.
I don't know why I get the Error 7, but you can't just remove the assert lines as the install might seem to have worked, but that is only because it just proceeds to install even though there might be something wrong and the install just messes up the phone.
I am still using the phone right now to test as a hotspot. The real reason that SIM didn't work in the phone is because of something on T-Mobiles end so it actually works in the phone now and since it is rooted I can make other changes that actually allow it to work as hotspot without limitations.
I should be able to find another dual SIM phone that can be rooted, but I am not sure there is anything that also supports Volte.
Is there otherway to unlock bootloader without paying 4 dollar. My country has restriction. i cant pay.
neysariy said:
Is there otherway to unlock bootloader without paying 4 dollar. My country has restriction. i cant pay.
Click to expand...
Click to collapse
No way.
Or tell us if a miracle happened
In djibe Honor 5X pack, you said it contains Huawei USB drivers x32/64 but i didnt found it. Only driver that worked is:
Support area | files.dc-unlocker.com
files.dc-unlocker.com
Please add to your pack if you forgot that
In my phone there is not "unlock oem" option. What shoud i do. It that important?
Dc unlocker say error conection to server. I dont know why.
I'll dig into it. Thx
This guy in telegram can unlock bootloader of huawei phones very fast @fullkade_huawei_support
.
neysariy said:
In djibe Honor 5X pack, you said it contains Huawei USB drivers x32/64 but i didnt found it. Only driver that worked is:
Support area | files.dc-unlocker.com
files.dc-unlocker.com
Please add to your pack if you forgot that
Click to expand...
Click to collapse
Pack updated with USB drivers. Sorry for that

Categories

Resources