yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] NapalmDawn:
Hi Sb. Can we skip right to 5.4 without having to patch 5.3a? IE- 5.3>5.4 not 5.3>5.3A>5.4

Looking forward to getting home tonight and flashing 5.4 and the color mods.
[Asus Transformer TF700] berndblb:
What you are missing is GravityBox in Xposed. That's where the close all button came from - it never was part of the rom.

---------- Post added at 07:59 AM ---------- Previous post was at 07:59 AM ----------

Yes :)
[Asus Transformer TF700] calvinb1:
I don't believe we ever had a close all button out of the box. That functionality is provided by the Xposed / Gravity box framework.
[Asus Transformer TF700] tiernan22:
On a side note, I fell on love with the kill app functionality in Cromi Control. I never had any issue with it and had to give it up with this release. There's a kill function in Gravitybox as well.
[Asus Transformer TF700] NapalmDawn:
Thanks Bern!
[Asus Transformer TF700] Ozark_8125:
FWIW I tried it on my kids' memopad 7 hd and it did not restore data very well - it was hit and miss on a few apps. At least gave me a reason to root and install tibu on their tabs.
[Asus Transformer TF700] sbdags:
I don't know. Nandroid backup, try it and see. If it boot loops which is likely, just restore your backup.

I made changes to the framework to remove cromi-contol. So if DM expects it back it may loop.
[Asus Transformer TF700] LetMeKnow:
Oh well, I should not make a statement that I don't know much about, hahaha....:D I did research about 4 months ago on the entropy available on the tf700. However, there was nothing on our device. I found a lot of discussions on different devices. In short, many developers said that Android with OS after ICS is no longer using random but instead using urandom. I searched our device and could not find any urandom at all except for the random. So I assumed that our tf700 is still using random generator which I think that it is more secured comparing with urandom any way...:) The purpose of the random available is to generate the cryptography keys and our device setting for read and write for the random are very low, 32bits for read and 128bits for write that I believed. The random available is less than 200 bits available... In my theory, lets assume that we exhausted the random available and it needs to refill. It takes a long time to generate the new random numbers that it needed.. So if your CPU is running with a normal tasks and added an extra task to generate more random available at the same time. It is definitely added more loads to the CPU resource...:) I believed that what I want to say.. Moreover, I don't see any draw back to have more random available reserve if we need it..:) That is my side of the story. I like to hear your valuable inputs and opinions on this topic so I can learn from you...:good:

BTW, I read the random.c and it is away over my head. Do you know if our device copy and restore the available entropy when it is rebooted. According to my testing, it is starting to build up the available entropy from ground up again. I think that in the random.c mentioned something that we can create a backup and restore on the reboot..

[MENTION=4849931]lucius.zen[/MENTION]

I think that it should be the other way. The Cromi v5.4 has more available entropy for uses...:)

Thanks,

LMK
[Asus Transformer TF700] _that:
I see only urandom in use:

root@android:/ # ls /dev/*random*
/dev/random
/dev/urandom
root@android:/ # lsof|grep random
zygote 138 root 22 ??? ??? ??? ??? /dev/urandom
keystore 142 keystore 3 ??? ??? ??? ??? /dev/urandom
system_se 509 system 22 ??? ??? ??? ??? /dev/urandom
com.andro 780 u0_a149 22 ??? ??? ??? ??? /dev/urandom
....

Of course it would be possible for an app to open /dev/random for only the time it needs to generate a key, so the above doesn't prove that random is never used. But it shows that urandom is kept open by all apps. :)

root@android:/ # cat /proc/sys/kernel/random/read_wakeup_threshold
64
root@android:/ # cat /proc/sys/kernel/random/write_wakeup_threshold
128

These defaults are in the kernel source code.

Generating random numbers from urandom is always fast, even if entropy_avail is zero. Only reading from /dev/random actually waits for enough entropy to be available (and waiting is not CPU intensive, it simply schedules other processes to run), and only those programs that do so are affected by tweaking the wakeup thresholds. All normal Android apps use urandom, so they don't care.

It shouldn't hurt to increase the limits (at least if you stay below 2000 or so), but I doubt that you'll see any benefits.

You don't need to understand all the source code (I don't), but the "Theory of operation" comment should be helpful even if you don't know C.

And I haven't seen any mechanism in Android to preserve entropy across reboots. Most likely it doesn't matter.
[Asus Transformer TF700] LetMeKnow:
Thanks for the information. I can barely remember what I searched a few months ago. Lets see how much I can digest from your information..;)
[Asus Transformer TF700] jtrosky:
Hmm, I just noticed that my "global" spell checking is no longer working since I upgraded to 5.4 (at lest I think that's when it quit working).

Can anyone else confirm?

Thank you!
[Asus Transformer TF700] axel06:
DH Millennium NOT compatible with ver 5.4

DH Millennium NOT compatible with ver 5.4
[Asus Transformer TF700] Essentrix:
Thx for the info mate.
[Asus Transformer TF700] toolmanz:
Battery Indicator Stats

A quick question - has anyone had any problems with your battery indicator? Mine is at 100% for both dock and tab and I have used it quite a bit today. :confused:

Just can't get it to drop below 100% no matter how much I use it - seems a little odd - never happened before. :(

TIA
[Asus Transformer TF700] loner.:
Yes I have the same thing going on with my tablet. (No dock though)
[Asus Transformer TF700] LetMeKnow:
I don't have a dock but my tablet's battery status is functioned as expected. It drops down slowly and shuts off when it reaches zero...:) Just want to share...;)
[Asus Transformer TF700] nomad10002:
I fully charged my tablet with and w/o a dock and discharged them and it showed the right percentage during discharge. Im also using ctm that sbdags modded to work with 5.4
[Asus Transformer TF700] Alitheia:
Thanks guys! I uninstalled xposed, so that explains a lot haha I forgot that I was using it.
[Asus Transformer TF700] NonoWeber:
Running 4.5, the battery life is hugely improved. I was previously charging daily, but am now @ 83% after 25 hours of the usual stuff, not including games though!

Stock install, no mods, no tweaks and nothing installed I don't need. Thanks to the devs.

NanoWeber
[Asus Transformer TF700] jtrosky:
Is anyone else having problems with the global Anroid spell-check feature (where it underlines mis-spelled words in any app)? It's no longer working for me with 5.4. It's driving me crazy - I've become *very* dependent on it!! :)

I may have to revert to 5.3 - just curious if it's just me or if it's a 5.4 issue...

Thanks.
[Asus Transformer TF700] sbdags:
I didn't remove it in the changes. Do you have all the dictionary files installed. Spell checker turned on in the keyboard settings?
[Asus Transformer TF700] berndblb:
I'm experiencing a beautiful little bootloop after flashing 5.4.

It has happened twice now after waking the tablet from an extended deep sleep period (overnight). Yesterday morning I was not fast enough to boot the PC, find the cable etc and it had sorted itself out by the time I was ready for a logcat. It ran fine all day, rebooting did not reproduce the loop.

This morning I was a little faster ;) logcat and dmesg logs are attached, last_kmsg was empty

I dirty flashed 5.4 over 5.3.a

Chose _thatv8 (with default oc)

my ususal options: fsync off, force gpu rendering

no rom2sd/data2sd/cache2sd mods

On initial install I flashed CMT green theme right after flashing 5.4, then didn't like it anymore and flashed the white theme a little later. Did not have any problems at that point but did not use the tab much after flashing.

The next morning it started to loop right after waking it.

The logs are mostly greek to me :eek: but I'm sure you guys can make sense of them.

I'm going to wait for your comments before reflashing - in case you want me to run it again :cyclops:
[Asus Transformer TF700] jtrosky:
Happens to me quite often - it seems that the battery level gets mis-calibrated. Here is a procedure I use to re-sync it (provided to me by @veiwsonica):

1. charge up 100%

2. use it for 30 mins or a hour (still 100% maybe?)

3. shut down,cold boot start

4. after restart, delete batterystats.bin (root required),do nothing then just shut down the machine.

5. leave it off for a hour or two.

6. cold boot start the machine
[Asus Transformer TF700] sbdags:
I am aware that with ctm installed if you plug in the dock the device reboots. I don't have a dock so can't test. Can some one confirm which version odex or deodex and which options of ctm it happens on please as well as post a copy of the /proc/last_kmsg after the reboot. Ta!
[Asus Transformer TF700] sbdags:
Need the last_kmsg after the reboot mate ;) The issue seems to be with ctm and the dock. I think ctm uses an incompatible transformer.apk file. Are you using odex or deodex?

You logcat indicates that the dockmanager service is crashing and that the battery icons are not configure correctly so it's definitely an issue with CTM. I suspect I used the wrong transformer.apk somewhere.

Looks like you are using deodex as well. Which CTM theme did you choose?
[Asus Transformer TF700] berndblb:
You're dead on as usual. I booted the tablet, it started to loop, disconnected it from the dock and it booted fine on the next loop.

CROMi-X is deodex,

I flashed the green theme first, then the white theme, Asus soft keys in white and the blue battery circles - none of the other options.

When I run

adb shell cat /proc/last_kmsg > last_kmsg.txt

The resulting file only says: no such file or directory :confused::confused:
[Asus Transformer TF700] sbdags:
Strange. Right on the way to work but as you are technically minded ;) can you try this for me. Assume you have CTM installed for this test.

Whilst undocked copy the transformer.apk from the cromi-x zip from the /tweak/nosd/app folder and put it into /system/app with permissions rw-r--r--

reboot, then connect the dock. Is the problem solved?

Next try the same but this time the cromi-x zip /system/app transformer.apk

Any differences? Does CTM still work?
[Asus Transformer TF700] berndblb:
Happy to oblige, dear Sir

Seems to be. Tablet booted > connect it to dock > no bootloop, CMT is working but "dock connected" notification is showing

Booted with the dock attached - no problems

Dang! It's inconclusive. I was expecting it to loop with the the apk from CROMi-X system/app, but it doesn't. No loop, CMT is working fine.

I'll let it go to deep sleep and try connecting then - that's when it happened this morning.

I'll let you know if and when I can reproduce it. Thanks Darren
[Asus Transformer TF700] jtrosky:
Hmm, it seems that one of the options that I didn't select during the initial 5.4 install actually removed the spell check functionality... At this point, I'm *guessing* that it was because I didn't install the Keyboard Manager (I don't mess with the keyboards, so I figured that I didn't need it)? I re-installed without de-selecting any of the keyboard stuff and all is well again. Before re-installing, I didn't even have the "Spell Checker" option in the Settings->Language & Input screen (it wasn't there at all).

After re-installing, the "Spell Checker" option showed up again and all is well. If you really want me to, I can mess with the install options and see if I can re-produce the scenario where the "Spell Checker" option went missing - let me know.

Thank you, [MENTION=518363]sbdags[/MENTION]!
[Asus Transformer TF700] kansasboy001:
There is another entropy called frandom, it is better then either urandom or random, it just needs support in the kernel.
[Asus Transformer TF700] LetMeKnow:
Thanks for the information...;)

LOL, I am still trying to understand the advantages and disadvantages of those entropy for our tf700. Now you are introducing another entropy to me...:crying: Can you be kind explaining what are the differences, advantages, and disadvantages of those three entropy so we all have a better understanding between them...:) Thanks in advance...
[Asus Transformer TF700] toolmanz:
Hey jtrosky - you da man! Did the fix as you suggested and I am now down to 88% on the tab and 99% on the dock! :D

Problem solved!!

Thanks
[Asus Transformer TF700] Artimis:
This happens over time if your don't ever completely shutdown your tablet. To fix, shut it down completely and let it sit untouched for at least 15 min......should re-calibrate properly on the next boot.

To avoid this, I regularly shut mine down once a week and let it sit for 15 min before plugging it back in to charge overnight. Problem hasn't happened since I started doing this.

Hope this helps.
[Asus Transformer TF700] _that:
frandom is a random number generator - entropy is what a random number generator uses.
[Asus Transformer TF700] lucius.zen:
frandom is apparently a more efficient random number generator, it is used in the CrossBreeder mod, check out the CB thread for more info.

I got Hunds to compile the frandom module so I could try it out for v1.9 of his kernel (this was a while ago). I gave it a try and didn't really notice any difference in performance. Since all this talk of entropy the last few days I managed to dig the old module off of a really old microSD and tried loading it with the new kernel. It wouldnt load properly bc its too old but I could send it to you if you like. I considered getting it updated but I never really noticed any improvement when using it in the first place, but if you want to recompile it and try it out again that would be sweet.

I have done some entropy and performance tests over the past few days and found some interesting results. Really busy with school right now so I don't have time to report but ill be in touch soon.

Update - quick look at results:

Entropy Generation (best to worst - measured with Android Tuner):

1) Cromi-X 5.3a + CrossBreeder / Cromi-X 5.4 (read @ 128 write @ 256) + CrossBreeder

2) Cromi-X 5.4 + CrossBreeder

3) Cromi-X 5.4

4) Cromi-X 5.3a

Performance (best to worst - actual use and quadrant score):

1)Cromi-X 5.4 (read @ 128 write @ 256) + CrossBreeder

2) Cromi-X 5.3a + CrossBreeder

3) Cromi-X 5.4 + CrossBreeder

4) Cromi-X 5.4

5) Cromi-X 5.3a

---------- Post added at 02:40 PM ---------- Previous post was at 02:28 PM ----------

I am using CTM with the odex version and haven't gotten any reboots brought about the dock.

The only bug I have is com.asus.keyboard crashing whenever the dock browser button is pressed. Not the end of the world, I just disabled it for now, would be nice to get it back.

I discovered a nice dock keyboard function when looking for potential functions to remap to the dock browser button. The function APP_SWITCH invokes the recent apps menu. Really nice function. I dig having a button for home, back, recent apps, searcch and menu. Got all the bases covered now. I can pretty much do everything with kb shortcuts, its super fast.
[Asus Transformer TF700] LetMeKnow:
The improvement on the entropy is only a subjective matter because there is no hard evidences to back it up....:) However, if you are testing it now, you should test it on games. You could choose a game that it has a slow frame rate in transitions and should see a smoother in transitions before and after.... Please report back what you are going to find out. Thanks in advance...;)
[Asus Transformer TF700] drewski_1:
what key is the APP_SWITCH?
[Asus Transformer TF700] lucius.zen:
There is no APP_SWITCH button, it is a latent function that has support in the system but isnt mapped to any button. I realized the multitasking/expose button on apple BT keyboards might be mapped to some function targeting the recent apps menu. Found the configuration file for apple BT kbs and lo and behold the multitasking button was mapped to the function APP_SWITCH. Remapped the auto brightnesss button on the dock to APP_SWITCH and voila, recent apps menu :). See my guide to optimization for dock keyboard button remapping instructions.

---------- Post added at 03:03 PM ---------- Previous post was at 03:01 PM ----------

You can get hard evidence with Android Tuner. You can monitor entropy in real time. Check previous post for quick description of results.
[Asus Transformer TF700] kansasboy001:
Here is some more hard evidence.

http://xdaforums.com/showpost.php?p=37409586
[Asus Transformer TF700] sbdags:
Those of you with the reboot problem with CTM and the dock can you test this patch for me please. I have flashed it but as I don't have a dock anymore I can't test if it has worked or not - although [MENTION=4968172]berndblb[/MENTION] has confirmed that it does work.

Note if it does work then I can update CTM so we can theme it again. This should be the version that has no dock indicator.

Let me know please. :fingers-crossed:

http://www.androidfilehost.com/?fid=23329332407574386
[Asus Transformer TF700] berndblb:
I flashed this on top of the manual fix from this morning, didn't wipe anything. CMT works, dock notification is gone and so far no bootloop.

Thank you kindly, as always!
[Asus Transformer TF700] sbdags:
Hey I made 10,000 thanks!! Thanks! ;)

I was hoping something magical would happen ;) But apparently not. lol Just the meter is full.....
[Asus Transformer TF700] berndblb:
Congrats! And well deserved!

But no fireworks? No parade? Come on XDA - show some love here!
[Asus Transformer TF700] LetMeKnow:
Do you mean "All out of love" by Air Supply? LOL ;)

[MENTION=518363]sbdags[/MENTION]

Congrats mate! :laugh:
[Asus Transformer TF700] sbdags:
Another user reported the problem with the browser button. He appears to have remapped it using cromi-control (although I don't remember that option being available). Can you confirm the same please as his logcat indicates this is the start of the issue with a warning first and then errors later.

[MENTION=2675647]elesbb[/MENTION] - any ideas which file is mapping the browser button. I checked the transformer.apk but can't see any references to cromi control (and I shouldn't as I removed them)
[Asus Transformer TF700] elesbb:
Keyboard.apk sir :) Btw, have you gotten any other work for me? Were'nt we gonna try Cromi control as an xposed module?
[Asus Transformer TF700] berndblb:
Well I can confirm that pushing the browser button on the keyboard triggers the 'Asus keyboard has stopped' notification - though I doubt that it did since I'm typing this on the keyboard and the Asus keyboard is my default for the hardware keyboard...
[Asus Transformer TF700] sbdags:
Yes you were :p :) Right keyboard.apk - damn you never told me about that one ;) Patch on the way folks lol.

[MENTION=2675647]elesbb[/MENTION] - how about the volume mod and browser key mod as a starter for xposed? I am missing both from my patches right now.
[Asus Transformer TF700] Hal Seaman:
Updated 25-FEB

I installed 5.4 over 5.2.4 and tried again to run the Dead Trigger2 (DT2) app but still got the same message at startup: “Can‘t access data files on external SD”. At that point I surmised that the problem might have something to do with DT2 not being granted access to the data on internal storage cache & dalvick. The app was originally installed under 5.2.4. so every time I reverted back from 5.3a to 5.2.4 DT2 had no prob accessing the data. The error msg only appeared after an upgrade to 5.3 or 5.4 . This time I went into Settings, Apps, DT2, and deleted the data cache and dalvick BEFORE deleting the DT2 app. Without deleting the caches BEFORE deleting the app the caches were left behind to cause a conflict the next time DT2 was installed. Then I went to the Playstore and re-installed DT2. When the app started up this time I began to get about 7 popups from Xposed: “Do you want to grant access to DT2?” After clicking Y on each one, the app was able to access the data files. I Never had a permissions problem with Xposed from one upgrade to the next before this. Wonder why now? If anyone can shed any light on this anomaly I would appreciate it. Anyway I’m finally on 5.4 which is awesome btw! Thanx Sbdags for this amazing ROM and everyone else for your support.:D
[Asus Transformer TF700] sbdags:
Sounds odd. Why would Xposed need to grant permissions to an app?? Dodgy? Capture a logcat so we can see what is going on please.
[Asus Transformer TF700] elesbb:
Let me finish up my 4.4.2 KitKat ROM on my S4 and I will get to work right away. Plus i have to download your latest ROM :)
[Asus Transformer TF700] sbdags:
Right patch for the Browser Button on the Keyboard force closing. ;)

Flash from recovery as normal.

http://www.androidfilehost.com/?fid=23329332407574402
[Asus Transformer TF700] WinoOutWest:
install failing - on CM11 nightly

I am trying to move to Chromi-x after not being happy with the CM11 nightlies I have been trying.

When I try to install the TWRP and the bootloader i am getting the following error in CWM:

installing update...

assert failed: Write_raw_image("/data/media/blob", "staging")

E:Error in /data/media/0/Chromi-x/TF700_10.6.1.14.10_US_Boot_TWRP_2910_Signed.zip

(Status 7)

Installation aborted

Is there something else I need to do/undo because I am coming from a CM11 nightly?
[Asus Transformer TF700] kansasboy001:
Wipe data/ factory reset. Also try re downloading the rom
[Asus Transformer TF700] sbdags:
Some users report this issue and I never got to the bottom of why.... Can you provide the recovery log after the unsuccessful flash please. However if you are on CM11 then you already have a compatible recovery and bootloader so wipe data and then flash the rom and it will work ;)
[Asus Transformer TF700] lucius.zen:
You are the man! love having that shortcut back.
[Asus Transformer TF700] sbdags:
Yes :) Now we need [MENTION=2675647]elesbb[/MENTION] to show us how to remap it ;) I think he made a stand-a-lone mod somewhere?
[Asus Transformer TF700] kansasboy001:
I have been using cm11 on my tf700 for about 3 months now, it works great, once get the asus keyboard on it that opens up almost all of the dock functionality, then get the asus weather widget, and battery widget, and some day scene wallpaper and you have pretty darn close to stock functionality. CM11 even has the performance profile switcher, once you put the icon in quick settings!! With a little tweaking, setting the I/O to row and using crossbreeder, and lagfix the tablet will get quadrant scores of about 5700

as for the gapps, use pa gapps they are always up to date.
[Asus Transformer TF700] sbdags:
Yeah but I'm still finding it incredibly laggy in comparison. I know benchmarks are not great to compare with but you can easily get 7000+ on cromi-x, with lucius hitting 8000. I think we are spoilt by fsync off, rom2sd, optimized kernels and other tweaks. None of which I could get working on CM11.
[Asus Transformer TF700] lucius.zen:
I like how it opens the stock browser, wouldnt want it any other way. I am a happy camper :)
[Asus Transformer TF700] kansasboy001:
The optimised kernels and fsync off could be done if _that and hund got on board. bryce09 has made some good cm kernels in the past. rom 2sd would just take support from _that. Cm based CROMI could get to be just as good of performance as cromi is now if the other developers got on board. Making a move to cm, and staying with the extreme performance that cromi is know form would take more developers than just one. I think that if you moved to cm11, _that and hund would follow.

ps. I don't know if my tablet has better memory or what, but my internal memory is faster that my class 10 sandisk extreme sd card.
[Asus Transformer TF700] WinoOutWest:
Awesome.

I'm on it! (Cromi-x that is!)

Thanks for the quick response!

-Darren