yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] djvinniev77:
Damn!!! Got so excited! I am currently sitting with a "custom" twrp pulled from the Doogee S60

from this post (twrp and super su files in here):

https://xdaforums.com/showpost.php?p=74036200&postcount=17

took the twrp recovery and root and PATCHED the recovery from this instruction set

https://www.techora.net/port-twrp-for-mediatek-64-bit-mt67xx.html

made it boot to this patched recovery to test and nearly flipped when I saw the upside down TWRP page.. it comes up in Russian, and you need the OTG cable with mouse to navigate.

Once I was in English, ran the supersu installer and bam! ROOT!

Currently trying to use another method to create a proper twrp for this device. Stay tuned!

Update:

Here's the TWRP image I got working and used, and have flashed permanently on my device. Still the original reconfigured one from doogee s60. Otg required. If you do get touch screen working (it's random) everything is upside down (graphics wise) but touches are still in the original orientation.

https://mega.nz/#!l6ZDWJbD!9UQel0i1KTeZRaNoVrOZQqDfgttXprN8_AH9fys7RBw

Here's the SuperSU file I used to root the device

https://mega.nz/#!t2wGDbhL!H07JxlbmLH2tFQD7Frx2BKlJp0AyDthXkbEj6sw4z08

---------- Post added at 10:49 PM ---------- Previous post was at 10:31 PM ----------

for those who want proof, PICS!!!

https://ibb.co/m47Csb

https://ibb.co/cypQCb

https://ibb.co/jnYkCb

https://ibb.co/inaMkw

https://ibb.co/kaO7Qw
[Android Q&A, Help & Troubleshooting] djvinniev77:
See my post!

---------- Post added at 05:04 AM ---------- Previous post was at 05:02 AM ----------

Hope you give my post a shot to try and root your device. Need OTG cable. Sorry just so excited!
[Android Q&A, Help & Troubleshooting] sumec100:
Great work :svetius: , it works. :cowboy:
[Android Q&A, Help & Troubleshooting] Dave2068:
Touch Display didnt work? There's no way to Decrypt Data? How many Tries i need?
[Android Q&A, Help & Troubleshooting] sumec100:
You need an OTG cable and mouse, click on the icon below " язык " , choose your language or englisch and next ..... :D
[Android Q&A, Help & Troubleshooting] wzlde:
Thank you very much for sharing.

More people including myself experience error STATUS_BROM_CMD_SEND_DA_FAIL. Seems it may have to do with proper Download-Agent file (or Scatter file????) for the flashtool.

Would you be able to share all the details and files behind flashing of your version of recovery with the flashtool?

Which version of flashtool, which DA file, which Scatter (does the Scatter from Doogee exactly pass to Armor 2? or did you have to take the Scatter from e.g. Needrom? I was unable to get the needrom Scatter to work, exactly error STATUS_BROM_CMD_SEND_DA_FAIL)

Thanks a lot!
[Android Q&A, Help & Troubleshooting] djvinniev77:
For flashing the recovery I didn't use the sp flash tool. I ended up telling the device to reboot to bootloader and used

Fastboot flash recovery recovery.img

(Rename my new recovery as recovery.img)

You can then reboot in upside down twrp. Ensure you have an OTG cable with mouse.

---------- Post added at 01:06 AM ---------- Previous post was at 12:56 AM ----------

For flashing the recovery I didn't use the sp flash tool. I ended up telling the device to reboot to bootloader and used

Fastboot flash recovery recovery.img

(Rename my new recovery as recovery.img)

You can then reboot in upside down twrp. Ensure you have an OTG cable with mouse. And that you have the SuperSU.zip file in your storage so you can navigate and flash root.

Still trying to learn how to build twrp for this device from scratch. Hopefully I get that out and next steps, how to build a custom ROM.
[Android Q&A, Help & Troubleshooting] michael205:
Any way to take better photos ?
[Android Q&A, Help & Troubleshooting] Curtis_:
Hi djvinniev77 , I got mine today.

Great work! As i see you are the first one who rooted this device and can prove it.

I want to root my phone, but the current status is not clear to me...

"Here's the TWRP image I got working and used, and have flashed permanently on my device. Still the original reconfigured one from doogee s60. Otg required. If you do get touch screen working (it's random) everything is upside down (graphics wise) but touches are still in the original orientation. "

- What can you do when touchscreen is not working?

- Upside down means the screen is upside down while rooting process, or upside down after the rooting process (eg normal use) ?

- Is the rooted phone works well? (glitches, battery, button rebind, speed etc)

- As i went trough the forums, and reviews - most of the users complains about accident dialing SOS numbers - can you rebind phisycal buttons after root?

The last time i rooted a phone was 6 years ago... I think i need a straightforward step-by-step guide to do this...

As this phone is still spreading, i think a lot of users will thank you if you can do this :)

Thank you,

Curt

---------- Post added at 11:10 AM ---------- Previous post was at 11:00 AM ----------

Sry, i didn't replied the last post... Keep up the good work guys!
[Android Q&A, Help & Troubleshooting] djvinniev77:
Yup, Sumec100 summarized what needs to be done in order to root device.

So far I've used the button remapper app to launch other apps instead of the default ones. I did leave camera functionality alone on the camera button, as it works well with the stock camera.

The OS does still call for specific apps as they are hard coded (Zello for PTT button) so if you hold it down long enough, it would try and launch that app... With Root access however, I've taken an app like Titanium Backup to freeze the apps I don't want in system, like the SOS and Zello app, it's not the best method but it works for me and I get less annoyed with the extra buttons on device.

I've also managed to install Xposed on this along with xposed apps like Amplify, GravityBox (N) - I find the battery life is a bit better on this device and could surely be tweaked further.

It really is a decent phone, camera can always be improved though. With Root etc, you lose android pay, and other things that rooted devices are not allowed to do because of "security" settings of being unlocked bootloader/rooted.

---------- Post added at 10:13 AM ---------- Previous post was at 10:10 AM ----------

I wish!

I think it's based out of mediatek kernel/camera files.. even 3rd party cams are not as good as they could be.. I wish I was a better coder.
[Android Q&A, Help & Troubleshooting] djvinniev77:
Root has been done. :)
[Android Q&A, Help & Troubleshooting] sumec100:
Here's how to shut down the Zello and SOS dependencies on the HW buttons:

To do this, you need root installations.

1. Pick, install, and open Root Folder Explorer of your choice

2. back all the way down to System root

3. Open "system"

4. Open "usr"

5. Open "keylayout"

6. Make a backup of Generic.kl and mtk-kpd.kl (copy paste it somewhere, create .bak what ever works for you)

7. open Generic.kl

8. Scroll down to key 249 FUNC1 (this is PTT button)

- edit:

key 249 P "enter" ( P is the new button name )

#FUNC1

8. Scroll down to key 250 FUNC2 (this is SOS button)

- edit:

key 250 S "enter" ( S is the new button name )

#FUNC2

9. Save

10. open mtk-kpd.kl

11. Scroll down to key 249 FUNC1 WAKE (this is PTT button)

- edit:

key 249 P "enter" ( P is the new button name )

#FUNC1 WAKE

12. Scroll down to key 250 FUNC2 WAKE (this is SOS button)

- edit:

key 250 S "enter" ( S is the new button name )

#FUNC2 WAKE

13. Save then reboot

Note: the names of the buttons may be any that exists in the given, if you enter the assigned button names, stop you from working all the buttons, beware of it.

These settings will not cause the keys (SOS and PTT) to initiate a soft rebbot

Install Button mapper v0.54 and set the buttons as you wish. :D

