yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] gamr13:
The only thing I've modified in that zip file are the following:

- Boot.img (This is needed to boot correctly into TWRP)

- recovery.img (To replace the stock one with TWRP)

- the scatter file to flash those two above

Everything else is a stock firmware obtained from Ulefone
[Android Q&A, Help & Troubleshooting] Kyr4l:
okay so i don't need to flash everything, just boot and recovery :confused:
[Android Q&A, Help & Troubleshooting] gamr13:
Once you load the scatter file in flash tool, it'll flash what it needs to. It may need to flash the other files to ensure TWRP works, rather than being overwritten every reboot which the Power 5 does by default.
[Android Q&A, Help & Troubleshooting] Kyr4l:
i've another problem, flashtool doesn't do anything when i press download, it just become grey and i can just cancel it, there's no progress bar, nothing happens
[Android Q&A, Help & Troubleshooting] gamr13:
Have you used the tool I posted?
[Android Q&A, Help & Troubleshooting] Kyr4l:
yes and i doesn't detect my phone at all

i can use adb and fastboot without any issue but spflashtool and the tool you provided doesn't start or detect my phone
[Android Q&A, Help & Troubleshooting] gamr13:
Could you send a screenshot of your Device Manager?
[Android Q&A, Help & Troubleshooting] Kyr4l:
here it is

edit : i think i should be able to see a com port used by my phone in fastboot mode
[Android Q&A, Help & Troubleshooting] Dukino:
driver issues

I've been trying to get that android adb interface to somehow use the MTK drivers because i think that's what it needs to run. But so far unsuccessful. I'm stuck in the same boat as the chap above.
[Android Q&A, Help & Troubleshooting] Kyr4l:
We're screwed my dude x)
[Android Q&A, Help & Troubleshooting] gamr13:
On the bottom of your Device Manager you'll see it says TP-Link and has your Android phone listed, right click that device > Update Driver > Browse > let me pick from a list > uncheck 'show compatible hardware' and experiment with the drivers and see which works.

Try this, but I doubt it'll work: https://mega.nz/#!N1Q1nKYZ!8-YegGyjI9fqYAPIba9oPuVimUsbhB7lLF0KBwHFAXE
[Android Q&A, Help & Troubleshooting] Kyr4l:
I found one provided by ulefone and signed by google

That's the bootloader interface

I'll try this one maybe it'll help
[Android Q&A, Help & Troubleshooting] gamr13:
Fingers crossed.
[Android Q&A, Help & Troubleshooting] Kyr4l:
for any reason the drivers doesn't want to install now, i just get a ****ing code 10 when installing them
[Android Q&A, Help & Troubleshooting] gamr13:
Try install different drivers, that's usually caused by outdated drivers or the phone and/or PC need to be restarted.
[Android Q&A, Help & Troubleshooting] Kyr4l:
i already tried a lot of drivers wich aren't working, doesn't detect my phone, or just aren't compatible with win10

i don't understand how that **** works, that ****ing tool ust doesn't start downloading, my phone is in fastboot mode and nothing happen
[Android Q&A, Help & Troubleshooting] gamr13:
I'll try export the drivers I used for you. Man I ain't even joking when I say I spent like 5 hours alone looking for drivers
[Android Q&A, Help & Troubleshooting] Kyr4l:
how do you export your drivers ? are you using win10 ?
[Android Q&A, Help & Troubleshooting] gamr13:
I'm on 10 yeah, not that it matters a whole lot as long as it's 7 x64 and up.

Speaking of, I hope you're using 64 bit Windows (Right click start on the bottom left and click System)
[Android Q&A, Help & Troubleshooting] Kyr4l:
yes i've windows 10 x64 build 1809
[Android Q&A, Help & Troubleshooting] gamr13:
Grand, just got home, I'll start grabbing the drivers now and I'll upload them to MEGA.
[Android Q&A, Help & Troubleshooting] Kyr4l:
how many time to you need for that ? just asking :)
[Android Q&A, Help & Troubleshooting] gamr13:
Let's say an hour
[Android Q&A, Help & Troubleshooting] Kyr4l:
ok i'll wait :good:
[Android Q&A, Help & Troubleshooting] gamr13:
Let me know if these work - I put my phone in Fastboot mode and tried to grab the files from the driver in Device Manager. This is what I got from it:

<Link removed>

Edit: Be sure to uninstall the previous drivers (and delete them) in Device Manager and reboot your PC.
[Android Q&A, Help & Troubleshooting] Kyr4l:
i think i need a .inf file to install this
[Android Q&A, Help & Troubleshooting] gamr13:
https://mega.nz/#!AoQSTYza!5ulR02m_E_7UjN0q1tTvu1FEcYSB_GP1ecxA_-rNhwM

Try this then, I gathered a bunch of the folders labelled 'android' from my system32 folder. Hopefully something here works.
[Android Q&A, Help & Troubleshooting] Kyr4l:
i cant' install any of these, i'm getting a code 10 for every driver i tried

you don't have the original files ?
[Android Q&A, Help & Troubleshooting] gamr13:
Have you deleted the old drivers and restarted both the phone and your PC?

I hope you like folders, these were the only originals I could find.

https://mega.nz/#!hshX0CaK!cflWSvj9nJi-MA-qgm40QU5ICS3PULQzJaRy5yZ4Kfo
[Android Q&A, Help & Troubleshooting] Kyr4l:
That should be fine

I'm going to reboot my pc without driver signature verification to make sure i can install drivers,

Because i found one without signature
[Android Q&A, Help & Troubleshooting] gamr13:
Hopefully something there works, this is what you want to look for:
[Android Q&A, Help & Troubleshooting] Kyr4l:
where did you installed it ?

edit : i'm getting a code 10 every time with that
[Android Q&A, Help & Troubleshooting] gamr13:
I just put my device into Fastboot mode and installed drivers, which ones, I don't remember. But this is what I ended up with and that's what allowed me to flash my phone.
[Android Q&A, Help & Troubleshooting] Kyr4l:
i've done exactly what you said and spflashtool still doesn't downlaod when i click on it

i guess that would'nt work with adb
[Android Q&A, Help & Troubleshooting] gamr13:
If you can use fastboot in platform tools (run fastboot devices) try flashing the boot and recovery partitions.
[Android Q&A, Help & Troubleshooting] Kyr4l:
will that work ? i mean i cant' use a scatter with adb
[Android Q&A, Help & Troubleshooting] gamr13:
I don't know if it will or not, I know you can't use the scatter file. Nothing to lose anyway by flashing the boot and recovery partitions.
[Android Q&A, Help & Troubleshooting] Kyr4l:
maybe, but i can't use mtk flashtool and spflashtool due to these ****ing drivers, if my device gets stuck i can't fix it :mad: so i give up, i'll wait for working drivers :(
[Android Q&A, Help & Troubleshooting] gamr13:
Just keep scanning Google, that's the best advice I can give you, or try the drivers I sent. If you're still getting error code 10, try a different PC.
[Android Q&A, Help & Troubleshooting] Kyr4l:
i will try this on another pc an tell you if that works
[Android Q&A, Help & Troubleshooting] Kyr4l:
okay so i tried on another pc, it still doesn't work, same problem
[Android Q&A, Help & Troubleshooting] Dukino:
I DID IT!!!

OK! So i just got it too work. will write up a detailed description for you in a second. It isnt a driver issue at all. It's actually insanely easy. I can't believe the solution. But friends, we've done it!!!!
[Android Q&A, Help & Troubleshooting] Kyr4l:
seriously that's not a driver issue ? :confused:

every time i searched for an "download issue" from spflashtool i've seen a lot of messages saying "you need X drivers"
[Android Q&A, Help & Troubleshooting] Dukino:
"Fastboot is not the true messiah"

Ok, the normal fastboot loads into an adb interface. Trying to get the MTK drivers to run with that wont work. turns out its a button issue. Fastboot isn't what you need to load into to do it. You need to go one step past it. Give me an hour to relax from this adrenaline rush. I'll upload all the files needed to a Mega, and type up the method in a coherent way an hopefully we can get you and people in the future to TWRP and ROOT their phones with ease.

:):good:
[Android Q&A, Help & Troubleshooting] Kyr4l:
ok :D
[Android Q&A, Help & Troubleshooting] Dukino:
working on it

Upload files to MEGA now. Wrote up the method too. i hope it works for you.
[Android Q&A, Help & Troubleshooting] Kyr4l:
i hope it will work too, i found on some website that i have to star downloading of my pc and plug my phone (powered off before) to start it
[Android Q&A, Help & Troubleshooting] Dukino:
kind of

thats sort of true. It's all in the method i've written up.
[Android Q&A, Help & Troubleshooting] gamr13:
Sweet! Another success!
[Android Q&A, Help & Troubleshooting] Kyr4l:
and does this one works ?
[Android Q&A, Help & Troubleshooting] Dukino:
Ok, first of all, massive shout out to Gamr13 for doing this first and providing the original files. You're a true Chad. We owe you a beer. haha.

files: https://mega.nz/#!N2hijYAB!0LLshTYgWpnxw2b5bIzUfHcNV_HLrSUfOKpV5BELo4A

So, the method.

1. In the file below you will find a file called SP_Flash_Tool. Open this and run the flash_tool.exe.

2. Once opened, go into the options menu, click the connection tag and make sure USB is selected. make sure its set to Full speed and auto detect.

3. Browse through and use the MTK_AllInOne_DA.bin file as the DA file.

4. Select the scatter file found in the root of the Scatter files, etc file as the scatter file for the flash.

5. While unplugged, hold the volume up and power button to load the phone into it's Fastboot mode.

6. Set the SP flash tool to firmware upgrade and pressed the download button to start the program. 7. Plug your phone in and as expected, nothing will happen.

