FORUMS
Remove All Ads from XDA

Huawei MediaPad T3 10 (AGS-W09 & AGS-L09)

43 posts
Thanks Meter: 27
 
By z1on, Member on 15th January 2018, 03:37 PM
Post Reply Email Thread
Huawei MediaPad T3 10 (AGS-W09 & AGS-L09)

On Huawei website: http://consumer.huawei.com/en/tablets/mediapad-t3-10/

ROM stock:
Custom Recovery:
Kernel sources:
How to enter in recovery mode:
  • Poweroff the device
  • Press and keep the Volume up button pressed then press the power button.

How to enter in fastboot mode:
  • Poweroff the device
  • Press and keep the Volume down button pressed then plug the USB cable.

How to enable the OEM unlock setting:
  • Go to Settings -> About tablet and tap 7 times on Build number, this will enable the Developer options menu.
  • In the Developer options menu enable OEM unlocking option.

How to unlock the bootloader:
Compile kernel sources:
Download and extract GCC: https://android.googlesource.com/pla.../master.tar.gz
Code:
$ mkdir huawei_AGS-W09
$ cd huawei_AGS-W09
$ repo init -u https://github.com/secuflag/manifest_huawei_AGS-W09.git
$ repo sync -j12
$ cd kernel
$ export ARCH=arm64
$ export CROSS_COMPILE=aarch64-linux-android-
$ export PATH=$PATH:/path/to/aarch64-linux-android-4.9/bin
$ make merge_msm8937_64_defconfig
$ make Image.gz-dtb
The Following 13 Users Say Thank You to z1on For This Useful Post: [ View ] Gift z1on Ad-Free
 
 
16th January 2018, 09:06 AM |#2  
Thanostsak's Avatar
Member
Thanks Meter: 22
 
More
It's nice to finally see a thread dedicated specifically to our model. I didn't get my unlock code yet,I will try your live chat support in a bit. I created an unencrypted boot file for our device but I cannot test it yet. If someone wants to give it a go here it is boot-unencrypted.img(flash it using fastboot)
16th January 2018, 09:31 AM |#3  
z1on's Avatar
OP Member
Flag Wien
Thanks Meter: 27
 
More
You're welcome!
Flashed but got a bootloop after the animated splash screen.
16th January 2018, 09:34 AM |#4  
Thanostsak's Avatar
Member
Thanks Meter: 22
 
More
Quote:
Originally Posted by z1on

You're welcome!
Flashed but got a bootloop after the animated splash screen.

I see, I will try again after i unlock my device as well. Since the boot file is encrypted you should point out that for now only magisk systemless root works
16th January 2018, 09:53 AM |#5  
z1on's Avatar
OP Member
Flag Wien
Thanks Meter: 27
 
More
I'm trying to compile kernel sources but can't get the device to boot.

What I did:
-Splitted the stock boot.img with https://forum.xda-developers.com/sho....php?t=2319018

boot_info says:
Code:
$ ./boot_info boot.img 
PAGE SIZE: 2048
BASE ADDRESS: 0x80000000
RAMDISK ADDRESS: 0x81000000
CMDLINE: 'androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprintk slub_min_objects=12'
So I repacked the stock boot.img with:
Code:
./mkbootimg --kernel boot/boot.img-kernel --ramdisk boot/boot.img-ramdisk.cpio.gz --cmdline 'androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprintk slub_min_objects=12' --base 0x80000000 --pagesize 2048 --ramdiskaddr 0x81000000 -o out_boot.img
Flashed with fastboot and works fine.

