|
Post by reden on Mar 17, 2021 5:17:54 GMT
I have compiled the Repeater MAX version for Android's terminal/commandline environment (Termux, or any other minimal terminal). This allows you to run the Repeater directly on your phone. There are two ways, the Termux way, and the statrc way. The first way is detailed in this post, the second post is for the second way. Termux is an app which downloads and installs a minimal Linux environment. This is possible because Android is based on Linux. Space investment is about 300 MB I guess. While AnthroTeacher recommends GCC in the form of G++, Android has not been "built" (made) on GCC for about 6 years now, instead being "built" with Clang. Therefore, Termux ships Clang, and the static version was also built with it because that's what google ships in the SDK (developer package). If it makes feel more trust, Clang is the compiler in macOS. In my experience, it doesn't seem to make any difference, because Clang sticks to standards, much like GCC. If really necessary, it may be possible to get GCC in Termux. You have to download the app, then do the command "pkg install wget clang". It will be a bit heavy (compilers are like that). Thereafter, run "mkdir repeater". Mkdir (without capital M) is the command used to make folders. You can give it any name you want. If you want to give it a name that has a space, surround the name with a pair of ". If you want to change its name afterwards, you can do "mv oldname newname". Mv (without the capital M) is the command used to move things, but it can also rename. The folder will be inside Termux's storage, which is buried inside Android's main storage. You won't be able to see it unless you navigate to (main storage)/Android/data/com.termux/files in a file explorer/manager. Run "cd repeater" (or the name you gave the folder). Now run "wget raw.githubusercontent.com/tsweet77/repeater-max/main/intention_repeater_max_3.3.cpp", without the "". This will download version 3.3, current at the time of this writing. If you want to download the version which is guaranteed to be the most updated, run instead "wget raw.githubusercontent.com/tsweet77/repeater-max/main/intention_repeater_max.cpp". Now, run "clang++ intention_repeater_max_3.3.cpp -O3 -o intention_repeater_max_3.3", once again without the "". You can put anything after the -o, this will change the binary's name. This can make it easier to run. As always, if the name you want has spaces, surround it with "". The Repeater will have been compiled. Run it using "./intention_repeater_max_3.3". Options, like --imem, work exactly the same. When you run it, it might say "WARNING: linker...". Feel free to ignore this warning, it's totally innocuous. I believe the executable will only run within Termux. It won't be able to be executed from the normal Android system. The Termux version's bits are matched to your phone's processor. If for example your phone is 32 bits, then the compiled version shall be also 32 bits. Or if it's 64 bits (most phones released nowadays are 64 bits, even if they don't have enough RAM to use its improvements), then it also shall be 64 bits. Some budget phones don't have much RAM. For example, a J7 Prime has about 3 GB RAM, which means that applications, including even the main application launcher, might temporarily be closed. They will restart on their own. Just like on a normal computer or in Colab, asking too much --imem will make Android crash the Repeater, so it doesn't endanger the system's used RAM. The default 1 GB is usually fine, but check your phone's RAM specifications to know a safe limit, I guess 1 or 2 GB below your phone's max. You can check how much RAM and how much of it is available by running "free -m". "available" is the available RAM. "buff/cache" means that it's in a cache and that it could be used regardless, I think. Most phones, even budget ones, have many cores. In the J7 Prime's case, it's 4 fast (or performance) cores coupled with 4 slow (or energy/battery efficient) cores. I'm not sure on which core cluster the Intention Repeater will run on, but I'm sure it can be checked, perhaps with a "task manager". The second method is in the second post.
|
|
|
Post by reden on Mar 17, 2021 5:30:39 GMT
The second method is the static compile one. It's rather tedious, requiring the download of Google's full Android SDK, which is around 2 GB, unpacking it, and looking into the proper directories to find the cross compiler (a common-computer compiler, which uses the architecture known as x86-64, that compiles for Android, which runs another architecture known as ARM). To alleviate this task, I decided to distribute the binary (the compiled program). It's about 6 MB, because it was compiled in any sort of Android terminal past and counting 5.0 (it couldn't be compiled for 4.2 due of errors). Sadly, because ProBoards only allows attachments of up to 1 MB, I cannot upload it here. I will try to find somewhere to upload it. The compiled version should run in any "Android terminal", even really light ones. You have to "cd" into the directory it was downloaded on, and then run it with "./intention_repeater_max_3.3-armv7-eabi21-static", or related, particularly when it needs to be updated. Edit: Finally, the long expected Android static terminal version was... packaged. You will have to go to Google Drive, drive.google.com/file/d/1gzS6GehpnRaZfps-aTYY0FZIRH23mKCZ/view?usp=sharing , then download the file. mv it to your Termux home directory ("cd" then "mv storage/shared/Download/intention_repeater_max_3.3-armv7-eabi21-static ."), and then chmod +x it. I realized the "no chmod in user directories" restriction will be annoying, so basically this will still only work with Termux. Perhaps older Android versions (this compilation supports from 5.0, Lollipop, upwards) are less restrictive in this regard. Edit 2: The static compiled version is ARMv7, which is to say, 32 bits. This means that it can't use more than 4 GB RAM. For the phones I have, this was not a worry. But it may be for others. I think I will compile the AArch64 (64 bits) version soon.
|
|
|
Post by AnthroHeart on Mar 17, 2021 10:34:12 GMT
Cool, thank you.
Have you found the Android version of Repeater to be pretty powerful too? How is it on battery?
How many reps per second are you getting?
|
|
|
Post by AnthroHeart on Mar 17, 2021 11:16:25 GMT
I have a Samsung Galaxy S10, so I had to install Hacker's Keyboard because Termux doesn't recognize the way Samsung Keyboard handles text.
I ran it for one second using intent "I am in a Pleiadian healing chamber." using default RAM, on a Galaxy S10 and it ran at 18.051 PHz (equivalent) for 18 quadrillion iterations.
When I let it run default, I could feel that intent in like 5 seconds.
I recommend copying the file to something named "irm" for short, without quotes. So it's easier to type each time in Termux.
Nice work and thank you.
|
|
|
Post by AnthroHeart on Mar 17, 2021 12:04:54 GMT
I have compiled the Repeater MAX version for Android's terminal/commandline environment (Termux, or any other minimal terminal). This allows you to run the Repeater directly on your phone. There are two ways, the Termux way, and the statrc way. The first way is detailed in this post, the second post is for the second way. Termux is an app which downloads and installs a minimal Linux environment. This is possible because Android is based on Linux. Space investment is about 300 MB I guess. While AnthroTeacher recommends GCC in the form of G++, Android has not been "built" (made) on GCC for about 6 years now, instead being "built" with Clang. Therefore, Termux ships Clang, and the static version was also built with it because that's what google ships in the SDK (developer package). If it makes feel more trust, Clang is the compiler in macOS. In my experience, it doesn't seem to make any difference, because Clang sticks to standards, much like GCC. If really necessary, it may be possible to get GCC in Termux. You have to download the app, then do the command "pkg install wget clang". It will be a bit heavy (compilers are like that). Thereafter, run "termux-setup-storage" and grant it the storage permission. Run the commands "cd storage", then "cd shared". Cd (without capital C) is the command used to move across folders. After, run "mkdir repeater". Mkdir (without capital M) is the command used to make folders. You can give it any name you want. If you want to give it a name that has a space, surround the name with a pair of ". The folder will be in your main storage. Run "cd repeater" (or the name you gave the folder). Now run "wget raw.githubusercontent.com/tsweet77/repeater-max/main/intention_repeater_max_3.3.cpp", without the "". This will download version 3.3, current at the time of this writing. If you want to download the version which is guaranteed to be the most updated, run instead "wget raw.githubusercontent.com/tsweet77/repeater-max/main/intention_repeater_max.cpp". Now, run "clang++ intention_repeater_max_3.3.cpp -O3 -o intention_repeater_max_3.3", once again without the "". The Repeater will have been compiled. Run it using "./intention_repeater_max_3.3". Options, like --imem, work exactly the same. When you run it, it will say "WARNING: linker...". Feel free to ignore this warning, it's totally innocuous. I believe the executable will only run within Termux. It won't be able to be executed from the normal Android system. The second method is in the second post. I don't know why, but I adore the name Clang. Probably cause it's close to Ratchet and Clank.
|
|
|
Post by reden on Mar 17, 2021 14:07:22 GMT
Cool, thank you. Have you found the Android version of Repeater to be pretty powerful too? How is it on battery? How many reps per second are you getting? Sorry, I was resting. I wrote the post very late. It seems to be as powerful as the desktop version if you let it run long enough. The iterations this version expresses vary wildly with your phone. For example, my J7 Prime, a "budget" 2016 Samsung phone, runs "I am happy." at 439.186 THz, which would be about 439 trillion iterations per second. Meanwhile, my A51, which was released in early 2020, and which contains a proocessor die shrink (it's 10 nm versus the J7 Prime's 14 nm, which means it does more while generating less heat, although I somewhat digress) and is two Exynos generations ahead of the J7 Prime, runs "I am happy." at 2.098 PHz, although it flickered a bit towards 3 PHz during the first seconds. It seems to be a smallish to moderate hit to battery. As an aside, my mom has a Ryzen 3 2400G, released in 2018/2019, yet that runs "I am happy." at 8.something PHz, while your S10 runs a longer intention at 18.051 PHz. Isn't it incredible how technology advances?
|
|
|
Post by reden on Mar 17, 2021 14:14:55 GMT
I have a Samsung Galaxy S10, so I had to install Hacker's Keyboard because Termux doesn't recognize the way Samsung Keyboard handles text. I ran it for one second using intent "I am in a Pleiadian healing chamber." using default RAM, on a Galaxy S10 and it ran at 18.051 PHz (equivalent) for 18 quadrillion iterations. When I let it run default, I could feel that intent in like 5 seconds. I recommend copying the file to something named "irm" for short, without quotes. So it's easier to type each time in Termux. Nice work and thank you. The bar above your keyboard (you can make it vanish by swiping from Termux's left edge and longtapping "Keyboard"), or alternatively a keyboard that implements those keys (like the Hacker's Keyboard), can do "Tab", which looks like a rightwards pointing arrow with a vertical line on its end. Tab can autocomplete names. So if you type one of the filename's letters, while in the Repeater's folder, and then press Tab, it should fill in the rest for you. You can also change what goes in the -o parameter to give the binary another name. You can even change them afterwards using "mv", which stands for move, but it can also rename files. Just "mv oldname newname", without the "". If either name has spaces, you surround it with "".
|
|
|
Post by hambumger1 on Mar 17, 2021 17:03:33 GMT
I followed the Termux steps all the way through. But when I went to run the command ./intention_repeater_max_3.3, it gave me the message "bash: ./intention_repeater_max_3.3: Permission denied." I don't know what's wrong.
|
|
|
Post by reden on Mar 17, 2021 17:15:08 GMT
I followed the Termux steps all the way through. But when I went to run the command ./intention_repeater_max_3.3, it gave me the message "bash: ./intention_repeater_max_3.3: Permission denied." I don't know what's wrong. To fix this issue, you have to run "chmod +x intention_repeater_max_3.3", and then run "./intention_repeater_max_3.3", again, with the options you want.
|
|
|
Post by AnthroHeart on Mar 17, 2021 18:42:18 GMT
Cool, thank you. Have you found the Android version of Repeater to be pretty powerful too? How is it on battery? How many reps per second are you getting? Sorry, I was resting. I wrote the post very late. It seems to be as powerful as the desktop version if you let it run long enough. The iterations this version expresses vary wildly with your phone. For example, my J7 Prime, a "budget" 2016 Samsung phone, runs "I am happy." at 439.186 THz, which would be about 439 trillion iterations per second. Meanwhile, my A51, which was released in early 2020, and which contains a proocessor die shrink (it's 10 nm versus the J7 Prime's 14 nm, which means it does more while generating less heat, although I somewhat digress) and is two Exynos generations ahead of the J7 Prime, runs "I am happy." at 2.098 PHz, although it flickered a bit towards 3 PHz during the first seconds. It seems to be a smallish to moderate hit to battery. As an aside, my mom has a Ryzen 3 2400G, released in 2018/2019, yet that runs "I am happy." at 8.something PHz, while your S10 runs a longer intention at 18.051 PHz. Isn't it incredible how technology advances? Have you tried running the "I am happy" when you aren't feeling that? How long does it take to turn it around and feel good?
|
|
|
Post by hambumger1 on Mar 17, 2021 18:45:31 GMT
I followed the Termux steps all the way through. But when I went to run the command ./intention_repeater_max_3.3, it gave me the message "bash: ./intention_repeater_max_3.3: Permission denied." I don't know what's wrong. To fix this issue, you have to run "chmod +x intention_repeater_max_3.3", and then run "./intention_repeater_max_3.3", again, with the options you want. I'm still getting a "Permission denied" message.
|
|
|
Post by reden on Mar 17, 2021 19:12:57 GMT
To fix this issue, you have to run "chmod +x intention_repeater_max_3.3", and then run "./intention_repeater_max_3.3", again, with the options you want. I'm still getting a "Permission denied" message. Try running "cd" (just cd). This will bring you to Termux's home directory, which is buried inside Android's main storage. Then mkdir a directory there, download and compile the Repeater there. Linux has a simple yet effective permissions system, which allows to regulate who gets to read (see inside), write (add data) to a file, and who can execute it. For weird reasons, Android doesn't let you set the execute permission on anything that's on the main storage except for Termux's own folders. This limit can only be bypassed by rooting (which breaks the phone's warranty).
|
|
|
Post by reden on Mar 17, 2021 19:16:48 GMT
Sorry, I was resting. I wrote the post very late. It seems to be as powerful as the desktop version if you let it run long enough. The iterations this version expresses vary wildly with your phone. For example, my J7 Prime, a "budget" 2016 Samsung phone, runs "I am happy." at 439.186 THz, which would be about 439 trillion iterations per second. Meanwhile, my A51, which was released in early 2020, and which contains a proocessor die shrink (it's 10 nm versus the J7 Prime's 14 nm, which means it does more while generating less heat, although I somewhat digress) and is two Exynos generations ahead of the J7 Prime, runs "I am happy." at 2.098 PHz, although it flickered a bit towards 3 PHz during the first seconds. It seems to be a smallish to moderate hit to battery. As an aside, my mom has a Ryzen 3 2400G, released in 2018/2019, yet that runs "I am happy." at 8.something PHz, while your S10 runs a longer intention at 18.051 PHz. Isn't it incredible how technology advances? Have you tried running the "I am happy" when you aren't feeling that? How long does it take to turn it around and feel good? I struggle to feel emotions like a normal person. Often, when I have just run the Repeater, I was already slightly happy, and then I turn giddy (very happy), or what I feel to be giddiness. Sometimes I was already somewhat giddy. It doesn't take that long to cause it, maybe some seconds?
|
|
|
Post by hambumger1 on Mar 17, 2021 19:37:48 GMT
I'm still getting a "Permission denied" message. Try running "cd" (just cd). This will bring you to Termux's home directory, which is buried inside Android's main storage. Then mkdir a directory there, download and compile the Repeater there. Linux has a simple yet effective permissions system, which allows to regulate who gets to read (see inside), write (add data) to a file, and who can execute it. For weird reasons, Android doesn't let you set the execute permission on anything that's on the main storage except for Termux's own folders. This limit can only be bypassed by rooting (which breaks the phone's warranty). That did it. It's working. But now, when I try to run an intention, it says "Loading Intention into Memory.Killed." Could that be because there might not be enough RAM?
|
|
|
Post by reden on Mar 17, 2021 19:41:31 GMT
Try running "cd" (just cd). This will bring you to Termux's home directory, which is buried inside Android's main storage. Then mkdir a directory there, download and compile the Repeater there. Linux has a simple yet effective permissions system, which allows to regulate who gets to read (see inside), write (add data) to a file, and who can execute it. For weird reasons, Android doesn't let you set the execute permission on anything that's on the main storage except for Termux's own folders. This limit can only be bypassed by rooting (which breaks the phone's warranty). That did it. It's working. But now, when I try to run an intention, it says "Loading Intention into Memory.Killed." Could that be because there might not be enough RAM? Yes, there is not enough RAM. What is your phone's model? You can also check to see how much RAM it has using the command "free -m". If you have too many apps open, then more of its RAM will be used up. You can close more apps or use --imem 0.5 or something like that. --imem 0.5 uses 512 MB of RAM instead of 1 GB, but it also halves the Repeater's performance (it's likely still fast enough for your Intention).
|
|