yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] elfaure:
Another user had the identical problem. No matter what he did, it would not work in SManager. In these rare cases its very nice that there are multiple ways to load it.

Clarification: Did you change the name of my script to install-recovery.sh and put it in /etc or did you put my script in /etc/init.d and use the busybox run-parts trick on install-recovery.sh in /etc? The (latter) full init.d method is better. See this post.

Important:

The script name can NOT have any dots or any file extension if put in init.d

[**This post explains how to get init.d functionality from a stock ROM or any ROM that doesn't provide native support thru its init.rc**]

http://xdaforums.com/showthread.php?t=2191777
[Asus Transformer TF700] elfaure:
In consideration of code portability, minimum requirements and maximum flexibility I am thinking of removing the -f option currently used in the rm line for this script. So I want to change it to "rm -r...". Line should still work without force to remove the cache files.

Reason being is that the 4.1.1 rm binary in /system/bin (Android stock rm binary) does not support the -f option. The stock rm binary in 4.2.1 does. It should also run on previous Android versions. Busybox should not be a requirement to run this script.

Does this sound like a good idea for the time being or am I missing something?
[Asus Transformer TF700] becomingx:
Agreed.

Agreed.

Definitely agree here. :good:

Yup, sounds good!

P.S. After studying the code for a bit I thought about the possibility of having more than one Firefox profile directory. I've tweaked things a little to handle this and in the process got rid of some unnecessary precautionary checks (after investigating, it's impossible to trigger these). Code is below if you want to adopt it.

P.P.S. After previewing the post, it seems there's a bug in the forum's programming. There's a hyphen after the ampersand on the first line, but it doesn't show up in the "code" window. If you use the code, make sure to add it back.

for FIREFOX_CACHE_DIR in $(ls -d /data/data/org.mozilla.firefox/files/mozilla/*.default/Cache 2>&-); do
if [ ! -z "$FIREFOX_CACHE_DIR" ] && [ -d $FIREFOX_CACHE_DIR ]; then
umount $FIREFOX_CACHE_DIR 2>&-
rm -r $FIREFOX_CACHE_DIR/* 2>&-
mount -t tmpfs -o size=50m firefox_cache $FIREFOX_CACHE_DIR
fi
done
[Asus Transformer TF700] elfaure:
Please clarify: Like this?

if [ ! -z "$FIREFOX_CACHE_DIR" ] &&- [ -d $FIREFOX_CACHE_DIR ]; then

Good eye!!!

If this is true, that is unacceptable and needs to be fixed right away. How can the XDA post code block function be flawed? This is a primary method of communication on this forum. I'm sure many people cut n paste code from these blocks every day here. This could be a *HUGE* problem then.

[Edit] Not sure if this is related in any way to this issue or not, but I have now received two email post notifications from XDA with hyperlinks back to your replies and the links were invalid. Out of all users I have received replies from this has only happened with yours, but not all of yours. But URLs seemed formatted correctly making reference to the same # and p post number. When I went to the forum manually and compared the two URLs, they seemed identical and I couldn't understand why they didn't work. So I already reported this to XDA. Maybe something on your device is injecting hidden characters into your text strings or XDA has a glitch in your user profile definition?

Its got to be an isolated problem from your device end. Strange how your "2>&-" doesn't have any problems?

With nearly 5K hits on this post, if there were multiple FF cache directories happening I think we would have heard something about it by now. Either that or no one uses FF? Good thinking just in case but its probably not necessary.

Personally I think you just took out all the "test for equality" statements so I have no more examples to use from our previous discussions in "Duplicate Binaries". I think you and [MENTION=4878287]_that[/MENTION] are ganging up on me. :rolleyes: :cyclops:
[Asus Transformer TF700] elfaure:
[Edit] TEST TEST TEST

[MENTION=2446267]becomingx[/MENTION] I tried to duplicate your post (less the quoted entries which do not map to the reply) and added the hyphen after the ampersand and it stuck. Added all [Edit] after test.

Agreed.

Agreed.

Definitely agree here. :good:

Yup, sounds good!

P.S. After studying the code for a bit I thought about the possibility of having more than one Firefox profile directory. I've tweaked things a little to handle this and in the process got rid of some unnecessary precautionary checks (after investigating, it's impossible to trigger these). Code is below if you want to adopt it.

P.P.S. After previewing the post, it seems there's a bug in the forum's programming. There's a hyphen after the ampersand on the second line, but it doesn't show up in the "code" window. If you use the code, make sure to add it back.

[Edit] TEST TEST TEST

for FIREFOX_CACHE_DIR in $(ls -d /data/data/org.mozilla.firefox/files/mozilla/*.default/Cache 2>&-); do
if [ ! -z "$FIREFOX_CACHE_DIR" ] &&- [ -d $FIREFOX_CACHE_DIR ]; then
umount $FIREFOX_CACHE_DIR 2>&-
rm -r $FIREFOX_CACHE_DIR/* 2>&-
mount -t tmpfs -o size=50m firefox_cache $FIREFOX_CACHE_DIR
fi
done

*******************************************************

Test: All Special Characters, Body, Code, Quote

~@#$%^&*()_+`-={}|[]\:";'<>?,.

[Edit/Std]

~@#$%^&*()_+`-={}|[]\:";'<>?,.

~@#$%^&*()_+`-={}|[]\:";'<>?,.

[Edit/Adv + Add spaces Std]

~@#$%^ & *()_+`-={}|[ ]\:";'<>?,.

~@#$ %^ & *()_+`-={ }| []\: ";' <> ?,.

Play with _that's finding

&-)

Same as above, with spaces:

& - )

*******************************

&:)

Same as above, with spaces:

& : - )

about:flags
[Asus Transformer TF700] _that:
The hyphen is missing in the *first* line. Testing "Disable smilies in text" - didn't work. The hyphen is not displayed, but it's still in the posting text and appears when editing or replying.

&-)

Same as above, with spaces:

& - )
[Asus Transformer TF700] shaggydiamond:
error in script manager

Hey guys,

I'm trying to install this script, I removed the txt extension and put it on sdcard.

I open the script with SM and tap the SU and BOOT icon, but when I press run it gives me errors.

I also tried the optional sh extension delete.

here's a screenshot, anyone knows what i am doing wrong?

Edit: tried the second method

I did the method explained in page 12 where you rename the script to install-recovery and put it in system/etc

Is there a way to see if the script is running?
[Asus Transformer TF700] elfaure:
On 4.2 needs to be run at boot only but run ONCE just like you did. Now just reboot.

**********************************************************************************************************

Back again. My BT keyboard died so I couldn't type much on the soft keyboard (hate it).

Hey [MENTION=4878287]_that[/MENTION], when you get a chance can you look at the post below's SM output screen. I'm NOT on 4.2 so I can't comment but that looks like more than just not running it at boot errors. Echo errors? Do loop error? &1 overlapping &2 std streams output is bizarre?
[Asus Transformer TF700] ronniereiff:
Thanks for making this! good to know i can try different browsers knowing i got the benefits of b2ram :good:
[Asus Transformer TF700] elfaure:
Thanks! It was a community effort. I couldn't have done this without all the grey matter support here on XDA.
[Asus Transformer TF700] elfaure:
Needs review

[MENTION=4878287]_that[/MENTION] #171/170
[Asus Transformer TF700] _that:
I can't provide end user support for your script or for ScriptManager. Find out what the error message means and fix it. :)
[Asus Transformer TF700] shaggydiamond:
is there a way to check is browser2ram script is running ?
[Asus Transformer TF700] becomingx:
Calm down! :) For the moment, all we know is that it's just for those three characters in that particular sequence. Probably hasn't affected too many people.

Weird. No idea about why it's happening though.

Yeah, it's probably not really necessary. However, since you're looking to make the script feature complete and move on, I figured it couldn't hurt to cover all bases.

lol. They were unnecessary and, frankly, cluttering up the code.

---------- Post added at 06:31 AM ---------- Previous post was at 06:20 AM ----------

Thanks for catching my typo!

Thought of and tried that as well. I'm pretty sure it's in that ballpark though...

If one tries to post the smiley: colon-hyphen-closing-parenthesis, the forum will strip out the hyphen from it. I'm guessing that it's doing that when it displays it, but since it's in a "code" block, it doesn't strip it from the actual underlying text. :shrug:

---------- Post added at 07:07 AM ---------- Previous post was at 06:31 AM ----------

I think I know what it is. Whatever method you used to download it probably messed up the line-endings. Try right-clicking (or tap-holding if on the tablet) on the attachment link and choose to save it. This hopefully will preserve the line-endings.

[MENTION=4197304]elfaure[/MENTION]: You may want to consider changing the attachment type from `txt' to `img' to force it to be treated as a binary file rather than a text one. This will keep the line-endings from getting mangled. See posts here, here, and ultimately here for when I had to deal with this.

Open a terminal emulator window and type the command below. If the script worked there should be one or more lines containing the names of the browsers you have installed.

mount | grep tmpfs
[Asus Transformer TF700] elfaure:
[MENTION=2446267]becomingx[/MENTION]

I added value to your new code. The hyphen after & is still masked but not missing from the first line. No matter how hard you try to shorten it, it will still stick out like a sore thumb by the time I'm done with it. :)

for FIREFOX_CACHE_DIR in $(ls -d /data/data/org.mozilla.firefox/files/mozilla/*.default/Cache 2>&-); do
if [ ! -z "$FIREFOX_CACHE_DIR" ] && [ -d $FIREFOX_CACHE_DIR ] && [ mountpoint != "$FIREFOX_CACHE_DIR" ]; then
umount $FIREFOX_CACHE_DIR 2>&-
rm -r $FIREFOX_CACHE_DIR/* 2>&-
mount -t tmpfs -o size=50m firefox_cache $FIREFOX_CACHE_DIR
fi
done
[Asus Transformer TF700] elfaure:
Fsync?

Flush RAM cache to disk periodically and load disk cached data to RAM cache on script execution? Take it to the next level?

I've been wondering if I could use fsync or conv=fsync or dd in conjuction with these commands to effectively flush the RAM cache to disk. It would be a benefit it the browser cache data could be written to disk periodically and then loaded back up to RAM during the next script run. That way all your previously cached pages would be immediately available without having to re-cache the same data. I was thinking of the disk cache being like a bucket of water with a full level sensor and an automatic drain valve at the bottom, and once it filled up to the same size as the tmpfs size of the RAM cache, the full level sensor would signal the drain valve to drain old cache data out the bottom thus allowing for new cache data to fill from the top. Since the intention is to load this data back up to RAM, it wouldn't make sense to make it any larger than the tmpfs. A fixed matching (or preferably smaller so there is still room to play; say 80% of tmpfs) size FIFO disk cache paired with each RAM cache for each browser. To minimize IO impact, only write to disk during browser-idle times? With a full busybox, I believe the commands are available to do this but unfortunately with my limited experience and skills I can only conceive of but can't construct this concept. Does this make good performance sense and if so what is the best way to construct the script code algorithm to preform this operation? Or would this better be handled thru a native daemon? Or is the effort vs. the reward not practical for this script? Comments and brainstorms welcome!
[T-Mobile Samsung Galaxy Note II] tek_curious_1:
I just updated my hulu plus this morning, and to my surprise it started working again! No more "error 91" message. It simply worked. I'm currently running jedi master 13 rom and everything is almost perfect. If I could get allcast share working again, then I would be, as they say, in hog heaven.I hope this helps those who have suffered at the hands of the dreaded error 91 message.
[Verizon Samsung Galaxy Note II] ThiSidUp:
Rooted with Casual and all worked fine. Shortly thereafter I began to have an issue with "Insufficient Storage" even though internal mem had over 5Gig open and I had 25Gig on my SD. So, I did a factory wipe and restore. Seemed to go fine, but when it opened for setting up for the first time the signal indicator showed no signal, even though I usually have 4 bars here in my living room. After a few minutes of searching for a signal it said that it was unable to connect and gave a phone number to call from another phone to activate . . . but the message didn't stay there long enough to copy the number.

Anyhow . . . it followed thru to the home screen without activating. Still indicates no signal. Sees my wireless network here at the house but says it has too weak of a signal and won't get an IP . . . that's ridiculous . . . there's enough signal to reach laptops across the street!

Now when I try to activate it tells me to insert a SIM card. So, it appears it isn't recognizing my SIM.

I hope that's an understandable explanation. My phone is useless at the moment. Any help would be greatly appreciated!
[Verizon Samsung Galaxy Note II] ThiSidUp:
More Info

Sorry . . Should have said I'm using a Verizon Note 2 . .
[Verizon Samsung Galaxy Note II] shangrila500:
Maybe you should try using Odin to flash back to conplete stock, that would be my best guess at fixing it. Unkess you used the dialer code to update the APNs, if you did that then you will have to get a new SIM card. It orobabky wouldn't hurt you to get a new SIM card and make sure that isnt the issue.

Actually now that I reread your comment I found a piece I misread. You HAVE to call Big Red and get then to activate that SIM card for your number. Just dial customer service and tell them your problem
[Optimus One, P500, V Q&A, Help & Troubleshooting] akshay thakare:
Hello..!

I am using cyanogen mod 7.2 .But whenever I am going to install temple run 2 it shows incompatible device .Can I not play temple run 2 on my optimus?

Also I read that armv6 devices cannot run temple run.Was that right?

If you know how install this game then please guide me
[Optimus One, P500, V Q&A, Help & Troubleshooting] pmvyas:
Check here.... http://xdaforums.com/showthread.php?t=1612738

Sent from my LG-P500
[Galaxy S 4 Q&A, Help & Troubleshooting] Crozar:
im switching to the s4 , from the s3 , this is my uncles concern for hes data , he is wondering if the Whatsapp history messages , and SMS / MMS / and hes saved passwords for twitter , instagram , so he doesnt have to login , some he cant remember & contacts & pictures

is their an app for this ?

with blackberry this is done easily through blackberry link , the exact logs / history of my blackberry messenger is transfered , its as if my device transformed itself like a transformer to a better model in software and looks , but the data of everything is intact by its history of my first device.
[Galaxy S 4 Q&A, Help & Troubleshooting] damador:
yes in samsung store there is free app for transfering all from one galaxy device to another

samsung smart switch mobile

but personally i prefer titanium backup and go backup pro for any android device
[One (M7) Q&A, Help & Troubleshooting] robbin7:
Is it any way to do this ?

I don't have to use home replacement or to make new theme - just to change app icons on Sense 5 Rosie drawer
[One (M7) Q&A, Help & Troubleshooting] jerrycoffman45:
You have to open your app drawer and you can drag and drop from there
[One (M7) Q&A, Help & Troubleshooting] robbin7:
Thanks but can see that my question is not clear enough ;)

How to replace f.e. typical phone icon to a silver one ?

It doesn't work the way you explained - can change app but can't change the icon only this way
[One (M7) Q&A, Help & Troubleshooting] Shree.bhagwat:
Hi

Greetings

Search for some mods about icon in theme sector might you can get what u want
[One (M7) Q&A, Help & Troubleshooting] jerrycoffman45:
that i dont know normally i would use a app to change icons but you cant do that with sense 5
[Samsung Epic 4G Touch] Chillyz12:
can anyone tell me which apk adds the microphone to the keyboard for voice to text? Running Stock deodexed GB27
[Samsung Epic 4G Touch] Chillyz12:
Looks like VELVET.APK was the culprit.

For those who are interested the velvet.apk offers Voice to text services. it will work in the place of vlingo once SamsungTTS.apk and voice_talk_U1.apk have been removed.. IY will also work much better. however Vlingo did have a prettier gui.
[MDA II, XDA II, 2060 ROM Development] Tekflow:
You may try KSE Truefax latest version (2.08 Pocket PC Phone)
[MDA II, XDA II, 2060 ROM Development] slaven:
Thank you for your advise, but I have already tried that one. After downloading, I get message that is not valid software for my device. Any other possibility?
[MDA II, XDA II, 2060 ROM Development] Tekflow:
I had the same problem. But today I downloaded the latest version from their site...and it worked!!

I have an i-mate 1.72.
[MDA II, XDA II, 2060 ROM Development] slaven:
I have tried today, too, but result was the same. Can you give me exact link from which you downloaded it succesfully?
[MDA II, XDA II, 2060 ROM Development] Mosser:
Did you actually send or recieve a fax?, I ask because i have just installed the latest version and whilst it installs no problem, i cannot select the modem in the xda2 because it isnt in the lists options ?
[MDA II, XDA II, 2060 ROM Development] Tekflow:
You have to install the latest 2.08 version for XDA II, from the website www.ksesoftware.com

It is the last one on the list.

Now, to be honest, since yesterday I've been trying to send faxes (not receive). I don't know why, but sometimes it succeeds and sometimes (more), it hangs.

By the way, you don't have to make any settings for the modem in this version, because it is already fixed to internal moden on XDA II.
[MDA II, XDA II, 2060 ROM Development] Motard69:
KSE fax software works only with some ROM vers. I'm sure... this software doesn't work with 1.66. Maybe works with 1.72....

Bye, M.
[MDA II, XDA II, 2060 ROM Development] bzkat:
My experience in TrueFax is my Mobile provider boarded the transmission of fax. Thus, I can't get and sent fax unless I paid them for the fax service.
[MDA II, XDA II, 2060 ROM Development] slaven:
Few days ago, I`ve bought that software (Truefax 2.0 Phone Edition II). I have installed it successfully and start sending faxes with no problems, but even I have special fax number from my provider, cannot receive faxes. It starts well (screen: "waiting for incoming call", then "answer"), you can hear the "fax signal" from the other`s fax speaker, but at that moment transfer is stopped and "no carrier detected" is displayed.

I wrote about this problem to 'support@ksesoftware.com' and now waiting for their respond. Anybody have a solution?
[Galaxy S III Q&A, Help & Troubleshooting] James Cortez671:
turns on and everything but its just a black blank screen need help... im in guam... so IDK the region firmware

step by step tutorial ASAP please

:crying:
[Galaxy S III Q&A, Help & Troubleshooting] JJEgan:
ASAP = service centre .

step by step tutorial ASAP please = Read the Faqs and Guides .

jje
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] AnMotass:
Well, some time ago (Like 3 days) i've installed Pure Vainilla v4. So, when i let my charger plugged in the night and in midnight i turn a bit the screen. The battery starts to drain very fast :$

Without any use and the stats go crazy .-. Any ideas?

View attachment 1953771

The strange thing is that, when i wake up in the morning and i disconnect the charger, before i do it, the battery icon shows 100 and the fully charged notification is there but when i disconnect the charger, the battery drops to 40 in the stats, i plugged the charger again so now it is charging normally. But, i'm pretty sure it will happen again.

Edit: I plugged it and it seemed to be working fine but still discharging D:
[LG Optimus 3D] GlossGhost:
Hello,

I want some pretty serious and knowledgeable guys here.

Can a Class 10 card with the highest read and writes and swap partition run Beach Buggy Blitz without lag, like the S III does and some other RAM hungry games.
[LG Optimus 3D] Dr. Mario:
I would say yes, but then it's an ultimate SD card killer. If you are using CM10 or its descendant / derivatives; go to settings > Performance > Memory Management > zRAM and choose the amount to be compressed. You may also want to use Kernel Same-page Memory compression and asset purgeable settings, try them if it solves the problems also. You can also monitor the compcache using ZRAM Status app from Play Store.

There is some Swappable apps, I will find them and link to here.
[LG Optimus 3D] GlossGhost:
Okay so I have done some testing with my Class 6 SD Card and the results are impressive.

If I set swappiness to 100 and change the read ahead for the SD to 128 KB on CM10, Beach Buggy Blitz and MC4 run like a charm with no lag. I can even access the multitasking window without problem and change my volume without lag. Also MC4 runs faster than ever.

I will be going to use it like this until my SD Card dies.
[LG Optimus 3D] Dr. Mario:
Great. Also, if you use UHS-1 card, that would be handled a bit better due to TRIM. And, don't forget you can size the swap cache partition - up to the maximum of 32-bit physical address, in this case, up to 3 GB EXT2/4 swap, if you want to.
[General Questions and Answers] vikas_agrawal:
I have tried flashing my phone with Odex JB Sense 4+ ROM but I have got an error called "Signature Varification Failed"!

What Shoud i do ??
[General Questions and Answers] Ronny927:
You need a custom recovery.

CWM will do. But because CWM is not available to the HTC Explorer, Ill show you CWM. Just download the file, install the downloaded zip file in recovery, and it will boot you to another recovery. In that recovery (CWM recovery) Signature Verification is automatically disabled. So you can choose anything you want to flash (Only if the file has no error).

In link choose HTC PICO:

Link: http://clockworkmod.com/rommanager

Be sure to click that THANK button!
[Galaxy Note II Q&A, Help & Troubleshooting] florian83260:
Hello everybody !

First of all, i'm french so sorry for mistakes!

I've intalled Jellybam ROM recently and i would like to have some informations.

- Is it possible to have multiwindow and s-voice in AOSP ROM ? What shall i do ?

- How to "clean" my phone ? (Delete every folders in order to start as a first boot). Must I flash an official rom on ODIN and root again the rom after ?

Thank you for all of your advices !! =)
[Galaxy Note II Q&A, Help & Troubleshooting] Primokorn:
Hi

No MW and no S-Voice on this kind of ROM. The framework isn't the same. We have to wait PA Halo release to try this kind of feature.

You can use this tool to format all your internal memory: http://xdaforums.com/showthread.php?t=1983489

Warning: your phone won't boot so you'll need to flash another custom rom (zip fil to be located in your external sd card).
[Galaxy Note II Q&A, Help & Troubleshooting] florian83260:
So actualy any solution existing to have multiwindow, How long must we wait ?

Thx for all !
[Galaxy Note II Q&A, Help & Troubleshooting] aukhan:
May be one of the reasons I dont flash aosp eoms coz they miss out on features like spen etc .
[Galaxy Note II Q&A, Help & Troubleshooting] Primokorn:
We loose some features but we obtain new features too.

The choice depends on our needs and wishes only.

Concerning HALO feature, some phones (like the Nexus 4) have this option right now but I think Halo is still under development for the moment.
[Sony Xperia S, Acro S, Ion] Androidians:
many tools are not updated and I ask that the developers are paying attention to consumers xperia acro s even just a little , thx for all developers :o
[Sony Xperia S, Acro S, Ion] Vaith:
I don't know how to comment this... post? O.o