Then I compiled kernel sources with:
(GCC downloaded from https://android.googlesource.com/pla...x-android-4.9/)
Code:
$ export ARCH=arm64
$ export CROSS_COMPILE=aarch64-linux-android-
$ export PATH=$PATH:/path/to/aarch64-linux-android-4.9/bin
$ make merge_msm8937_64_defconfig
$ make Image.gz-dtb
Then I replaced boot/boot.img-kernel with Image.gz-dtb, repacked, flashed out_boot.img but device does not boot.

Unfortunately we can't get the /proc/config.gz because Huawei disabled it.
16th January 2018, 10:00 AM |#6  
Thanostsak's Avatar
Member
Thanks Meter: 22
 
More
Quote:
Originally Posted by z1on

I'm trying to compile kernel sources but can't get the device to boot.

What I did:
-Splitted the stock boot.img with https://forum.xda-developers.com/sho....php?t=2319018

boot_info says:

Code:
$ ./boot_info boot.img 
PAGE SIZE: 2048
BASE ADDRESS: 0x80000000
RAMDISK ADDRESS: 0x81000000
CMDLINE: 'androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprintk slub_min_objects=12'
So I repacked the stock boot.img with:
Code:
./mkbootimg --kernel boot/boot.img-kernel --ramdisk boot/boot.img-ramdisk.cpio.gz --cmdline 'androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprintk slub_min_objects=12' --base 0x80000000 --pagesize 2048 --ramdiskaddr 0x81000000 -o out_boot.img
Flashed with fastboot and works fine.

Then I compiled kernel sources with:
(GCC downloaded from https://android.googlesource.com/pla...x-android-4.9/)
Code:
$ export ARCH=arm64
$ export CROSS_COMPILE=aarch64-linux-android-
$ export PATH=$PATH:/path/to/aarch64-linux-android-4.9/bin
$ make merge_msm8937_64_defconfig
$ make Image.gz-dtb
Then I replaced boot/boot.img-kernel with Image.gz-dtb, repacked, flashed out_boot.img but device does not boot.

Unfortunately we can't get the /proc/config.gz because Huawei disabled it.

You are probably right.That's actually a bit disappointing..
17th January 2018, 02:26 PM |#7  
z1on's Avatar
OP Member
Flag Wien
Thanks Meter: 27
 
More
Solved! Just use SuperRs Kitchen to extract and repack boot.img
The Following 2 Users Say Thank You to z1on For This Useful Post: [ View ] Gift z1on Ad-Free
18th January 2018, 09:18 AM |#8  
Thanostsak's Avatar
Member
Thanks Meter: 22
 
More
Quote:
Originally Posted by z1on

Solved! Just use SuperRs Kitchen to extract and repack boot.img

can you test if it's possible to make an unencrypted boot?
18th January 2018, 06:38 PM |#9  
z1on's Avatar
OP Member
Flag Wien
Thanks Meter: 27
 
More
Quote:
Originally Posted by Thanostsak

can you test if it's possible to make an unencrypted boot?

What do you mean with unencrypted?
This is what's possible to handle with the kitchen:

Quote:

Add/Remove init.d support
Insecure/Secure the boot.img
Remove dm-verity
Add/Remove forceencrypt

18th January 2018, 06:51 PM |#10  
Thanostsak's Avatar
Member
Thanks Meter: 22
 
More
Quote:
Originally Posted by z1on

What do you mean with unencrypted?
This is what's possible to handle with the kitchen:

After extracting the boot file you can edit the fstab file and get rid of file encryption. To do that go to the folder ramdisk and open the file "fstab.QCOM" (use a text editor).
Look for the line:
/ dev / block / bootdevice / by-name / userdata / data f2fs nosuid, nodev, noatime, discard, inline_data, inline_xattr wait, check, fileencryption

Delete the ", fileencryption" part ,save and then repack the modified boot.img
It should work after flashing it
18th January 2018, 07:14 PM |#11  
Junior Member
Thanks Meter: 1
 
More
awesomeness!
So glad there's a proper page for my tab now and bonus it's full of clear and useful info, anyone found a way to root this thing properly yet (anyone tested the Magisk?) All I need to do is root so I can get rid of the bloat to free up space internally
The Following User Says Thank You to DarthBraindrain For This Useful Post: [ View ] Gift DarthBraindrain Ad-Free
Post Reply Subscribe to Thread

Tags
bootloader, huawei, kernel, mediapad t3 10, twrp

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes