FORUMS
Remove All Ads from XDA

[DEV]How to compile TWRP touch recovery

1,705 posts
Thanks Meter: 13,572
 
Post Reply Email Thread
14th August 2019, 03:50 PM |#4461  
Senior Member
Thanks Meter: 1,020
 
Donate to Me
More
Quote:
Originally Posted by Rortiz2

Ok, tried the one and it's the most "correct". The touch is OK "but" changed sides, I mean, to "INSTALL ZIP" you have to click on "WIPE".

Quote:
Originally Posted by palmbeach05

Which one is the most correct?

Quote:
Originally Posted by ashyx

You will probably need:

RECOVERY_TOUCHSCREEN_SWAP_XY := true
RECOVERY_TOUCHSCREEN_FLIP_Y := true

Yeah, I didn't mean you should use all of these.
The Following User Says Thank You to k4y0z For This Useful Post: [ View ] Gift k4y0z Ad-Free
 
 
14th August 2019, 10:41 PM |#4462  
Thanks to all!! Worked perfectly with this flags:
RECOVERY_TOUCHSCREEN_SWAP_XY := true
RECOVERY_TOUCHSCREEN_FLIP_X := true
Now i'm trying to give it official support as the Aquaris M8!
15th August 2019, 11:17 PM |#4463  
Member
Flag Hagen
Thanks Meter: 12
 
More
Hi devs,
I'm trying to build an updated twrp for my ZTE Kis 3 but I don't have any luck with it. I'm getting following error when I try to build from newest (android 9.0) omni repo :

Code:
system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
[155/156] including vendor/omni/Android.mk ...
vendor/omni/charger/Android.mk:41: error: FindEmulator: find: `vendor/omni/charger/images/hdpi': No such file or directory
22:04:26 ckati failed with: exit status 1
My twrp tree : https://github.com/miloxx/android_de...kis3/tree/twrp
16th August 2019, 05:34 AM |#4464  
ashyx's Avatar
Recognized Contributor
Thanks Meter: 9,510
 
Donate to Me
More
Quote:
Originally Posted by milox_x

Hi devs,
I'm trying to build an updated twrp for my ZTE Kis 3 but I don't have any luck with it. I'm getting following error when I try to build from newest (android 9.0) omni repo :



My twrp tree : https://github.com/miloxx/android_de...kis3/tree/twrp

Looks like you're trying to build using a config intended for building with Lineage.
There's a lot of stuff there just not required for compiling TWRP.

Try adding the following to your BoardConfig.mk

ALLOW_MISSING_DEPENDENCIES=TRUE
The Following User Says Thank You to ashyx For This Useful Post: [ View ] Gift ashyx Ad-Free
16th August 2019, 04:32 PM |#4465  
Member
Flag Hagen
Thanks Meter: 12
 
More
Quote:
Originally Posted by ashyx

Looks like you're trying to build using a config intended for building with Lineage.
There's a lot of stuff there just not required for compiling TWRP.

Try adding the following to your BoardConfig.mk

ALLOW_MISSING_DEPENDENCIES=TRUE

Thanks for that. I now cleaned my twrp tree and added ALLOW_MISSING_DEPENDENCIES as env variable to my linux vm and now I'm getting following error :

Code:
[76/76] /home/los/android/twrp/out/soong/.bootstrap/bin/soong_build /home/los/android/twrp/out/soong/build.ninja
/home/los/android/twrp/out/build-omni_kis3-cleanspec.ninja is missing, regenerating...
/home/los/android/twrp/out/soong/make_vars-omni_kis3.mk:428: warning: TARGET_GLOBAL_CFLAGS does not match between Make and Soong:
/home/los/android/twrp/out/soong/make_vars-omni_kis3.mk:428: warning: Make : -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=softfp
/home/los/android/twrp/out/soong/make_vars-omni_kis3.mk:428: warning: Soong: -fomit-frame-pointer -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -fno-canonical-system-headers -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -fdebug-prefix-map=/proc/self/cwd= -fdiagnostics-color -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -mthumb-interwork -msoft-float -march=armv7-a -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a7 -mfpu=neon-vfpv4 -D__ARM_FEATURE_LPAE=1
/home/los/android/twrp/out/soong/make_vars-omni_kis3.mk:434: warning: TARGET_GLOBAL_CPPFLAGS does not match between Make and Soong:
/home/los/android/twrp/out/soong/make_vars-omni_kis3.mk:434: warning: Make : -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=softfp
/home/los/android/twrp/out/soong/make_vars-omni_kis3.mk:434: warning: Soong: -Wsign-promo -fvisibility-inlines-hidden
/home/los/android/twrp/out/soong/make_vars-omni_kis3.mk:870: error: Soong variable check failed.
15:26:48 ckati failed with: exit status 1
16th August 2019, 07:56 PM |#4466  
ashyx's Avatar
Recognized Contributor
Thanks Meter: 9,510
 
Donate to Me
More
Quote:
Originally Posted by milox_x

Thanks for that. I now cleaned my twrp tree and added ALLOW_MISSING_DEPENDENCIES as env variable to my linux vm and now I'm getting following error :

Comment out the flags they are not supported any more.
TARGET_GLOBAL_CFLAGS
TARGET_GLOBAL_CPPFLAGS
17th August 2019, 10:45 AM |#4467  
When I'm trying to push a markdown for add support to the Aquaris M10 4G i get the following error:
Code:
remote: Permission to TeamWin/twrpme.git denied to R0rt1z2.
fatal: unable to access 'https://github.com/TeamWin/twrpme.git/': The requested URL returned error: 403
I searched in a lot of sites but still getting the same error.
17th August 2019, 01:59 PM |#4468  
Quote:
Originally Posted by Rortiz2

When I'm trying to push a markdown for add support to the Aquaris M10 4G i get the following error:

I searched in a lot of sites but still getting the same error.

Did you go through the proper channels to gain authorization?
17th August 2019, 02:09 PM |#4469  
Quote:
Originally Posted by palmbeach05

Did you go through the proper channels to gain authorization?

Of course. I sent an email to bigbiff and he asked if I could create the markdown for the device (I already did that with Aquaris M8 without problems):
https://gerrit.twrp.me/c/twrpme/+/1263
But now seems that I have no access .
Here's exactly what I'm doing:
  1. I clone the twrpme site
  2. I create the markdown file, in this case in _bq named bqaquarism10lte.markdown
  3. I add the file with git add _bq/bqaquarism10lte.markdown (OK)
  4. I commit it and I add the message: git commit (OK)
  5. I try to push it, it asks my GitHub username and my password, I put it and it's OK but it tells that I don't have access for do that.
Regards!
Yesterday, 08:58 AM |#4470  
Junior Member
Thanks Meter: 0
 
More
i need help
hi guys, i'm asking kindly for someone to make twrp recovery for my phone. i really tried multiple times and all of them end by my recovery not working
these are my phone details :
FRIMWARE VERSUS V550 M5 Plus Lte

PRELOADER
version: MTK_BLOADER_INFO_v20
name: preloader_f5c62w_leagoo2_versus.bin
CPU: MT6752
CUSTOM NAME: CUST
Flash style: EMMC
Flash definitions in preloader: 4
[1]Type: Discrete DDR3 CID: 000000000000000000
[2]Type: Discrete DDR3 CID: 000000000000000000
[3]Type: Discrete DDR3 CID: 000000000000000000
[4]Type: Discrete DDR3 CID: 000000000000000000
load adress: 0x200d00
PRELOADER END

Android Info
Build ID: MRA58K
Display ID: VERSUS_M5_Plus_Lte_FreemeOS_20170417
Version: 6.0
Build Date: Mon Apr 17 21:17:10 CST 2017
Model: M5 Plus Lte
Brand: VERSUS
Device: M5_Plus_Lte
Manufacturer: VERSUS
Mediatek Version Release: alps-mp-m0.mp1-V2.84_droi6737t.35g.m0_P78
Android Info END

this is the link of the stock android : https**://**mega.nz**/#!G0UHTDpC!NAXnNzlictkh-48UdvC6mp3Wz3okDZgIBqVunoVID_0 (remove * from url)
Yesterday, 09:38 AM |#4471  
Quote:
Originally Posted by meddabeast

hi guys, i'm asking kindly for someone to make twrp recovery for my phone. i really tried multiple times and all of them end by my recovery not working

these are my phone details :

FRIMWARE VERSUS V550 M5 Plus Lte



PRELOADER

version: MTK_BLOADER_INFO_v20

name: preloader_f5c62w_leagoo2_versus.bin

CPU: MT6752

CUSTOM NAME: CUST

Flash style: EMMC

Flash definitions in preloader: 4

[1]Type: Discrete DDR3 CID: 000000000000000000

[2]Type: Discrete DDR3 CID: 000000000000000000

[3]Type: Discrete DDR3 CID: 000000000000000000

[4]Type: Discrete DDR3 CID: 000000000000000000

load adress: 0x200d00

PRELOADER END



Android Info

Build ID: MRA58K

Display ID: VERSUS_M5_Plus_Lte_FreemeOS_20170417

Version: 6.0

Build Date: Mon Apr 17 21:17:10 CST 2017

Model: M5 Plus Lte

Brand: VERSUS

Device: M5_Plus_Lte

Manufacturer: VERSUS

Mediatek Version Release: alps-mp-m0.mp1-V2.84_droi6737t.35g.m0_P78

Android Info END



this is the link of the stock android : https**://**mega.nz**/#!G0UHTDpC!NAXnNzlictkh-48UdvC6mp3Wz3okDZgIBqVunoVID_0 (remove * from url)

I will try to compile it.

Enviado desde mi Mi A2 mediante Tapatalk
The Following User Says Thank You to Rortiz2 For This Useful Post: [ View ] Gift Rortiz2 Ad-Free
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes