yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] natabbotts:
That would worsen performance - why would you want to do that? The point of the swap file is to cache application data likely to be reused, after you switch apps. Wiping that data means android needs to reload the entire app from memory, instead of from swap.

Also, stop using task killing apps, they won't speed up your phone. Any app that isn't the foreground app isn't using any processor time, unless it's a service or a background process - in which case killing it won't help as it will just reload. If your phone is too slow, uninstall some background apps or overclock.

Further, freeing up RAM doesn't help either - you only need enough free ram to load *one app* and the android kernel manages that for you by killing off old apps to ensure there's enough ram for a new app. Having 100MB free ram is effectively having 100MB ram that isn't being used, but wasted.

Most task killers run in the background and take up processor time - uninstalling them will potentially boost performance.

TL;DR Free swap and free ram are wasted space, don't use task killers, and don't wipe swap.
[G2 and Desire Z Android Development] Steven How:
Ermmmm...yea I know..I don't really use task manager anyway,I only use it against problematic app..and I'm asking coz my dz lag when the swap space have over 100000+ of kb (is it)? I have Sd swap of 245mb, and 96mb data swap...swappiness at 40.. minfree is incredibly high,I refer to the Sd ram hack from sensation..6,12,175,200,250,300...but I reduce it to 6,12,125,200,250,300 (I know it's insanely high,my dz won't run smooth if the ram is below 100mb..)my vm heapsize is 88..
[G2 and Desire Z Android Development] demkantor:
my suggestion is to drop the sd swap, the 96mb should be more than enough and it is much faster swap being its on your internal memory on the much slower sd. personally i rarely use swap at all, but occasionally roms i try out absolutely need swap, since nik3r came out with data swap i find i use it a bit more and it is alot nicer than sd swap.

just think about how swap works for a moment and then think about how you use your phone, i cant imagine you needing more than the 96mb of data swap unless you need to have every app on your phone open at once. my guess is after you repartition your sdcard your phone will improve drastically
[G2 and Desire Z Android Development] natabbotts:
I would agree, drop SD Swap, it'll slow your phone to hell :) Swap is meant to act as extra ram, the sd card is way way too slow to support anything like that.
[G2 and Desire Z Android Development] Steven How:
Class 10 Sd card is stil slow?? I will try it out later :rolleyes:
[G2 and Desire Z Android Development] natabbotts:
Even class 10 is incredibly slow compared to ram :) I have a class ten UHS 1 card and sd swap is useless with it :)
[G2 and Desire Z Android Development] Steven How:
Ok then,I will try tomorrow and let u guys know >~<
[G2 and Desire Z Android Development] Steven How:
It seems..using data swap is much faster,but when playing games pile real racing 2...it lags terribly..I hope there is bigger data swap partition..like maybe 200mb?? Lol u may say I'm crazy but..this rom is kinda heavy..lol.anyway thx :)
[G2 and Desire Z Android Development] natabbotts:
Swap doesn't improve game performance, it improves app loading time - that's all it does. If you want to improve performance, overclock, or get a new phone :)

Jellybean will bring a few performance improvements so it's worth holding out to see how that goes - angry birds, which used to be slow on this phone for me, runs really well on the test builds.
[G2 and Desire Z Android Development] Steven How:
Ic..guess wat? After activating 128mb data swap,it work much better, faster..but I prefer rom with sense,if there is sense rom with jellybean..trust me,I'm in the line of waiting then XD lol..thx man :) but using data swap only won't it like degrade the swap overtime while activating Sd swap will lengthen the time taken for it to degrade right? :confused:
[G2 and Desire Z Android Development] natabbotts:
SD Swap won't improve performance, it will only worsen it - it's a fundamentally bad idea. Swap itself doesn't degrade, but there is a small risk of degrading the phone's emmc chip (built in storage). Using a smaller swap file, and having it moved during boot, both minimise this.
[G2 and Desire Z Android Development] Steven How:
So..I change the data swapfile to be 200..wat I can say is..brilliant..really fast even with 512 unleaded supercharge >~<:rolleyes:
[G2 and Desire Z Android Development] rirozizo:
Confirming SD-Swap, Data Swap, and SD-ext working on MildWild CM ROM
[G2 and Desire Z Android Development] impactor:
I tried installing that on MIUI XJ rom (GB-based) on my HTC Desire (I have about 190mb free on /data) and it did not take any effect.

I also tried it on MIUI JB-based rom. Same result.

After aroma installation, I still get:

free
total used free shared buffers
Mem: 416092 355412 60680 0 4156
-/+ buffers: 351256 64836
Swap: 0 0 0

In JB rom mount points look like this:

# busybox df -hm
Filesystem Size Used Available Use% Mounted on
tmpfs 202.2M 48.0K 202.2M 0% /dev
tmpfs 202.2M 0 202.2M 0% /mnt/asec
tmpfs 202.2M 0 202.2M 0% /mnt/obb
/dev/block/mtdblock3 210.0M 207.9M 2.1M 99% /system
/dev/block/mtdblock5 222.6M 146.4M 76.2M 66% /data
/dev/block/mtdblock4 5.0M 792.0K 4.2M 15% /cache
/dev/block/mmcblk0p2 484.3M 20.0K 484.3M 0% /sd-ext
/dev/block/vold/179:1
14.1G 8.2G 5.9G 58% /storage/sdcard0
/dev/block/vold/179:1
14.1G 8.2G 5.9G 58% /mnt/secure/asec
[G2 and Desire Z Android Development] Matze5800:
Works fine on jellybelly, thanks :)

Gesendet von meinem HTC Vision mit Tapatalk 2
[G2 and Desire Z Android Development] rirozizo:
i want to bring this up again, mainly because i always use it.

some info i would like to get:

- why isn't the script working after a reboot coming from recovery? only a totally normal reboot allows the script to run.

- i can't get it to work on ViperVenom, and on Gen.Y ICS, is there any steps to do?

- working fine on my absolution ROM here, but when i enabled dataswap i get no CPU deep sleep anymore... betterbatterystats says 0s on deep sleep... is that normal?

———————————————————

^ this bar means i'm using my phone :)
[G2 and Desire Z Android Development] bradley_e_smith:
Do swap on /data not on /sdcard

I am currently trying out Gen.y ICS and I haven't seen the real need to add swap. But for me, I seem to have a lot of space on my /data partition, so I have used this (when I need swap), note: if you want more space change the value (64)

==== cut here

#!/system/bin/sh

# Enables swap on data partition

#

#

# file is /data/local/swap

# POI: this can be used along with sdcard swap partition

# the load will be automatically evenly divided between the two locations

mv /data/local/swap /data/local/swap.old

busybox dd if=/dev/zero of=/data/local/swap bs=1M count=64

chmod 0600 /data/local/swap

mkswap /data/local/swap

busybox swapon /data/local/swap

rm -f /data/local/swap.old

===== end ======
[G2 and Desire Z Android Development] Vladimir2k9:
DataSwap

thanks, great work.

But the init script in /system/init.d/80dataswap didn't automatically execute upon boot in miui 4.1 by santajin (http://xdaforums.com/showthread.php?t=2030531)

I run it manually and it worked fine.
[G2 and Desire Z Android Development] bradley_e_smith:
Sorry to hear about not running automatically. The only thing I would do is to make sure the mode of the file is 777, that way you know it will run (also look at other files and make the permissions/owner/group look like them).
[G2 and Desire Z Android Development] Vladimir2k9:
it has been repaired on last roms, now scripts work fine.

One more question, what happens if i would use swap file on /cache. I see /cache have free 280Mb.