If you come to something better, let me know.
[Android Q&A, Help & Troubleshooting] tmiland:
Yes, i rooted mine a couple days ago. Works great! :D
[Android Q&A, Help & Troubleshooting] djvinniev77:
That's awesome! going to look and implement. Thank you sir!

Edit: So I tried it, got the other buttons to stop working but unfortunately so did everything else... :( Thankfully I have the original rom file and the SP loader tool, had to wipe and go back to stock (trust me, tried restoring backup files, rebooting etc.. something up with the rom for persistence... even power off from ADB since the power button didn't work)

May work for some, didn't work for me, now sitting with stock rom again. Ah well.
[Android Q&A, Help & Troubleshooting] pavelmracek:
Why so difficult? To disable the Zello app (and "liberate" the PTT button), you don't need even root. You just need to open settings --> Apps --> Zello --> Deactivate button. After that, install Button Mapper tom Google Play and you are done.

Buttons remapped this way without root, both the PTT and SOS :)
[Android Q&A, Help & Troubleshooting] michael205:
Sorry for off topic but could someone upload few photos made by this phone ? My photos are so ****ty that i think about sending it to service....

I need something to compare
[Android Q&A, Help & Troubleshooting] sumec100:
just try the test: open the screen and long press PTT button, if Zello is enabled to start, if Zello is disabled (freeze) to soft reboot. :confused:

no app (button mapper or, even root) can not remap these three buttons (PTT, SOS, CAMERA) on this phone and no other phone.

This is because they are programmed for system functions and they have the foremost edge of user apps. it's just like when you freeze Launcher3, it will become bootloop.

For example, I've frozen a full GAPS (google app) on this phone and what happened? improper battery life and use of privacy. That's why I have a lot of Chinese phones and root.

There is always an alternative, just to do the right thing and sometimes to do it. ;) therefore, they are angry and trapped here :highfive:
[Android Q&A, Help & Troubleshooting] g0rnex:
Anyone got Helium backup connected? Can't figure out what's wrong; Drivers seem ok...
[Android Q&A, Help & Troubleshooting] djvinniev77:
Thanks for the breakdown on this, I will see if I can give customization another chance on this as I really would like to build TWRP for it as well as try to build lineage os or even omni. Will let you know how I make out.
[Android Q&A, Help & Troubleshooting] djvinniev77:
I find most daytime shots are good, no issues. When it needs to turn to low light shots it does ok but because of no ois or EIS or PDA, you tend to get blurry shots of the subject moves. Kids are the worst to take pics of with this camera. :(

Attached pics. You use the stock MediaTek one right?
[Android Q&A, Help & Troubleshooting] sumec100:
I will only be glad to take further steps to shut down from the original rom. I also want to use the phone on why it was made and not use my phone's performance to track my activity. I hold :good: .
[Android Q&A, Help & Troubleshooting] wzlde:
The link does not seem to work anymore.
[Android Q&A, Help & Troubleshooting] djvinniev77:
need to go to post 60, my original link that has the whole string.
[Android Q&A, Help & Troubleshooting] allanjohnkemp:
[MENTION=5404196]sumec100[/MENTION]
[MENTION=3837734]djvinniev77[/MENTION]

Did anyone get android pay working with root?

After my brother hard bricked the phone, we sp flash tooled it back to life. Used your twrp, otg cable, flashed magisk 14 and we have twrp and root. Just no Android Pay.

TIA Legends

ps do you have a donate like for him to "buy you a beer"
[Android Q&A, Help & Troubleshooting] sumec100:
Excuse me, it is repaired. :o
[Android Q&A, Help & Troubleshooting] alpsayin:
Thinking that my headphone adapter is faulty, i bought another one. It also doesn't work. Is there something I should do or a specific type of headphones that i need to use to get this working? Or does it just work for you when you simply plug it in?
[Android Q&A, Help & Troubleshooting] djvinniev77:
Maybe sumec has a donate like. I don't. :)

He's done more documentation on how to do this stuff too.

With regards to android pay, I will need to see how it was done on other roms while in a rooted state. I would figure it would be with magisk rather than SuperSU. Will see.

Edit : gonna see of this works. You said you got magisk installed?

https://android.gadgethacks.com/how-to/magisk-101-switch-from-supersu-magisk-pass-safetynet-0177578/

---------- Post added at 12:47 PM ---------- Previous post was at 12:38 PM ----------

Back at rooted set up again as I'm still trying to get lineage built for this. I did try the button fixes you noted, the spacing required made all the difference and I found only es file explorer really did the proper edits.

Works great now, thanks again sir.
[Android Q&A, Help & Troubleshooting] djvinniev77:
so just to update, yes, I can get Android Pay working with Magisk.

https://xdaforums.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589

Downloaded this one and install through TWRP: (14.3)

https://xdaforums.com/attachment.php?attachmentid=4239814&d=1502568084

I checked after installing this version through TWRP that I had full safetynet access.

I just validated Android Pay was able to add my debit card through my bank, no issues.

Now, I was also doing other things as per the original article here as a basis:

https://android.gadgethacks.com/how-to/magisk-101-switch-from-supersu-magisk-pass-safetynet-0177578/

I originally snagged Magisk and the May 7th patch to pass safetynet and tried to install these, nothing would work. I also pushed back the original boot.img file I extracted from the Ulefone Armor2 10/10 firmware from needrom.com. I used the SP Flash Tool to just push that back to the device in case the original supersu file messed around with it and didn't return it back to unrooted stock (the instructions were to de-root and take out supersu, then install magisk and the May 7th patch... )

I could get the Magisk 14.3 zip to install in twrp, but I couldn't get the VerifiedBootSigner-v7.zip to actually install (it said there was an error and logs would be at /tmp/log so I considered this a fail)

Having magisk installed anyway, I decided to restart device, check in on the safetynet status from the magisk app, and lo and behold, PASS!! Tested by launching Android Pay, tried to add the debit card, and good to go!

Hope you have success on this as well.

Digging a bit further, I went ahead and added magisk version of xposed installer. Flashed the zip file and checked out some modules after it successfully installed. Eventually something triggered the safety net. Not sure if it's because it's the beta version of magisk or latest xposed, I would rather remove xposed for now and get full safety net pass again.

So if you're having an issue with android pay/safety net, it may be something else conflicting as well. Try it systematically and see what triggers.
[Android Q&A, Help & Troubleshooting] sumec100:
I'm glad it works. I do not plan to use pay features. I just want to call without (Gaps). That is why I do not deal with the problem. I greet the gentlemen.
[Android Q&A, Help & Troubleshooting] eazrael:
Same problem as I described in my earlier post?
[Android Q&A, Help & Troubleshooting] alpsayin:
It's worse. I just checked your post. Your video is literally the first time i saw headphone icon. I never even saw that thing in my phone. Hardware issue? I've sent an email too, but no reply yet. Did you get anything?
[Android Q&A, Help & Troubleshooting] eazrael:
At least you can answer phone calls... Btw. turning the USB-C connector by 180° seemed to help sometimes. May also be just luck.

I haven't got any answer from them on 2 mails in 2 weeks. There also seems to be no activity on their forum. So I send it back to the seller to get a refund. So this device is dead for me.

Somehow I have the feeling this may a rip-off of the Doogee S60 or it may be a licensed design. Has anybody more information on this?
[Android Q&A, Help & Troubleshooting] finn55:
twrp

on 4pda jemmini posted normal rekoveri with a normal screen and a working touchscreen.
[Android Q&A, Help & Troubleshooting] sumec100:
what you set - settings - developer - media? this will turn off the routing of the sound to usb.

---------- Post added at 09:04 AM ---------- Previous post was at 08:58 AM ----------

I have to download it. I'm going to do it today. I will let know.
[Android Q&A, Help & Troubleshooting] djvinniev77:
Lol tried to get the file from 4pda, found a post by Jemini but file doesn't exist

http://4pda.ru/forum/lofiversion/index.php?t805128-340.html

They also noted my post on xda for root :) seems these guys are looking at what we do here too. I just want the proper working twrp :)

Sumec, if you could help with this, I can stop trying to code it :)
[Android Q&A, Help & Troubleshooting] Sebastl:
File exists, but you need to be logged in.

TWRP 3.1.1 for Ulefone Armor 2 :

The recovery is based on the kernel firmware Android 7.0 version S21_GQ3037LF2_Ulefone_V12_20171009 / 2017 ? 10 ? 20 ? ??? 18:05:49 CST

ATTENTION!! After the installation of the recovery, under the condition of resolving the changes in the system, it is necessary to install ROOT, otherwise the system will not boot.

Contains following files:

recovery_jemmini_V12_20171009.img (14.63 MB)

MT6757_Android_scatter.zip (1.3 KB)

SR1-SuperSU-v2.82-SR1-20170608224931 (5.98MB)

Backup\boot_V12_20171009.img

Backup\recovery_V12_20171009.img

All credits go to jemmini from 4pda.ru

https://mega.nz/#!RglQUKqK!VkokLDHrvs-valxfoJdg39eFWzO0YWgSJGO9p8kZeY4
[Android Q&A, Help & Troubleshooting] djvinniev77:
Awesome thanks for this. Will see if this installs with no issues
[Android Q&A, Help & Troubleshooting] sumec100:
the installation is safe, after installing it you need full wipe data - reboot system - reboot to recovery - install SuperSu.zip. Does not need mouse and otgUSB. I installed TWRP over fastboot( fastboot flash recovery recovery.img ).

Note: After installation, recovery can not decode partition data. That's why full wipe data and who does not have backup, start again.
[Android Q&A, Help & Troubleshooting] djvinniev77:
Yup. Confirmed it that's working as designed

I actually flashed it from the twrp app on device and rebooted to it. As noted, can't read data and need to wipe. But it works!! No more mouse and otg. Good job to Jemmini who provided the updated twrp.

I will wait until end of day to wipe my device and set up again.
[Android Q&A, Help & Troubleshooting] Stepp:
Can someone who already rooted it make a guide on how to flash it step by step ? :D
[Android Q&A, Help & Troubleshooting] sumec100:
update:

Now I installed via SPflashtool rom from www.ulefone.com (with some new modifications 2017/10/20). I just replaced the original recovery.img path for jeminiTWRP recovery.img. (Download only mod - dovwload). A bootloader must be unlocked. if there is no, TWRP and the phone is not working.
[Android Q&A, Help & Troubleshooting] djvinniev77:
Hmm... When I check ulefone site I can only find latest rom download, which gives me 1009, same version I'm already set

Sumec, can you list the name of the rom you downloaded?
[Android Q&A, Help & Troubleshooting] sumec100:
it so I downloaded it, and you can see it until after unzipping the zip.

20171020_s21v57c2k_gq_fp , there are also releasenotes where they describe new changes only written in chinese.

ps: when the phone is cleared for not trying it, I have it installed and everything works.

---------- Post added at 08:20 PM ---------- Previous post was at 08:11 PM ----------

check out my pre-post # 68 and all of the following, then maybe install root. :)
[Android Q&A, Help & Troubleshooting] Curtis_:
stuck at trwp/fastboot

I went trough the root process, but im' stucked here

"c: push install - select internall sdcard (for the test but see the data)"

The problem is, i stucked in Fastboot/recovery mode, and i can't boot my device into "normal" mode by choosing reboot->system. It keeps boot into TWRP, or i can switch to fastboot..

Unfortunatelly, i forgot to push SuperSU zip before the TWRP, and now i can't push the package to the device...

- How can i boot into system mode? (eg: normal boot process)

- How can i push superSU to this device? i should copy to a pendrive and mount it trough usb/hub and otg ? (ofcourse i also need a mouse also)

I'm stucked... :/ Any ideas what can i do with this?
[Android Q&A, Help & Troubleshooting] allanjohnkemp:
Not currently using Xposed, he's not really a fan of it anyway. Currently running Magisk v14.0.

Currently not getting a pass on safteynet which would be the reason Android Pay is broken.

The phone is running the latest rom from ulefone flashed from SPFlash tool as he hard bricked the phone and i had to unbrick, all we did from there was oem unlock, flash twrp, flash magisk, boot.

But for some reason still no android pay.

He's not super concerned but yeah it would be nice to have all the features working for him.
[Android Q&A, Help & Troubleshooting] sumec100:
press wipe - swipe (this deletes the data). You can restart the phone "restart - system" (wait for the system to start). Set up basic items to run android, copy SuperSu.zip to external sdcard (Originally Posted by djvinniev77). Then I recommend this procedure:

- Download rom from www.ulefone.com.

- Download recovery_jemmini_V12_20171009.img(14.63 MB) (Originally Posted by Sebastl post:#97)

- rename recovery_jemmini_V12_20171009.img to recovery.img if it is not.

- run SPflashtool v.1728

- set from original rom MT6757_Android_scatter.zip

- click on the recovery.img path, change the path where it is saved (jemmini) recovery.img

- set (Download only)

- set Download

- connect your phone off to your PC (hold volume + until flashtool starts downloading data from your phone)

- When done, unplug the phone from your PC

- turn your phone on TWRP (hold vol.UP + power until the screen is lit)

- if your TWRP welcomes "enter code", press cancel, set your language, drag the bar, press wipe, drag the bar, merge to the default menu (set TWRP by yourself), press restart and press recovery.

- you can continue to install SuperSu.zip from an external sd card.

Note: A bootloader must be unlocked. Otherwise flashtool will end with an error
[Android Q&A, Help & Troubleshooting] Curtis_:
Thank You!

I went to fastboot, and entered

fastboot oem unlock

fastboot reboot

then i tried to wipe data witch gave me the following error

Updating partition details...

...done

Unable to mount storage

Full SELinux support is present.

Data successfully decrypted, new block device: '/dev/block/dm-0'

Updating partition details...

... done

Unable to mount storage

Unable to mount /data/media/TWRP/.twrps

MTP enabled

Failed to mount '/data' (Invalid argument)

Failed to mount '/data' (Invalid argument)

Updating partition details...

...done

Unable to mount storage

Formatting Cache using make_ext4fs...

Failed to mount '/data' (Invalid argument)

Updating partition details...

...done

Unable to mount storage

It seems that wipe is not done, because it can'T mount the filesystem (if i'm right)... The wipe is done very quickly, and reboot to system ended with TRWP again...

(I didn't tried advanced wipe or format data)

So it's somehow can't mount partitions ...
[Android Q&A, Help & Troubleshooting] sumec100:
you have to reinstall rom as i wrote up, otherwise it is not possible to succeed

- When done, unplug the phone from your PC

- turn your phone on TWRP (hold vol.UP + power until the screen is lit) - here it is important not to launch the android system, but to start inTWRP

supersu.zip just copy the usb key, after loading and setting of TWRP, connect usbOTG cable + usb key, press install - set storage (usb-otg) - ok - set supesu.zip (nothing else to set) - drag the bar - after a successful installation - press the wipe cache - drag the bar - press reboot - the ende.

update:

if you have not yet installed a new rom, try it as follows:

start to TWRP -> wipe -> press format data - write "yes" - "press enter" -> go back to main menu -> press restart - recovery. this is necessary when the bootloader unlocks the first time.

instead of supersu.zip, install Magisk v14.0.zip, to get more options