*Discussion* PIE - Samsung Galaxy S8 Guides, News, & Discussion

Hey ! Wanna make the same thread as *Discussion* OREO but for Pie updates, a thread that is amazing by the way. Check it out here :
https://forum.xda-developers.com/galaxy-s8/how-to/discussion-oreo-final-t3746561
So ! Any Update.zip ? Post em here ! I got some for S8+ from this thread by @geri005 :
https://forum.xda-developers.com/galaxy-s8/how-to/s8-exynos-pie-oneui-beta-official-t3890376

G955F update.zip (CRL3 ---> ZSA5):
Google Drive:
https://drive.google.com/open?id=1Sz_r2vKXTs14E5todfZI1q14KE1s66Tz
Mega:
https://mega.nz/#!kV8mGSbQ!GbS3b3SJO_Z5yBanab35j93x1jd716_R4jXzgfUhVk8

G955F update.zip (CRL3 ---> ZSA5):
Google Drive:
https://drive.google.com/open?id=1lhQcAYgbkkYyyL7qiqp9G1b7065u8IE4

Will I be able to register in beta, when it's released in my country? Cause in Germany all beta builds for S9/N9 were available.
Members App show beta page, but tells my device is not registered :-/
Gesendet von meinem SM-G950F mit Tapatalk

Does someone know how to disable this?

yener90 said:
Does someone know how to disable this?
Click to expand...
Click to collapse
Think that's one handed mode, go into settings and disable

Is it possible to root pie ?

Fix error 7 in adb sideloading
Step 1. Copy the update zip file to a seperate folder and extract it using your favorite unzipping software. (i use WinRAR)
Step 2. Once unzipped, browse to the META-INF/com/google/android directory. You will find two files one of em called “updater-script”.
Step 3. Rename “updater-script” to “updater-script.txt” and open with NotePad.
Step 4. Get rid of the line containing the conflicting line “ro.secure” by making a search in the notepad and deleting from the semi-colon before it to next semi-colon ( ; ........ ro.secure ........ ; ).
Step 5. Save file.
Step 6. Rename “updater-script.txt” back to “updater-script”.
Step 7. Rezip all the files you’ve unzipped, in WinRAR just put the extension .zip and it will work. (change the name to Eupdate.zip or something like that juste in case).
Step 8. Now retry "adb sideload update.zip" and it will work

Related

[GUIDE] Creating Rom Update.zip

Hello Guys,This is an updated guide for creating an update.zip for your rom.I know that there are a few guides out there but i think my guide is a bit simpler and straight forward.
Step 1:
Download AutoUpdateCreator_V1.1
Step 2:Extract file and click on "CreateUpdateZip.exe"
Step 3: You can either drag your created zip file or press ENTER (If you did not compress your rom yet)
Step 4:Now drag & drop your ROM Folder in the program
**NOTE** Structure of ROM folder should be as follows:
ROM FOLDER(Containing)
---System
---Data
Note: If you get an error it means that your ROM Structure is incorrect!!)
Step 5:Now that everything is done,zip is signed go to GENERATED ZIPS in autoupdatecreator folder.
Step 6:Copy your update-script in your generated zip file at /META-INF/COM/GOOGLE/ANDROID/
(Do NOT replace Update-binary file!)
Other Notes:
(Update Script must be created,there are templates available)
(Editing Update Script with normal windows text editor will cause Status 6 Error)
(Adding an incorrect or non existing file in update-script will also give you a Status 6 Error)
Cheers
Thanx for work.means now i can convert .tar files into zip?and can flash from cell
not working in last cwm
switch to Edify error
Hey man, i guess you can help me. I have a samsung double time and it can't be flashed via odin, my wifi and all connections, except mobile data are not working. So i have the .tar firmware extracted. Is there any way to create an update.zip file from this firmware.
Stavr0s91i said:
Hello Guys,This is an updated guide for creating an update.zip for your rom.I know that there are a few guides out there but i think my guide is a bit simpler and straight forward.
Step 1:
Download AutoUpdateCreator_V1.1
Step 2:Extract file and click on "CreateUpdateZip.exe"
Step 3: You can either drag your created zip file or press ENTER (If you did not compress your rom yet)
Step 4:Now drag & drop your ROM Folder in the program
**NOTE** Structure of ROM folder should be as follows:
ROM FOLDER(Containing)
---System
---Data
Note: If you get an error it means that your ROM Structure is incorrect!!)
Step 5:Now that everything is done,zip is signed go to GENERATED ZIPS in autoupdatecreator folder.
Step 6:Copy your update-script in your generated zip file at /META-INF/COM/GOOGLE/ANDROID/
(Do NOT replace Update-binary file!)
Other Notes:
(Update Script must be created,there are templates available)
(Editing Update Script with normal windows text editor will cause Status 6 Error)
(Adding an incorrect or non existing file in update-script will also give you a Status 6 Error)
Cheers
Click to expand...
Click to collapse
The Download link is offline