what kind of processes uses partition /cache?
[G2 and Desire Z Android Development] DooSHeK:
SD-Ext is not working with ViperZ rom. SwapData is working ok. When I use SD-Ext all apps are missing in app drawer. They are on /sd-ext partition but they are not visible in app drawer. When I am trying to run app from /sd-ext/app system is trying to install app instead of run it. Any idea how to fix it or debug to see why it is not working?
[G2 and Desire Z Android Development] ayekhine:
SD swap working with cm10.1 build 20.
[G2 and Desire Z Android Development] kbeezie:
PS: This enabler isn't being actively maintained anymore (my phone getting old and I switched to ILWT CM7 for it).

Far as /cache, assuming nothing uses it, should work the same HOWEVER the point of using /data is that during each reboot, a new dataswap file is created, then the old one is removed, this ensures that one part of the partition isn't being constantly worked on and degraded. Putting it into a smaller partition like /cache increases that theoretical risk, since it'll always be working on say one of two areas of that partition depending on your dataswap size.
[Galaxy S II Q&A, Help & Troubleshooting] chiko2490:
i have installed the ResurrectionV1.0 remix ics exclusive 4.0.3 rom and now i want to change it,

i have the cwm app but when i run the phone on recovery mode cwm does not go up.

i'll appreciate your help :eek:
[Galaxy S II Q&A, Help & Troubleshooting] themadba:
I believe that was when there was no custom recovery included. Why version 1 anyway? Try find the CWM.zip file on the RR thread. If you can't, flash a stock ROM, then root your phone with CF-Root and you will have your CWMR back to flash to your hearts content.

EDIT: Before you do what I said, can you flash files using the CWM app? Also, are you using the correct button combination for recovery? Its home button + power button + volume up button.
[Galaxy S II Q&A, Help & Troubleshooting] chiko2490:
i'm looking at this thread: http://xdaforums.com/showthread.php?t=1103399

and i don't understand should i burn a new karnel and if soo which one ?

and could it be that the CWM does not work because the karnel virsion and the ROM virsion does not fit ?

because when i go into the CWM app it says "This version of CWM Manager should be used with CF-ROOT v5.0 or newer. it appears you are running a diffrent kernel. various features have been disabled"

sorry for veing soo slow i'm just new at this stuff...
[Galaxy S II Q&A, Help & Troubleshooting] themadba:
Dial *#1234# in your phone dialer and post the results.
[Galaxy S II Q&A, Help & Troubleshooting] chiko2490:
it says "connection problem or invalid MMI code"

but what this has to do with any thing ?
[Galaxy S II Q&A, Help & Troubleshooting] boki9999:
That doesn work on aosp/aokp roms.

Sent from my GT-I9100
[Galaxy S II Q&A, Help & Troubleshooting] themadba:
Gosh, I'm stupid LOL! Of course it doesn't work. Please post your kernel information found in Settings - About Phone - Kernel Information
[Galaxy S II Q&A, Help & Troubleshooting] chiko2490:
3.0.15 -I9100XXLPJ-CL140368 se.infra@SEP-94#3
[Galaxy S II Q&A, Help & Troubleshooting] -Grift-:
Stock?!?!?!
[Galaxy S II Q&A, Help & Troubleshooting] themadba:
Well then you need the LPJ CF-Root. Scroll down on the first post and you shall find ICS kernels. Yours should be there.
[Galaxy S II Q&A, Help & Troubleshooting] chiko2490:
thank you vary vary mach for the help.....
[Galaxy S II Q&A, Help & Troubleshooting] nkianderson:
I was following this: (it is a link)

reviews.cnet.co.uk/mobile-phones/how-to-root-your-samsung-galaxy-s2-50004972/

I have completed step 4. But when it reboots it gets stuck on the reboot screen with the yellow triangle

HELP PLEASE?!

I was told that I need to find my original firmware, and use Odin to install it?

I don't even understand what that is

Can somebody please help me?!

Would be hugely appreciated!
[Galaxy S II Q&A, Help & Troubleshooting] ctomgee:
Are you sure you have the GT-I9100 model of Galaxy SII? (check on the label under your battery)

That guide (and this forum) is only for that model.

If your model is NOT GT-I9100, then that is your problem.
[Galaxy S II Q&A, Help & Troubleshooting] themadba:
Right, go to sammobile.com and sign up. Download a stock ROM for your phone (providing your phone is the GT-i9100). Download Odin and flash the stock ROM. If you don't know how to use Odin, search for Intratechs firmware thread, it tells you. Once flashed the new firmware, go ahead and use Chainfire's CF-Root to root your phone. Job done.
[Galaxy S II Q&A, Help & Troubleshooting] nicholas1520:
You'll need to flash back the stock kernel or a stock firmware. I've put below some links for the kernels and firmware.

I've uploaded stock kernels here. - Thanks Intratech.

These are the stock firmwares, just look for one for your region.
[Galaxy S II Q&A, Help & Troubleshooting] tampin:
Rooting guide

http://xdaforums.com/showthread.php?p=28178105
[Samsung Epic 4G Touch] ethandissi:
So in a month or so I will begin my trip across america... on a bicycle. So I am needing to find the best possible rom for battery life. I don't care if it is gb or ics. Just the ultimate preserver of battery since i may not be charging my phone for days at a time. The uses would be occasional gps, maybe some music but doubtful, phone calls and such. If you guys could point me in the right direction it would be much appreciated. Thanks :)
[Samsung Epic 4G Touch] marksedge:
So blazer rom 4.1 with gunslinger kernel works wonderfully ...phone last so long on idle ...thats my two cents
[Samsung Epic 4G Touch] bigpeng:
I'd stick to a GB rom like Calkulin 3.0 or mentioned above Phantom. You want a kernel you can under clock and undervolt to the max! Calkulins I believe is -75 or -100. Don't recall, it's been so long.

Ics right now is little buggy still since we just got source for kernel.

Hope you have a safe trip.
[Samsung Epic 4G Touch] Scionero:
Sounds to me like a portable charger would be your best option, but I would say Calkulin's GB rom would be your best bet for pure battery savings.
[Samsung Epic 4G Touch] ethandissi:
i don't know why i didn't think of that it would be perfect, since i will most likely use a trailer thanks for the suggestion :)
[Samsung Epic 4G Touch] patrao_n:
Ya man my friend got a power bank 10,000 mah. Works like a charm. Remember to use it down to nothing and charge it a couple times first. My evo battery pack took 2 cycles before I saw the full expected charge.

sent from my BAD A$$ Epic touch
[Samsung Epic 4G Touch] gilbydakid:
If you got 20 to 25 bucks to spare and time order a set of spares.

Sent from my Ga...... Isn't bacon delicious?
[Samsung Epic 4G Touch] GiantJay:
Buy a 3500mah battery on Amazon.
[Samsung Epic 4G Touch] im0rtalz:
Just buy lot's of spares and take them along for the trip or maybe get this and your phone will always be charged as long as you keep peddling.

http://www.amazon.com/SpinPOWER-S1-Universal-Smartphone-Bicycle/dp/B0051KID2Q
[Samsung Epic 4G Touch] afinch1992:
i would say calks and get a couple extra batteries. youll never be without battery!
[Samsung Epic 4G Touch] jtsv:
Wow! that makes me almost want to ride a bike..... Not! But that is way to cool if you are rider and way better than the solar chargers.
[Samsung Epic 4G Touch] PanchoPlanet:
Hay do you think this will work on my car battery? Our maybe I can just boost my car battery as I tow my car behind the bike.

Oh yeah, Calks E4GT v. 3.0 best battery saver script ever.

Pp.

Transmitted from another galaxy with an Infected P-5113.
[Nexus 7 Q&A, Help & Troubleshooting] thirtynation:
I'm looking to mount my Galaxy Nexus to my Nexus 7, but when I go about it like I would a usb stick stickmount doesn't see the sd card. My USB OTG host cable works perfectly with my 64gb SanDisk Cruzer thumb drive, but it is NTFS formatted to get around the 4gb file size limit. I can read files, copy files off of it, and stream files from the stick just fine but I am unable to write to the stick. I'd like to be able to get rid of NANDROID backups, playstation games, other large files, etc without having to connect to a computer.

