[Q] Android or Prime Test/Debug Software - Asus Eee Pad Transformer Prime

I'm trying to help out my sister who bought one of these (against my recommendation as the thought of new hardware (Tegra 3) running with new software (ICS) in the hands of a non-tech person makes me break out in a cold sweat). She is well beyond the return window, other than to ASUS. However, after playing with this thing (for test purposes only) for the last few days, it is pretty sweet! So, before I try the return route with ASUS, I decided to try and find out what issues it really has.
I've read most everything I could find on this and several other forums but unfortunately, I haven't seen any mention of any test software or something I could run that would let me get low level sensor readings, grab crash logs etc.. There appear to be numerous reported issues, but I haven't seen the results of any controlled testing that has been done (ie many problems could be the result of some apps themselves and/or the particular tablet setup.
I've installed the Android Dev package and it appears I can link the debugger with the tablet though ADB. I was running the debugger trying to get a lockup to occur prior to the .13 update, but the damn thing ran fine! Crashed as soon as I disconnected it from the debugger!!!
So, my questions are:
- Is there an app that would allow me to directly read sensor values and/or perform any very low level diganostics? Save and grab crash dumps, etc?
- Do I need to be rooted to run this kind of stuff? Or worse, wait for the bootloader unlock tool?
- Has anyone here already done something like this?
- Can anyone point me to some other site that might be able to help me?
I have confirmed that the GPS is useless, but she does not care about that.
The WiFi "seems" weak but I have not yet tested it in a controlled environment. She was OK with the performance she was getting at home, but she had not yet taken it out on a "date" to see if it would perform!
The occasional random reboots appear to be gone since I updated it to .13
There have been several occurrences of the tablet going into a coma while sleeping that require some extraordinary measures to wake it (hopping on one leg while scattering chicken feathers to the wind, etc).
I am going to wipe the thing clean to remove any potential rogue apps, but I don't even trust the pre-installed stuff which is why I am looking for some low-level diagnostic stuff.
Any technical help would be greatly appreciated! I do low-level stuff with microcontrollers, but very little OS based development stuff, so be gentle with me.
Please send all "just return it" or "my tablet works fine so you must be doing something wrong" responses elsewhere. I doubt ASUS will refund her money along with the taxes she paid on it and the there are definitely issues with it. I am just trying to determine whether it is mostly software related issues (which could eventually be resolved) or whether the hardware, especially the WiFi is truly an issue.
Thanks, and sorry for the excessively long post.
George O. II

For sensors try elixir 2 it allows you to test all the sensors light gyro ect...
Sent from my PG86100 using Tapatalk

Wordlywisewiz said:
For sensors try ecliar 2 it allows you to test all the sensors light gyro ect...
Sent from my PG86100 using Tapatalk
Click to expand...
Click to collapse
We on the same page. I was just about to recommend the same thing. I have it n love it.
Its actually called Elixir2..its a free app...then you should get elixir widget also n have a great monitoring widget like this on my prime.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

From a terminal emulator ( https://market.android.com/details?id=jackpal.androidterm )
Try this:
Code:
# cat /proc/kmsg > /mnt/sdcard/some-clever.name
This should continuously log kernel messages, but I haven't tried it myself.
Woops, forgot you need root for this.

Elixir 2 looks like a good tool. I think I'm getting info overload already!
Thanks..

Try this:
Code:
# cat /proc/kmsg > /mnt/sdcard/some-clever.name
This should continuously log kernel messages, but I haven't tried it myself.
Woops, forgot you need root for this.[/QUOTE]
Is the kmsg logfile created new everytime the tablet boots? If so, the your method would preserve the pre-crash log yes? That would be useful! Looks like I need to learn how to root this thing.
Also, do you know if there is a list of available console commands somewhere?
Thanks for the info

Rooting is very simple n easy. Just check out the developement section.

It looks like someone created an automated root tool. Might give that a try.
Before I do, does this thing have a recovery mode in case some idiot (me) does something stupid while rooted? Can I just re-install the current OS version from a file on the sd card?

GeorgOrwel said:
It looks like someone created an automated root tool. Might give that a try.
Before I do, does this thing have a recovery mode in case some idiot (me) does something stupid while rooted? Can I just re-install the current OS version from a file on the sd card?
Click to expand...
Click to collapse
There isn't a recovery yet for prime. Other than Asus one. If anything goes wrong, you can just manually install the firmware from Asus website with prime hooked up to a PC. Or from putting zip file on root of SD card. The root method here is pretty safe though. Once you rooted, get voodoo OTA Rootkeeper to back up n save your root. So once a new update comes out n breaks root, you can just restore root through this app. Its free.
Happy Rooting!

Great! I'll do a little more research then give it a try.
I'm starting to like this tablet. It is mostly stable now, other than the occasional comatose state that occurs. It never did that before the update, but until I rule out the apps, I can't point a finger at it. The WiFi is my biggest concern at the moment, but there could be other things causing issues with that as well. Until I can control more of the variables, any testing is really subjective.
Again thanks for the info! Gives me a good starting point to do some further analysis.
George

GeorgOrwel said:
Is the kmsg logfile created new everytime the tablet boots? If so, the your method would preserve the pre-crash log yes? That would be useful! Looks like I need to learn how to root this thing.
Also, do you know if there is a list of available console commands somewhere?
Thanks for the info
Click to expand...
Click to collapse
kmsg is a process that runs all the time on the OS, so when you point the output to a text file, it will constantly write the kernel messages to it (just run the command in terminal, and continue about your regular use... it should continue to run in the background).
When the system locks/freezes up or reboots, you'll be able to see what the last kernel message was, which should help you narrow down the issue.

Related

[APP] TouchRC - Control Media Center from your phone.

I have written an app called TouchRC to enable me to control my windows media center (vista and windows 7) from my phone.
Download link and screenshots can be found on the codeplex site here.
I will try and pad this post out a bit more as soon as i get decent amount of time to do it!
A couple of screen shots here...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Feedback/suggestions are always welcome!
Thanks
evorgevol
[reserved for future use]
Nice! Too bad I have Media Center 2005 or I would love this.
i will try it
i cant get the wmcontroller app to work in WIndows 7 RC'
does anyone knows what to do
I tried to get this potentially great software to work with Vista Premium incl. TV Pack but whenever I start VMC I get an error message 'can't load...' :-(
Any help is most welcome.
what are the limitations of this software, evorgevol?
specifically the following 4:
- what type of connection(s) does it use to connect to VMC/w7MC (wifi only, or bt optional)?
- is it intelligent enough to work with VMC plugin's? (my movies, MCEweather, daemon tools etc)
- is this a complete replacement for an MCE remote - ie, could i remove the IR-transmitter/reciever?
- is it intelligent enough to realise what menu it is in, and filter out un-used options (ie: 'channel change' and 'record' would be removed if in pictures/dvd area)?
alexnathan345 said:
I tried to get this potentially great software to work with Vista Premium incl. TV Pack but whenever I start VMC I get an error message 'can't load...' :-(
Any help is most welcome.
Click to expand...
Click to collapse
Have a look at this thread with trying to get it to work with the TV Pack.
veehexx said:
what are the limitations of this software, evorgevol?
specifically the following 4:
- what type of connection(s) does it use to connect to VMC/w7MC (wifi only, or bt optional)?
- is it intelligent enough to work with VMC plugin's? (my movies, MCEweather, daemon tools etc)
- is this a complete replacement for an MCE remote - ie, could i remove the IR-transmitter/reciever?
- is it intelligent enough to realise what menu it is in, and filter out un-used options (ie: 'channel change' and 'record' would be removed if in pictures/dvd area)?
Click to expand...
Click to collapse
It connects over TCP/IP, so it would have to be connected to your local area network.
This is only really a simple program that interacts with the VmcContoller application, so can only do reasonably basic stuff. I have added functionality to so that it can use the MyMovies application metadata, though most of this is still in progress.
It depends on what you use your remote for as to whether this can be a complete replacement. I currently dont have, and have no intentions in the near future of, having a number/keyboard pad. So if you use these a lot, then it probably won't be a full replacement.
I had planned to make the now playing screen a bit more wise about what type of media is playing, and display different icons accordingly, but this has been marked as more a of a 'nice to have' in the application which i might work on in the future, but have other things I'd rather get working first.
Hope that answers some of your queries...
evorgevol
indeed they all are 'nice-ities', and it wont stop me considering playing with your app.
thanks for answers
Unfortunately, the media center network controller software can not be installed on a Vista X64 pc. I would really like to use this app on my mobile device!
Regards,
André
Man this is absolutely awesome!!!
I don't have a MS MediaCenter solution but MythTV, so I wanted to do the same app like you did but for MythTV quite a while.... I already gave up in searching a usable GUI framework like your Fluidity and started writing my own (Which took basically up all my time so far - that's why there is not even an app yet ... But your solution kicks the living sh**t out my little approach.
Is it ok if I borrow up the framework and perhaps some junks of code from your app??? I don't think I'd get it done better if I would try myself, so it would be nice if I wouldn't have to reinvent the wheel. I will of course list you in the credits page of the app.
I spend some hours browsing through your code and I think I got almost through in understanding how the controls basically work. The only thing I miss is the complete overview of how the binding to the actual data is done. The idea with the Templates for the single Items is pretty neat and makes it extremly flexible!
/Tommi
thomasschaz said:
Is it ok if I borrow up the framework and perhaps some junks of code from your app???
Click to expand...
Click to collapse
Thanks for reminding me... I forgot to give the original author credit!!! The control framework I use on TouchRC is called Fluid controls, and it's on codeplex here.
I will update my codeplex to give him the credit he deserves, I certainly wouldnt have been able to do any of my app without it!!
Just for thought though, if you create a TCP/IP server for your app, and use the same receive commands as VmcController, then you should just be able to use my app entirely! Or, if you do make it different, and you want me to, I can add your commands to my app too, so that the user would be able to control both windows and myth from the same application!
Thanks,
evorgevol
WIN 7 RC1 how to install
so u guys have a lil question...
how to install this awesome prog on win 7 RC 1?
ive installed touchRC on my XDA Orbit...
then installed VMCControl on my win7...
then loaded this zipfile
http://www.nloit.co.uk/downloads/vmccontrollerwin7source.zip
and ran the DevInstall.cmd...
opened up MC...
added the name of my PC to touchrc...
ran touchrc...
clicked on "Now Playing"...
recieved Error massage: "Connection could not be established"
WTF am I doing wrong???
have i missed a few steps or simply did wrong prefrences?
sry for my bad english xD
but big thanks to the developer its an awesome app
(if i were able to install it in the right way xD)
Jasafo said:
WTF am I doing wrong???
Click to expand...
Click to collapse
Can you load up the http server for vmc? (ie, on a diff computer, go to http://hostpc:40510) and see if that works? if it doesn't, then it probably means that VmcController isn't working properly. If this is the case, then revert to the codeplex site of VmcController to ask for help.
Thanks,
evorgevol
evorgevol said:
Thanks for reminding me... I forgot to give the original author credit!!! The control framework I use on TouchRC is called Fluid controls, and it's on codeplex here.
I will update my codeplex to give him the credit he deserves, I certainly wouldnt have been able to do any of my app without it!!
Just for thought though, if you create a TCP/IP server for your app, and use the same receive commands as VmcController, then you should just be able to use my app entirely! Or, if you do make it different, and you want me to, I can add your commands to my app too, so that the user would be able to control both windows and myth from the same application!
Thanks,
evorgevol
Click to expand...
Click to collapse
Ah, I saw the codeplex page but I somehow thought you guys were the same
Thanks a lot for the offer, but I plan to build a 'richer' remote client for MythTV. Means, besides a remote control function I want to be able to browse the Program Guide, Recordings, Movies, Music, Pictures on the phone and select them to play on the PC/TV.
And I have some other ideas which would be pretty neat, but for now I am already happy if I get the above items finished. (technically thats usually no prob, but once you solved all the tiny little problems and know how to code the whole thing it often gets boring )
/Tommi
thomasschaz said:
I want to be able to browse the Program Guide, Recordings, Movies, Music, Pictures on the phone and select them to play on the PC/TV.
Click to expand...
Click to collapse
Already in the works!
(Apart from pictures..)
evorgevol said:
Already in the works!
(Apart from pictures..)
Click to expand...
Click to collapse
Good to know. I'am going to keep a close eye on your project
Hey evorgevol,
any updates on the app yet?
I now have the basic server + client API done so far for my project. I hope I'll reach the alpha state up to your level within the next 1 or 2 months... Then it should really go quick...
Greetz,
Tommi
thomasschaz said:
Hey evorgevol,
any updates on the app yet?
I now have the basic server + client API done so far for my project. I hope I'll reach the alpha state up to your level within the next 1 or 2 months... Then it should really go quick...
Greetz,
Tommi
Click to expand...
Click to collapse
I've been stupidly busy recently, so haven't had any chance to work on it for a while. I'm hoping that will change next month. I have made some minor updates to it (but not checked it in), but won't be making another release for a couple of weeks yet. Hopefully soon though!!! How's yours coming along?

Anyone here use X10 Home Automation?

Hi all,
Just out of curiosity does anyone here use X10 devices and more importantly use HomeSeer?
I've almost finished my Home Automation app for Android and may be looking for some testers.
Thanks Matt.
Yes, I do.
Wow, I shure want to test this.
I use the "old" version of Homeseer. I'm at work now, and don't know the version number.
It should work fine with either 1.5 or 2. You just need the web interface enabled and you need to copy a script into the html folder on the pc.
I've got a couple of things I know about which I need to fix first but then it would be good to get someone elses opinion. It does exactly what I wanted it to do (obviously) but you may have ideas which you would like implented.
Seems to work really well though. I can control my whole house from the phone now and best of all the layouts are all done dynamically so you don't have to sit there for ages designing your GUI like I used to with netremote on windows mobile.
Matt.
Croccy22 said:
Hi all,
Just out of curiosity does anyone here use X10 devices and more importantly use HomeSeer?
I've almost finished my Home Automation app for Android and may be looking for some testers.
Thanks Matt.
Click to expand...
Click to collapse
Hello
Yes, sure. I am using X10 in my house and cotroler by my PC, it will be nice have my hero doing it.
Thanks
Manuel Bravo
Count me in!! I have tried multidomo but can't get it to operate properly. If you want a tester i'm more than happy to help!
orchid666 said:
Count me in!! I have tried multidomo but can't get it to operate properly. If you want a tester i'm more than happy to help!
Click to expand...
Click to collapse
Do you use HomeSeer on your PC?
Matt.
Croccy22 said:
Do you use HomeSeer on your PC?
Matt.
Click to expand...
Click to collapse
Hi Matt,
I do indeed! Would love to have access from my hero. Homeseer is a great piece of software!! Any chance of having a test at it?
I've got a couple of things I need to do, a confirmation box on the delete device/event menu, and a background image on the add device screen as I;ve had a weird problem with the scrollview squashing the background picture when the virtual keyboard displays on the screen.
Once i've done this I'll get together a tme limited beta so you can all have a look and make any suggestions.
If all is ok then i'm gonna put this one on the market for a couple of quid and see if people like it.
I know it's not going to be a big seller as it is currently limited to homeseer and I really can't be bother to write a full HA app for the pc .
Homeseer does everything I need but the web interface is far to clunky for th mobile. I know you can use the touchpad interface but I find having coded real buttons and UI speeds things up so it is actually usual.
I'll keep you all informed. I may do some screen grabs later to show you what i'm working on.
Matt.
Just a few screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Matt.
Add me to your list of interested parties.
(I don't run HomeSeer, I have my own i.e. source code, app)
Matt this looks great! I'd love to give this a trial. I'd pay for this if it's as good as it looks. Can we get a time limited trial?
Hi, Sorry for the delay in replying i've been a bit busy the last few weeks.
I've sorted out pretty much all the things I needed to for Version 1. Just need to sort out one last thing and then I'll do a time limited beta for those interested.
I also need to write some simple manuals to show how to set it all up. It really is quite simple. I expect there are many other features that I could include but I just want it to be quicj to configure and I want it to work! I used it for all my x10 stuff over the last couple of months and it works flawlessly in my environment.
On the pc side all you need to do is copy a single script file info the homeseer folder. I'll prob package this up as an MSI to make things easier for people.
Thanks for the interest.
Matt.
Excellent Matt. Will we be able to use this over the data network or will it be wifi only? I'm constantly having problems with homeseer on the standard hero browser with lockouts.
Hi,
Ok, a very good question and one that I already have asked myself.
At the moment you enter the web address of the homeseer web server nto droidseer for it to send the commands to. This address can either be a internal ip address which can then be used over wifi or an external address (dyndns, no-ip etc) that can be accessed from gprs/3g.
I seem to remember that if you try to access an external address using a dyndns/no-ip address from your internal network it doesn't work always as you get your external ip address back which can't be accessed from your inside network.
I'll have to do some testing as i'm even confusing myself here!
I think my final idea was to be able to configure multiple addresses to connect to the homeseer server, if one fails it will try the next. This way if you are home on wifi it will use the inernal address, if you are away from home it will use the external adresss.
Simples!
Matt.
Sounds good Matt! Like i said i have issues with the standard browser using dyndns. Not sure why but it would seem the browser does not retain its password info for homeseer and after 3 connects you get locked out. When your using homeseer and the android browser across gprs/3G and dyndns do you experience this problem? I'm led to believe it's a security feature in homeseer to stop unauthorised access. Not sure if SSL connection would resolve this. I have the same problem using safari on the iphone. Windows mobile does not seem to have this problem as my experia worked perfectly.
Cheers,
John
Hi all,
I believe I now have a version ready for some real world testing. It works fine in my environment and I use it everyday so we'll see how it goes.
It is a fully featured Time Limited version that will expire on the 1st December so it gives you a while to have a play around and see what you think.
There is an APK file for install on your phone, a script file that needs to be copied onto the pc running homeseer and a PDF Manual explaining how to set it all up.
If you are interested in giving it a test then please PM me with your e-mail address and what version of Homeseer you are using just so I know what it has been tested on.
Thanks for your interest.
Matt.
Croccy22
Ok,
Droidseer Beta is now live on the Android Market in Beta form ready for some testing for whoever wants to give it a go!
The website is now live too at http://www.spvsoft.co.uk/droidseer
There you'll find everything you need to know including the User Guide.
Hope you like it and be sure to let me know what you think!
Matt.
Off topic here, but someone know if there is a WM app too for X10 automation?
I used to use Promixis NetRemote and the HSGirder plugin for Homeseer. It worked fine but you had to completely design your own interface in the designer program and the buttons are all hard coded. So when you add a new device to your system you have to edit your design and add the new button. That was the main reason why I designed DroidSeer to be Dynamic.
Get an Android device I used to always have WinMo devices ever since the first SPV but Microsoft missed out on the whole app market thing and I think they are a little too late to the game now. Most developers have moved on the iphone or android now.
Matt.

CyanogenMod / Kangs - Poor Flash Support?

Anyone know what it is about CyanogenMod (and thus kangs) that makes flash so wonky? I use FLASH VIDEO BROWSER to watch things like Hulu.... Works amazingly well (sorta).
It does not work on CM. It does on other ROM's (not kangs though). I emailed the developer and he commented that every CM user (not sure if CM7 has the problem) has issues and that it just does not seem to handle flash well.
Clearly there is an issue there with how Flash is handled. Anyone smart enough to try and help find what the problem is, or can offer suggestions on how to help fix it?
Before approaching CyanogenMod and sounding like a whiner, it would be nice to give some helpful feedback.
Aside from that.... also upsetting that ROMs built from source can not view Market movies, but other ROMs can. Any time my wife want to hook our Tab up to the TV I have to switch from AOKP to Task... It is not too hard to go back and forth, but I can't see the logic by Google here.
yep i kinda felt the same
See, I don't really want to get into details but, Adobe had mentioned that "Flash is dying" it's on the news, Most of the developers have given up on flash content, CM too as far as I've heard, because Java Script's can handle flash content properly, Like the Youtube app doesn't require you to have Flash to work. ICS production has also barred the use of Flash "Consumes too much battery" as the statement went, But regardless I would say to wait a few weeks or such, Hulu might shift to HTML5 which would rectify this issue, that and every other commonly visited site is about to swap content over to HTML5 as it can render/use/display flash content.
S.Jobs apparently saw this coming which is also why none of the iDevices till this day support flash. That and flash just degrades the performance of the PC, Want a good example? Look at Mozilla in task manager when viewing a Youtube video, 300k~500k memory usage. Grand.
Edit: Added Chrome too
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sum all of this together along with the 101 useless junk ads that appear and I won't be surprised as to why CM7 (Which is built from scratch) has a hard time with this.
Yeah, understand that HTML5 is ultimately the direction, but right now there are far too many sites that need flash, and the only custom roms that seem to have a glitch are CM9 and the kangs it spawns.
I cant imagine going a long period where someone on CM cannot utilize flash/sites where someone on a stock rom can... just seems like if you are on the best rom, you should have the best experience.
def not articulating this well.
s15274n said:
Yeah, understand that HTML5 is ultimately the direction, but right now there are far too many sites that need flash, and the only custom roms that seem to have a glitch are CM9 and the kangs it spawns.
I cant imagine going a long period where someone on CM cannot utilize flash/sites where someone on a stock rom can... just seems like if you are on the best rom, you should have the best experience.
def not articulating this well.
Click to expand...
Click to collapse
Ah it's all good, afaik probably CM has already seen the downside to this when building it from scratch which is why they tried their best to make this app reliant? I don't know how to explain it in simpler terms but, Instead of browser depending on the system to run flash content via Flash Player, it's more like the Youtube app? Where the app itself is able to handle the processing without much dependency on other apps.
On another note, Flash content is copyrighted including their drivers and CM is an open source that doesn't want to have anything to do with copyrighted stuff (Would explain why they don't even include the gapps into the pre installation) I guess they tried to make sure the system was able to handle what was required of the user without depending on copyrighted apps, probably to avoid lawsuits, IDK, it's probably their own personal reasons too.
^ the cease and desist order from google to cyanogen = why we have gapps now. A clever work around to their threat. Not sure why all of the kangs also use gapps, I guess since they are using cm they feel they need to.
O well, guess there is no good answer... shame that CyanogenMod currently has an issue with Flash. Makes it impossible for me to watch hulu.
Flash isn't hardware accelerated in the cm9/AOSP builds and the video driver in general has many issues. I think we'll have to wait for an official release or at least a leaked ICS ROM for the 10.1 to get proper video drivers.
s15274n said:
^ the cease and desist order from google to cyanogen = why we have gapps now. A clever work around to their threat. Not sure why all of the kangs also use gapps, I guess since they are using cm they feel they need to.
O well, guess there is no good answer... shame that CyanogenMod currently has an issue with Flash. Makes it impossible for me to watch hulu.
Click to expand...
Click to collapse
Because android in general is highly dependent on Google for almost everything, like a little baby craving for mommy's bossom as much as they want to rid the use of Gapps ,the whole purpose of android was bound around google related apps they are allowed to make use of it however as Gapps are open sourced like android itself, If flash was bought over by Google rather than Adobe, then probably CM scene wouldn't have a hard time with it I guess. I tend to forget at times that Flash and GApps are under different major companies

[MOD] Seeder entropy generator to provide significant lag reduction

Hey guys,
I came across this in teh portal and am not sure if it actually works on my prime (Stock rooted OTA JB). I would love to see how it fares for the rest of you. Here is the information from the OP. All credit to OP lambgx02 and Ryuinferno.
Instructions: FOLLOW THE INSTRUCTIONS IN THE SECOND QUOTED POST IF YOU CANNOT FLASH FILES FROM RECOVERY OR ARE ON STOCK FIRMWARE
Here is the OP:
lambgx02 said:
Hey everyone,
So, I was experiencing significant lag as we all do from time to time, and decided I was going to get to the bottom of it.
After tracing and debugging for hours, I discovered the source of 90% of Android's lag. In a word, entropy (or lack thereof).
Google's JVM, like Sun's, reads from /dev/random. For all random data. Yes, the /dev/random that uses a very limited entropy pool.
Random data is used for all kinds of stuff.. UUID generation, session keys, SSL.. when we run out of entropy, the process blocks. That manifests itself as lag. The process cannot continue until the kernel generates more high quality random data.
So, I cross-compiled rngd, and used it to feed /dev/urandom into /dev/random at 1 second intervals.
Result? I have never used an Android device this fast. :good:
It is literally five times faster in many cases. Chrome, maps, and other heavy applications load in about 1/2 a second, and map tiles populate as fast as I can scroll. Task switching is instantaneous. You know how sometimes when you hit the home button, it takes 5-10 seconds for the home screen to repopulate? Yeah. Blocking on read of /dev/random. Problem solved. But don't take my word for it .. give it a shot!
Update!
I've built a very simple Android app that bundles the binary, and starts/stops the service (on boot if selected). I'll be adding more instrumentation, but for now, give it a shot! This APK does not modify /system in any way, so should be perfectly safe.
This is my first userspace Android app, so bear with me!
Note that this APK is actually compatible with all Android versions, and all (armel) devices. It's not at all specific to the Captivate Glide.
Caveats
There is a (theoretical) security risk, in that seeding /dev/random with /dev/urandom decreases the quality of the random data. In practice, the odds of this being cryptographically exploited are far lower than the odds of someone attacking the OS itself (a much simpler challenge).
This may adversely affect battery life, since it wakes every second. It does not hold a wakelock, so it shouldn't have a big impact, but let me know if you think it's causing problems. I can add a blocking read to the code so that it only executes while the screen is on. On the other hand, many of us attribute lag to lacking CPU power. Since this hack eliminates almost all lag, there is less of a need to overclock, potentially reducing battery consumption.
If you try it, let me know how it goes.
ROM builders - feel free to integrate this into your ROMs (either the .apk / application, or just the rngd binary called from init.d)!
If anyone's interested, I've launched a paid app on the Play store for non-xda users. As I add features I'll post the new versions here as a thanks to you guys (and xda community at large for being such a great resource). But if anyone's interested in the market's auto-update feature, just thought I'd mention it.
Cheers! :highfive:
Click to expand...
Click to collapse
Here is another informational post from TODAY with installation instructions that worked for me (unlike the APK in the OP).
Ryuinferno said:
First things first I am not the OP but things need to be sorted out...Ok...this thread is starting to get more and more attention, which is good because with more people to test things out, the more feedbacks and the more improvements can be done...however, the thread is now cluttered by tons on unhelpful posts, like "how to use this", "do I need root" etc...useful posts get pushed wayyy behind, until it is hard for people who are really trying to discuss to keep track...so I am here to answer the basic questions:
Do you need root for the app?:
Yes
Can it work on xxx device?:
Yes, as long as your device is arm based
Where to download the app?:
Here: http://forum.xda-developers.com/attachment.php?attachmentid=1477944&d=1352786461
Or search Play Store for a donate version...
The other 2 attachments are the rngd binary and a diff patch, which are not really required for end users...
How to check whether it is working or not?:
In terminal emulator, type
Code:
watch -n 1 cat /proc/sys/kernel/random/entropy_avail
You should get values around 3000++ to 4000++...
Set on boot does not work?:
It does, just that the app does not show it properly...it is a known bug...to really confirm, use the terminal emulator method above...
Do I have a risk of bricking my device?
No because the app won't modify system files at all...anything just uninstall...
For the zip, it only adds files to your system partition...does not modify any, so if you want to stop using this, you can disable it via the extended menu script...
It does not do anything/It is placebo/I see no improvements/It is awesome!/Wow!:
Well, this is not constructive or helpful...NOT AT ALL...keep in mind that this is still a WIP...research and discussions are still going on...if it is not working or you feel no change or a great improvement, please describe more and explain...which a lot of others are already doing so......keep it up!
For more answers, read this post by my pal pepoluan...
http://forum.xda-developers.com/showpost.php?p=36234571&postcount=444
And for those who prefer to run this via a script and init.d, read on...
=======================================================================================================================
UPDATE: Seeder_v6 is out, I improved the detection of whether rngd is running or not (the previous method was not that accurate), and I removed unnecessary lines...previous users can just flash over...
Download and flash: http://www.androidfilehost.com/?fid=9390248398092764097
How to use this script?:
After flashing, launch terminal emulator and type
Code:
su
seeder
You will get a menu like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
NOTE: There will be NO app after flashing! This only installs the necessary binaries and scripts...
For those who cannot install via recovery:
You get a status 0 error -> replace the update-binary in Seeder_v6.zip with one from another zip that works with your device
OR
Use the new installation method!
Instructions:
1. Download Seeder_v6_non-CWM.zip from here: http://www.androidfilehost.com/?fid=9390248398092764098
2. Extract the zip, you will get a folder named "install"
3. Place the folder in the root of your sdcard (/sdcard)
4. Launch terminal emulator, type:
Code:
su
cd /sdcard/install
sh install.sh
5. Ignore any error messages (those are only warnings, only happens to current users)
6. You are done! The script will auto-delete the "install" folder as it is not required anymore...
Sample output:
NOTE: Please quote this post if you want to answer someone's question or share it elsewhere, so that people can get sufficient info and repeated answers do not have to be posted...thank you...
Click to expand...
Click to collapse
Personally, it installs for me, but I'm unable to get the init.d stuff to install (no support for this on Asus' stock rom). When running the terminal command line to monitor it, I get total values of 3000-4000. I'm not actually sure if it made a difference in my TFP performance.
What are your guys' experience?
Running aw1.5, I don't seem to find any difference in performance whilst the app is running it seems to drain battery life regardless of the screen being off or on, causes my prime to heat up overnight, causing 20-30% drainage
There's a simpler way to get the effects of the application. Bring up a terminal, and do something like:
cd /dev
mv random random.bak
ln -s urandom random
This will have the same effect - apps trying to read from /dev/random will get data from /dev/urandom instead - but it doesn't require any extra CPU time or kernel mods or anything. It does require root, but so does the original app.
Note 1: You may have to do this again if you reboot, or else add the above commands to a startup script. I'm not sure how the /dev directory is typically managed on Android.
Note 2: This (or the Seeder app) will degrade network security somewhat. Things like SSL depend on high-quality, unpredictable random numbers. The /dev/random interface guarantees these, but can be slow. The /dev/urandom interface doesn't guarantee cryptographically secure random numbers. If you do this, it's probably best not to use your table for, say, banking transactions, shopping, or other operations where you'd be in real trouble if people were snooping on your network connections.
That said, the odds of a cryptographic hack are, so far as I can see, fairly low. In general, attacks on Android would tend to be malicious trojan apps or such. But you should be aware of the risk.
I don't know yet if this change makes a real difference. I did it on my original Droid, but haven't evaluated it for long enough to be sure of anything. My TPrime isn't rooted (yet) so I can't implement it there.
sorceror171 said:
There's a simpler way to get the effects of the application. Bring up a terminal, and do something like:
cd /dev
mv random random.bak
ln -s urandom random
This will have the same effect - apps trying to read from /dev/random will get data from /dev/urandom instead - but it doesn't require any extra CPU time or kernel mods or anything. It does require root, but so does the original app.
Note 1: You may have to do this again if you reboot, or else add the above commands to a startup script. I'm not sure how the /dev directory is typically managed on Android.
Note 2: This (or the Seeder app) will degrade network security somewhat. Things like SSL depend on high-quality, unpredictable random numbers. The /dev/random interface guarantees these, but can be slow. The /dev/urandom interface doesn't guarantee cryptographically secure random numbers. If you do this, it's probably best not to use your table for, say, banking transactions, shopping, or other operations where you'd be in real trouble if people were snooping on your network connections.
That said, the odds of a cryptographic hack are, so far as I can see, fairly low. In general, attacks on Android would tend to be malicious trojan apps or such. But you should be aware of the risk.
I don't know yet if this change makes a real difference. I did it on my original Droid, but haven't evaluated it for long enough to be sure of anything. My TPrime isn't rooted (yet) so I can't implement it there.
Click to expand...
Click to collapse
This amazes me! A knowledgeable person who hasn't rooted their Prime?!?! Good god man!
seeknom said:
This amazes me! A knowledgeable person who hasn't rooted their Prime?!?! Good god man!
Click to expand...
Click to collapse
Mine's working well enough for me (haven't had the horrible problems others report, just occasional ANRs on the browser), and I want to retain warranty coverage just in case. Plus, I have other hack targets like a Raspberry Pi and such. Once the warranty expires, I will certainly unlock and play around with it.
---------- Post added at 12:29 PM ---------- Previous post was at 11:34 AM ----------
Update: see the Google developer thread here: https://code.google.com/p/android/issues/detail?id=42265
The symlink trick may not work on versions of Android past Gingerbread, except on some specific applications (Google Maps appears to be one). Looks like the Dalvik VM on Android doesn't read from /dev/random itself; but some of its operations may end up calling get_random_bytes() in the kernel. So seeding the entropy pool would be necessary in that case, and the symlink trick doesn't do that.
I actually ended up disabling it again and I didn't notice any change in performance. Didn't seem to do anything for me.
Sent from my HTC One X using xda app-developers app
Can you please add another option to your poll: "DON'T KNOW/CAN'T TELL"?
I'm running it on my Prime and my Note 2 with what seems to be at least a slight increase in responsiveness. The Note 2 is dang snappy by itself, and I'm running Energy on my Prime, which is a lot smoother than stock. I would be interested to see how it works with older, laggier devices. I may boot up an old handset and see how it works on there.
Sent from my Transformer Prime TF201 using xda app-developers app
It's working for me, my prime used to have that annoying 2-3 seconds lag when returning to Apex Launcher from apps (even with HB 1.5), but that's almost 90% gone with Seeder running. Not to mention my Gallery loads much faster
placebo.
It works on my M600 Zio quite well. On my Prime, I can't truly say. It seems a little more responsive but I've never really had lag on the Prime unless I was writing large files to the internal storage and trying to do something else at the same time (rarely ever happens anymore with clemsyn's kernel).
i prefer crossbreader. the rng they us is a bit more efficient, and it comes with a couple more mods. i havent used on my prime but i have noticed measurable improvements on my note 2 (i multi task a LOT of apps a LOT of the time). for now its only a cwm install and uninstall zip, but they plan on making an installation apk soon. another benefit of this is that it doesnt run every 5 seconds like seeder does. this one is set to 30, and still maintains entropy levels of 3700-4096, hovering mainly at the 4000 mark (at least for me and many users)
http://forum.xda-developers.com/showthread.php?t=2113150
thanks, a great tool.
does it really work
enkyll said:
does it really work
Click to expand...
Click to collapse
give it a try your self, no harm in trying~

Question Fake Explorer

Greetings and salutations my fellow developers. I come to you today with what is a tremendous thorn in my side. I am running a debloated win 10 enterprise with an AMD Ryzen 3 processor with integrated grapics. Looking at my task manager one day I noticed a program named explorer.exe that wasn't really that. I used all the anti-virus Anti-Malware programs I know. Nothing. So then I web searched and found hope. Alas, even the specific problem solving procedures didn't work. Even reinstalling windows, after a few wipes from Gparted did nada. Registry check , Sheila, eset, all nothing. Everytime I launch a program or do a restart, there it is. It's effecting everything. I've even wiped my 5tb external and lost a LOT. Nope, still there. Here's the thing: it shows up in the themes folder Everytime. If I delete that folder, we'll, bad. But I can't count how many times I've scanned my whole PC. Ugh. Please help, I use my computer for music production and I'm very stressed about this. Any thoughts? Thanks again my friends, I trust you all.
How about some linux CD to boot and then scanning it?
https://www.lifewire.com/free-bootable-antivirus-tools-2625785
But I am not up to date which one to use (before I switched to linux I used usually Kaspersky)... Also sysinternal could be helpful in investigating:
https://docs.microsoft.com/en-us/sysinternals/downloads/sysinternals-suite
PS: Did you ever scan that particular program/file in virustotal? Perhaps it is supposed to be like that I mean how to do you conclude it's bad?
SigmundDroid said:
How about some linux CD to boot and then scanning it?
https://www.lifewire.com/free-bootable-antivirus-tools-2625785
But I am not up to date which one to use (before I switched to linux I used usually Kaspersky)... Also sysinternal could be helpful in investigating:
https://docs.microsoft.com/en-us/sysinternals/downloads/sysinternals-suite
Click to expand...
Click to collapse
Cool. I'll give that a try. So Kaspersky has a linux variant?
I have Ubuntu installed in wsl. Not sure if I can somehow align the planets and do it from there.
Well, basically you just burn an ISO onto a CD (thus you can be sure it's unchanged) and then boot it and scan your machine. And (at least back then) Kaspersky came with a nice big list of virus signatures.
Just so I know. What's virus total? And I'm positive it shouldn't be there. Everytime I open an executable, it creates an exact replica of it from whatever folder I launch it in. Only difference is its an exe.tmp. I'll try your advice when I reach home and let you know what I come up with. Humblest thanks..
VT is basically all scanners in one:
https://en.wikipedia.org/wiki/VirusTotal
U went with the Kaspersky iso and it took all night but I've finally got my computer back. I thank you kind sir for your time and knowledge.
Rularick5 said:
finally got my computer back
Click to expand...
Click to collapse
Whoa, good news! Glad to hear that!
I'd still wonder about the source of your troubles. Have you been able to find any pointers (logfile)? For example, those tools like kaspersky put such nasty files in a special folder (aka quarantine) for further inspection...
Well what I did was completly scan every file one each drive. It seems I downloaded an infected third party theme. Hence, the reason why it chose there to populate. Honestly I've never dealt with viruses so it scared me. I didn't pay attention to that but I have a laptop that it somehow jumped to. Once I do that one I'll attach photos.
Hi, glad you sorted this. After reading your 1st post, I had a thought it might be a win 11 update, that had got blocked somehow and kept duplicating itself.
Thankfully it was just a virus. Win 11 would have caused you far more pain with far more serious damage
cleverdicky said:
Thankfully it was just a virus. Win 11 would have caused you far more pain with far more serious damage
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Geeeeeee! Good one, sir! That should be added as eternal fortune cookie:
http://www.fortune.levillage.org/cookies.php

Categories

Resources