Oukitel WP5 Pro

Search This thread

SwedishForenger

Senior Member
Mar 26, 2021
260
49
-
I think it could come from here.
https://forum.xda-developers.com/t/gsi-arm64-ubuntu-touch-ubports-drg-b2n-pl2.4167587/

-
Requirements:
The only Requirement of booting this GSI is having Halium patched kernel.
-
So simply said ...
.

Yes, I read about this during my breakfast. And picked out The stock boot for Halium poting, But forgot about it during the day at work. So lest port the kernal in the boot.img.

Update...

The air ran out of this project before it got started. Can't find Oukitel WP5 Pro device specific source tree anywhere, need this to patch the kernel.

.
 
Last edited:

Toutlibre

Senior Member
Jan 1, 2022
121
13
.

Yes, I read about this during my breakfast. And picked out The stock boot for Halium poting, But forgot about it during the day at work. So lest port the kernal in the boot.img.

.

-
I tried without and phone stayed stucked on boot, not even one bootloop.
I did the first steps to set up Halium on debian and already run into dpkg problem, not fixed yet ...
 

Toutlibre

Senior Member
Jan 1, 2022
121
13
.

Yes, I read about this during my breakfast. And picked out The stock boot for Halium poting, But forgot about it during the day at work. So lest port the kernal in the boot.img.

Update...

The air ran out of this project before it got started. Can't find Oukitel WP5 Pro device specific source tree anywhere, need this to patch the kernel.

.

-
I'm currently facing a really ugly weirdy issue and this time this is with my computer, since I made the first steps for Halium.
I'm waiting for some answers on debian forum to see if possible to fix or to reinstall the whole system :/
Hope you didn't get trapped like me.
 

Toutlibre

Senior Member
Jan 1, 2022
121
13
Effectively, this Halium was the problem and put a great mess on debian 10.
I had to completely reinstall the system this morning.
Maybe it exist a live cd or a system Halium ready to put in virtual machine ?
 

SwedishForenger

Senior Member
Mar 26, 2021
260
49
Effectively, this Halium was the problem and put a great mess on debian 10.
I had to completely reinstall the system this morning.
Maybe it exist a live cd or a system Halium ready to put in virtual machine ?
.

Just run a new copy of debian in virtual machine, inside of your debian Os.
Everything you install and test or configure in the debian in the virtual machine, can be deleted without affecting your own OS. This is how I run it on my systems...
If I encounter problems when I troubleshoot programs ore scripts, I just install another linux distro in a virtual machine. And run the scripts ore programs there instead.

Thousands of different linux distros to choose from you can run from virtual machine.
If you just want to use debian based systems, you have a list here:



.
 
Last edited:

Toutlibre

Senior Member
Jan 1, 2022
121
13
.

Just run a new copy of debian in virtual machine, inside of your debian Os.
Everything you install and test or configure in the debian in the virtual machine, can be deleted without affecting your own OS. This is how I run it on my systems...

.
-
That was my mistake, while didn't work on my VM with debian 11 I just decided wrongly to do this on my system debian 10 and then... This is how I ruined it on my system :)
I will know, it's fine now, I always keep some scripts on my cloud to accelerate the process after install and never let things on my system, everything on a separated Hardrive.
 
  • Like
Reactions: SwedishForenger

Toutlibre

Senior Member
Jan 1, 2022
121
13
bkerler-live-os.png

-
https://github.com/bkerler/mtkclient#installation
-
live-os.png

-
Installed just now on VM, I'll try it tomorrow
-
I let a little bit Halium aside, that's too complicated for a newbie like me.
-
Edit: All I can say for now is, that's perfectly linked to my system.
 
Last edited:
  • Like
Reactions: SwedishForenger

Toutlibre

Senior Member
Jan 1, 2022
121
13
spft-hint.png

-
Oh well, wanted to flash back to stock rom then ha haaaa...
Tried :
- just shut down the phone and connect, nope
- volume_up + Power then choose fastboot then force shutdown with Power, nope
Feels like I'm going to stay glued with /e/ which is not too bad.
Or I'll wait battery to be empty (don't think that'll work)
-
I can't go back for now to stock rom so I can't really use MTKclient
-
Any other suggestions on the way to flash back stock rom so I'll try to gain root access with MTKClient live OS suite ?
 

SwedishForenger

Senior Member
Mar 26, 2021
260
49
View attachment 5514649
-
Oh well, wanted to flash back to stock rom then ha haaaa...
Tried :
- just shut down the phone and connect, nope
- volume_up + Power then choose fastboot then force shutdown with Power, nope
Feels like I'm going to stay glued with /e/ which is not too bad.
Or I'll wait battery to be empty (don't think that'll work)
-
I can't go back for now to stock rom so I can't really use MTKclient
-
Any other suggestions on the way to flash back stock rom so I'll try to gain root access with MTKClient live OS suite ?
.

Just boot in to recovery, press start in SP flash toll, now correct the cable the phone and reboot to system from recovery. Now the download begin of stock rom.. This have hapend to me too many times.

.
 

Toutlibre

Senior Member
Jan 1, 2022
121
13
.

Just boot in to recovery, press start in SP flash toll, now correct the cable the phone and reboot to system from recovery. Now the download begin of stock rom.. This have hapend to me too many times.

.
-
I'd like to say it worked but it didn't.
I rebooted system throught TWRP then SPFT already on didn't catch the phone.
-
I'm anyway still able to swap to another GSI (did now) but not come back to stock.
-
I'm in trouble, I'd just like to come back to stock to use mtkclient, I hate this stock :)
 

SwedishForenger

Senior Member
Mar 26, 2021
260
49
-
I'd like to say it worked but it didn't.
I rebooted system throught TWRP then SPFT already on didn't catch the phone.
-
I'm anyway still able to swap to another GSI (did now) but not come back to stock.
-
I'm in trouble, I'd just like to come back to stock to use mtkclient, I hate this stock :)
.

Well... my dear friend.
Then you answered your own question .... Your phone obviously does what it is supposed to and GSI can be flashed via USB. The only thing that doesn't pick up your phone by USB is the USB VCOM drivers. Anyway Mediatek USB drivers should already be in recent Linux kernels IIRC.
But to install SP flash tools correctly in linux, so that the program finds the right drivers, can be a little more difficult than in windows. Just install windows in virtual machine, install latest Mediatek drivers, and the flashing will work fine.

.
 
  • Like
Reactions: Toutlibre

Toutlibre

Senior Member
Jan 1, 2022
121
13
.

Well... my dear friend.
Then you answered your own question .... Your phone obviously does what it is supposed to and GSI can be flashed via USB. The only thing that doesn't pick up your phone by USB is the USB VCOM drivers. Anyway Mediatek USB drivers should already be in recent Linux kernels IIRC.
But to install SP flash tools correctly in linux, so that the program finds the right drivers, can be a little more difficult than in windows. Just install windows in virtual machine, install latest Mediatek drivers, and the flashing will work fine.

.
-
The thing is I'm flashing manually for GSI ...
I added some android-rules and now SPFT stay stucked flashing recovery (31%)
-
In case what are the steps to flash manually stock ?
 

SwedishForenger

Senior Member
Mar 26, 2021
260
49
-
The thing is I'm flashing manually for GSI ...
I added some android-rules and now SPFT stay stucked flashing recovery (31%)
-
In case what are the steps to flash manually stock ?
.


Just install:
sudo add-apt-repository ppa: phablet-team / tools && sudo apt-get update

sudo apt-get install android-tools-adb android-tools-fastboot

Then flash all the files to their place:

fastboot flash vbmeta vbmeta.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img

and so on ...


Easiest is if you create a script, flashing all img files simultaneously, Instead of writing or copy / pasting every file alone.


ORE....
Create a dual boot system on your computer with windows that is never connected to the internet. so you simpler can handle all the flashing of the phone, with the programs that are specifically designed for these MKT phones with its windows drivers.

Since windows is never connected to the internet, you download all drivers and programs with linux and copy them over to your windows, to install.

1.png
2.png

3.png
4.png

.
 
Last edited:

Toutlibre

Senior Member
Jan 1, 2022
121
13
Don't know what I've done.
This phone doesn't want to start anymore, not even in fastboot mode or recovery mode.
Seems to be new out-of-the-box and dead inside.
Plugged into usb for charging no effect too :/
-
Feels like I'm going to buy a linux phone
 

torchwooduk

Member
Mar 28, 2018
6
0
I flashed the Havoc rom but have decided to flash the stock rom back, the problem is I am getting the 'Debugging Mode' red text at the bottom. I saw someone posted a solution earlier in the thread, but it no longer seems to work. Any ideas to get rid of this?
 

SwedishForenger

Senior Member
Mar 26, 2021
260
49
I flashed the Havoc rom but have decided to flash the stock rom back, the problem is I am getting the 'Debugging Mode' red text at the bottom. I saw someone posted a solution earlier in the thread, but it no longer seems to work. Any ideas to get rid of this?
.


That possibility disappeared during the v15 update. I'm not sure what the update package contained, since we don't have the file to view the contents of. But this is one of the features that was removed. but on the positive side, it is now faster to get a GPS lock on your position and some other small improvements.

What you can try, is to format the phone memory with SP_Flash-tool, and do a clean re-installation with SP_MDT_v31.rar and CheckSum with the software attached in the link above.

Let me know how it went...

.
 

SwedishForenger

Senior Member
Mar 26, 2021
260
49
-
I'm not proud to say Microsoft in my VM made it, my phone is back and still alive :)
.

MTK drivers are specifically designed to run in windows. The adaptive Linux drivers vary greatly depending on the Linux distro you are running. Running a dual-boot system with windows, helps a lot when you working with MTK phones.

.
 
Last edited:
  • Like
Reactions: Toutlibre

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Hi all... Until we get ROOT to this phone.

    I have been using WP5 Pro as my daily driver for 9 months now, and am super happy with it.
    However... After 3 months, the large 8000Ah battery didn't last as long as it should.
    So I opened it up in ADB :
    adb shell 'pm list packages -f' | sed -e 's/.*=//' | sort
    ore
    adb shell pm list packages
    and took a closer look at the pre installed crap on the phone. And I was shocked by all the unnecessary s*it i found. com.mediatek.atmwifimeta : Why is all my Wifi traffic logged and sent to a remote server !!!.

    To you who are interested in removing bloatware on your phone.
    I put together a list of crap you can delete without affecting your daily use of the phone.

    Just Copy & Paste in terminal and restart the phone.

    adb shell pm uninstall -k --user 0 com.ssui.chdmodel adb shell pm uninstall -k --user 0 com.android.companiondevicemanager adb shell pm uninstall -k --user 0 com.android.dynsystem adb shell pm uninstall -k --user 0 com.android.wallpaper.livepicker adb shell pm uninstall -k --user 0 com.google.android.apps.tachyon adb shell pm uninstall -k --user 0 com.google.android.apps.docs adb shell pm uninstall -k --user 0 com.google.android.apps.googleassistant adb shell pm uninstall -k --user 0 com.google.android.apps.wellbeing adb shell pm uninstall -k --user 0 com.google.android.apps.youtube.music adb shell pm uninstall -k --user 0 com.elephanttek.faceunlock adb shell pm uninstall -k --user 0 com.android.emergency adb shell pm uninstall -k --user 0 com.android.nfc adb shell pm uninstall -k --user 0 com.elephanttek.faceunlock adb shell pm uninstall -k --user 0 com.adups.privacypolicy adb shell pm uninstall -k --user 0 com.android.backupconfirm adb shell pm uninstall -k --user 0 com.adups.fota adb shell pm uninstall -k --user 0 com.android.bips adb shell pm uninstall -k --user 0 com.android.cts.ctsshim adb shell pm uninstall -k --user 0 com.android.cts.priv.ctsshim adb shell pm uninstall -k --user 0 com.android.localtransport adb shell pm uninstall -k --user 0 com.android.partnerbrowsercustomizations.example adb shell pm uninstall -k --user 0 com.android.printspooler adb shell pm uninstall -k --user 0 com.android.sharedstoragebackup adb shell pm uninstall -k --user 0 com.android.wallpaperbackup adb shell pm uninstall -k --user 0 com.debug.loggerui adb shell pm uninstall -k --user 0 com.android.traceur adb shell pm uninstall -k --user 0 com.android.htmlviewer adb shell pm uninstall -k --user 0 com.google.android.apps.restore adb shell pm uninstall -k --user 0 com.google.android.apps.restore adb shell pm uninstall -k --user 0 com.google.android.feedback adb shell pm uninstall -k --user 0 com.google.android.onetimeinitializer adb shell pm uninstall -k --user 0 com.google.android.gms.location.history adb shell pm uninstall -k --user 0 com.google.android.videos adb shell pm uninstall -k --user 0 com.mediatek.atmwifimeta adb shell pm uninstall -k --user 0 com.android.calllogbackup adb shell pm uninstall -k --user 0 com.ssui.setupwizard adb shell pm uninstall -k --user 0 com.ssui.sos

    You can Reinstall one or all apps again by putting:
    adb shell cmd package install-existing com.app name

    With USB Debugging enabled on your phone.....
    There is a lot to copy and paste, so I created a script that cleans your phone in 10 seconds from all this bloatware. Download it at the bottom of this post to your desktop, unzip it to your desktop, connect phone and double-click the Claning file.


    The default launcher on this phone is terrible. Here is a good alternative...
    Using Mod SMART LAUNCHER 5 PRO
    You can download it here: here.... here.... ore here..... just incase here too......

    photo_2021-03-26_04-47-14.jpgphoto_2021-03-26_04-47-19.jpgphoto_2021-03-26_04-48-57.jpg

    2.png
    3

    SOLUTION: DISSAPPEARING NOTIFICATIONS AFTER APPS UPDATES THROUGH THE GOOGLE STORE


    I do not understand what was the reason to make such a ****ty software by Oukitel, but finally i found a way to fix this. It was so annoying, when You have to check if notifications settings are all right every few days.

    Quick tutorial:
    1. You need root privileges. Installing Magisk was described some many times that i will skip this part.
    2. You need list of packages names for the apps, where You want to keep notifications settings all the time. You can obtain it for example through the shell:
    adb shell "pm list packages|cut -f 2 -d ":""
    You can also use some 3rd party app manager, which shows installed package names or check it via Google store. It does not matter.
    3. Now it is time to pull & edit /data/system/ssui_notification file.
    This is content of my ssui_notification:
    {packageName='com.ssui.keyguard', mainSwitch=1, lockScreenSwitch=0, showDetailSwitch=0, handsupSwitch=0, cornerSwitch=2, userOptSwitch=1, listType=1, status=1, userOperated=0}
    {packageName='com.ssui.launcher3', mainSwitch=0, lockScreenSwitch=0, showDetailSwitch=0, handsupSwitch=0, cornerSwitch=2, userOptSwitch=1, listType=1, status=1, userOperated=0}
    {packageName='com.android.music', mainSwitch=1, lockScreenSwitch=0, showDetailSwitch=0, handsupSwitch=0, cornerSwitch=1, userOptSwitch=1, listType=1, status=1, userOperated=0}
    *
    *
    *
    {packageName='com.twitter.android', mainSwitch=1, lockScreenSwitch=0, showDetailSwitch=0, handsupSwitch=1, cornerSwitch=1, userOptSwitch=1, listType=1, status=1, userOperated=0}
    {packageName='com.android.email', mainSwitch=1, lockScreenSwitch=0, showDetailSwitch=0, handsupSwitch=1, cornerSwitch=1, userOptSwitch=1, listType=1, status=1, userOperated=0}
    {packageName='com.linkedin.android', mainSwitch=1, lockScreenSwitch=0, showDetailSwitch=0, handsupSwitch=1, cornerSwitch=1, userOptSwitch=1, listType=1, status=1, userOperated=0}

    All You have to do is copy one line for example:
    {packageName='com.facebook.orca', mainSwitch=1, lockScreenSwitch=0, showDetailSwitch=0, handsupSwitch=1, cornerSwitch=1, userOptSwitch=1, listType=1, status=1, userOperated=0}
    and past it on the bottom with changed package name:
    {packageName='YOUR.APP.PACKAGE.NAME', mainSwitch=1, lockScreenSwitch=0, showDetailSwitch=0, handsupSwitch=1, cornerSwitch=1, userOptSwitch=1, listType=1, status=1, userOperated=0}
    This is example for Signal messenger:
    {packageName='org.thoughtcrime.securesms', mainSwitch=1, lockScreenSwitch=0, showDetailSwitch=0, handsupSwitch=1, cornerSwitch=1, userOptSwitch=1, listType=1, status=1, userOperated=0}
    Repeat this for all apps with disappearing notifications and save the file.
    4. After that You have to overwrite stock ssui_notification with just modified file. If You can not do this because of permission denied error, try to first delete stock file and after that copy modified file to the /data/system. It works for me.
    5. Reboot your phone*
    * I do not know if it is necessary step, but i did it to make sure that it will work.

    Voila, your notifications should not disappear anymore after apps update. I have checked it on few apps and so far it works!

    Unfortunately, this is not the best solution and You have to repeat this procedure after installing new apps, but probably most of people do not install new apps very often. I think it will be not a problem to make easy script to add automatically every installed app to the ssui_notification file, but the best solution will be if we will find which exactly process is responsible for this and just kill it. Maybe somebody will find that.

    I hope that it will be helpful for the rest of frustrated Oukitel users ;) Good Luck!
    3
    Ok.
    You need the latest stock firmware (v15) with unlocked bootloader. Install all drivers.
    To unlock bootloader you need to do this:
    1. In setting - About Phone - tap several times on Build number (developer options)
    2. In Satting - System - Developer options set OEM unlocking and USB debbuging.
    Reboot to bootloader -Vol UP+ Power and select fastboot (Vol Up- select, Vol Down -confirmation)
    In platform-tools ( I copyed cmd.exe to this folder)
    Code:
    fastboot flashing unlock
    Code:
    fastboot flashing unlock_critical
    (Every time you need confirm with Vol UP)
    !WARNING! All data will be lost.
    Reboot to system.
    Repeat steps 1 and 2.
    Then we install GSI (with TWRP or without).
    Boot.img must be from stock firmware.
    You must have vbmetaAndroidSC_mod.img and Havoc-OS-v3.12-20201230-Official-GApps-arm64-ab.img in platform-tool folder.
    Link for Havos 3.12 - https://sourceforge.net/projects/havoc-os/files/arm64-ab/ ( second with Gapps). Extract img from zip.
    Reboot to fastboot.
    In fastboot mode
    Code:
    fastboot --disable-verification flash vbmeta vbmetaAndroidSC_mod.img
    Code:
    fastboot -w
    Reboot to fastbootd
    Code:
    fastboot reboot fastboot
    In fastbootd
    Code:
    fastboot erase system
    Code:
    fastboot delete-logical-partition product
    Code:
    fastboot --disable-verity --disable-verification flash system Havoc-OS-v3.12-20201230-Official-GApps-arm64-ab.img
    Code:
    fastboot -w
    Return to normal fastboot
    Code:
    fastboot reboot bootloader
    In fastboot
    Code:
    fastboot erase userdata
    Code:
    fastboot reboot

    The system will boot in a few minutes
    But your phone won't have a Googl Play certificate.
    To fix this problem I did this:
    Install Magisk-v23.0.apk (disabled Check Updates and in Update Chanel set Custom Channel)
    Reflash boot.img to magisk_patched_boot.img by @xmucio
    In fastboot
    Code:
    fastboot flash boot magisk_patched_boot.img
    Code:
    fastboot --disable-verification flash vbmeta vbmetaAndroidSC_mod.img
    In Magisk set MagiskHide.
    From Magisk repository I installed Riru, BusyBox, MagiskHide Props Config and manualy SafetyNet Fix 2.1.1 (via Install from storage). Then I dissabled all Googl apps (Play market and so on).
    With help from MagiskHide Props Config I made a substitution of the phone and installed the certificate.
    In Termix I done this:
    Code:
    su
    Code:
    props
    You will seen like on picture.
    At first I done 2 (Forse BASIC key attestation)
    2
    d - (pick value from device list)
    3 - (Ulefone, becouse I have it)
    All confirmed.
    Then I done 1 (Edit device fingerprint
    1
    f
    3 - Ulefone
    Then enabled Google apps
    SafetyNet passed. The device is certified.
    2
    Runing on old Android 10?

    WP5 pro are being shipped with Android 10 V3 and V4 version of the firmware.
    However, ther is a new release of Android 10 V5 available for this phone!.

    Android 10 V5 can be downloaded here

    And all the tools needed to make the upgrade possible, you can find it here
    If you are wondering if it is difficult to do the update, you can watch a video on how to do it in this tool folder to.

    photo_2021-04-02_13-28-28.jpg
    2
    OUKITEL IMEI recovery
    1,1.jpg
    Had trouble making calls after flashing the Oukitel firmware to the phone.
    and daild *#06# and discovered that I had lost my IMEI number, which is used to register my phone on the carrier network. Without an IMEI number, you can either call, text or surf the internet. So it's crucial that you restore that number. Here is a small guide on how to reset your IMEI number on ALL smart phones, As long as you have USB drivers for that specific phon.
    I will use Windows 10 in this example, as this is the most common operating system to date. If linux users want a guide too, send me a pm.
    Ok, that out of the way, let's begin....

    Drivers...
    Is the key component for your phone to communicate with a computer, and for communicating with the different chipsets in your phone.

    Oukitel uses Mediatek drivers and can be downloaded here..…
    Extract the folder to your desktop. You will need a copy of the OUKITEL firmware.

    Oukitel WP5 here... and Oukitel WP5 pro here...


    Right click on windows taskbar icon, and click on Device manager.

    1.png


    Click on Action and on Add legacy hardware.
    2.png


    Click on install ....
    3.png


    Click on Brows...
    5.png

    Go in to the Mediatek folder you downloaded earlier and double-click on the android driver.
    You can do this for one or all the drivers, and the drivers in the 64 folder to.
    Reboot the computer....

    Now it's time to fix the missing IMEI number issue....
    To make this job as easy as possible for us, we will use the SN Write Tool.
    There are a lot of versions and editions of this tool for different phones, but for WP5 and WP5 pro we use v1-1924 which can be downloaded here ....
    Ok, let's begin....

    Open the SN_Write_Tool_v1.2020.00 folder and open the SN_Writ program.
    6.png


    Click on System Config.
    0Ww25wWsuT.png


    Onely IMEI and Dule IMEI is checkt.
    Now we need to tell the program to retrieve all the necessary information about your phone from the firmware databases. Now click on the MD1_DB button, and go in to the download OUKITEL firmware folder and in to the database folder.

    7.png

    8.png


    Double click on the MDDB file. Go to the next button AP_DB and add the next database file APDB file. Click the SAVE button.
    9.png


    Now we are ready to write the IMEI number to the phone. Click on the STRT button.
    Now enter your IMEI number. If you have not written it down, you can find it on the packaging the phone came with. Turn off your phone and prepare the USB-c cable.
    11.png


    Ckick OK button , and plug the USB cable into the computer and phone and wait a few seconds. A small text is displayed on the phone screen at the bottom left.
    12.jpg


    The program will verify with the database, before writing the IMEI number to the phone, This may take up to 1 min. If the program finds errors in your IMEI number, you will receive an error message. you can check your number or click OK.
    13.png


    When everything is ready, you will get a green light from the program.
    14.png


    Restart the phone and you now have a new IMEI numbers.....
    1,2.jpg