1. What format is the "SD card" on the Galaxy Nexus? Is it ext3/ext4 which stickmount can't read?

2. If there is a better way to make an NTFS formatted writable stick I'm all ears...

3. Maybe I should just get a smaller separate stick that's FAT32 and thus writable...
[Nexus 7 Q&A, Help & Troubleshooting] T3kB0i:
Nokia?

I haven't seen that done with Android devices just yet... maybe it's possible, but I haven't heard of it. I know that Nokia phones can hook up as external storage to the N8 (saw a video on YouTube) but that's as far as I know.

Also, to write files to an NTFS volume on Android, it seems that you need to add the "fuse.ko" to your kernel (in /system/lib/modules) I tried doing this with the Nexus 7 ToolKit, but I wasn't about to insmod it (make it run) since the fuse.ko I has was apparently for a different version of Android??? I've literally spent about 10 hours "searching" on xda and all over the internet. It seems (oddly) that everyone in the Android community is content with a measly 32GB total limit, and 4GB file size limit. *(facepalm)*
[Nexus 7 Q&A, Help & Troubleshooting] mumpfpuffel:
This won't work. Android, with 3.0, stopped exporting storage via SD card, because of reasons[1]. If at all, you can have a vendor modify Android as to export your plug-in SD card, but not the internal storage.

Currently, Galaxy Nexus etc. offer their files via the 'MTP' protocol when plugged in, and there's no support to act as an MTP client AFAIK (since Linux support for MTP sucks balls).

[1]: since a separate storage for /data, /system etc. was considered uncool, as it made you dependent on a predefined partition size (remember 256MB 'internal storage' phones and Android Market "uninstalled due to low disk space"?), newer phones, and especially the Nexus line, features a single storage container.

The USB mass storage interface works like plugging in a hard drive into your system: it gives you block-level access, and this is usually synonymous with "exclusive" access, as it results in destroyed or confused file systems if two independent systems try to mount the file system on a storage device.

Problem is that Android still needs to be able to actually run, so it can't give you block level access to the internal storage. The only way that would be feasible is to turn off your phone completely and have the bootloader give you USB mass storage access, which is counterproductive.

Thus the need for something like MTP (which was already around for a while) was born, which gives you the ability to make it look like a file system, but actually work on a client/server basis like FTP.

tl;dr: no usb mass storage ("usb stick mode") with galaxy nexus. ever.
[Nexus 7 Q&A, Help & Troubleshooting] dijonemon:
Can't check at the moment, but can't you mount the SD card from CWM recovery on the Nexus in USB Mode rather than MTP?
[Nexus 7 Q&A, Help & Troubleshooting] thequinox:
What we need is a file manager that can use MTP. I'm also interested in hooking my Gnex up to my 7. There must be something out there that can do this.
[Nexus 7 Q&A, Help & Troubleshooting] dellenrules:
Bluetooth file transfer.

or

Connect to the same wifi and share.
[HTC EVO 3D] Caporeira:
Hello,

i have HTC Evo 3D with simlock, Android 4.0.3 with Sense 3.6. But isn't full version because dosen't have polish language.

I don't need garanty, I want good, stability, everythink work ok in this software. With ROM can you recomend ?

Thank you
[HTC EVO 3D] bso44:
Give ZR3Dx ICS or MeanRom ICS a try. Both were really stable for me.
[HTC EVO 3D] a1himik:
Cool ICS
[HTC Wildfire S] deathstroyer:
i have simon sense3.5 rom on my metro pcs wildfire s marvel c and every time i use it on the web page says metro wont allow this how do i by passs this or is it i have to pay acouple extra bucks to make this work please help
[LG Optimus Black] ponygon101:
I don't really think it's necessary to have a headset icon appear when I plug in my headphones and I don't want to see the Last.fm icon every time I play a song. Is there any way I can hide icons from the status bar and the notification drawer? Thanks

** SOLUTION **

Modify the SystemUI.apk and find a file called "sys_stat_wired_headset.png" under Res/drawable-hdpi. Replace it with a blank, transparent icon and crop it to be 1px by 1px. Make sure the new icon has the same name as the original. Now when you plug in your headphones, you won't see an icon! Hope this helps!
[LG Optimus Black] re4lsk:
What rom are you using?

Certain apps have a setting to activate/deactivate the notification bar icon. Also the headphone icon can be deactivaded inside music app if my memory doesn't plays tricks on me.
[LG Optimus Black] zortheck:
CM7

In CM7 you can hide the headset icon and many things more.

In stock-based ROMs nope!
[LG Optimus Black] ErnuB:
It's under Settings > CyanogenMod settings > Interface > Status bar tweaks > Show headset icon < bottom option

IMO I like the headset icon, it also tells you if the headset's mic is working

For last.fm should be in the app's options
[LG Optimus Black] ponygon101:
That really sucks because the only theme I like for my rom lacks a fitting headset icon and it's driving me crazy!

I'm running Zeus 6.39. The music app sadly only has the ability to disable the notification drawer's music controls.

I can't seem to find where to turn off the icon in Last.fm. I really like Cyanogenmod but the battery drain is just horrible.
[LG Optimus Black] zortheck:
Really?? I haven't any problem with the battery in CM just the 720p video record :(

But the battery is great!
[LG Optimus Black] ponygon101:
Well its about double Zeus and other stock roms in my experience. It's a real compromise for me, either good battery life or good features
[LG Optimus Black] zortheck:
Mmmmm,,,

Oh well, I just don't notice the difference
[LG Optimus Black] ponygon101:
It may just be how I use my phone. Perhaps I'll give Cyanogenmod another shot sometime?
[Galaxy S III Q&A, Help & Troubleshooting] Haano:
Hi, im getting my Galaxy S3 International version very soon and want some help.

Im a super know it all when it comes to android so i know alot. Ive been with the scene since the very first android releases, i still remember using 1.6 8) (alot of phones ive had arent on the history list as it would be too long so ive left the best ;)

I would like to ask,before i mess anything up if this is correct.

1. To install a custom rom from stock on a s3 i must

install root>install recovery>backup rom>install rom>wipe everything>install gapps.

Is this correct? Are there any sections which i dont have to do, like root?

2. Do i have to unlock the bootloader to flash custom kernals like other phones?

3. Does my device have to be unlocked to all networks or is it ok if its locked (ie on the Three network)?

Thanks in advance!
[Galaxy S III Q&A, Help & Troubleshooting] slking1989:
As much as I'd love to explain. It's far easier for you to search. Honestly if you Google search and take the result that leads back to xda you will 99% of the time find a very helpful guide. But yeah ur mostly right. Need up on root instructions. read Roms installations instructions. Done
[Galaxy S III Q&A, Help & Troubleshooting] slking1989:
1 yes. When u root via Odin with cfroot it installs cwm recovery aswell.

2 no

3 no
[Galaxy S III Q&A, Help & Troubleshooting] Haano:
ok thanks! I have done my research but i would just like a confirmation before doing anything!

Phew, its ok to use a locked phone which is great!

Yeah the latest version of CF-Root doesnt use the latest CWM. Also CF-Root is used when keeping the phone stock so im just going to use the tool by mskip. Thanks!
[Galaxy S III Q&A, Help & Troubleshooting] Semi-noob:
1. Only CM/AOSP/AOKP ROMs must you install gapps. And maybe Root -> CWM -> Backup (optional) -> Full wipe -> Install rom -> Gapps (if have) -> Reboot
[General Topics] someguywhokills:
Hey guys i just want to ask whats the best or stable rom for sony ericsson live w/ walkman..

btw i have locked bootloader.......

roms that i have tried: CyanogenTimescape, Minicmsandwich lite, MIUI v4, Real Ics 5.1 ..... these roms are great :laugh: but i still want to try other roms ,,, pls do not hate me for posting this :cool:

sorry for my english ....