New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
android binary 64bit #19
Comments
Occasionally
Perhaps you can use an older Termux?
The hard part is to compile the correct freepascal cross compiler For android 64 bit, it might be completely unsupported: http://forum.lazarus.freepascal.org/index.php/topic,36914.msg270101.html#msg270101 |
i have managed to run the androidarm binary, downloading and unpacking straight from sourceforge its working i extracted data from a downloaded html actually showing the help takes 3 times as much compared to doing actually work 2nd edit: thanks again for all your help |
I have uploaded a new 32 bit build |
thank you |
@zpimp How did you get Xidel working on a 64bit Android device? Chmod+x doesn't work. It seems it has also a problem with OpenSSL |
use termux for downloading i use wget/curl with parameter to ignore certificates after using "unset LD_PRELOAD", if you try to pkg update (termux command) and gives error, you have to change it back "set LD_PRELOAD" , iirc post back if you have more problems |
@zpimp it seems to work from that directory, great 👍 64 bit phone But how to run it as command? Because the install.sh does not install it to that /files/home directory. |
just run it from there, even with root, i dont know if you can copy it to bin, cause system partition is mounted as readonly |
I had the install.sh running but unsure if it is able to install in the $HOME directory. Maybe I need to modify it. |
It needs to run from the directory Zpimp suggested. Then it runs |
0.9.8 and 0.9.6 dont work on android 8.1 oreo 64 bit with error i looked it up and seems to be an fpc issue https://www.google.ro/search?q=free+pascal+compiler+android+oreo+unhandled+exception+occurred+at it seems to be a syntax thing? |
Pretty much any crash is reported as unhandled exception/access violation. The address $E854C0B2 is the important part. Can you run it with gdb? Or |
https://transfer.sh/EDJpd/stxd.log its 6k lines, i dont use hosts, now i use dns66 dont know if thats the cause |
Is that with xidel 0.9.8?
So b4ce5000 and ef510000 are the offsets
Subtracting b4ce5000 or ef510000 gives A40B2, BBA70 and 4D860, latter two which should mean Are you loading a file? Can you call |
addr2line -f -e /system/lib/libicui18n.so 0xA40B2 it says |
this is what i got from gdb/run/bt db) run Program received signal SIGSEGV, Segmentation fault. |
That is a much better trace than strace. But still the only thing I can gather from it is some trouble with libicui18n |
I do not think I even use libicui. Perhaps you could just break it
should print libicui, if you have the same xidel version as I (otherwise use Then do
to override it with something else (type something). Then the file name is removed from xidel, and without file name it cannot load the .so, and if the .so is not loaded, the .so cannot crash |
i can confirm it is working by removing libcui18n.so through hexedit i used bless on pc, couldnt get dd to work as described thank you for the solution |
fpc has been changed to not load libcui automatically ( https://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=40198 ), so I will try to use that one for the next version |
For the first time I've been trying to get Xidel to work on my Android phone.
Or $HOME for short.
In Termux all the binaries reside in @benibela However,... despite having installed
Not only on https-, but also on http-urls! |
I have updated to freepascal 3.3.1 that can build an actual 64 bit version (not tested) |
Thanks for the Android binary. I'm still new to Termux, but at least I've used I can't test your binary. Sorry. |
@Reino17 Perhaps it is because you are not rooted? |
For that I need |
No, tsu does not root. tsu just makes it easier to use su on an already rooted device, see cswl/tsu#19 |
Then I don't know how to root my phone. But, never mind. |
@Reino17 Root is only possible from flashing it. For example flash a different recovery (TWRP) and then flash SuperSU to it to have root access. Afterwards install the SuperSU apk to control which app gets superuser access (Root). You need a phone with unlocked bootloader to flash it. |
I have manually copied xidel into /data/data/com.termux/files/usr/bin and then chmod 777 on the file. However this gives problems executing it as non root. You have to enter root with "su" and then 'restorecon xidel' in /data/data/com.termux/files/usr/bin Other option is to turn the SELinux status from Enforcing to Permissive via this app |
are you still releasing android binaries ?
it seems newer androids are 64bit
CANNOT LINK EXECUTABLE: "/data/data/com.termux/files/usr/lib/libtermux-exec.so" is 64-bit instead of 32-bit
page record for 0xf727a04c was not found (block_size=64)
is it hard to setup lazarus and cross-compile from linux i386 to arm64?
The text was updated successfully, but these errors were encountered: