yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] famewolf:
[MENTION=5146220]defiant07[/MENTION]

Interesting comment from NYLimited regarding the hd2...our rom uses a feature called "DataonEXT" which mounts the ENTIRE /data on an ext4 partition....that being the case if you specify /data your swapfile ends up inside the ext4 partition....the advantage of this as your documentation indicates is the fat32 partition can be mounted via usb mass storage without messing anything up.

I'll probably take the time to rebuild the swapfile that way as opposed to current external sd method.

I mention it because if other people have sd-ext partitions the swapfile might be of more use there if doable. ie Do you want to create the swapfile in (A)/data, (B)external sd or (C)sd-ext partition.
[Android Software/Hacking General [Developers Only]] Lefteris Fragiadakis (Frago):
After install the script from terminal I reboot wipe cache-dalvik cache and reboit ,then immediately my rom lags like hell,then I install again the v5.zip then install it from terminal with the same setting and reboot wipe the same and excellent again so I don't know where is the bug
[Android Software/Hacking General [Developers Only]] coolprateek.kumar:
Don't know why it gives function not implemented
[Android Software/Hacking General [Developers Only]] famewolf:
Try installing the latest version of busybox.
[Android Software/Hacking General [Developers Only]] coolprateek.kumar:
I already have
[Android Software/Hacking General [Developers Only]] defiant07:
Interesting indeed...never thought of that benefit of /data, but it makes sense. But it is not that hard to turn off swap, especially with the switch swap scripts I provide.

I'm sure that is doable, but I lack the information/knowledge (I'd need to see the output from the mount command from various devices with sd-ext partitions so I could adapt the storage detection method)...I would set one up an test what I could, but I use the vold.fstab switch trick and a second partition screws that up.

Also I think there are other swap scripts designed for partitions...never really spent much time looking at the code of those...maybe I'll do some research this evening when I get home and see what I can ascertain.

BTW - what's up with rom toolbox and your minfrees???
[Android Software/Hacking General [Developers Only]] defiant07:
Hmm given that the downgrade to v5 solves the problem it must be the stuff I added to the init.d script to make it bootloop proof.

You're gunna have to stick with v5...but don't worry if you have run v7 in the past and have not deleted the switch swap scripts it created you actually have all the functionality of v7, but with the v5 base and init.d scripts...do su -c swap30 and you should find it works, which means you essentially have all the benefits of v7.

I had this issue with a previous user...read pages 5 and 6 of the thread. That error is kernel related. For whatever reason your kernel thinks it has swap as indicated by it passing the tests in the beginning of the script, but 'swapon' and 'swapoff' are not properly implemented on the kernel level. If you could post the output from cat /process/cpuinfo it may help me come up with a better compatibility test.

But ultimately the solution is to flash a new rom/kernel that properly implements swap.
[Android Software/Hacking General [Developers Only]] famewolf:
Well it looks to me like the swapon command is what it is saying is not implemented..what happens when you run swapon /sdcard/swapfile in an adb shell or terminal on the phone? What version of busybox do you have? 1.21 is what I am running.

---------- Post added at 06:09 PM ---------- Previous post was at 06:06 PM ----------

Sitting idle...screen off....

total used free shared buffers

Mem: 420248 399892 20356 0 1900

-/+ buffers: 397992 22256

Swap: 524280 280580 243700

Trust me on this...when you are using 300 to 400mb of swap and you type swapoff it is NOT fast. I waited 5 minutes and then rebooted the phone to get the swap empty...then ran the command....I was watching swap via free and it was trickling down when swapoff was running first time...would have taken an hour at the speed it was going.

As for rom toolbox...hasn't been a high priority for me since the phone is working ok with the minfree's it has.
[Android Software/Hacking General [Developers Only]] coolprateek.kumar:
Here is my cpu info

How to check busybox version?
[Android Software/Hacking General [Developers Only]] NYLimited:
Unless you are looking to add an option for a swap partition (which will not likely improve performance) the simplest way is to ask if you want the file in internal (will always point to /data) or external (points to sd card, fat32, if available) storage. ;)
[Android Software/Hacking General [Developers Only]] defiant07:
I think its you're device/rom that produces such high used swap, but I could be wrong...still though I will wait for others to report similar cases before revising my recommendation...wish I could track down article where I found that info I based the recommendation on, the author made a convincing case and seemed knowledgeable.

===edit===

It many not be fast, but that sounds really slow. Using around a 100mb swap it only takes my device like 15-30 seconds to turn off swap.

IMO the best solution is wireless adb or file transfer apps (because who really needs or wants cords?). Then you only really need to connect via usb if it's a huge file and the speed difference really matters.

Umm...thanks...but I asked for cat /

process

/cpuinfo ...NOT cat /proc/cpuinfo.

You can try changing busybox, but I am 99.99999999999% sure its your kernel.

You can check busybox version by simply typing busybox in terminal...it will even tell you all the applets contained in the version and you can check if you have swapon and swapoff. If they are there then that pretty much closes the door on your kernel's coffin.
[Android Software/Hacking General [Developers Only]] defiant07:
Yeah, very true. It already does the /data vs. sdcard option :).

I think famewolf was suggesting a partition option for users who already have an existing ext-sd swap partition, but for whatever reason wanted to use this script.
[Android Software/Hacking General [Developers Only]] famewolf:
From a terminal command line type "swapon" with no arguments...you should get something like this in reply:

root@android:/ # swapon

BusyBox v1.21.1-jb bionic (2013-07-01 01:04 +0200) multi-call binary.

Usage: swapon [-a] [DEVICE]

Start swapping on DEVICE

-a Start swapping on all swap devices

Version in first line.....there are other ways but that's first one that came to me.

---------- Post added at 11:03 PM ---------- Previous post was at 10:56 PM ----------

Can't blame the rom I don't think....NYLimited runs the same device/rom and I think he had less swap usage....my htc inspire which has a little more memory is not using ANY swap while idle...but the hd2 is....then again I have about 200 apps installed on the hd2...I have greenified them....killed any autostarts...basically anything I can think of to beat the apps into submission. ;)
[Android Software/Hacking General [Developers Only]] NYLimited:
So, what am I doing wrong? Same device, rom and kernel as famewolf. I allocated 512 MB but have only used about 40mb..

Can we try this again? You don't sound very sure of yourself. ;)

Are you really prepared to do that? You will likely have to mount the partition just to make sure it exists because people will inevitably pick the wrong choice and blame you...

Yes, nearly the same. I have about 247 apps, but I run a number of them (like Google voice, reminder apps, Kaiten mail...) and generally have only about 100 MB (or less) free ram.

I do use aggressive minfree settings though...

---

Which is worse: ignorance or apathy? Who knows? Who cares?
[Android Software/Hacking General [Developers Only]] famewolf:
You should check your minfree in rom toolbox....mine had changed and would NOT let me change it in rom toolbox...see the screenshot in an earlier post.
[Android Software/Hacking General [Developers Only]] NYLimited:
I can't find your screenshot on a quick look but no matter.

You need to remove the 99_* file from init.d - it sets the minfree values on each boot and makes the file write protected.

---

Which is worse: ignorance or apathy? Who knows? Who cares?
[Android Software/Hacking General [Developers Only]] famewolf:
I originally looked at the wrong device but removed the 99_lowmemorykiller....I forgot this got restored when we upgraded from 2.3 to 2.4.....I also removed dragon mobile assistant and the ivona tts voices/driver to free up memory...will see what it does.
[Android Software/Hacking General [Developers Only]] coolprateek.kumar:
I have busybox 1.20
[Android Software/Hacking General [Developers Only]] defiant07:
That would appear to be the case.

I also previously asked you if you tweaked swap related settings and you said 'no, only minfrees via rom toolbox.' Now seeing that you have other init.d tweaks, I bet one of them messes with pressure or dirty or something and this is the cause of your abnormally high usage.

I don't think you're doing anything wrong...is that 40 mb figure when more or less idle? I bet if hard gaming or extreme multitasking you'd get figures around 150-170.

Nope, I'm not at all prepared to do that, but I'll do some poking around...mostly out of curiosity...no real intents at this point in time.

Aggressive minfrees will actually cause more swap to be use...higher minfree >> more stuff that would normally be killed >> more swap usage.

Look in those scripts I bet one of them has tweaks that effect swap...or zip them up and attach them.
[Android Software/Hacking General [Developers Only]] NYLimited:
Perhaps you removed the file already. Now go and check

/sys/module/lowmemorykiller/parameters/minfree

and make sure it has write permissions... ;)

---

Which is worse: ignorance or apathy? Who knows? Who cares?
[Android Software/Hacking General [Developers Only]] famewolf:
I was able to reset it to aggressive preset. I'm currently rebuilding my swapfile in /data. I blame you. ^--^
[Android Software/Hacking General [Developers Only]] NYLimited:
A little doubletalk?

[offtopic] Now you sound like my wife! [/offtopic]

---

Which is worse: ignorance or apathy? Who knows? Who cares?
[Android Software/Hacking General [Developers Only]] coolprateek.kumar:
There was no process directory in my phone.
[Android Software/Hacking General [Developers Only]] defiant07:
thanks for the info.
[Android Software/Hacking General [Developers Only]] coolprateek.kumar:
How do i make it work now?
[Android Software/Hacking General [Developers Only]] famewolf:
He already told you.

"You can try changing busybox, but I am 99.99999999999% sure its your kernel."

Either get a different kernel or use a different rom that supports swap correctly.
[Android Software/Hacking General [Developers Only]] coolprateek.kumar:
We don't have custom kernel for our device... The stock has swap and shows this
[Android Software/Hacking General [Developers Only]] defiant07:
Yeah, I have known you're kernel thinks it has swap from your first post...the test at the beginning of the script searches the output of cat /proc/cpuinfo for 'eature' and 'swp'/'swap'.

Again, although your kernel thinks it can swap, it is actually a flop :p...without an alternative you are SOL...sorry :crying:.

That night shade rom is custom ain't it? Talk to your chef, Prateek, he probably forgot to enable something before he compiled the kernel.
[Android Software/Hacking General [Developers Only]] NYLimited:
Rhymin' Simon, eh?

Did you just install a

new app

to play with? :D :laugh::D
[Android Software/Hacking General [Developers Only]] defiant07:
wtf how did you know :confused:??? stop hacking my google account :mad:!!!

==========================================================

Could people please test this series of commands for me:

su
tram=`dmesg | grep Memory | awk '/Total|Detected/{print $6}'`
echo $tram

It took me hours to come up with this code :silly: and I am hoping it is a universal way of getting total ram (i.e. everything, not just what is accessible)...I am especially interested in devices with a gb of ram or more (hoping it gives value in mb).

Why am I doing this? I am hoping to add optional tweaks for dirty_ratio, dirty_background_ratio, and vfs_cache_pressure and the values for these properties will be based on total ram (i.e. the output from this command).

Or if anybody knows a less retarded way of getting total ram please let me know.

===EDIT===

NVM FAIL
[Samsung Epic 4G Touch] schneidz:
Has anyone tried using a galaxy as a video game console using something like onlive ? I connect my fone to my TV using mhl.

What controllers work well ? Is it possible to do usb-otg and mhl at the same time ?
[Samsung Epic 4G Touch] Mattix724:
USB OTG does not work on the Sprint Galaxy S2. That, NFC, and the radios are the only major differences between the E4GT and the international S2.
[Transformer TF300T Themes and Apps] UndeadKonvict:
While searching for a way to do what it says in the title of this thread, I ended up bumping into this app called Flash Gordon. It allows you to flash anything (Except for a custom rom) through the app itself and DOES NOT require a custom recovery. This is perfect for those that got their tabs RMA'd like myself and anybody else with a locked bootloader. I'm not really sure if this will actually work with us though, so I was wondering if anybody is willing to test it out. I would love to try it out myself, but I wouldn't want to end up with an unrecoverable tablet yet again, IF something happens that is. The link for it can be found right here: http://xdaforums.com/showthread.php?t=2250555
[Transformer TF300T Themes and Apps] phil_man:
:cool:
[Verizon Samsung Galaxy S 4] Delicate Donut:
Hi all! Just wanted to share these neat little mods I found that are working perfectly with my phone(on Clean ROM 1.5r2 Deodex) I have flashed all of them and so far no issues, the one I currently have is the red rings, see screenshot. You can go to the thread here and check them out!http://xdaforums.com/showthread.php?t=2321170
[Verizon Samsung Galaxy S 4] PunchY^2:
Nice screenshot, especially like the red circle on what looks like Sasuke in the background, I may have to use the blue flames vs circles one with a little Naruto backdrop!
[Verizon Samsung Galaxy S 4] Delicate Donut:
Haya yes! It's Itachi though.
[Verizon Samsung Galaxy S 4] mugenfa5:
thanks for posting.. Goes perfect with my lockscreen
[Verizon Samsung Galaxy S 4] Delicate Donut:
That looks pretty damn good.
[Verizon Samsung Galaxy S 4] jpnestel:
Awesome
[Verizon Samsung Galaxy S 4] jpnestel:
Can someone tell me where the lens flare unlock sound is? I found the lock sound in /system/media/audio/ui... But I can't seem to find unlock?
[Verizon Samsung Galaxy S 4] Thebear j koss:
Framework-res.apk raw folder. Believe it's named down.ogg

Thebe@r'$ G@L@XY
[Verizon Samsung Galaxy S 4] jpnestel:
Great. Thank you!
[Verizon Samsung Galaxy S 4] TheAtheistReverend:
Has anyone tried installing this on a rooted ME7?

Would I be able to just extract the framework-res.apk in root explorer, replace the files with the ones in the update zip, then somehow re-zip/apk compress the file and replace the original? I have a sneeking suspicion that I'm missing something.
[Verizon Samsung Galaxy S 4] biglil1:
Try this: Link
[Verizon Samsung Galaxy S 4] Inkedadrenaline:
Confirmed working with Eclipse 2.0 mdk tw rom.

Blue circles goes perfect with aosp ice cream blue themed rom!
[Galaxy S III Themes and Apps] wyemun:
Hey people,

I would like to introduce a small interest project I'm working on right now, the Playbarter

This app is best for whoever frequently posting on trading forum to trade in-game items like equipment in Team Fortress 2, skin in Dota 2 and etc.

It's a snap & post app for virtual item listing which you want to trade for. You can post in any game items as long as the game

allows exchange of virtual items. Please note that it is system barter or giveaway, no selling of in game item pls!

Head towards the link below to try it now, it's free to use and what so ever (I'm not making money out of it, buy me a beer perhaps?)

https://play.google.com/store/apps/details?id=com.playbarter.playbarter

Some screenshots:

FEEDBACK IS WELCOMED!
[Galaxy S III Themes and Apps] Erahgon:
This is really interesting stuff! Thanks!

Maybe you should ask a mod to move this to the more general "Android Apps/Games" section which would get you a wider audience!

Sent from my GT-I9300
[Galaxy S III Themes and Apps] wyemun:
Thanks for the support, so far it is not really getting adequate exposure anywhere.

So I'm just trying my luck posting it here :P
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] Painkiller7:
Hey guys, so I'm pretty new to the whole rooting/rom thing. Previously on my Evo 4G I had a friend help me with rooting and flashing a rom, but that was 3 years ago when I got the phone. Earlier this week I bought the GS4 for Sprint. Rooted it without a problem, installed Team Win Recovery Project on it and ROM Manager from the Play store.

So I was checking out some Roms on the forum and decided to give the Premium Rom ( http://xdaforums.com/showthread.php?t=2334462 ) a wirl. I did a backup of the stock, wiped it and flashed the PR. Now... I am not familiar with how to bench mark my phone and see if the new Rom is indeed making my phone faster and sucking up less juice then it needs. But I did notice the Sprint and Samsung bloatware was still there, and now I even have Verizon stuff installed like "My Verizon Mobile".

Did anyone else try this rom? Did you have the same outcome? or did I do something wrong?

Is there an app that you guys use to bench mark your phones and to view if there are unwanted processes running in the background?
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] Painkiller7:
I think I know where I went wrong... I did not wipe cache... only system data/factory reset. Installing ForceROM now seems to be going smooth now... I'll have to revisit Premium Rom later on
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] daniel4653:
Benchmarks dont matter. I have stock run at about 12000 on quadrant and when I install a ROM that is faster such as Blu Kaban I score about 10000.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] Painkiller7:
Yeah I noticed that... after I flashed ForceROM I benched it with AnTuTu and I'm slower then stock HTC One!

Shouldn't I be even faster then the stock Galaxy S4 since the ForceROM is cleaned up and doesn't have almost 600 MB of bloat junk on it?!
[HTC Sensation] Thumbstar:
Hi everyone,

I'm currently trying to fix an HTC Sensation for a friend. The original problem was a faulty charge port. I tried replacing the port via heat swap but ended up burning the board. So, I changed the whole motherboard. After assembling everything back, I connect a USB charger and eventually the a green LED light shows. I then hold down the power button and let go, I only a get brief vibration and that's it - no display. I connect to my desktop PC and under Device Manager it detects it as a general HTC device.

I asked my friend if the LCD had any issues before, she said it was fine. I also checked the connections between the board and LCD, reseated many times.

Could anyone give me any other possible issues before I consider swapping the LCD assembly?

Thanks.
[HTC Sensation] rzr86:
did you try to enter into bootloader?

remove battery reinsert it

press + hold power button and volume down until it gets you to the bootloader screen

after that choose fastboot->reboot
[Desire HD Q&A, Help & Troubleshooting] Lavi26jan:
I have unlocked bootloader by htc dev method.I am running viper 2.0 rom.As I am a flashoholic,I love to try every new rom.But as U Know The device is s-on.I need to flash the boot.img via fastboot.All was going well, but soon my adb has started to stuck at sending boot screen.It shows my device in fastboot devices command,but dont know why it then stucks on sending boot screen.

So I want to know that is there a way to fix it or there is an easy way to s-off my unlocked bootloader.

Plz help , Thanks in Advance.
[Desire HD Q&A, Help & Troubleshooting] aljazirrr:
try to get a new USB cable and be sure that you have installed all you need in your PC

And for knowing is wrong thread ,try to move this on Desire HD General thread
[Desire HD Q&A, Help & Troubleshooting] ILA:
Btw, wrong section to post this...
[Desire HD Q&A, Help & Troubleshooting] wildstang83:
I've had to take time and move your thread to the proper subforum. Please be considerate of where you post your question.
[MDA III, XDA III, PDA2k, 9090 General] NikKorda:
I have updated my PDA2K with the latest 3900 BT software but caller ID 'NAMES' are not displayed on my Sony Ericcson Akono 660 Blue Tooth Headset, only numbers.

I know that names are displayed when it is linked with a Sony Ericcson phone.

Does anybody have any ideas.
[MDA III, XDA III, PDA2k, 9090 General] TheNinjaMan:
I have the Jabra BT800, which has exactly the same problem. When I bought it the chap told me the reason it only shows Numbers instead of names is something to do with the fact that mt QTEK 9090 reports itseld as a PDA instead of a phone. Not quite sure if this makes sense, but it displays names on almost every phone I have tried but not on any PDA phones. I tried it with my friends HP 6315 PDA phone and got exactly the same problem. Hope this helps.
[MDA III, XDA III, PDA2k, 9090 General] ed207_us:
Bluetooth Profiles

I have the Jabra BT800 and the Sony Ericson HBH-200

Both are designed to show the FULL name from the phone. The HBH-200 is even designed to make phone calls by synching up with the phones list of numbers/names. The BT800 can make phone calls (EVEN WITH THE XDAIII), but only from its own internal list of numbers that it catches from the PDA during operation.

The XDAIII is not able to do this since it only supports the headset part of the profile, and not very at that.

The bottom line is that M$ and PDA Phone makers have an awfull lot of catch up work to do before we ever get a system that actually works as well as regular cell phones paired with headsets.
[MDA III, XDA III, PDA2k, 9090 General] Riceburner:
Re: Bluetooth Profiles

Which of those two headsets would you recommend with the Blue Angel?? I'm looking at the moment and the Caller-Id and select new call from the headset functions look pretty useful.
[MDA III, XDA III, PDA2k, 9090 General] ed207_us:
The Jabra BT800 is not very reliable at all when it comes to the Caller ID. It only sometimes comes up and that is around the 3rd ring anyways.

The HBH-200 is a LOT more reliable at showing the phone number.

As for making calls, only the BT800 has ever made a call. However, it relies on the Caller ID that shows up in its lists. Since that is not very reliable, and does not show the name, I would not classify it as a usefull feature.

All things considered, I would take the BT800. It has much higher sound/mic quality and much longer talk time.