[RECOVERY][EXYNOS] TWRP 3.4.0-0 for S10e|S10|S10+ (UPDATE: 2020-06-12)

jibon89096

Member
Apr 22, 2020
24
0
0
I have a general TWRP problem, hope someone can help me solve, regarding the different backup options in TWRP.

I'm running TWRP on a Galaxy S10+.

In the first backup I've made (after rooting and flashing ROM), I've included all options my phone have: Baseband, Boot, Cache, Data (excl. storage), EFS, Product, Product Image, System, System Image, Vendor, Vendor Image.
In later backups I've only included: Boot, Data, System.

I was jumping between backups and restored the first backup in full (meaning I restored everything that was backed up - not only Boot, Data & System).

Since then, the phone is stuck on Samsung's boot screen.
I've returned to TWRP to restore a later backup (only Boot, Data & System), but am still stuck on boot screen.

Can anyone help please?
A million thanks to whoever can help me get back to normal.

Would really appreciate if someone can help with that!
Couldn't go pass boot screen for several days now :crying:
 

[email protected]

Senior Member
Dec 29, 2014
487
79
58
Would really appreciate if someone can help with that!
Couldn't go pass boot screen for several days now :crying:
Try to restore first buckup without any image backup

Sent from my [device_name] using XDA-Developers Legacy app

---------- Post added at 12:44 AM ---------- Previous post was at 12:30 AM ----------

Would really appreciate if someone can help with that!
Couldn't go pass boot screen for several days now :crying:
Try to restore first buckup without any image backup

Sent from my [device_name] using XDA-Developers Legacy app
 

AndrOdin

Member
Mar 5, 2020
20
20
0
I think your mistake was patching the twrp with magisk, only rename the twrp img to recovery.img
THANK you very much, as patching with Magisk seam to cause problmes, and by avoiding this, I was able to both flash TWRP, and instal LineageOS.

You flash a magisk boot img to the boot partition in twrp recovery.
How do I actually do this?
Can I pack the magisk_boot_ctc9_beta1.img as zip with 7zip, and flash through TWRP?
 
  • Like
Reactions: trancinguy

trancinguy

Senior Member
Feb 4, 2013
351
82
48
I was able to both flash TWRP, and instal LineageOS. How do I actually do this?
Can I pack the magisk_boot_ctc9_beta1.img as zip with 7zip, and flash through TWRP?
You need the boot-magisk-img developed by Ivan Meler, reboot to the actual twrp recovery using the key combo or the advanced reboot menu, install, change from install zip to install Image, navigate to the boot partition, install to the boot partition, reboot.
 
Last edited:
  • Like
Reactions: AndrOdin

[email protected]

Senior Member
Dec 29, 2014
487
79
58
Thanks for the reply, and I was a bit confused by some mentioning fastboot as download mode, but that is cleared up.

I have figured out, that the reason I was stuck at flashing vbmeta.img, was because I named vbmeta.img as vbmeta-disabled.img in the compresed vbmeta-disabled.img.tar file I made.
After renaming vbmeta-disabled.img to vbmeta.img, and making a new vbmeta-disabled.img.tar, I was able to flash with Odin.
The problem might have been that "-" is unrecognized charachter or the name having to be named as originaly provided by Samsung, but maybe someone can confirm?

That aside, I then:

1) Opened Odin
2) Flashed recovery.img, packed as twrp-3.3.1-0-android-10.0-beyond0lte-5.img.tar
3) Restartet Download mode
4) Flashed vbmeta.img (vbmeta-disabled), packed as vbmeta-disabled.img.tar
5) Restarted phone and pressed the combo to enter Recovery (Bixby, VolumeUp, Power), and released everything accept VolumeUp

I was though unable to boot to recovery, and just got stuck on splash screen.

How do I flash recovery.img and vbmeta-disabled.img together?
I thought I was suposed to flash both in AP in Odin, one after the other?
Do I need to pack them together?

As of now, I only know how to pack one file as tarbal, but not multiple together, if that is needed?
Do I need to flash vbmeta-disabled.img in BL?
Hello!
Could you edit your post and detail how you flashed twrp and vbmeta?
Thanks a lot.
I still find it confusing
 
  • Like
Reactions: shegeloaf

AndrOdin

Member
Mar 5, 2020
20
20
0
Hello!
Could you edit your post and detail how you flashed twrp and vbmeta?
Thanks a lot.
I still find it confusing
Disclaimer by @Ivan_Meler:

Code:
 /*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns before flashing!
 * YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 *

The instuctions below asume you have an unlocked bootloader, which is mandatory, and if your bootloader isn't unlocked, please look here how to unlock it, and if the OEM unlock button is missing, also look here.


To flash modpunk's TWRP and vbmeta on S10e SM-970F Exynos international version, you need to:
1) Download the latest TWRP here.
2) Download vbmeta disabled image here.
3) Extract twrp-3.3.1-0-android-10.0-beyond0lte-5.img from the twrp-3.3.1-0-android-10.0-beyond0lte-5.img.xz with 7zip to fx. Desktop. 7zip can be found here.
4) Rename twrp-3.3.1-0-android-10.0-beyond0lte-5.img to recovery.img.
5) Rename vbmeta-disabled.img to vbmeta.img.
6) Place vbmeta.img in same place as recovery.img.
7) Open 7zip, and navigate to where vbmeta.img and recovery.img is placed.
8) Archieve vbmeta.img and recovery.img in one arhieve of .tar format (fx. TWRP.tar), and use "Compression level": Store.
9) Turn of your device
10) Press and hold the volume down and bixby (Not power!), and keep holding it, while connecting the USB cable between phone and PC.
11) When the download mode warning screen appear, release all buttons, and follow the instructions on the download mode warning screen.
12) Open up Odin3 v3.13.1 as admin, and you should se a message saying "Added" in the log, and a blue flag above ID:COM, together with a port number. Odin can be found here, or direct link here.
13) Press on AP in Odin, and navigate to where TWRP.tar is placed, and select it, so AP becomes checked, and the path to TWRP.tar is viewable in the AP slot.
14) Navigate to options in Odin, and make sure that "Auto Reboot" is NOT selected, and navigate back to the Log tab.
15) Press start to flash TWRP.tar.
16) When a success message is stated in the log, then exit download mode by pressing volume down and power.
17) When the screen turns of, you need to immediately press the recovery combo (VolumeUp, Bixby and Power), and keep holding it, until the secondary warning appears (The one with warning about unlocked bootloader), then release Bixby and Power, but keep holding volume up, until the TWRP logo is seen.
18) If you have entered TWRP, then go to bulletpoint 20.
19) If the phone fails to turn on after 10 seconds, then push power first and immediately after press bixby and volume up as well, until the secondary warning appears (The one with warning about unlocked bootloader), then release Bixby and Power, but keep holding volume up, until the TWRP logo is seen.
20) In TWRP, swipe slider to allow modification.

Since @modpunk's TWRP support FBE, you wont be able to see your files through TWRP, until you format data, so:
1) Go to "Wipe" > "Format Data" in TWRP.
2) Enter "Yes" in the field to format the data partition/factory reset the device.
3) Go to the "Reboot" menu in TWRP and select "Recovery" to reboot your Samsung Galaxy S10e.
4) If the phone boots to TWRP again, then go to "Reboot" menu in TWRP and select "System".

If you also want to instal LineageOS as well, then:
1) Make sure the LineageOS flashable .zip file is placed on an external SD card.
and flash it while you are in TWRP, otherwise it will be wiped when formating the data partition/factory resetting the device.
2) Go to "Install" > "Select Storage" > "Micro SD card".
3) Navigate to where LineageOS flashable .zip file is placed, and press to flash.
4) Confim by sliding the slider.
5) After successful flash, then =>
a) If comming from stock or uncompatible ROM, do a full wipe (ART, Cache, Data).
b) If comming from same developper LineageOS, wipe (ART, Cache).

Just to have everything in one place, and to gain Magisk root by modpunk's Magisk boot image, then:
1) Download Magisk boot image for S10e to PC from (magisk_boot_ctc9_beta1.img.xz) here
2) Extract magisk_boot_ctc9_beta1.img from magisk_boot_ctc9_beta1.img.xz with 7zip, and place the magisk_boot_ctc9_beta1.img in root of your SD card on the phone.
3) Download Magisk Manager 7.5.1 from here, or direct link here.
4) Install Magisk Manager 7.5.1 on S10e, and don't wory about it not being instaled, when Magisk is fired up.
5) Turn of the phone.
6) When the screen turns of, you need to turn on the phone by pressing the recovery combo (VolumeUp, Bixby and Power), and keep holding it, until the secondary warning appears (The one with warning about unlocked bootloader), then release Bixby and Power, but keep holding volume up, until the TWRP logo is seen.
7) If you have entered TWRP, then go to bulletpoint 9.
8) If the phone fails to turn on after 10 seconds, then push power first and immediately after press bixby and volume up as well, until the secondary warning appears (The one with warning about unlocked bootloader), then release Bixby and Power, but keep holding volume up, until the TWRP logo is seen.
9) Navigate by pressing "Instal" > "Select Storage" > "SD card".
10) Press "Install Image" to be able to flash an .img file.
11) Navigate to where the magisk_boot_ctc9_beta1.img is placed, and select it.
12) Flash magisk_boot_ctc9_beta1.img by swiping the slider.
13) When flashing is complete, DO NOT do any other modification, navigate back to main screen, and select "Reboot" > "System".
14) Phone phone is started, enter Magisk Manager.
15) Magisk Manager will ask to do additional setup, and select yes to to confirm.

After auto reboot, there is no need for recovery combo to enter rooted system, that is now no longer needed.

Hope it helps :)
These are windows instruction, but I still hope someone can share knowledge about Heimdal.
 
Last edited:

AndrOdin

Member
Mar 5, 2020
20
20
0
You need the boot-magisk-img developed by Ivan Meler, reboot to the actual twrp recovery using the key combo or the advanced reboot menu, install, change from install zip to install Image, navigate to the boot partition, install to the boot partition, reboot.
Turns out I got modpunk's boot image working on my device, and all I did different, was not wiping ART cache.
 
Last edited:

martindar

Senior Member
Sep 10, 2012
568
189
0
plymouth,devon uk
Hi I'm having the same problems on s10e I must have had to restore to stock and then reboot 8 times and still getting bootloop at the end of the process!! I've currently given up for a min as I need my phone working m! really not sure whats going on but just frustrated that I cannot get the process to work give me back my nexus 4!!

---------- Post added at 07:19 PM ---------- Previous post was at 06:57 PM ----------

Disclaimer by @Ivan_Meler:

Code:
 /*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns before flashing!
 * YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 *

The instuctions below asume you have an unlocked bootloader, which is mandatory, and if your bootloader isn't unlocked, please look here how to unlock it, and if the OEM unlock button is missing, also look here.


To flash modpunk's TWRP and vbmeta on S10e SM-970F Exynos international version, you need to:
1) Download the latest TWRP here.
2) Download vbmeta disabled image here.
3) Extract twrp-3.3.1-0-android-10.0-beyond0lte-5.img from the twrp-3.3.1-0-android-10.0-beyond0lte-5.img.xz with 7zip to fx. Desktop. 7zip can be found here.
4) Rename twrp-3.3.1-0-android-10.0-beyond0lte-5.img to recovery.img.
5) Rename vbmeta-disabled.img to vbmeta.img.
6) Place vbmeta.img in same place as recovery.img.
7) Open 7zip, and navigate to where vbmeta.img and recovery.img is placed.
8) Archieve vbmeta.img and recovery.img in one arhieve of .tar format (fx. TWRP.tar), and use "Compression level": Store.
9) Turn of your device
10) Press and hold the volume down and bixby (Not power!), and keep holding it, while connecting the USB cable between phone and PC.
11) When the download mode warning screen appear, release all buttons, and follow the instructions on the download mode warning screen.
12) Open up Odin3 v3.13.1 as admin, and you should se a message saying "Added" in the log, and a blue flag above ID:COM, together with a port number. Odin can be found here, or direct link here.
13) Press on AP in Odin, and navigate to where TWRP.tar is placed, and select it, so AP becomes checked, and the path to TWRP.tar is viewable in the AP slot.
14) Navigate to options in Odin, and make sure that "Auto Reboot" is NOT selected, and navigate back to the Log tab.
15) Press start to flash TWRP.tar.
16) When a success message is stated in the log, then exit download mode by pressing volume down and power.
17) When the screen turns of, you need to immediately press the recovery combo (VolumeUp, Bixby and Power), and keep holding it, until the secondary warning appears (The one with warning about unlocked bootloader), then release Bixby and Power, but keep holding volume up, until the TWRP logo is seen.
18) If you have entered TWRP, then go to bulletpoint 20.
19) If the phone fails to turn on after 10 seconds, then push power first and immediately after press bixby and volume up as well, until the secondary warning appears (The one with warning about unlocked bootloader), then release Bixby and Power, but keep holding volume up, until the TWRP logo is seen.
20) In TWRP, swipe slider to allow modification.

Since @modpunk's TWRP support FBE, you wont be able to see your files through TWRP, until you format data, so:
1) Go to "Wipe" > "Format Data" in TWRP.
2) Enter "Yes" in the field to format the data partition/factory reset the device.
3) Go to the "Reboot" menu in TWRP and select "Recovery" to reboot your Samsung Galaxy S10e.
4) If the phone boots to TWRP again, then go to "Reboot" menu in TWRP and select "System".

If you also want to instal LineageOS as well, then:
1) Make sure the LineageOS flashable .zip file is placed on an external SD card.
and flash it while you are in TWRP, otherwise it will be wiped when formating the data partition/factory resetting the device.
2) Go to "Install" > "Select Storage" > "Micro SD card".
3) Navigate to where LineageOS flashable .zip file is placed, and press to flash.
4) Confim by sliding the slider.
5) After successful flash, then =>
a) If comming from stock or uncompatible ROM, do a full wipe (ART, Cache, Data).
b) If comming from same developper LineageOS, wipe (ART, Cache).

Hope it helps :)
These are windows instruction, but I still hope someone can share knowledge about Heimdal.
I have tried flashing twrp for the last three days and not been getting anywhere, had to go back through the rooting and booloader stuff time and time again! looked at all the threads on xda, Ian, geits etc and not got anywhere , will this work with an s10e running latest stock rooted rom and magisk, upto now all I end up with is a booting up screen repeating I gave tried terminal stuff and stuff and still no luck - give me back my nexus 4!! many thanks for your post and really just wanted assurance on the above cheers, Martin.
 

AndrOdin

Member
Mar 5, 2020
20
20
0
Hi I'm having the same problems on s10e I must have had to restore to stock and then reboot 8 times and still getting bootloop at the end of the process!! I've currently given up for a min as I need my phone working m! really not sure whats going on but just frustrated that I cannot get the process to work give me back my nexus 4!!

---------- Post added at 07:19 PM ---------- Previous post was at 06:57 PM ----------



I have tried flashing twrp for the last three days and not been getting anywhere, had to go back through the rooting and booloader stuff time and time again! looked at all the threads on xda, Ian, geits etc and not got anywhere , will this work with an s10e running latest stock rooted rom and magisk, upto now all I end up with is a booting up screen repeating I gave tried terminal stuff and stuff and still no luck - give me back my nexus 4!! many thanks for your post and really just wanted assurance on the above cheers, Martin.
If you are on stock, and just want TWRP, I would follow this guide here (Edit after clicking to "the custom droid(dot)com" without spaces), which gave me Ianmacd's TWRP and root, you have to follow it to the minute, and it's more profund then mine, and can be cut down to this:

1) Patched stock
2) Patched TWRP
3) Magisk installation

If that is what you want, follow the link above to the minute...
Ianmacd's TWRP thread is very important reading, and if you aren't sure, read it again. While using Ianmacd's TWRP, it's imprtant to use multidisabler and flash it every time after doing system wide operations.

If you want to have LinageOS, then folow the instructions laid out by me, but nothing is guarantied, like said in the disclaimer.

If you want help, you can send a PM, and I will do my best when I have time.
 
Last edited:
  • Like
Reactions: [email protected]

Muatyola

Member
Apr 26, 2020
12
0
0
This project provides the TWRP recovery for the Samsung Galaxy S10e (SM-G970F, beyond0lte), S10 (SM-G973F, beyond1lte) and S10+ (SM-G975F, beyond2lte).



This recovery supports FBE decryption of AOSP based ROMs like LineageOS, OmniROM etc. There is no support for Samsung ODE in TWRP yet. If you're interested, help to provide it is welcome.

FEATURES

  • File-Based Encryption (FBE) support
  • MTP and ADB support
  • EXT4 support
  • F2FS support
  • EXFAT support
  • Provides unzip
  • Additional languages

KNOWN ISSUES

  • adb sideload doesn't work

DOWNLOAD

Make sure you download the .img.xz and corresponding .asc.txt file (see INTEGRITY)! You can decompress the the recovery image using p7zip or xz.

You can always find the latest version of the recovery under the follwing links:

S10e
S10
S10+

INTEGRETY

The recovery images also come with an GPG armor file (.asc). With that file you verify that the image I created hasn't been altered.

How do you do that?

  1. Download my gpg keyring here: https://cryptomilk.org/gpgkey-8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D.gpg.
  2. Download the recovery.img.xz and recovery.img.xz.asc.txt file
  3. Rename the recovery.img.xz.asc.txt file to recovery.img.xz.asc
  4. Verfiy the signature using the following command:
    Code:
    gpg --keyring ./gpgkey-8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D.gpg --verify recovery.img.xz.asc

A good tutorial is: How to verify signatures for packages from the Tor Project.

SECURITY ADVICE

Don't flash ROMs or Magisk modules which set SELinux to permissive or you open your device for malware!

What a Wurst!

XDA:DevDB Information
twrp-beyondXlte, Tool/Utility for the Samsung Galaxy S10

Contributors
modpunk, derf elot
Source Code: https://github.com/whatawurst/android_device_samsung_beyond0lte/tree/twrp-9.0


Version Information
Status: Stable
Current Stable Version: 3.3.1-0
Stable Release Date: 2020-04-06

Created 2020-03-16
Last Updated 2020-04-06

GREAT WORK MATE. It's possible to flash this version of TWRP TO S10 PLUS EXYNOS , FROM STOCK ROM AND UNROOT DEVICES WITHOUT INSTALL MAGISK FIRST ,
I TRIED TO INSTALL MAGISK FIRST TO ROOT MY DEVICE BUT ITS DIDNT WAORK. PLEASEE HELP AND THANK YOU IN ADVANCE
 

f.silva

New member
Jun 20, 2016
4
0
0
Fall River
Unable to Install TWRP

Hello everyone. I have some questions. Recently purchased a new unlocked S10e CTC9. I can successfully flash stock but have zero luck getting TWRP installed using the above instructions, or any other instructions found here on XDA. Have successfully rooted and installed ROMs on 3 previous Samsungs and a Moto so have some experience. That being said, these latest models have changed. Maybe I'm missing something here.

My questions:

_Does the sim card have to be present in order to install TWRP? Could that prevent custom flashing? Does the phone have to be activated with the carrier first? (This is my first time attempting to do it without a sim card).

_Is the OEM bootloader option supposed to be both checked AND grayed out? Some instructions say it needs to be checked and grayed out to satisfy Vaultkeeper however I can reflash stock no problem. Everything else fails or freezes along the way (using Odin 3.13.1). :(

Feels like I'm so close to getting this however am a bit discouraged after 3 days of attempting it. Any suggestions or ideas are greatly appreciated! Ask away as well if you need any specifics.

Thanks and have a great day everyone :)
 

AndrOdin

Member
Mar 5, 2020
20
20
0
_Does the sim card have to be present in order to install TWRP? Could that prevent custom flashing? Does the phone have to be activated with the carrier first? (This is my first time attempting to do it without a sim card).
The sim card doesn't need to be pressent, but you need to register the phone online, after a new purchase, factory resset or stock firmware flashing, just like described here.

Bare in mind though, that ticking "OEM unlocking" only allows you to unlock bootlader, and it isn't unlocked before you go into Download mode, and follow the instruction to unlock the bootlader, provided by the instruction the S10e Download mode screen, which means:

1) Entering download mode warning screen, just before entering Download mode.
2) You shoud be pressented with 3 option
* a) Volume up: Continue
* b) Long presseing Volume up: Device unlock mode
* c) Volume down: Cancel (Restart phone)
Insted of pressing a single time on volume up, to enter download mode splash screen, you have to hold volume up to enter device unlock mode.

If you haven't done as described above, your bootloader is probably still locked.

_Is the OEM bootloader option supposed to be both checked AND grayed out? Some instructions say it needs to be checked and grayed out to satisfy Vaultkeeper however I can reflash stock no problem. Everything else fails or freezes along the way (using Odin 3.13.1). :(
OEM bootloader option should only be togglable, while bootloader is locked. When you unlock the bootloader, the toggle should be greyed out, until you relock bootloader.
If you can flash stock firmwre though Odin, then there shouldn't be annything wrong with your USB drivers, and just make sure the bootloader is unlocked.
 
Last edited:
  • Like
Reactions: f.silva

f.silva

New member
Jun 20, 2016
4
0
0
Fall River
The sim card doesn't need to be pressent, but you need to register the phone online, after a new purchase, factory resset or stock firmware flashing, just like described here.

Bare in mind though, that ticking "OEM unlocking" only allows you to unlock bootlader, and it isn't unlocked before you go into Download mode, and follow the instruction to unlock the bootlader, provided by the instruction the S10e Download mode screen, which means:

1) Entering download mode.
2) Long pressing volume up to unlock bootloader

OEM bootloader option should only be togglable, while bootloader is locked. When you unlock the bootloader, the toggle should be greyed out, until you relock bootloader.

Thanks for the help! I'm able to get into download mode using those same instructions above so have to assume it's failing because the phone is not registered yet. Will get that done tomorrow or Monday and start from scratch. Will post an update afterwards :)
 

f.silva

New member
Jun 20, 2016
4
0
0
Fall River
Thanks for the help! I'm able to get into download mode using those same instructions above so have to assume it's failing because the phone is not registered yet. Will get that done tomorrow or Monday and start from scratch. Will post an update afterwards :)
Good news everyone. I got it!! Was doing 2 things incorrectly in case anyone needs to know:

1. My carrier is Cricket. Just needed to move the sim card over to the new phone and after a few mins and it worked fine. No activation needed as long as it's the same number. That was too easy.

2. The bootloader was not properly unlocked because of a missed a step. After unlocking the first time in Dev Options, I wasn't holding down the vol up button to finish unlocking the bootloader when entering download mode. Once done, the phone reset again and the Bootloader option was then grayed out. It literally took 30 seconds to flash TWRP and another minute for both LOS and Gapps via TWRP. What made it frusting about resetting this particular phone, is that it defaulted to Korean language so I had to learn how to skip thru the initial setup quickly and go into settings to swap back to English. Fun stuff LOL

I'm one happy campah right now :D :D :D :D
 

AndrOdin

Member
Mar 5, 2020
20
20
0
Good news everyone. I got it!! Was doing 2 things incorrectly in case anyone needs to know:

1. My carrier is Cricket. Just needed to move the sim card over to the new phone and after a few mins and it worked fine. No activation needed as long as it's the same number. That was too easy.
When you insert a sim card, the phone automatically registeres on the GSM network, and it updates the Android clock. So yes, a regisration is needed :cowboy: :good:

2. The bootloader was not properly unlocked because of a missed a step. After unlocking the first time in Dev Options, I wasn't holding down the vol up button to finish unlocking the bootloader when entering download mode. Once done, the phone reset again and the Bootloader option was then grayed out. It literally took 30 seconds to flash TWRP and another minute for both LOS and Gapps via TWRP. What made it frusting about resetting this particular phone, is that it defaulted to Korean language so I had to learn how to skip thru the initial setup quickly and go into settings to swap back to English. Fun stuff LOL

I'm one happy campah right now :D :D :D :D
Glad to know that :victory:

Thanks to @modpunk for making it all possible :cool::highfive:
 
  • Like
Reactions: modpunk and f.silva

JohnDandel

Member
Apr 15, 2020
16
0
0
Is it possible to run a C-program from the TWRP terminal? I tired and I get a "No such file or directory". Currently I trying to get a simple Hello World program to run to see if it's possible. Any help would be appreciated.

Thanks
 

modpunk

Recognized Contributor
Oct 14, 2011
1,699
6,465
143
Is it possible to run a C-program from the TWRP terminal? I tired and I get a "No such file or directory". Currently I trying to get a simple Hello World program to run to see if it's possible. Any help would be appreciated.

Thanks
Yes, it is. Just build it for android, copy it to the device and run it.

adb push /path/to/mytool /tmp