[GUIDE] How to flash OTA packages through TWRP for Letv le1 pro X800

For Letv le1 pro if you have TWRP installed you won't be able to update via OTA automatically. It will fail and it is a real pain to always download the full rom package and flash. Moreover an OTA update notification will pop up continuously which is really annoying.
Here I will tell how to update via TWRP by doing a small modification to the OTA package.
Things Needed:
Winrar
Notepad ++
Steps
1. At first download the OTA package but don't reboot to install it
2. Copy the update zip from the ota update folder of you phone to your pc
3. Open the update.zip file but don't extract it. Just open it via winrar
4. In winrar window navigate to META-INF>com>google>android>updater-script
5. Double click on updater script and open it with Notepad ++
6. In Notepad++ window delete everything from row 8 up to the above line of "# radio update task" like the image sample below
https://drive.google.com/file/d/0B-mgR2LkvkEtQjVSU0tsNWdXRjQ/view?usp=sharing
7. Save it and close winrar
8. Copy this zip file to your phone and you will able to flash it via TWRP.
thank u for this helpful tutorial

[Guide] Cyanogenmod 13 Porting for Mediatek MT6592 Devices

Guide to port Fire855's Cyanogenmod 13 to Mediatek Devices
Here I am posting guide how to port Fire855's Cyanogenmod 13 to Mediatek devices based on MT6592 SoC.
@fire855 Cyanogenmod 13 thread --> http://forum.xda-developers.com/android/development/rom-cyanogenmod-13-kingzone-k1-turbo-t3360336
Required Tools
Java Development Kit
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Dat File Extractor
https://goo.gl/NxNe97
Cygwin
https://goo.gl/uMvH7C
Android Kitchen
https://goo.gl/rMH3kX
Meta-Inf Folder
https://goo.gl/y2WZZI
Notepad++
https://notepad-plus-plus.org/download/
Extracting system.new.dat file from Fire855 build
- Use extractor
- First Extract fire855 build zip using Winrar or 7z software.
- Put following files in "place_for_supported_files_here" folder
- file_contexts
- system.new.dat
- system.patch.dat
- system.transfer.list
- Run Extraktor_En.cmd
- Type 1 and press enter
- Your files will be extracted in "extract_file_here" folder
- Now copy these files from "system.dat" in "system" folder of Fire855 build
- Delete ".jounal" file from "/system" folder
Before Porting
- Delete Meta-Inf folder from Fire855 build
- Delete "system.new.dat", "system.patch.dat", "system.transfer.list
- Replace it with the Meta-inf folder given above
- You will have these folder and files now
- Install
- Meta-inf
- System
- boot.img
- file_contexts
- Now compress these above files and folder in one standard zip format.
Setting up Android Kitchen and Extracting Boot.img
1. Extract the Cygwin. In this folder you will find another folder named cygwin_packages and a file named setup. Copy these to C :\cygwin (create a folder named cygwin if it doesn't exist)
2. Open the cygwin folder in C:
3. Now in cygwin folder right click on the setup.exe and Run as Administrator
4. Click Next and then select Install from Local Directory
5. Select the path to the cygwin folder in C: then click Next
6. Select the path to the cygwin_packages folder (C:\cygwin\cygwin_packages) then click Next
7. Click Next. A message will appear click OK
8. Single click in the area between the Red box
9. Click Next. A message will appear, click Next. After this, installation will take place. After the installation process is complete check / tick the Create icon on Desktop and click on Finish. After this Right click on the Cygwin desktop icon and Run as Administrator. Some processes will take place after the completion of the process, close it
10. Now open C Drive. In the drive you will find a folder named Cygwin, Open it
11. Now open the home folder. In this folder you will find another folder having your Username, open it
12. Don't delete any file. Make a new folder named Kitchen
13. Open the folder named Kitchen. Now extract the file named dsixda Android Kitchen that you copied on your computer's desktop, then open the extracted folder of dsixda Android Kitchen
14. Copy all the files that are in the extracted folder of dsixda Android Kitchen and paste them in the Kitchen folder that you made
15. Now do Right click on the Cygwin desktop icon and Run as Administrator
16. Cygwin window will open. Now type "cd kitchen" (without "") then press Enter
17. Now type "./menu" then press Enter
18. After this Android Kitchen will open
You're good to go!
(You can use pictorial guide given on (https://forum.hovatek.com/thread-647.html)
Files needs to be ported
In Boot.img
- zimage (simply your device kernel)
- uevented.rc (if only device get bootloops)
Lib files need to replace from your Stock ROM
From "/system/lib/hw" folder
- hwcomposer.mt6592.so
- sensors.default.so (first rename this file to sensors.mt6592.so and then copy it same location in Fire855 build)
From "system/lib" folder
- libMali.so
- libaudio.primary.defaults.so
- libcameracustom.so
- libfeatureio.so
- libcamdrv.so
- libcamalgo.so
- libdpframework.so
- libcamparamsmgr.so
From "system/bin" folder
- gsm0710muxd
- gsm0710muxdmd2
- rild
From "/system/etc" folder
- Bluetooth folder
- Wifi Folder
- Firmware Folder
Making changes in boot.img only for devices having Emulated storage
Note: (No need of change for Non-emulated storage devices)
Edit fstab file in ramdisk folder after extracting boot.img in Android Kitchen
Refer this post by @Typhus_ --> http://forum.xda-developers.com/showpost.php?p=66440098&postcount=228
Note : Edit system and data mount points according to your device in updater-script using Notepad++.
Unpack/Repack Boot.img using Android Kitchen
1) First you need to set up working folder.
2) Place the zip you have created from above instructions in Original_Update folder.
3) Type 1 and press enter.
4) Select zip.
5) No need to rename working folder.
6) Also when it asks to do changes in updater script, Type 2 and press Enter for "Do nothing" and keep updater script as it is.
7) Now working folder is set up.
8) Go to advanced settings. Type 0 and press Enter.
9) Then type 12 and press enter.
10) Then type "w" (without "") and press enter.
11) A folder will be creatred name Boot-Extracted.
12) Now type "a" (without "") and press enter.
13) A messege will appear and a new folder will create by name Boot-img(Date)(time)
14) Place your stock boot.img in it and then come back to cmd window and press enter.
15) Now replace necessary files from stock boot to boot-extracted (zimage, uevented.rc etc)
16) Make changes in fstab file and other related files (for devices having emulated storage)
17) After making all changes in android kitchen cmd window type "b" and press enter. This will compile boot.img and repack it and get saved in working folder.
You can use to MTKbootimg Tool to Unpack and Repack boot.img
Link --> https://goo.gl/6NJJVx
I think carliv image tool is much better to exctract boot and recovery.img. much better than kitchen
vickdu31 said:
I think carliv image tool is much better to exctract boot and recovery.img. much better than kitchen
Click to expand...
Click to collapse
not really. but that's just a subjective opinion, isnt it? its a lil bit harder but it worth
vickdu31 said:
I think carliv image tool is much better to exctract boot and recovery.img. much better than kitchen
Click to expand...
Click to collapse
Cata Versi said:
not really. but that's just a subjective opinion, isnt it? its a lil bit harder but it worth
Click to expand...
Click to collapse
bravonova said:
You can use to MTKbootimg Tool to Unpack and Repack boot.img
Link --> https://goo.gl/cHhCsZ
Click to expand...
Click to collapse
It depends on which tool we get easier to use. It can be vary person by person. I am using Android Kitchen for very long time and get used to it now.
I have only a bug after porting procedure: in video Facebook app there is a green vertical bar...
How can I solve?
Inviato dal mio Elephone P8000 utilizzando Tapatalk
stefano91av said:
I have only a bug after porting procedure: in video Facebook app there is a green vertical bar...
How can I solve?
Inviato dal mio Elephone P8000 utilizzando Tapatalk
Click to expand...
Click to collapse
Replace "gralloc.default.so" and "gralloc.mt6592.so" from "/system/lib/hw" folder
Google Maps Compass & video playback!
How do I fix compass on Google maps? Its arrowhead is stuck on one position and never rotates. Compass/magnetic sensor works on all other apps except for Google maps.
Also
I have issue with video playback. I cannot stream videos from certain apps such as SonyLiv. However hotstar works fine. Also I have green YouTube videos problem on only certain few videos(with certian quality say 360p and/or live videos).
bravonova said:
It depends on which tool we get easier to use. It can be vary person by person. I am using Android Kitchen for very long time and get used to it now.
Click to expand...
Click to collapse
I mean this one : http://forum.xda-developers.com/android/development/tool-cika-carliv-image-kitchen-android-t3013658
This is just way faster and easier ! And available on linux and windows
bravonova said:
Replace "gralloc.default.so" and "gralloc.mt6592.so" from "/system/lib/hw" folder
Click to expand...
Click to collapse
Thanks for the advice. I just tried it always turns out that problem .
Look at the picture ...
ivanmaria said:
How do I fix compass on Google maps? Its arrowhead is stuck on one position and never rotates. Compass/magnetic sensor works on all other apps except for Google maps.
Also
I have issue with video playback. I cannot stream videos from certain apps such as SonyLiv. However hotstar works fine. Also I have green YouTube videos problem on only certain few videos(with certian quality say 360p and/or live videos).
Click to expand...
Click to collapse
Copy sensors.defaults.so from stock rom. Rename it to sensors.mt6592.so and place it in /system/lib/hw folder.
Also add compass/magnetometer permission xml file from /system/etc/permissions to ported rom.
There is streaming issue in some apps.
Use youtube app given in second post of @fire855 CM 13 thread.
stefano91av said:
Thanks for the advice. I just tried it always turns out that problem .
Look at the picture ... /QUOTE]
Try this patch by @jpower73 it worked for me. I kept hwcomposer from stock.
Click to expand...
Click to collapse
ivanmaria said:
stefano91av said:
Thanks for the advice. I just tried it always turns out that problem .
Look at the picture ... /QUOTE]
Try this patch by @jpower73 it worked for me. I kept hwcomposer from stock.
Click to expand...
Click to collapse
Use these particular files to solve green line in FB videos. Copy and paste (replace old) in "/system/lib/hw" folder
Credits : @jpower73
Click to expand...
Click to collapse
bravonova said:
ivanmaria said:
Use these particular files to solve green line in FB videos. Copy and paste (replace old) in "/system/lib/hw" folder
Credits : @jpower73
Click to expand...
Click to collapse
Thanks so much. fantastic! :laugh::good:
Finally facebook operating at 100 % .
I noticed another problem ( see picture) : during charging the animation is wrong ... how can I solve?
Click to expand...
Click to collapse
stefano91av said:
bravonova said:
Thanks so much. fantastic! :laugh::good:
Finally facebook operating at 100 % .
I noticed another problem ( see picture) : during charging the animation is wrong ... how can I solve?
Click to expand...
Click to collapse
You need to change these files from stock rom.
From /system/lib folder
1) libipod.so
2) libshowlogo.so
From /system/bin folder
1) boot_logo_updater
2) ipod
3) logwrapper
Click to expand...
Click to collapse
bravonova said:
Copy sensors.defaults.so from stock rom. Rename it to sensors.mt6592.so and place it in /system/lib/hw folder.
Also add compass/magnetometer permission xml file from /system/etc/permissions to ported rom.
There is streaming issue in some apps.
Use youtube app given in second post of @fire855 CM 13 thread.
Click to expand...
Click to collapse
Google Maps Compass doesn't work yet!?
bravonova said:
stefano91av said:
You need to change these files from stock rom.
From /system/lib folder
1) libipod.so
2) libshowlogo.so
From /system/bin folder
1) boot_logo_updater
2) ipod
3) logwrapper
Click to expand...
Click to collapse
I just tried it, everything solved. Thanks again
Now I still get all rom in dayly use, looking for any bugs.
Click to expand...
Click to collapse
Nice Work Bro ? ..
Thanks guys,
There is, also, another patch fixing potentially BT connection issues with mi wrist smart bands and another one fixing wifi direct issues (both of them tested on cm12.1 from the Greek forum)
Also, in case you face low sound issues, you may try my gionee elife sound patch.
http://www.myphone.gr/forum/showthread.php?p=6549582#post6549582
Fully compatible with atmos, digital plus, audio fx, etc

[GUIDE] How to install any A1 rom into the 5X.

I'm not a native english speaker, so my grammar may not be perfect. Corrections are highly appreciated.
In this guide I will explain step by step how you can install almost any A1 rom into the 5X. You will need a PC, no matter if it's running Windows, Linux, or OSX.
Step 0. Unlock your bootloader.
Step 1. Download Android Platform Tools. Extract it somewhere, and then add them to the path (If you dont know how: https://www.computerhope.com/issues/ch000549.htm Just remember to add the correct path to where you extracted APT).
Step 2. Download and flash modded TWRP.
Step 3. Download A1 ROM. Extract it and open the folder. You will see lots of scripts and another folder called images. Just stay on the main folder (Where all the scripts are placed).
Step 4. Download correspondent flash script and place it among the other scripts.
Windows: https://pastebin.com/raw/g3HTtVHs (Save it as flash_5x.bat)
Linux: https://pastebin.com/raw/2cvRb3gn (Save it as flash_5x.sh)
Step 5. Put your phone into fastboot mode (While powered off, keep pressed vol down button and power button. Connect your phone to the computer using your USB cable. Execute the downloaded script.
Step 6. When it finishes flashing the rom, you will be prompted to press a key to continue. Hold volume up button on the phone, and then press any key on the computer to continue and reboot the phone. Holding vol up will make your phone to boot into recovery.
Step 7. Once on TWRP, swipe to allow modifications if prompted. Then, go to wipe > advanced wipe and wipe dalvik and cache. If this is your first time installing the rom (not updating) you should wipe data partition too. Once wiped, go back to Advanced tab, then press on Terminal. Write "a1to5x" and tap on Enter. Wait until it finishes.
Thats all, just reboot and enjoy your updated ROM.
You can also flash modded roms, for doing so, you will need to extract payload.bin (which is inside the rom zip file) using this script and manually flash correspondent partitions. Then skip to step 7.
extracting the payload.bin doesn't work with the payload_dumper.py script for me. (copied script into bat). Can you help please?
Could you make a guide to install cuatom rom from mi a1 step by step? Tank
Is this method works with A1 custom kernels too?
please guide us also. thanks
---------- Post added at 02:36 AM ---------- Previous post was at 01:49 AM ----------
dumper for windows not working; already installed python
Successfully flash the latest A1 rom on my new bought 5X.
Thanks a lot!
sorry, I did not understand how to use this script to extract the custom roms, can you help me?
Hi, you have two guides to flash mia1 roms in 5x:
this one: https://forum.xda-developers.com/mi-5x/how-to/guide-how-to-install-a1-rom-5x-t3777139
and other one: https://forum.xda-developers.com/mi-5x/development/rom-android-one-mi5x-t3760048
wich are de differences between both?
nogard_ said:
Hi, you have two guides to flash mia1 roms in 5x:
this one: https://forum.xda-developers.com/mi-5x/how-to/guide-how-to-install-a1-rom-5x-t3777139
and other one: https://forum.xda-developers.com/mi-5x/development/rom-android-one-mi5x-t3760048
wich are de differences between both?
Click to expand...
Click to collapse
This thread guides you how to flash the official A1 rom to X5. So with this guidance, you can always flash the latest A1 rom to X5 without waiting for a ported rom made by other guys.
The another thread is regarding how to flash a ported rom. And the rom mentioned in that thread has already been out of dated.
@Aex12, do you have payload_dumper.py for windows, tried the above script but it got "Module not Found error", thank you.
Aex12 said:
Step 1. Download Android Platform Tools. Extract it somewhere, and then add them to the path (if you don't know how to do this, just google it).
Click to expand...
Click to collapse
What's the meaning of "add them to the path"?!
I googled it but nothing found!
>Step 0. Unlock your bootloader.
Is this necessary, I can't do it.
will i get OTA updates ?
tuhi009 said:
will i get OTA updates ?
Click to expand...
Click to collapse
OTA updates won't install, you have download the new ROM from mi.com and install.
I also want to know this! Please someone explain.
bandicout said:
sorry, I did not understand how to use this script to extract the custom roms, can you help me?
Click to expand...
Click to collapse
All process was successful, but i have problems with 4g. there are any problem with this type of connection and this method to convert 5x to a1? or it's a configuration problem?
Scorpion70 said:
What's the meaning of "add them to the path"?!
I googled it but nothing found!
Click to expand...
Click to collapse
Aex12 said:
Step 1. Download Android Platform Tools. Extract it somewhere, and then add them to the path (if you don't know how to do this, just google it).
Click to expand...
Click to collapse
Can you please just explain how it's done? Have googled it but didn't see anything. And after doing the whole installation can I install Gcam on it?
please help me how to extract payload.bin (which is inside the rom zip file) using this script. tks bro.
datkieu96 said:
please help me how to extract payload.bin (which is inside the rom zip file) using this script. tks bro.
Click to expand...
Click to collapse
U need to run script in linux machine with phyton installed.
Comand:./payload_dumper.py payload.bin
Please port the latest pixel experience ?

Complete Guide to Root/Unroot Huawei Mediapad M5 Lite ( All Editions ).

Rooting Huawei Mediapad M5 Lite ( All Editions ).
Requirements:
1. Unlocked Huawei Mediapad M5 lite ( All Editions ).
2. Minimal ADB Tools.
3. Magisk Manager latest from magisk manager website.
4. Huawei Firmware Finder ( Download from Playstore ).
4. Original Firmware Update.zip of current device you are running (Check in your device from Huawei Firmware Finder app).
5. Zarchiver ( Download from Playstore ).
6. Ramdisk.img file ( Extracted from Update.zip ).
Procedure:
1. Download Zarchiver app in playstore and download the current stock rom update.zip ( check your version in update settings) and open the update.zip file in Zarchiver app in your tab and extract the RAMDISK.img to any folder in your tablet.
2. Open Magisk Manager app in you tab and click on 1st "install" option then "select and patch a file" then browse your RAMDISK.img you copied to your internal memory. It will patch the RAMDISK.img and store it in downloads folder in your tab.
3. Download the minimal ADB tools from any website and install them your pc.
4. Copy the patched-ramdisk.img file to adb folder in PC and open the command prompt from the adb folder .
2. Enable USB debugging setting in the tablet and connect the tablet to the pc. After connecting open command prompt in the adb folder you have installed and type
Code:
adb devices
. You must see a device in the output. ( If not properly enable your usb debugging settings).
3. After that type
Code:
adb reboot bootloader
. Your device will boot into the fastboot mode and you will see BOOTLOADER UNLOCKED on the tab screen.
4. Now type
Code:
fastboot flash ramdisk patched-ramdisk.img
( patched-ramdisk file name may differ).
5. Your device is Successfully Rooted.
You need unlocked bootloader for this
Yes
lapora said:
You need unlocked bootloader for this
Click to expand...
Click to collapse
I have provided complete guide to unlock bootloader
i sold it and bought a samsung galaxy tab s5e no more huawei **** i spend hours to make the twrp and magisk to work with out errors but at least i didn't pay a third party unlock service because huawei decided to lock everything.
lapora said:
i sold it and bought a samsung galaxy tab s5e no more huawei **** i spend hours to make the twrp and magisk to work with out errors but at least i didn't pay a third party unlock service because huawei decided to lock everything.
Click to expand...
Click to collapse
You tried to make twrp? Magisk works man.
hi , i can't find IMG file into update.zip ? why
ouawai said:
hi , i can't find IMG file into update.zip ? why
Click to expand...
Click to collapse
It´s inside the file "update.app". You need a special tool to extract.
Please take a look to this thread:
https://forum.xda-developers.com/mediapad-m5/how-to/root-root-guide-huawei-mediapad-m5-t3786157
From the M5 guide:
"Download the full stock rom (update.zip) from the site I linked in the credits. Extract UPDATE.APP file from the zip. Then use HuaweiUpdateExtractor to extract ramdisk.img specific to your device"
I might be dumb AF but these guides are incomplete :/
Can anybody please share the Profiles.xml containing the images for the M5 Lite?
So far I used the Firmware Finder for downloading the latest rom which contains the UPDATE.APP and also downloaded the HuaweiUpdateExtractor but without the right profile it won't open file.
EDIT: currently following the main guide about extracting the ramdisk image: https://www.theandroidsoul.com/extract-huawei-firmware-update-app/
EDIT-2: guide (the one of my link above, not the guide of this thread) followed and finally rooted! Man, what a journey.
https://topjohnwu.github.io/Magisk/install.html
Rooting Huawei Mediapad M5 Lite ( All Editions )
Requirements on drumiec edition:
1. Unlocked Huawei Mediapad M5 lite.
2. Minimal ADB Tools [also added to post]
3. WinRar or other extraction tool
4. Magisk Manager apk file from original XDA topic.
5. Huawei Update Extractor [UPDATED: v0.9.9.5] [also added to post]
6. Original Firmware update.zip of current device you are running from https://pro-teammt.ru/en/online-firmware-database/
I used website that actually belong to Huawei Firmware Finder aplication TeamMT, so will give you same result with searching database (look at screen1.jpg - attached to post)
When you will find your firmware version click on filelist and pick the first link, usually is the largest file from all 3 links (like 1.8GB for example).
7. Download update.zip and extract UPDATE.APP from inside using WinRAR or so.
8. Open Huawei Update Extractor and open with it UPDATE.APP file by clicking [...] button.
Important: If program will not let you open the file because of some CRC errors, go on settings tab and uncheck Verify Header Checksum.
For me was not possible to open UPDATE.APP without previous step.
9. Find RAMDISK.img file on the list and extract it.
10. Copy RAMDISK.img file to tablet at any place.
11. Install Magisk Manager apk on tablet.
12. Follow the original guide.
Notice: Magisk will show you output location of your patched ramdisk file right after it finish processing it.
Latest update.zip for Huawei Mediapad M5 Lite 10.1 linked here:
FW version: BAH2-W19 8.0.0.230 C431 update.zip download
drumiec said:
10. Copy RAMDISK.img file to tablet at any place.
Click to expand...
Click to collapse
use
Code:
adb pull
and
Code:
adb push
to achieve the transfers as people noticed that using MTP can corrupt the file:
Code:
1. adb push /path/to/RAMDISK.IMG /sdcard
2. Patch the file using Magisk.
3. adb pull /sdcard/Download/magisk_patched.img ./
And then flash it through fastboot.
Hey Bossman, im stuck at the very end. I copied the patched magisk img to my pc folder where the adb is and when i type the fastboot flash ramdisk ****** it says
"error: cannot load 'patched-ramdisk.img': No such file or directory"
I dont know what im doing wrong?
the adb debugging on and im at the bootloader screen and my stuff is unlocked.
please help me, im not sure where im going wrong, the directions are so simple.
edit* nvm i fixed it
i had to do that adb pull and it worked from there. thank you again so much. i dont know what im going to do with this huawei device but online it said it was a good tablet to have so maybe more will come with this. if not, i can always use it as a security monitor? lol thanks again, have a great night!
sadiqkarur said:
Rooting Huawei Mediapad M5 Lite ( All Editions ).
Requirements:
1. Unlocked Huawei Mediapad M5 lite ( All Editions ).
2. Minimal ADB Tools.
3. Magisk Manager latest from magisk manager website.
4. Huawei Firmware Finder ( Download from Playstore ).
4. Original Firmware Update.zip of current device you are running (Check in your device from Huawei Firmware Finder app).
5. Zarchiver ( Download from Playstore ).
6. Ramdisk.img file ( Extracted from Update.zip ).
Procedure:
1. Download Zarchiver app in playstore and download the current stock rom update.zip ( check your version in update settings) and open the update.zip file in Zarchiver app in your tab and extract the RAMDISK.img to any folder in your tablet.
2. Open Magisk Manager app in you tab and click on 1st "install" option then "select and patch a file" then browse your RAMDISK.img you copied to your internal memory. It will patch the RAMDISK.img and store it in downloads folder in your tab.
3. Download the minimal ADB tools from any website and install them your pc.
4. Copy the patched-ramdisk.img file to adb folder in PC and open the command prompt from the adb folder .
2. Enable USB debugging setting in the tablet and connect the tablet to the pc. After connecting open command prompt in the adb folder you have installed and type
Code:
adb devices
. You must see a device in the output. ( If not properly enable your usb debugging settings).
3. After that type
Code:
adb reboot bootloader
. Your device will boot into the fastboot mode and you will see BOOTLOADER UNLOCKED on the tab screen.
4. Now type
Code:
fastboot flash ramdisk patched-ramdisk.img
( patched-ramdisk file name may differ).
5. Your device is Successfully Rooted.
Click to expand...
Click to collapse
Same issue here.
The solution is written on the Magisk Homepage:
Don't extract the file with Zarchive.
Download the file update. Zip from the Tablet to the PC (with the Huawei Tool) and unzip the file one time with 7zip.
Use the tool Huawei Firmware extracter. Disable in the settings the checksumme check and extract the Ramdisk.img. Copy the file back to the Tablet and let it patch from Magisk. Copy the patched file back to the PC, boot the Tablet into Fastboot (via adb reboot bootloader) and flash the Ram disk.img.
Remember to active at every reboot the USB Debugging in the Dev settings. It's disabled automatically.
Thanks for the guide. Should I unroot device if I get a new official update?
With the updates I lost my root access which I was using for multi user on my M5 lite Wifi
So I had to do the whole process again.
Here is the patched file for the version : BAH2-W19 8.0.0.278 (OCEC431)
so if you have the same version you can skip some steps and flash it.
firmware : BAH2-W19OCEC431B278
https://www.mediafire.com/file/mizbqmyztiuyj13/magisk_patched.img/file
You 'll have to re-edit the file to enable the multiuser (if you already did it previously the users will still have their config)
check there https://forum.xda-developers.com/p8...-root-add-multi-user-support-disable-t3602872
drumiec said:
Rooting Huawei Mediapad M5 Lite ( All Editions )
Requirements on drumiec edition:
1. Unlocked Huawei Mediapad M5 lite.
2. Minimal ADB Tools [also added to post]
3. WinRar or other extraction tool
4. Magisk Manager apk file from original XDA topic.
5. Huawei Update Extractor [UPDATED: v0.9.9.5] [also added to post]
6. Original Firmware update.zip of current device you are running from https://pro-teammt.ru/en/online-firmware-database/
I used website that actually belong to Huawei Firmware Finder aplication TeamMT, so will give you same result with searching database (look at screen1.jpg - attached to post)
When you will find your firmware version click on filelist and pick the first link, usually is the largest file from all 3 links (like 1.8GB for example).
7. Download update.zip and extract UPDATE.APP from inside using WinRAR or so.
8. Open Huawei Update Extractor and open with it UPDATE.APP file by clicking [...] button.
Important: If program will not let you open the file because of some CRC errors, go on settings tab and uncheck Verify Header Checksum.
For me was not possible to open UPDATE.APP without previous step.
9. Find RAMDISK.img file on the list and extract it.
10. Copy RAMDISK.img file to tablet at any place.
11. Install Magisk Manager apk on tablet.
12. Follow the original guide.
Notice: Magisk will show you output location of your patched ramdisk file right after it finish processing it.
Latest update.zip for Huawei Mediapad M5 Lite 10.1 linked here:
FW version: BAH2-W19 8.0.0.230 C431 update.zip download
Click to expand...
Click to collapse
tbozo said:
With the updates I lost my root access which I was using for multi user on my M5 lite Wifi
So I had to do the whole process again.
Here is the patched file for the version : BAH2-W19 8.0.0.278 (OCEC431)
so if you have the same version you can skip some steps and flash it.
firmware : BAH2-W19OCEC431B278
https://www.mediafire.com/file/mizbqmyztiuyj13/magisk_patched.img/file
You 'll have to re-edit the file to enable the multiuser (if you already did it previously the users will still have their config)
check there https://forum.xda-developers.com/p8...-root-add-multi-user-support-disable-t3602872
Click to expand...
Click to collapse
So with this file, the process from the OP is shortened to:
1. Type
Code:
adb reboot bootloader
. Your device will boot into the fastboot mode and you will see BOOTLOADER UNLOCKED on the tab screen.
2. Now type
Code:
fastboot flash ramdisk magisk_patched.img
(above file for BAH2-W19 8.0.0.278 (OCEC431)).
3. Your device is Successfully Rooted.
Is this right?
edit: to answer my own question: yes
Also, do we need to do this after every OTA update? (not that I expect so many in the future...)
Keine ramdisk Partition mehr
Hi,
since the last update BAH2-L09OCEC432B278 a ramsisk partition is no longer available.
I followed the modified guide with 7-zip and downloading the update.app on my PC and then pushing it onto the tablet with
C:\Program Files (x86)\Minimal ADB and Fastboot>adb push c:/RECOVERY_RAMDIS.img /storage/emulated/0/Download
I created the magisk_patched.img and used the pull adb command to get it back onto my PC.
I followed the steps in the guide with fastboot, but the very last command fails.
The tablet says both are unlocked, on the Magisk Website there is a short section on "Magisk in Recovery", but pushing the Power on and Volume up does not give my a Magisk option.
Update: I followed the Patching guide, but this fails with the following message:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery magisk_patched.img
target reported max download size of 471859200 bytes
sending 'recovery' (26386 KB)...
OKAY [ 0.826s]
writing 'recovery'...
FAILED (remote: partition length get error)
finished. total time: 0.842s
Hi,
I have the Huawei MediaPad M5 lite 10 but the Build Number for me is 'BAH2-W19 8.0.0.278 (OCEC432)'
and I can't seem to find the update file for it to follow the steps above?
Any help would be appreciated on what steps I need to do.
Thanks, :good:
Your Build number translates to the same firmware as mine: BAH2-L09OCEC432B278
This is a great explanation: https://www.theandroidsoul.com/extract-huawei-firmware-update-app/
Download the file from MT Team and extract is with 7Zip: https://pro-teammt.ru/en/
Hope this helps.
PS: Could you let me know if you are able to flash your phone since it is the same build?
THX!
Balamku said:
Your Build number translates to the same firmware as mine: BAH2-L09OCEC432B278
This is a great explanation:
Download the file from MT Team and extract is with 7Zip:
Hope this helps.
PS: Could you let me know if you are able to flash your phone since it is the same build?
THX!
Click to expand...
Click to collapse
Thanks for the link. reading the explanation then, mines would be BAH2-W19OCEC432B278. Thanks for that
---------- Post added at 03:51 PM ---------- Previous post was at 03:10 PM ----------
Balamku said:
Your Build number translates to the same firmware as mine: BAH2-L09OCEC432B278
This is a great explanation:
Download the file from MT Team and extract is with 7Zip
Hope this helps.
PS: Could you let me know if you are able to flash your phone since it is the same build?
THX!
Click to expand...
Click to collapse
Huawei Update Extractor: it mentions this in there but I have a MacBook and there doesn't seem to be a version for this.
Am I missing something?
Hmm, I have Linux and had to dual boot into Windows, because of several tools - this one included - wanting Windows. There is an emulator / VM available for Windows on Mac, but might be a bit over the top...

Categories

Resources