(here's the stupid part, thanks Ulefone. haha)

8. Now, hold the volume up and power button continuously until you her the usual usb being plugged in and out noises you'd expect from your PC. Keep holding it until the SP Flash tool starts start downloading and the bottom bar loads things.

9. be patient and wait until you get the green check mark then boot back into recovery as you normally and boom, welcome to TWRP town. then from there format your phone, restart as normal, go through set up and then reboot into TWRP to flash Magisk.

By going through every connection my PC had made in the last 7 hours found that by going past the fastboot and holding for longer it would eventually link to the pc and install, or use the already installed MTK drivers on the PC which would then allow it to be detected by the SP Flash tool. Hopefully this can help shed some light and get this moving. Or better yet, be streamlined into an easier process by someone smarter than me. haha. :D:good:
[Android Q&A, Help & Troubleshooting] gamr13:
Man, I'm just happy to help out, always wanted this phone rooted haha, hopefully this guide is less hit or miss
[Android Q&A, Help & Troubleshooting] Kyr4l:
I'll try this
[Android Q&A, Help & Troubleshooting] Kyr4l:
Ok I flashed twrp without any issue

The only problem is that I can't flash SuperSU because it ask for a decryption password

---------- Post added at 06:26 PM ---------- Previous post was at 06:11 PM ----------

Nevermind I flashed magisk and this works like a charm thank you very much
[Android Q&A, Help & Troubleshooting] Kyr4l:
The only last problem (which isn't really annoying for me) is that twrp asked for a password to decrypt /data

I've done a factory reset and installed magisk and i works well

I also noticed that my phone is encrypted by default and it looks like it's the power 5 basic behavior
[Android Q&A, Help & Troubleshooting] gamr13:
Yeah, unfortunately I don't think anything can be done there. But it's not really necessary to decrypt it if you have an SD card.
[Android Q&A, Help & Troubleshooting] Kyr4l:
Why ?
[Android Q&A, Help & Troubleshooting] gamr13:
You can just put stuff on the SD card and flash them.
[Android Q&A, Help & Troubleshooting] Kyr4l:
Btw it works perfectly :svetius::fingers-crossed:
[Android Q&A, Help & Troubleshooting] Kyr4l:
Yeah but if /data is encrypted i can't flash some files, for example, superSU flashable zip need to mount /data to install properly
[Android Q&A, Help & Troubleshooting] gamr13:
Might explain why I had to install the Magisk Manager apk separately.
[Android Q&A, Help & Troubleshooting] Dukino:
I'm working on decrypting it. That shouldn't be too hard though if all goes well. Glad that it worked for you. We are getting somewhere lads! ?
[Android Q&A, Help & Troubleshooting] gamr13:
I wish you skill, I know there's something about it in settings on the phone, but I haven't messed with it, no idea if it even does anything at all.
[Android Q&A, Help & Troubleshooting] Dukino:
From some intial searching, it seems it could be a known issue in TWRP. Apparently if you remove your lock screen pattern/fingerprints it goes away. But i haven't tested that yet though.
[Android Q&A, Help & Troubleshooting] gamr13:
I can confirm that's false, the stock Power 5 ROM will encrypt /data every factory reset, I don't use any locks on my Power 5. Speaking of fingerprints though, do they work for you guys? It's never worked for me. I can register fingerprints but I'd never be able to unlock it, it does detect a press but never unlocks.
[Android Q&A, Help & Troubleshooting] Dukino:
From further research, it's an issue TWRP has with android 8 and higher. No full fix yet unfortunately. But i'm sure there will be soon enough. I'm still going to try anyway. Haha.

And in relation to the finger print thing. Mine works perfectly. Are you using your thumb?
[Android Q&A, Help & Troubleshooting] gamr13:
Yeah I am, weird. Probably got a dodgy unit or something, wouldn’t surprise me
[Android Q&A, Help & Troubleshooting] Kyr4l:
by the way there's a useful trick you can do when rooted, is adding more steps to your volume slider by adding this to your build.prop

ro.config.vc_call_vol_steps=14
ro.config.media_vol_steps=30
[Android Q&A, Help & Troubleshooting] Kyr4l:
some people on other forums (i don't remember wich one sry) said that adding a password prompt when booting phone allow to decrypt with twrp using this password, does someone tried this ?:confused:
[Android Q&A, Help & Troubleshooting] Loyal_Guardian:
Sorry for the late answer.

I see that you've already rooted the phone, so I'll skip straight to the second question, in case the answer becomes useful.

The main problem I had after rooting the phone and installing TWRP was that every time I got into recovery, whether by accident or not, it would prompt me for a decryption password. My normal password as well as default_password didn't work and the main partition was still encrypted.

I've done a little research and found out that by booting into recovery and rooting instantly fixes it.

So, to answer your question: After flashing TWRP don't boot it up to the casual android setup and don't let android start. Apparently this will encrypt the device. Instead, after flashing, disconnect the phone and hold (I forgot the key combination) I believe Volume Up + Power button and boot into TWRP and root it straight away.

TLDR; A guy on the internet said to skip the android setup process and boot into TWRP instantly after flashing, and install root from there before even accessing android to avoid device encryption.

I also have a file that I found on 4PDA that apparently removes the encryption completely. Can't confirm whether it works or not. At that point my phone died (Not because of the file)Please use with caution at own risk.
[Android Q&A, Help & Troubleshooting] Kyr4l:
That means i'm screwed x), i won't do a factory reset for now tbh, encryption doesn't cause any issues i guess, but i think the boot image i flashed already has magisk, i mean i didn't flashed it and i got magisk manager on my home screen, and it's working perfectly so i guess i would have to flash it via TWRP
[Android Q&A, Help & Troubleshooting] Kyr4l:
Btw does someone know how to set more volume steps ?

Changing it in build.prop doesn't workan volumesteps+ in xposed doesn't work either
[Android Q&A, Help & Troubleshooting] gamr13:
There may be a guide to do it with ADB
[Android Q&A, Help & Troubleshooting] Kyr4l:
Unfortunately there's none
[Android Q&A, Help & Troubleshooting] Loyal_Guardian:
It's easy actually. Download Gravitybox from the Play Store and do that through the app. It also has a lot of other features as well.
[Android Q&A, Help & Troubleshooting] Kyr4l:
I know GB, but that's too much for me actually

I just want more steps to my volume slider,

Btw i've seen on some forums people said that GB is slowing down their phone a little, maybe because of it's heavy hooking method due to Xposed

That module is too heavy for what i need ti be simple
[Android Q&A, Help & Troubleshooting] KilljoyTDA:
Hey everyone.

I just got my Power 5 and tried to install TWRP, as one does when they receive a new phone. But while the installation goes well (on both flashtool and fastboot), going into TWRP never worked.

All it does instead is go black with a green stripe on top, and then reboot. I saw on a russian forum that I'm not the only one to have this problem, and that it seems related to a new revision of the Power 5 (which may have a different screen apparently). Some guy posted a fixed version of TWRP but the link was dead.

Is anyone here aware of this issue, and better, a fix?
[Android Q&A, Help & Troubleshooting] Kyr4l:
A new revision ? The power 5S maybe ?
[Android Q&A, Help & Troubleshooting] oes20:
Hi all, im back.

I followed the guide to root my power 5, and it perfectly worked. I installed two mods using magisk. One mod was giving me trouble, so i decided to deinstall it. Then the real trouble began. It suffered from bootloops, so I restarted using twrp and that was working. But then it stopped working totally. Bootloader will not appear but it is restarting straight into twrp.

Any advise is welcome. Thanks in advance.

Just started download and pressed the vol. up and power button to start the process. I'll let you know if it is happening again.
[Android Q&A, Help & Troubleshooting] gamr13:
I’ve had this happen to me, so, here’s what to do:

1) Boot TWRP

2) Tap ‘Advanced’

3) Tap ‘ADB Sideload’

4) Swipe

5) Press ‘Cancel’

6) Plug the phone into your PC

7) open a CMD window

8) Navigate to your Platform Tools folder where ADB is

9) type ‘adb reboot bootloader’

10) Open Flash Tool

11) Set up Flash Tool like before

12) Enjoy!

Please let me know if you have any further issues but this has worked flawlessly for me. :)
[Android Q&A, Help & Troubleshooting] Kyr4l:
This happened to me a few weeks ago

I just reflashed the entire firmware and reflashed your modified boot and recovery

I could just flash stock boot and recovery instead

BTW flashing magisk before first boot seems to prevent force encryption
[Android Q&A, Help & Troubleshooting] gamr13:
I’ve tried to flash Magisk before the first boot a few times but no matter how hard I try it always encrypts. It’s weird.
[Android Q&A, Help & Troubleshooting] oes20:
Thanks for the input, but I sloved it already. Just start flashing the files via the mediatek tool and hold vol. up and power.

I got no more problems so far, just running stable.

I am not able to install the v4a mod. Just keeping the driver on 'unsupported'. I changed folders and permissions etc but nothing helps. Any ideas?

---------- Post added at 08:08 PM ---------- Previous post was at 07:55 PM ----------

I found a possible way to upgrade to a clean android 9.0 but I failed to flash it with the past twrp version. Any toughts on it? If it is not working, I'll try the decryption file from the russia forum too.

link: https://www.getdroidtips.com/android-9-0-pie-ulefone-power-5/
[Android Q&A, Help & Troubleshooting] oes20:
Unfortunately my TWRP cannot flash the file you send overthere.

Tested some project treble roms but nothing seems to work properly. They are just not booting, if I try to boot its just directing to fastboot modus. Maybe we just have to stay at the bad stock rom untill a real developer gets his hands on this phone :rolleyes:

Edit: I just renamed the .img.xz file to .img Its now booting up :)

Tomorrow I'll start a new threat with the whole workaround on one page and maybe the bugs.
[Android Q&A, Help & Troubleshooting] oes20:
So I started a new threat with a clean step by step tutorial to flash everything.

https://xdaforums.com/android/general/ulefone-power-5-twrp-root-project-treble-t3943714

https://yadi.sk/d/peAeM8bDXnyr_w this file should decrypt your device, but my current rom is not doing anything with it.
[Android Q&A, Help & Troubleshooting] gamr13:
Has anyone managed to flash a decrypted GSI with Magisk working?

I'm able to install GSI system images on it just fine and boot, but /data is still encrypted and Magisk never prompts for root, despite being able to install modules no problem.
[Android Q&A, Help & Troubleshooting] zeromind999:
This method worked flawlessly for ULEFONE POWER 5S:D. I used the latest SP Flashtool v5.19. Magisk & TWRP works with no issues at all. I am glad to have his phone rooted after hours of headache following posts from other sites. Now its time to disable all the unwanted startups !!! :cool: Thank you very much gamr13 !!!
[Android Q&A, Help & Troubleshooting] gamr13:
Thank you for the confirmation that this works on the 5S!

Glad to hear you're as happy as us finally getting these phones rooted!

Enjoy!
[Android Q&A, Help & Troubleshooting] zeromind999:
Thank you very much for your efforts and the easy guide gamr13. Its highly appreciated. Your firmware works smoothly on Power 5S. I have installed Magisk, Greenify, Xposed Module, 3C Toobox, GravityBox and Lucky Patcher. All of them are working as expected and brings the performance of this device to a new level. :cool: The battery is a bomb. It lasts more than 6 days on my usage. :D
[Android Q&A, Help & Troubleshooting] gamr13:
Do let me know if you come across other cool tweaks and such, I'm always on the lookout. I get around 3 weeks out of my Power 5 haha. I really don't use it much anymore, but when I do use it as my main I get a week out of it under heavy usage.
[Android Q&A, Help & Troubleshooting] zeromind999:
3 weeks is awesome !!!. I have installed a wakelock detector to understand which apps are draining power often. 3C toobox had some issues with disabling the startup of some installed and system apps with the error " Failed to disable event ". I have fixed that by using the All-in-One toolbox. It works great for disabling startup apps. I will update if I come across more interesting tweaks ! :good:
[Android Q&A, Help & Troubleshooting] juyer:
I have browsed to recovery here and it vibrated then like tried to go to the recovery probably and then reset automatically again (next vibrate) and went to :crying: standard start. FUC$#$
[Android Q&A, Help & Troubleshooting] oes20:
Have you tried this workaround?
[Android Q&A, Help & Troubleshooting] juyer:
Very interesting. Anyway gamr13 has given us boot.img and recovery.img for the ulefone 5, but I have an ulefone power 3s and I could download recovery.img everywhere which worked with the first version of 3s but the 2019 version 3d needs like the ulefone5 booth: boot.img (changed) and recovery.img but I don't have the boot.img for 3s (which gamr13 has made for 5')
[Android Q&A, Help & Troubleshooting] juyer:
I have exactly the same problem with the Power 3s with the android 8.1

My friend has rooted the power 3s with the android 7 very easily.

But the new version from 2019 with Android 8.1 is same as power 5 : every single TWRP image I have found for the Power 3s doesn't work. I flashed it in fastboot mode with platform-tools (fastboot) then I tried to boot it via fastboot boot <image name>.img or by restarted with volume up+power to menu then recover item, the phone rebooted, vibrated twice (!!!) and started up normally.

So probably I need boot.img for the power 3S II edition with the Android 8.1. The Ulefone team has protected it the same as the Power 5s.

What have you changed in the boot.img exactly. Probably I should take boot.img for the power 3s and changed it also before flash it.
[Android Q&A, Help & Troubleshooting] gamr13:
As far as I remember, the boot.img file was modified to work with TWRP and successfully boot it on the Power 5 (and seemingly the 5s too).