Question: How do i check if swap on mmc is enabled? - myTouch 3G, Magic Android Development

like the title says....

Killadude said:
like the title says....
Click to expand...
Click to collapse
in shell
cat /proc/swaps

Related

Old data in /Data/Data

#busybox ls -l /Data/Data is showing ALOT of garbage from apps I havent had installed for a while...
Is there anyway to clear this crap up?
rm -r /data/data/folder.you.don't.want
factory reset , busybox rm -a /data/data/* or u can manually delete the ones you dont need.
they should delete by them selves
Senorkabob said:
#busybox ls -l /Data/Data is showing ALOT of garbage from apps I havent had installed for a while...
Is there anyway to clear this crap up?
Click to expand...
Click to collapse
Cardona???
All~G1 said:
Cardona???
Click to expand...
Click to collapse
lol who the hell is this!!!
Senorkabob said:
lol who the hell is this!!!
Click to expand...
Click to collapse
HAHA... come on now. The G1 one tells me everything

Auto Swap ----- linux-swap

Thanks to JAC for telling me how to do it, and to Denkai for providing all the necessary parts.
This is a modified ap2sd.sh to auto run the linux-swap partition on boot.
adb remount
adb shell rm /system/bin/a2sd.sh
adb push /pathtofile/a2sd.sh /system/bin
adb reboot
this can be done in terminal too.
The file is attached.
NOTE: I HAVE ONLY TESTED THIS ON JACHERO2.3.2 use at your own risk.
Please reference this thread http://forum.xda-developers.com/showthread.php?t=531988 to see what swap method I'm talking about.
What build is this for?
I am using soulife's rogers with a modified a2sd and this would definitely put my phone in a boot loop.
AWESOME! Thanks ccyrowski!
boogie1077 said:
What build is this for?
I am using soulife's rogers with a modified a2sd and this would definitely put my phone in a boot loop.
Click to expand...
Click to collapse
For JACHero 2.3.2
Where does init.rc go? On system/sd?
is it necessary to use swapper after this.. should we turn swapper off?
ComplexMinded said:
is it necessary to use swapper after this.. should we turn swapper off?
Click to expand...
Click to collapse
don't use swapper.
You have to have three partitions on your sdcard to do this
fat32
ext2 or ext3
linux-swap
it is.. I just wanted to be 100% sure.. just wonderling I also saw a format for linux swap2.. any difference?
I know it has been asked already. But were does init.rc go?
Z҉A҉L҉G҉O̚̕̚ said:
I know it has been asked already. But were does init.rc go?
Click to expand...
Click to collapse
Don't worry about the init.rc
Ok. Thanks for answering.
can someone check for vers. 2.3.3?
for me it's not working
ibu2002 said:
can someone check for vers. 2.3.3?
for me it's not working
Click to expand...
Click to collapse
im about to test it out right now
will report back with updates :-D
bigballa said:
im about to test it out right now
will report back with updates :-D
Click to expand...
Click to collapse
Worked fine for me.
Just actually included it in a ROM I whipped up from JAC 2.3.3 so you can flash the ROM with three partitions (swapper app already removed) and everything loads up for you without you doing anything.
Any requests for additional things to be removed?
i followed your instruction but after the reboot there was no swap.
ibu2002 said:
i followed your instruction but after the reboot there was no swap.
Click to expand...
Click to collapse
Is the third partition on your sdcard "linux swap"?
Open terminal
$ su
# free
If you want ill upload the rom i made for myself with a few customizations. It will do everything for you.
yes the third partition is linux swap and if i use denkai's method it works.
After a reboot the swap settings are lost and #free prints only 0 within swap.
man xda is so slow lately
c:\Android>adb shell free
total used free shared buffers
Mem: 98908 97152 1756 0 32
Swap: 0 0 0
Total: 98908 97152 1756
Click to expand...
Click to collapse
its not working for me
i put the script in the correct area
but its not swapping anything
i know it says its for 2.3.2 but im trying it on 2.3.3 maybe thats why
ibu2002 said:
yes the third partition is linux swap and if i use denkai's method it works.
After a reboot the swap settings are lost and #free prints only 0 within swap.
Click to expand...
Click to collapse
so how do we get the swap to start back up? thats the question

CONFIRMED: Permament Root!

please see this link http://forum.sdx-developers.com/epic-development/adb-root-exploit-test/
if your having trouble: use my instructon
1. copy & run the exploit
adb push c:\downloads\rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage-arm5.bin
adb shell
chmod 755 /data/local/tmp/rageagainstthecage-arm5.bin
cd /data/local/tmp
./rageagainstthecage-arm5.bin
2. make it RW and move files
adb shell mount -t rfs -o remount,rw /dev/block/stl9 /system
adb push c:\downloads\joeykrim-root.sh /system/bin/joeykrim-root.sh
adb push c:\downloads\jk-su /system/bin/jk-su
adb shell mv /system/bin/playlogo /system/bin/playlogo-orig
adb push c:\downloads\playlogo /system/bin/playlogo
3. set permission
adb shell chmod 755 /system/bin/joeykrim-root.sh
adb shell chmod 755 /system/bin/playlogo
Sweet! I've been following the thread at sdx. Thanks for being a test dummy
Sent from my PC36100 using XDA App
Hopefully there will be a one click method or something just as easy to use to perform this
Has anyone actually tried this on there epic? I have an advocate device and prefer not to ruin it before I even goes active on my line.
Sent from my SPH-D700 using XDA App
cognitivel0gic said:
Has anyone actually tried this on there epic? I have an advocate device and prefer not to ruin it before I even goes active on my line.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Yes, I can confirm this absolutely does work. Joeykrim and I spent the better part of an hour working on my Epic and hammering out the kinks. I now happily have root access, and there are no words to describe how happy I am to have QuickBoot and AdFree Android back up and running
Awesome Ill be giving this a shot tomorrow. Thanks for all the hard work!
Sent from my SPH-D700 using XDA App
I assume this is just a quick fix until kernel source is released? (due to lack of apply:update.zip in the recovery)
Now i know this is a noob question and all, but;
How do i adb in ubuntu?
I have the environment all set up, eclipse, adt, and the sdk...im just lost after that...
Does the root still intact after reboot?
ImSoHungry said:
Now i know this is a noob question and all, but;
How do i adb in ubuntu?
I have the environment all set up, eclipse, adt, and the sdk...im just lost after that...
Click to expand...
Click to collapse
http://esausilva.com/2010/05/13/setting-up-adbusb-drivers-for-android-devices-in-linux-ubuntu/
JGeZau said:
http://esausilva.com/2010/05/13/setting-up-adbusb-drivers-for-android-devices-in-linux-ubuntu/
Click to expand...
Click to collapse
can i haz your baby?!
thanks
2kmy477 said:
Does the root still intact after reboot?
Click to expand...
Click to collapse
Yes it does. That was the main problem Joey and I were having was getting the root to be persistant.
chris5h said:
Yes it does. That was the main problem Joey and I were having was getting the root to be persistant.
Click to expand...
Click to collapse
Great,thanks.I'm wating for the new version of wifi tether to work on the epic.
You mean the source code that is available at opensource.samsung.com when you search for SPH-D700?
dseo80 said:
I assume this is just a quick fix until kernel source is released? (due to lack of apply:update.zip in the recovery)
Click to expand...
Click to collapse
You mean the source code that is available at opensource.samsung.com when you search for SPH-D700?
Is nand unlocked?
No, it is not.
Root is a great first step. Now.. let's get bootloader access and get some stock 2.2 ROMs running for maximum awesome.
Anyone have the stock rom?
Whosdaman said:
Anyone have the stock rom?
Click to expand...
Click to collapse
You can find the system dump at the forums in androidcentral.com
Sent from my PC36100 using XDA App

[SOLVED] fjfalcon swap not working on dexters 1.3, with bug patch. Ideas?

Hey guys,
I've fastbooted into the fjfalcons kernel successfully and it shows in the info but when I go to set cpu all the swap mem is zero. I tried all the versions of the kernels no idea whats wrong it boots, everything is fine but nothing shows on set cpu. Any help would be appretiated thanks!
busybox swapon /dev/block/mmcblk3 in adb shell or terminal - try it.
Doesn't work this is what I get...
# busybox swapon /dev/block/mmcblk3
swapon: can't stat '/dev/block/mmcblk3': No such file or directory
sohrab.naushad said:
Doesn't work this is what I get...
# busybox swapon /dev/block/mmcblk3
swapon: can't stat '/dev/block/mmcblk3': No such file or directory
Click to expand...
Click to collapse
I think it should be mmcblk0p3
Sent from my Milestone XT720 using XDA Premium App
Mioze7Ae said:
I think it should be mmcblk0p3
Sent from my Milestone XT720 using XDA Premium App
Click to expand...
Click to collapse
Thanks, Mioze7Ae lemme try it out
Edit: The command went through, but when I fastboot back into the kernel, still no swap :S Okay I tried again. Swap cached is 0 and swap total and swap free are 91 mb is that okay? Free and total are the same...thanks Mioze7Ae
If this is normal, I just wanted to ask do I have to issue the busybox command everytime or just this once? Thanks
Edit: Got it working, I didnt have any apps open. Thank you so much guys!
sohrab.naushad said:
If this is normal, I just wanted to ask do I have to issue the busybox command everytime or just this once? Thanks
Click to expand...
Click to collapse
Bugfix3 doesn't have swap built-in. I'll make a patch to add it, but it probably won't be before tomorrow.
Sent from my Milestone XT720 using XDA Premium App
Alright, that would be great. Take your time ill just issue the busybox command if my phone reboots or runs out of battery.
sohrab.naushad said:
Alright, that would be great. Take your time ill just issue the busybox command if my phone reboots or runs out of battery.
Click to expand...
Click to collapse
You could also try rusmod. I consider that the successor to bugfix3.
Sent from my Milestone XT720 using XDA Premium App

why my cat /proc/kmsg gets killed?

Is it another way to follow what's going on?
Dmesg hasn't a "-f" option like Tail...
fbs said:
Is it another way to follow what's going on?
Dmesg hasn't a "-f" option like Tail...
Click to expand...
Click to collapse
Anyone?

Categories

Resources