[Windows app] Android defragmenter 1.0 by arter97 - Android Software/Hacking General [Developers Only]

OK.
If you're not a noob, you may have heard about defragmenting.
In the old HDD days, defragmenting does a quite a job at improving system performance.
And still, defraging HDD does improves a bit.
How about SSDs(or flash-based memory)?
THEORETICALLY, it does improves. Because file blocks are close together.
Which is why I've come up with an "REAL" Android file-system defragmenting application for Windows.
I've fully ported Linux's EXT4 defrag bash utility to Android.
(It wasn't hard and all credits goes to kolivas )
(AND please do not ask me about shortening NAND life when defragmenting.
It's up to you to decide. What I can tell you is, it won't "seriously" affect your devices life.
If you're gonna use your device more than a decade, don't use this application.)
This app is only tested on ICS, Jellybean with ARMv7 processor.
Other variants may not be supported.
Putting up a mirror or uploading this application to other websites is prohibited.
DOWNLOAD : See image below. XDA doesn't let me post URLs yet
(Ignore all the korean letters and go down! You'll see the link)
(My server has very low traffic capacity. If the site goes down, try again tomorrow. Again, don't post mirrors)
And if you appreciate my work, please click on the ads!
​

Related

.SWF/Adobe Shockwave Stand-alone flash player for 1.5 - 2.1 CDMA Hero (FINALLY!)

Sorry for the double post - I put this under apps and themes as well - I know how in demand a program like this has been and I know not all users search both forums, thinking it was not possible. Moderator may remover or migrate this thread if they wish:
Original:
Credit goes to the original poster (you can download the APK files off xda website - I am a new member so I cannot post links in thread yet (just search under android app and development - hacking section if you want to locate the original thread):
I have reattached the APK files for convenience (v6 is for 2.0+, v3 is for anything below 2.0). You can also dl from the original thread if its still active.
Description:
Simple APK file and you are set - only works for swf files (not flv files - no conversion compatibilities/works poor on games). It works, but poor for file management, very little controls other than pausing (no picture resolution adjustments, controls to skip or fast forward rewind, speed controls, or playlist management), but the program parses .swf well and played well (it's just choppy) - it does not work like a shockwave player where you can play games and have interactive controls but it does display slideshows well.
I noticed speed of slideshow can sometimes increase or decrease depending on how/if the phone is rotated (personal observation). If anyone knows of a better program for android 2.1 and below (root or not - I use stock deox OC 710 mhz with good mem management and class 6 sd card apps2sd - large swap file and dalvik cache off sd), please let me know? I searched for over a yr and this was as close as I could find. I am happy to have found this but I am almost positive someone knows something or could improve on this even slightly?
Comments:
Per my understanding, there is currently no android port for this type of application, per my understanding and Adobe Flex/Air is still in the works for Android.
The best you could do with .swf files was to convert them either within the media player you used (there are none currently that do this, not now at least, if you know of one please share!!! - even those that claim to do it will not or will run into stability issues, or would be ridiculously expensive - some work on 2.2 I think), there used to be one which I used and it worked which was free in the android market way back in the day of 1.5/1.6 stock sense ui, but, whatever media player that was, it since has been removed from the marketplace or had the feature removed and I cannot find posts for it anywhere else on the web. I tested several players by the way on several settings, even ones for arm7 processors and even swapped roms to stable 2.2 cyanogen on cdma hero - this is sadly as good as it got for me?
The only way I was able to do this was to take the .swf file(s) and manually convert it on a PC (batch/or not) or to run it through the browser off my sd card, like dolphin (this is a pain and slow and there is no functional control).
It was thought to be impossible unless someone could port Gnash to android or some other open source swf player from a linux platform (android is more java than linux, I think? plus the arm6 processor limitations - this was considered unfeasible, you'd be better off programming a shockwave player from scratch than reverse engineer code, I think, even so, without Flex/open GL fixes, or some other mem management, it's not really worth the effort or risk).
Some company, apparently tried, and gave up because of this, I guess, but posted a feasible app for android which works - I think it could be improved on significantly - the dev has his email in the app about section - it just has limits and always defaults to the sd card directory when done vs. going back to folder where the swf files are located.
If anyone knows of a better program over this, again, please share (even paid vid player converter which can do playlists/sound/and/or even controls)! Otherwise, I am glad to share this with everyone - I have been looking "forever" for something like this - I just wish it had more controls or better file browsing/management. Maybe someone would want to work on this project?
Cheers,
Joe.

KSM, does it really improves performance ?

Well sadly i don't have an answer for that question yet...
I'm trying to think of a way to put KSM to the test on my android device.
As far as i understand it is possible that the kernel actually causes high CPU usage trying to map and unmap memory pages over and over again.
This issue is known for linux and other virtual machines so it is possible that the Same effect will be on the android vm
Testings that i found are not relevant to android.
For example:
The result is a dramatic decrease in memory usage in virtualization environments. In a virtualization server, Red Hat found that thanks to KSM, KVM can run as many as 52 Windows XP VMs with 1 GB of RAM each on a server with just 16 GB of RAM. Because KSM works transparently to userspace apps, it can be adopted very easily, and provides huge memory savings for free to current production systems. It was originally developed for use with KVM, but it can be also used with any other virtualization system - or even in non virtualization workloads, for example applications that for some reason have several processes using lots of memory that could be shared.
Click to expand...
Click to collapse
http://kernelnewbies.org/Linux_2_6_32
What i would really want to know is what would happen if each of these VMs Would run a different application/game/audio/graphics software at the same time ? or what if the same vm will run many different apps ? and also to compare cpu usage with and without KSM
Guess i'll need a tool for that. something like 'iostat' but for memory diagnostic and another tool to see a per process CPU usage but 'top' is not good enough for that.
Any way, the best test should present clear results with precised data.
I'll keep looking for legit way to put it to the test.
If you can think of a way to test KSM with android, please let me know.
This is a technique that relates mostly to processes like virtualisation. For example, when you load 5 windows XP VMs, you'll have a good 10 - 20 services that are practically the same in memory in each VM. Instead of each service using 10mb (ie, 10mb x 5 = 50mb), you only need say 15 or 20mb using KSM. If you use different applications, it is very unlikely that anything would be saved FOR THAT APPLICATION. However, the main elements of a Windows XP System would still be there (drivers, explorer, firewall, logon, search and so on). Means little in one setup, but when you have several VMs it is shown to be a huge advantage. As we know a simple XP install can use 500mb of RAM actively, and this is fairly uniform across instals.
With android, i don't know if there are specific RAM savings to be had. Don't know enough about the inner workings and the sandbox android puts its apps in or how apps interact with system services. Sadly, i can't think of a good way to test it out either, but i'll be keeping an eye on this topic for someone (much) more knowledgeable to come along.
Harbb said:
Sadly, i can't think of a good way to test it out either, but i'll be keeping an eye on this topic for someone (much) more knowledgeable to come along.
Click to expand...
Click to collapse
Enter bedalus, stands there with a vacant expression on his face. Harbb looks disappointed.
kernels ; battery ; ROM ; gov/sched
That entire paragraph was dedicated to you bedalus, we both know that.
Lol
I hope someone can answer this though.
kernels ; battery ; ROM ; gov/sched
Wait for someone............
Sent from my Nexus S using xda premium
KSM does not improve performance on Android just like that - all enabling KSM does, is enable SUPPORT for the Feature but Applications would have to make use of the feature, which they don't.
You can easily verify this like that :
echo 1 > /sys/kernel/mm/ksm/run
<wait and/or run the Applications of your choice>
cat /sys/kernel/mm/ksm/pages_sharing
IF the above shows a value > 0 then you are making use of KSM else it's just available, without anyone using the feature.
Here's an interesting Article that gives a little more insight :
http://www.linux-kvm.com/content/using-ksm-kernel-samepage-merging-kvm
By the way, the same is true for ZCACHE. If you really want to make better use of your Memory (RAM) then using ZRAM as a Swapdevice does work (and may often make sense, too).
That all said : There appear to be efforts to make use of KSM http://forum.xda-developers.com/showthread.php?t=1464758 - so things may well change ...
any update on this...?

[MOD][TWEAKS] Seeder (For lag reduction and performance boost)

Again since Sensation XE doesn't have people promoting seeder too much, I brought it here for those who are not familiar with this.
Please don't post negative things here. I only understand theory of this mod that's all. And I held no credit to any of the content.
Requirements:
1. S-Off
2. Custom recovery
3. Rooted
4. Init.d Support for flashable version
CREDITS FIRST:
lambgx02 (for the original seeder and APK format) http://forum.xda-developers.com/showthread.php?t=1987032
ryuinferno (for flashable version) http://forum.xda-developers.com/showpost.php?p=36479461&postcount=1924
FAQ:
What is seeder?
Its a mod that increases resource in your device so it wont suffer any starvation(lag).
Above is the easiest way to explain it.
What is the difference between APK and Flashable version?
APK version provides more options to tune method it provides resource and the frequency of it.
Flashable version will be automated in your device as long as your device have init.d support.
How can you prove it significantly improves performance?
Well I can't really tell, Dev's in sensation department is extremely good all ROM's are well tweaked. Its good enough without it, but IMHO it will be better with it.
To .zip version user only
Once you flashed it. Go to terminal emulator. Enter
su
seeder
A menu will show up. It will indicate if seeder is working in your device or not.
Thank the developers of this awesome invention, then Thank me if you think its good for me to bring it here.
Cheers!
TIP: Try on those high load games, the loading speed improvements are the best ways I can see after using this.
good
downloaded the app using the QR code and never installed. wheb you select it tin the task bar it doesnt go into the instalation menu. however when i went to the downloads in my phone it opened the installer. it tried too install but took a very long time. but in the end worked thansk made a slight difference to the lag on my phone. :good:
HTC sensation 4G
ROM: CM 10.1-20130212-albinoman887-pyramid
Although this improves performance slightly, the only thing it really does is run your CPU at a higher frequency. This'll cost precious battery life.
ridder215215 said:
Although this improves performance slightly, the only thing it really does is run your CPU at a higher frequency. This'll cost precious battery life.
Click to expand...
Click to collapse
Can't say you're wrong at the battery life part. But IMHO, it doesn't actually touches the frequency part. Frequency is something that runs instructions, but this thing provides additional resource aka fuel for your device. It don't make your engine combust quicker, it will only make your engine combust cleaner, and more fuel that's all.
KiD3991 said:
Can't say you're wrong at the battery life part. But IMHO, it doesn't actually touches the frequency part. Frequency is something that runs instructions, but this thing provides additional resource aka fuel for your device. It don't make your engine combust quicker, it will only make your engine combust cleaner, and more fuel that's all.
Click to expand...
Click to collapse
I'm just going to leave this quote from a CM maintainer here:
“IMNSHO the recent entropy pool fad is bull***. The only users of /dev/random are libcrypto (used for cryptographic operations like SSL connections, ssh key generation, and so on), wpa_supplicant/hostapd (to generate WEP/WPA keys while in AP mode), and the libraries that generate random partition IDs when you do an ext2/3/4 format. None of those 3 users are in the path of app execution, so feeding random from urandom does nothing except make random… well… less random.
The only conceivable reason some devices may feel faster is because by constantly polling the PRNG, it keeps the device’s I/O in constant use (which in turn, depending on device, will make the CPU stick to higher clock frequencies to keep up and/or ramp up the IO scheduler).”
Source
Don't get me wrong, if it seems to help for you, that's great. But I'm not going to use it.
ridder215215 said:
I'm just going to leave this quote from a CM maintainer here:
“IMNSHO the recent entropy pool fad is bull***. The only users of /dev/random are libcrypto (used for cryptographic operations like SSL connections, ssh key generation, and so on), wpa_supplicant/hostapd (to generate WEP/WPA keys while in AP mode), and the libraries that generate random partition IDs when you do an ext2/3/4 format. None of those 3 users are in the path of app execution, so feeding random from urandom does nothing except make random… well… less random.
The only conceivable reason some devices may feel faster is because by constantly polling the PRNG, it keeps the device’s I/O in constant use (which in turn, depending on device, will make the CPU stick to higher clock frequencies to keep up and/or ramp up the IO scheduler).”
Source
Don't get me wrong, if it seems to help for you, that's great. But I'm not going to use it.
Click to expand...
Click to collapse
I promoted this because it seemed great on my previous device. But in sensation the effect is much lesser than anticipated. Works in my friend's S2 though. Maybe its for low end devices only tsk tsk tsk.
But still, no harm experimenting on everything.
KiD3991 said:
I promoted this because it seemed great on my previous device. But in sensation the effect is much lesser than anticipated. Works in my friend's S2 though. Maybe its for low end devices only tsk tsk tsk.
But still, no harm experimenting on everything.
Click to expand...
Click to collapse
Seeder was designed for older versions of android. It is stated in the thread that it is solved in newer versions of android.

[DEV][APP] waut.ch! - Calibration for Android - version 145

Utility for background calibration, curation and tuning of the device towards an intuitive interface.
Subsystems being battery, entropy, encryption, disk, cpu, memory, filesystem, ui, scheduler, and network, all safe and open source technology.
Presented in this educational gaming metric format with infinite feedback and an interestingly assymetric chance. scribble anywhere, check in some stress, or find the 8!
waut.ch! does one hope to receive from this?
Well, increasing degrees and amounts of a certain "Je ne sais quoi" or responsiveness from the user interface for a start. Better battery life perhaps. Better quality of life, maybe.
And waut.ch! can only perhaps be described as "A qualified quantification of the placebo effect"
waut.ch! might benefit from this?
In the Android device space:
Designers
Users
Manufacturers
Recyclers
Developers
Compilers
Support personnel
OEMs
The Friendly Neighborhood Nerd/Technician.
“Make the most of yourself....for waut.ch! is all there is of you.” - Ralph Waldo Emerson ( paraphrase )
All along the waut.ch! tower - Bob Dylan
waut.ch! - Sometimes used in some colloquium as "watch!", keen upon reducing the TDP of mobile devices to 1.0 watt!
ARM variants of Android only Donut 1.6+
Please uninstall either Seeder or CrossBreeder prior to using this.
Root recommended, else reactivity metric is interesting and introduces uniqueness into the entropy pool anyway. Metric may demonstrate a certain asymmetry that is expected from predictable human actions. Efforts have been made to remove time seed logic from haveged in order to improve upon encryption and system-wide performance and security.
Also numerous other subsystems require careful calibration to facilitate this process.
Rewritten code, subset of functionality for upstream project - CrossBreeder ( https://forum.xda-developers.com/showthread.php?t=2113150 )
Please feel free to view and analyze source and functionality and report bugs and discuss etc on the XDA forum:
( https://forum.xda-developers.com/android/apps-games/app-waut-ch-calibration-android-t3549967 )
Google Play store:
( https://play.google.com/store/apps/details?id=ch.waut )
Please visit: /data/data/ch.waut/files/bin on the device itself for partial shell source code and XDA Downloads section and Github for full source code.
Reboot at convenience liberally or sparingly to reseed the entropy pool or as is known in common parlance, for good luck!
Thanks.
Havged source code:
https://github.com/Openand-I/haveged
Adhoc Payment URL to support development efforts : https://paypal.me/openand/10
Frappe ( "free-paid" ) same-version to support development efforts : http://waut.ch
Custom haveged source code as used in this piece of software: https://github.com/Openand-I/haveged
=====
Version Name: 59a6333e-9ed9-43f8-8dad-51ed46c17e28
cb.sh: cache pressure - 500
cb_io.sh: read_ahead - 0
cb_io.sh: nr_requests - 0
$ md5sum *.apk
661c30b02b2321300624af98feaa5bad *145-waut.ch.apk
661c30b02b2321300624af98feaa5bad *oi.apk
$ sha256sum *.apk
6d23b8da87dc5516583a55a3203c9f5068ea8fe8765ece489080ef663c8aee15 *145-waut.ch.apk
6d23b8da87dc5516583a55a3203c9f5068ea8fe8765ece489080ef663c8aee15 *oi.apk
https://github.com/Openand-I/haveged
https://github.com/openand-inc/waut.ch
https://forum.xda-developers.com/devdb/project/?id=19218#downloads
https://forum.xda-developers.com/android/general/app-waut-ch-calibration-android-version-t3858365
https://github.com/openand-inc/waut.ch/raw/cb0c60025f86a4fdc4778506e97ee80eb1c00b45/oi.apk
https://github.com/openand-inc/waut.ch/raw/master/145-waut.ch.apk
-------------------------
Recommended:
- ntp: automatic system time update from internet is enabled.
please check the clock and fiddle around with the timezone settings in case of any issues. one may need to set the timezone manually.
then simply run the app to initiate a time sync
the network time sync happens at around 3am. so the time to check is in the morning.
- Please disable mount namespace separation in the superuser app to take advantage of the mount optimisations.
- Reboot once and occasionally to reseed the entropy pool. It's good luck!
- Do ensure that the waut.ch service has started upon reboot. Just run if it doesn't start it automatically!
Note: Please note that the haveged binary in the APK is a static binary and works on both PIE and non-PIE environments. It is also UPX compressed. UPX for Android didn't compile. So UPX for linux was used to compress the executable file. It is an elegant solution as both on disk and in memory space(?) is reduced by 70% per executable. One is welcome to decompress the file using 'upx -d'.
Full source code is provided on Github and build scripts are attached here and on Github.
There is no license required to both install the app or distribute it, both within the developer ROM community or in commercial form. Adhoc payment URL to support development - https://www.paypal.me/openand/10
Again do note that the license to use the APP and source code is free worldwide and irrevocable in full or partial form. All other open source components simply inherit their license. But under no circumstances is any use thereof legally binding or relevant.
--------
Utility for background calibration, curation and tuning of the device towards an intuitive interface.
Subsystems being battery, entropy, encryption, disk, cpu, memory, filesystem, ui, scheduler, and network, all safe and open source technology.
Presented in this metric format with infinite feedback and an interestingly assymetric chance. scribble anywhere, check in some stress, or get lucky for that matter!
-----
ARM variants of Android only Donut 1.6+ ( should even be compatible with the latest ARM Android 9+ )
Please uninstall either Seeder or CrossBreeder prior to using this. And other "mods" or "tweaks".
Root recommended, else reactivity metric is interesting and introduces uniqueness into the entropy pool anyway. Metric may demonstrate a certain asymmetry that is expected from predictable human actions. Efforts have been made to remove time seed logic from haveged in order to improve upon encryption and system-wide performance and security.
Also numerous other subsystems require careful calibration to facilitate this process.
Rewritten code, subset of functionality for upstream project - CrossBreeder ( https://forum.xda-developers.com/showthread.php?t=2113150 )
Please feel free to view and analyze source and functionality and report bugs and discuss etc on the XDA forum:
( https://forum.xda-developers.com/android/apps-games/app-waut-ch-calibration-android-version-t3858365 )
Google Play store:
( https://play.google.com/store/apps/details?id=ch.waut )
Please visit: /data/data/ch.waut/files/bin on the device itself for partial shell source code and XDA Downloads section and Github for full source code.
The app will amongst other maintenance tasks tune sqlite databases regularly and reseed the entropy pool or as is known in common parlance, for good luck!
Thanks.
Payment URL: https://paypal.me/openand/10
XDAevDB Information
waut.ch!, App for all devices (see above for details)
Contributors
idcrisis
Source Code:
[url]https://github.com/Openand-I/haveged[/URL]
[url]https://github.com/openand-inc/waut.ch[/URL]
[url]https://forum.xda-developers.com/devdb/project/?id=19218#downloads[/URL]
Previous Version Information - 144
305bd30f-0c8a-40d8-baf5-330c68f62d51
Status: Stable
Created 2017-01-01
Last Updated 2020-08-18
$ md5sum *.apk
8ea8e8c132a584767a12e394f7975654 *144-waut.ch.apk
8ea8e8c132a584767a12e394f7975654 *oi.apk
$ sha256sum *.apk
4925066a106c83b18ac6e563f03331c56b72777e66973db591c9776d706595e3 *144-waut.ch.apk
4925066a106c83b18ac6e563f03331c56b72777e66973db591c9776d706595e3 *oi.apk
https://github.com/Openand-I/haveged
https://github.com/openand-inc/waut.ch
https://github.com/openand-inc/waut.ch/raw/master/144-waut.ch.apk
https://github.com/openand-inc/waut.ch/raw/f699d3763507ec1f91d82b9ce25c53036b460a9e/oi.apk
-----
Version notes:
haveged: static non upx binary used
cb.sh: lock fixes
Recommended:
- ntp: automatic system time update from internet is enabled.
please check the clock and fiddle around with the timezone settings in case of any issues. one may need to set the timezone manually.
then simply run the app to initiate a time sync
the network time sync happens at around 3am. so the time to check is in the morning.
- Please disable mount namespace separation in the superuser app to take advantage of the mount optimisations.
- Reboot once and occasionally to reseed the entropy pool. It's good luck!
- Do ensure that the waut.ch service has started upon reboot. Just run if it doesn't start it automatically!
Please support development, simply use https://paypal.me/openand/10 or the payment URL.
Or you can simply buy the "frappe" ( free-paid ) version of the app: http://waut.ch
Recommended:
- ntp: automatic system time update from internet is enabled.
please check the clock and fiddle around with the timezone settings in case of any issues. one may need to set the timezone manually.
the network time sync happens at around 3am. so the time to check is in the morning.
- Please disable mount namespace separation in the superuser app to take advantage of the mount optimisations.
- Reboot once and occasionally to reseed the entropy pool. It's good luck!
- Do ensure that the waut.ch service has started upon reboot. Just run if it doesn't start it automatically!
Issues:
- superuser - Please disable mount namespace separation in the superuser app ( for optional but recommended mount options ). Also please revisit the app entry inside the superuser app to ensure the waut.ch service can run on boot unattended. One can see the logs on another day to ensure that the scheduler ran correctly in the night.
- Non root users - User Interface can help in clearing the random device. Please try and obtain root to avail of most features
- Some Samsung users - One is also requested to raise a ticket with Samsung who may be running old PE detection rules that flag any compressed EXE.
- x64 users - Reports are that the binaries run on 64 bit as they are static! Please compile one's variant of the binary if required. Entropy generations removes CPU jitter and hence runs cooler and more secure.
- Intel users - User Interface can help in clearing the random device. Please compile one's variant of the binary if required. Entropy generations removes CPU jitter and hence runs cooler and more secure.
- Maintenance scheduler VACCUUMS and INDEXES "ALL" SQLITE databases. Some folks may not like that. But given that they're no WAL mode anyway, it's a bottleneck worth removing safely.
- There is a concerned effort to state that 32-bit ARM Android Go/One < 1 GB RAM devices are all that's required for long term functioning. Higher no issues.
- Please try and use a heap size of 96MB. Attempts have been made to set heap size dynamic but ideally this should be done in the build.
- Please clear cache or factory reset upon issues to gain at least another year of MTTR ( Mean Time To Recovery ) for each device.
Thank you!
License
License concerns:
haveged - inherited - https://github.com/Openand-I/haveged
busybox - inherited - https://github.com/openand-inc/busybox
- Busybox simple extract, possibly edit the .config file in 'vi' and type 'make'
The requisite tools are installed using:
apt-get install gcc-arm-linux-gnueabi
apt-get install libncurses5-dev
apt-get install gawk
The following is a step in another direction as the 'make' command works perfectly after extraction, but this is provided for posterity:
wget http://busybox.net/downloads/busybox-1.24.1.tar.bz2
tar -xjf busybox-1.24.1.tar.bz2
cd busybox-1.24.1/
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- menuconfig
At the menu, you can configure BusyBox options. Once configured, you can build BusyBox:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-
sqlite3 - inherited - https://github.com/openand-inc/sqlite
waut.ch - 'none', non legally binding, and non legally relevant on a worldwide scale and irrevocable ( derived works are allowed to add their own licenses as long as the import ( meaning ) of the phrase "non legally binding and non legally relevant" is implied throughout ( not required to include text at all )) and does not reflect upon future updates of this software in any manner adversely.
He is back! Welcome back! Looking forward to this great new project! The only thing I might be missing is the dnsmasq filtering, which in my opinion if by far better solution than any kid of firewall/blocker
Sent from my Galaxy Tab 2 3G using Tapatalk
qWantUS said:
He is back! Welcome back! Looking forward to this great new project! The only thing I might be missing is the dnsmasq filtering, which in my opinion if by far better solution than any kid of firewall/blocker
Sent from my Galaxy Tab 2 3G using Tapatalk
Click to expand...
Click to collapse
Mate!
There are some serious issues with DNSMASQ.
- It crashes on wrong syntax of any option. Cannot do for a server.
- Command line syntax changes between original branch, Android and Cyanogen MOD. Not merged.
- Android fork far behind main branch
- Consumes port 53 on server run without sharing interfaces. This is on the Android branch. Main branch has this resolved.
- CPU loop for most Android DNS versions that show up only upon server run, rather than the tethering run. Possibly hijacked open source branch.
- Tethering modifications to Android branch ( command line addons ) not required any more as the main branch has incorporated methods to dynamically change IP addresses on the fly.
- It is probably encumbered by coding standards and export issues with only one developer. It is emblematic of most such over-reused projects.
- Hash table in memory, therefore future block list will use up RAM. Some others have disk based caching.
- Static blocklists are fairly not scalable for 10 years hence. Needs wildcard blocklists.
- DNS cache poisoning/overloading ( leading to denial of service) possible by any process/app.
It is therefore recommended to use either of:
pdnsd
unbound
djbdns
and standalone dhcp clients and servers from the Entware repository. And also these are interesting:
DANE
DNSSEC over TLS
BTW, all Android is encumbered by simple denial of service attack simply by reading from /dev/random by any app.
In order to try and package this into a simplish product, deleting /dev/random was not implemented.
idcrisis said:
Mate!
There are some serious issues with DNSMASQ.
- It crashes on wrong syntax of any option. Cannot do for a server.
- Command line syntax changes between original branch, Android and Cyanogen MOD. Not merged.
- Android fork far behind main branch
- Consumes port 53 on server run without sharing interfaces. This is on the Android branch. Main branch has this resolved.
- CPU loop for most Android DNS versions that show up only upon server run, rather than the tethering run. Possibly hijacked open source branch.
- Tethering modifications to Android branch ( command line addons ) not required any more as the main branch has incorporated methods to dynamically change IP addresses on the fly.
- It is probably encumbered by coding standards and export issues with only one developer. It is emblematic of most such over-reused projects.
- Hash table in memory, therefore future block list will use up RAM. Some others have disk based caching.
- Static blocklists are fairly not scalable for 10 years hence. Needs wildcard blocklists.
- DNS cache poisoning/overloading ( leading to denial of service) possible by any process/app.
It is therefore recommended to use either of:
pdnsd
unbound
djbdns
and standalone dhcp clients and servers from the Entware repository. And also these are interesting:
DANE
DNSSEC over TLS
BTW, all Android is encumbered by simple denial of service attack simply by reading from /dev/random by any app.
In order to try and package this into a simplish product, deleting /dev/random was not implemented.
Click to expand...
Click to collapse
Very comprehensive explanation indeed! I am no expert in Linux, only an average user [emoji6]
I was not aware of so many obstacles using dnasmasq, but aware of it's unreliability while using it for blocking stuff in pfsense. But I must say, I had similar experience with unbound, however, probably due to the lack of linux knowledge.
The way I understand is that host blocking is no longer viable due to scales of blocking required today. But sadly there is no alternative for that on android. I have been trying another tool, called sharkmasq but developer sadly abandoned it, while it seems very unfinished and unreliable. I also understand the reasons behind leaving netfiltering out of your development, just, in desperation, I search for the hope [emoji3]
P. S.
Thank you very much for your reply and for your time putting it together. Nevertheless I will look forward to further developments of this new exciting project!
Sent from my LG-D855 using Tapatalk
Uhm, my device seems more responsive even when I use a very low CPU frequency, but is it normal that the app doesn't ask for root permission even if I'm fully rooted? I'm using a Nexus 5 running Nougat. Thank you
Inviato dal mio Nexus 5 con Tapatalk 2
Hi, yes, part of the design criteria. Without root, the metric is interesting. With root, it will automatically start the background processes including the daily cleanups.
Best way to know that the background processes are running is to install Seeder ( but whatever you do don't start it! . Entropy should show around 4096.
Still in the testing phase, does it worth excluding the app from "android optimisation list"? I also use "power nap", not sure will that cause any side effects...
Sent from my LG-D855 using Tapatalk
Let us know If Seeder has RNGD off and still reports ~ 4096 entropy then all is hunky dory.
The new update asked me for root permission, all right here now
Have been busy lately with life, but had occasionally played with phone. So my findings so far: I use this app on my old galaxy tab 2 3g on slim6. Seeder shows entropy being filled in no time at all. Can't really say much about performance, but it seems that it behaves a little smoother. I also use it on my daily LG G3 on stock MM rom with custom kernel, but seeder is reporting very low entropy, if seeded is left on for 1 minute, I can see that entropy never goes above 900? Goes up slowly but then gets used, and then very slowly goes up again and gets used.
Sent from my LG-D855 using Tapatalk
Reboot once after first install kicks in the animation changes. And good luck
New version uploaded with haveged updates. Build scripts also added.
Feedback solicited about the compiler flags etc. Basically the idea is that the ARM v5 binaries should work for all past and future versions of 32-bit Android without modification.
UPX binary could only be compiled for x86 linux.
To answer question, second device, not running, may need to check su logs
Also backend binaries are 32 bit, may not work on 64 bit. GUI's ok.
I am very confused about the frontend of this app that looks like some number game that I really don't understand . Also, I don't understand the description very well. Finding the 8??? Reboot when animation kicks in? What animation?? Nothing seems to happen. I just see a still of a beach with a red number
But something DID happen though, so I am in business. I will keep you curious for a moment, while firstly giving you a good reason for a hard laugh:
I am trying to revive an LG L3 E400! Yep, that's right . Just for fun and educion. In fact I already succeeded quite a bit. I flashed JellyCast V7rev1, used some stuff from V6 SuperCharger (not entropy thingie coz I already intended to use CrossBreeder for that) and 3 scripts from Fly-On Mod. I came here via the CrossBreeder thread (of course). I have already tried CrossBreeder 7.2.13 (I followed advise from @f3tus here, he advised to use that older version). Entropy went up (so it worked) but I did not experience much performance improvement. I did experience more "not responding" issues though. So I reverted to the pre-CrossBreeder backup. And then came your app.....
So that's a very short summary of the many, many, many hours I spent last 2 weeks on this ancient minimalistic but very adorable phone. Now... back to this Waut.ch! app. Presuming that it had done something, I checked the entropy level after first reboot: still a jumpy number between 150 and 200 or so. Despite the fact that the service shows up as running. Then, a lot more playing with the "game" without understanding what I was doing. Just hoping for some wonder. Some message.... just...... something! But nothing. Just a beach with a red number. And a clock. And a questionmark. Or exclamation mark. Pffffff.. So.... let's reboot again. Then eat a sandwich and drink (more) coffee. Then check entropy again. And there it is! Steady at 4089! At first I thought his app was failing because the number didn't change anymore. Just steady. With the old CrossBreeder 7.2.13 I got 4096 a lot but it was a very jumpy number, going even below 1000 a lot. Well, some time passed while writing this post so let's check again: Wow, right now it says 4091 (99%)! One hour later: 4092! (It had spontaneous reboots inbetween).
I am testing it now for a few hours and have these problems:
"Not responding" issues (same as old CrossBreeder).
Spontaneous reboots (3 already). One of them failing to boot at all (stuck at JellyCast logo).
Two times, after a reboot, GPS was disabled. Not consistently though.
No noticable performance gain.
By the way, I am testing like real world usage. Just opening, using and closing apps. I use the same apps all the time so that gives a very good feeling about performance. More meaningful than benchmarks to me. My goal is to make this phone suitable for normal daily usage.
Your app is using a combination of serveral mods, right? I would like to be able to enable / disable each one separately. How can I do that? For example, I have a gut feeling that my "not responding" issues (and reboots?) do not come from the entropy mod but perhaps from governor tweaks or something else. Any chance that you will add enable buttons in the app? Or supply seperate scripts?
Update: I DO have performance gain! Not consitently though. Apps sometimes starting faster than ever. Also still the aforementioned quirks. Last hours no more auto-reboots. Entropy reaching 4096 now, just a little bit wobbly. There seems to be a lot of potential.
The stutter was an issue with the last version.
Do try the latest one and let us know.
Also better if you install the Play store also so the updates are automatic.
Version name is changed GUID if comparing. Better than comparing version numbers.
GUI is non functional, just a visual representation of haptic feedback and actual randomness spread.
It's like drawing points in the whites of a poached egg. If you can see a pattern, you'll be rich in the stock market
Today I removed the app. The biggest problem is random reboots for me. As said, it has potential because sometimes apps started faster than ever on my ancient LG L3. But not consistently. So maybe I 'll try again later.
Sorry for my first post, probably tl;dr. I will repeat my most important question: can you provide us with separate scripts? I mean: I would like to test the entropy thing without the other tweaks as you described in the OP.
Dude!
You're probably using an old version. We'll never know. Will we? Will we now?
There's a small trick that borders on superstition. The famous random device block gremlin tends to disappear if you run the GUI in scribble mode. Basically what may be happening is the block is hit and then the stupid kernel makes whatever decision it makes. Usually at the cost of usability in favour of some stupid religious Linux fervour. Someone should report that to LINUX.
Or another entropy generator, haveged or RNGD or Seeder may be running. Which is a big no! Best to run it on stock ROMS or full custom ROMs ( please ask the developer if they're running any variant of above and to recommend coexistence or better variant of any subcomponents or piece of code. ). In other words, open source!
Also, the separate scripts are in the /bin directory on the phone itself. May require bash and ADB skills.
And full source on XDA and GitHub.
I'll construe this as a possible request to also post the shell scripts from GitHub into the XDA project as separate attachments. Which I can do. In due course
Cheers.
Well, I took it from Play Store. Is that an old version?

[Service] Buildbox! : A generically named service for developer use - Registration te

#update 6-25-2018
Temporarily closing registration as server storage limits have been hit faster than I expected.
Will be working on solutions to duplicate data and will be adding more storage.
Once this is completed, registration will be re-opened.
--------
Hi!
I am hosting a custom server that I have been letting friends use who need a beefier rig for development projects. Server has matured to the point that I am willing to now allow other developers to apply for an account.
I created this initially as a way to give back to developers working hard on the LG V20 but it has since grown into something more.
Users will have 24/7 access to the machine via RDP, SCP, SSH currently.
New services are being added and expanded each month.
Users can have webspace for sites, nextcloud storage space, may request virtual machines for various projects, etc. etc.
Eventually there will be proxies and vpns setup and allowed and we also take suggestions for new functionality.
The server:
- Ubuntu 18.04 Server LTS w/ live patching
- Dual Intel Xeon X5680 CPUs @ 3.33ghz/12mb L3/6.4QPI for a total of 12 cores and 24 threads
- 40GB of DDR3-1333 RAM (board maxes at 192GB and that is my eventual goal)
- 240GB PCIe SSD scratch disk using F2FS for temporary storage which is good for about 700MB/s sustained reads and writes (for improving compile performance etc)
- 4x1TB RAID5 on an LSI controller with 512MB of battery backed cache currently good for about 400MB/s sustained reads and writes
- NVidia 1050GT 2GB PCIe x16 GPU for GPGPU compute projects
As it currently stands, the box can build a complete Lineage OS system in under 1.5 hours (that last benchmark was before I added the SSD so that time may be reduced even more) and a kernel in 1.5 minutes (again, this is before the SSD..).
Planned upgrades include memory increasing, more storage, better GPUs etc.
System is on a permanent symmetrical 250Mbit fiber connection with it's own permanent static IP.
If you wish to have access to this, please send me a private message and we will determine if you are a candidate and will set you up an account.
Feel free to post any questions.
This is a FREE service. I am not requiring any form of payment.
I want to give back to everyone who makes my Android experience that much more awesome and I know a lot of developers are in countries where beefier hardware is expensive or hard to obtain, can't afford better hardware, or may have better hardware than buildbox but would like something they can start a task on and walk away without having to keep their personal boxes up.
We do have strict rules on illegal activity.
Anyways, let me know if you want in!
-helf
Wow this is great! I will try this out.
This is super generous, thank you for your service.
I second what @i95swervin said this. This has been great and appreciate it big time. thanks @helf
Hi! I would be interested in being able to use this service, I've been working on Le1s device, and now my personal cloud credits are over, I would very much like to be able to use this service! I do most of my normal work on my personal system, and need the server to build stuff quickly(which is the tricky part for personal machine)
Thank you!
Nice
helf said:
Hi!
I am hosting a custom server that I have been letting friends use who need a beefier rig for development projects. Server has matured to the point that I am willing to now allow other developers to apply for an account.
I created this initially as a way to give back to developers working hard on the LG V20 but it has since grown into something more.
Users will have 24/7 access to the machine via RDP, SCP, SSH currently.
New services are being added and expanded each month.
Users can have webspace for sites, nextcloud storage space, may request virtual machines for various projects, etc. etc.
Eventually there will be proxies and vpns setup and allowed and we also take suggestions for new functionality.
The server:
- Ubuntu 18.04 Server LTS w/ live patching
- Dual Intel Xeon X5680 CPUs @ 3.33ghz/12mb L3/6.4QPI for a total of 12 cores and 24 threads
- 40GB of DDR3-1333 RAM (board maxes at 192GB and that is my eventual goal)
- 240GB PCIe SSD scratch disk using F2FS for temporary storage which is good for about 700MB/s sustained reads and writes (for improving compile performance etc)
- 4x1TB RAID5 on an LSI controller with 512MB of battery backed cache currently good for about 400MB/s sustained reads and writes
- NVidia 1050GT 2GB PCIe x16 GPU for GPGPU compute projects
As it currently stands, the box can build a complete Lineage OS system in under 1.5 hours (that last benchmark was before I added the SSD so that time may be reduced even more) and a kernel in 1.5 minutes (again, this is before the SSD..).
Planned upgrades include memory increasing, more storage, better GPUs etc.
System is on a permanent symmetrical 250Mbit fiber connection with it's own permanent static IP.
If you wish to have access to this, please send me a private message and we will determine if you are a candidate and will set you up an account.
Feel free to post any questions.
This is a FREE service. I am not requiring any form of payment.
I want to give back to everyone who makes my Android experience that much more awesome and I know a lot of developers are in countries where beefier hardware is expensive or hard to obtain, can't afford better hardware, or may have better hardware than buildbox but would like something they can start a task on and walk away without having to keep their personal boxes up.
We do have strict rules on illegal activity.
Anyways, let me know if you want in!
-helf
Click to expand...
Click to collapse
Hi, thank you for this amazing service! This is a great thing you're doing for the community.
Sent you a PM
Thanks again!
I am a lettuce + MMX a102 developer I need server for a lot of work hope you help me
I also pm you
helf said:
Hi!
I am hosting a custom server that I have been letting friends use who need a beefier rig for development projects. Server has matured to the point that I am willing to now allow other developers to apply for an account.
I created this initially as a way to give back to developers working hard on the LG V20 but it has since grown into something more.
Users will have 24/7 access to the machine via RDP, SCP, SSH currently.
New services are being added and expanded each month.
Users can have webspace for sites, nextcloud storage space, may request virtual machines for various projects, etc. etc.
Eventually there will be proxies and vpns setup and allowed and we also take suggestions for new functionality.
The server:
- Ubuntu 18.04 Server LTS w/ live patching
- Dual Intel Xeon X5680 CPUs @ 3.33ghz/12mb L3/6.4QPI for a total of 12 cores and 24 threads
- 40GB of DDR3-1333 RAM (board maxes at 192GB and that is my eventual goal)
- 240GB PCIe SSD scratch disk using F2FS for temporary storage which is good for about 700MB/s sustained reads and writes (for improving compile performance etc)
- 4x1TB RAID5 on an LSI controller with 512MB of battery backed cache currently good for about 400MB/s sustained reads and writes
- NVidia 1050GT 2GB PCIe x16 GPU for GPGPU compute projects
As it currently stands, the box can build a complete Lineage OS system in under 1.5 hours (that last benchmark was before I added the SSD so that time may be reduced even more) and a kernel in 1.5 minutes (again, this is before the SSD..).
Planned upgrades include memory increasing, more storage, better GPUs etc.
System is on a permanent symmetrical 250Mbit fiber connection with it's own permanent static IP.
If you wish to have access to this, please send me a private message and we will determine if you are a candidate and will set you up an account.
Feel free to post any questions.
This is a FREE service. I am not requiring any form of payment.
I want to give back to everyone who makes my Android experience that much more awesome and I know a lot of developers are in countries where beefier hardware is expensive or hard to obtain, can't afford better hardware, or may have better hardware than buildbox but would like something they can start a task on and walk away without having to keep their personal boxes up.
We do have strict rules on illegal activity.
Anyways, let me know if you want in!
-helf
Click to expand...
Click to collapse
Hi!
I would like to opt in use this service, I've been working on Mi A1 (tissot) device, and now my personal cloud trails credits are over, I would very much like to be able to use this service! I do most of my normal work on my personal system nd sometimes server so i would need the server to build stuffs that will be great
Thank you!
Sent from my Mi A1 using Tapatalk
Hey there,
This is some good stuff you are initiating.
I've been working on Le 1s and Mi A1 (tissot) devices for quite a sometime now. I do most of my work on my local machine with a very ordinary internet connection. Henceforth, I would like to opt in and use this service.
My Github : https://github.com/VenkatVishalV
Thanks!
Awesome: sent u pm
helf said:
Anyways, let me know if you want in!
Click to expand...
Click to collapse
Hey @helf what you're doing is really great.
Sent you a PM :good:
Great bro even i m developing roms for Mi A1 and sprout4 but now my gcp credits too low
U can see my contribution https://github.com/arunassain
Thanks for this contribution:good:
1st thank you for helping out other developers and secondly i would like to have a server reply to me if u are interested in hepling me out
Nice work buddy
Sent you pm
---------- Post added at 12:31 AM ---------- Previous post was at 12:31 AM ----------
Nice work buddy
Sent you pm
wew nice work
Can you check PM?
I want to be a part of your service, plz consider me too.
I have been working on devices like,
- leeco le1s (All things, Dt, Kt, Vt) ;
- samsung grandprimevelte (kernel development) (twrp -Wip) ;
- intex aqua life 3 (twrp).
Well my pc's configurations are not enough to build a rom nor i have other server to continue development for my leeco le1s device.
If you want to checkout my github work.. then here u go,
github.com/vishalk17
github.com/vishalk95
Thank you
helf said:
#update 6-25-2018
Temporarily closing registration as server storage limits have been hit faster than I expected.
Will be working on solutions to duplicate data and will be adding more storage.
Once this is completed, registration will be re-opened.
--------
Hi!
I am hosting a custom server that I have been letting friends use who need a beefier rig for development projects. Server has matured to the point that I am willing to now allow other developers to apply for an account.
I created this initially as a way to give back to developers working hard on the LG V20 but it has since grown into something more.
Users will have 24/7 access to the machine via RDP, SCP, SSH currently.
New services are being added and expanded each month.
Users can have webspace for sites, nextcloud storage space, may request virtual machines for various projects, etc. etc.
Eventually there will be proxies and vpns setup and allowed and we also take suggestions for new functionality.
The server:
- Ubuntu 18.04 Server LTS w/ live patching
- Dual Intel Xeon X5680 CPUs @ 3.33ghz/12mb L3/6.4QPI for a total of 12 cores and 24 threads
- 40GB of DDR3-1333 RAM (board maxes at 192GB and that is my eventual goal)
- 240GB PCIe SSD scratch disk using F2FS for temporary storage which is good for about 700MB/s sustained reads and writes (for improving compile performance etc)
- 4x1TB RAID5 on an LSI controller with 512MB of battery backed cache currently good for about 400MB/s sustained reads and writes
- NVidia 1050GT 2GB PCIe x16 GPU for GPGPU compute projects
As it currently stands, the box can build a complete Lineage OS system in under 1.5 hours (that last benchmark was before I added the SSD so that time may be reduced even more) and a kernel in 1.5 minutes (again, this is before the SSD..).
Planned upgrades include memory increasing, more storage, better GPUs etc.
System is on a permanent symmetrical 250Mbit fiber connection with it's own permanent static IP.
If you wish to have access to this, please send me a private message and we will determine if you are a candidate and will set you up an account.
Feel free to post any questions.
This is a FREE service. I am not requiring any form of payment.
I want to give back to everyone who makes my Android experience that much more awesome and I know a lot of developers are in countries where beefier hardware is expensive or hard to obtain, can't afford better hardware, or may have better hardware than buildbox but would like something they can start a task on and walk away without having to keep their personal boxes up.
We do have strict rules on illegal activity.
Anyways, let me know if you want in!
-helf
Click to expand...
Click to collapse
Alright guys. Hit limits of the system as it is currently configured. We are working on software and hardware upgrades. Once those are completed we will open up registration again. It may be a couple of months. I won't be able to complete some of the hardware upgrades for another 60 days due to some policies I have to adhere to when it comes to recycled hardware.
I'll update when the rig is available again.

Categories

Resources