FORUMS

[NATIVE][ARM]Linux binaries for Android (EncFS, Cryptsetup, PhotoRec, SMBNetFS..)

2,031 posts
Thanks Meter: 918
 
By DualJoe, Senior Member on 24th November 2017, 12:29 AM
Post Reply Email Thread
6th February 2018, 10:51 PM |#21  
Junior Member
Thanks Meter: 2
 
More
Hi! Could you maybe add a short guide on how you compile those binaries? I need to compile something as trivial as:

Code:
#include <sys/reboot.h>

int main() {
    reboot(RB_AUTOBOOT);
    return 0;
}
(Needs to be fully static and able to run from initramfs.)

I tried using the Linaro toolchain, but the binaries either aren't static or the linking fails with duplicate symbol errors.

A few pointers could help me a long way.
7th February 2018, 02:02 PM |#22  
DualJoe's Avatar
OP Senior Member
de
Thanks Meter: 918
 
More
You probably just have installed the wrong toolchain. It should compile out of the box.

https://releases.linaro.org/componen...linux-gnueabi/
The Following 3 Users Say Thank You to DualJoe For This Useful Post: [ View ] Gift DualJoe Ad-Free
7th February 2018, 08:15 PM |#23  
Junior Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by DualJoe

You probably just have installed the wrong toolchain. It should compile out of the box.

https://releases.linaro.org/componen...linux-gnueabi/

Thanks! I had used the arm-linaro-linux-androideabi and nothing worked… I guess the word android in there didn't mean what I thought it meant.

9th February 2018, 01:02 PM |#24  
Member
Thanks Meter: 16
 
More
One of my devices does not support eCryptFS but support Fuse, can you build Crypttool based on Fuse like EncFS or Gocryptfs.

I don't like to use a container to encrypt files (Cryptsetup,LUKS, Veracrypt, Truecrypt).

Thanks.
10th February 2018, 05:57 PM |#25  
DualJoe's Avatar
OP Senior Member
de
Thanks Meter: 918
 
More
EncFS v1.9.4 added.
The Following 2 Users Say Thank You to DualJoe For This Useful Post: [ View ] Gift DualJoe Ad-Free
10th February 2018, 08:21 PM |#26  
Member
Thanks Meter: 16
 
More
Quote:
Originally Posted by DualJoe

EncFS v1.9.4 added.

Works perfectly, Thank you so much.
The Following User Says Thank You to buengeut For This Useful Post: [ View ] Gift buengeut Ad-Free
12th February 2018, 01:43 AM |#27  
Senior Member
Thanks Meter: 337
 
More
Quote:
Originally Posted by DualJoe

EncFS v1.9.4 added.

You are really doing a great job.
May you please build EncFS for aarch64?
12th February 2018, 04:24 AM |#28  
Member
Thanks Meter: 16
 
More
Quote:
Originally Posted by mirfatif

You are really doing a great job.
May you please build EncFS for aarch64?

It works on aarch64 (armv8).
12th February 2018, 04:31 AM |#29  
Senior Member
Thanks Meter: 337
 
More
Quote:
Originally Posted by buengeut

It works on aarch64 (armv8).

Obviously it does but 64bit is better than 32bit
12th February 2018, 07:48 PM |#30  
DualJoe's Avatar
OP Senior Member
de
Thanks Meter: 918
 
More
Please post some cat /proc/cpuinfo from armv8-a processors. I'm not sure if i should go for +crc+crypto extensions.
The Following User Says Thank You to DualJoe For This Useful Post: [ View ] Gift DualJoe Ad-Free
12th February 2018, 11:50 PM |#31  
Senior Member
Thanks Meter: 337
 
More
Quote:
Originally Posted by DualJoe

Please post some cat /proc/cpuinfo from armv8-a processors. I'm not sure if i should go for +crc+crypto extensions.

Here it is. It's a Xiaomi Redmi Note 4 (mido).
Code:
processor	: 0
BogoMIPS	: 38.40
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 1
BogoMIPS	: 38.40
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 2
BogoMIPS	: 38.40
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 3
BogoMIPS	: 38.40
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 4
BogoMIPS	: 38.40
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 5
BogoMIPS	: 38.40
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 6
BogoMIPS	: 38.40
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 7
BogoMIPS	: 38.40
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

Hardware	: Qualcomm Technologies, Inc MSM8953
The Following User Says Thank You to mirfatif For This Useful Post: [ View ] Gift mirfatif 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