yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] ck4794:
Not so much free, just sent over wifi/data, which I'm still paying for. I just don't want to pay for a text plan.
[Android Themes] sullivan7221:
Original post here.....

http://xdaforums.com/showthread.php?t=1667236

Please check them out! It's my first contribution to this community and I would like feedback. I'm also taking request that will be fullfilled when my laptop is repaired (soon).

View attachment 1077721

I hope everyone enjoys them!? :confused:

Please post suggestions, comments, question and requests in the original OP. It will better help me monitor everything. THANKS!
[Android Themes] MamaSaidWhat?:
These look great mate :D very professional and clean. Keep up the good work!
[Android Themes] Dreammerchant:
These look really good.. strong work
[Android Themes] MissionImprobable:
Good start. It may just be your screenshots but it appears that some of the icons aren't very sharp. Making sure that the resolution works well with the icons is the only big suggestion I have.
[Android Themes] sullivan7221:
And what's the best way to do that?
[Atrix 4G Q&A, Help & Troubleshooting] lazy_sunday:
Hi all! I'm an italian guy :)

I bought my Atrix a month ago in a bundle with the lapdock and the hd dock

Yesterday it suddenly gots this problem and now it seems to running very slow without an apparent reason

Some applications and games are running normally but download from the Play store is almost impossible and I have to wait some seconds when I unlock the screen or when I open some apps

Also the boot is slower then before

I've done a complete wipe but nothing changed

Then I tried to run Antutu test and I was surprised... ram, cpu and graphic scores are normal but the Database IO results is only 5!! Also the writing/reading speed is very slow

What can I do? Could it be an hardware issue? I don't want to return the phone again (I returned the first one because of the "bad update" brick...

Many thanks!!! :)
[Atrix 4G Q&A, Help & Troubleshooting] Recon Freak:
Maybe a bad sdcard or you may need to run a ram fix since you are international. Ram fix search from a PC should find it for you.
[Atrix 4G Q&A, Help & Troubleshooting] lazy_sunday:
thank you but i don't think the problem is the ram or the sd card

the "system info" apps show the normal amount of ram and the performance seem normal from the antutu test...

and the problem is the same with or without an sd card in the phone :(
[Atrix 4G Q&A, Help & Troubleshooting] lazy_sunday:
no one has an idea? :(

when i opened the post my phone was stock locked but rooted on 2.3.4

now i unlocked the bootloader and i'm running the topogigi 1.1 rom but the situation is still the same... :confused:

is there any app for the phone or the pc to test the atrix and find hardware issues?

thanks again!
[Atrix 4G Q&A, Help & Troubleshooting] mandroid717:
had similar issue. ran the zip. runs like a charm.

http://xdaforums.com/show....php?t=1131649

pdsfix.zip

my antutu scores are back up to around 7000. less lag in app drawer and opening /closing certain app. its back to silky smooth yeehaw.
[Atrix 4G Q&A, Help & Troubleshooting] lazy_sunday:
i ran pds fix but nothing changed... still very slow on boot, still "lag" when i unlock the phone, still impossible to download anything from the market/play store and slow when opening apps etc... do i have to start study how to return the phone locked and stock and return it? :(:mad::(:mad::(:(:(
[Atrix 4G Q&A, Help & Troubleshooting] dosmac:
Having a similar issue. 2.3.4 and my write speeds are .5MB/s and my read speeds are like 21MB/s. My free space is 4GB+ and i have no external SD. This just happened a few months ago, I thought it was normal until I tested my write speed and found it to be atrocious. I've tried changing schedulers with no change. Market updates take FOREVER and freeze my ENTIRE phone for about 20seconds to 1minute depending on the size of the update. My normal apps freeze when opening and/or saving. Any ideas??

Motorola Atrix MB860 2.3.4

Update: Tried PDSFIX, no change.
[Atrix 4G Q&A, Help & Troubleshooting] dosmac:
I've done a bunch of research and a lot of other users with newer phones are having this issue too:

http://code.google.com/p/android/issues/detail?id=37258

I still haven't found a solution. I can't use mount -o remount,discard as discard is not an option with mount on Android 2.3.4, apparently. Any ideas? Or should I just throw my phone out the window? :crying:

Some people say it's due to no TRIM being activated. I found a fstrim for linux but it's a .c source and I'm unsure how to compile without downloading an app from the market for $3! I'm not sure why randomly it decided to kill my write speed. I've even tried an app to fill up free space and delete it, but nothing is working.
[Atrix 4G Q&A, Help & Troubleshooting] toyota86:
that issue in the link is abt android 4.1.1. nothing to do with OP's rom, dont think his ROM is based on 4.1.1.
[Atrix 4G Q&A, Help & Troubleshooting] dosmac:
I understand that it's for a newer version of android. All my searching has lead me nowhere with my problem of insanely low write speed :|

SEQ RD: 16.65MB/s

SEQ WR: 0.36MB/s

RND RD: 1123 IOPS

RND WR: 33 IOPS

Buffer: No

:eek: Kind of saddening. I should maybe just buy a new phone... Motorola seems to have given up on it, as seems to be the norm after a year. I don't really like everything being designed to break in a few years but whatever, good revenue stream for them :silly:
[Samsung Galaxy Nexus] appledroid:
Is anyone else having issues with their connection? I'm on T-Mobile USA, and haven't had this issue until I upgrade from Android Revolution 2.x (4.0.2) to Android Revolution v4.01 (4.0.4) I tried AOKP (4.0.4) and also experienced issues. A revert back to 4.0.2 fixes it.
[Samsung Galaxy Nexus] gonintendo:
I definitely am. I'll have no data one time and full hspa+ after a reboot.
[Samsung Galaxy Nexus] r29:
This issue has been fixed a long time ago

aokp m5/liquidsmooth 1.4 will have the fixes

look for rom builds with IMM76I or kernels with the fixes (glados/francos/trinity)
[Samsung Galaxy Nexus] martonikaj:
nope. stock 4.0.4.
[Samsung Galaxy Nexus] nonione:
im still getting signal drops on AOKP as well even on M5 or b35 or b36

airplane mode on then off fixes it

changed radio to UGLC1 helped a little bit but still drops from time to time

so paranoidandroid for me for now and no signal drops :)
[Samsung Galaxy Nexus] r29:
it is not rom related then its the kernel they use.

paranoidandroid uses the cm9 kernel

glados/francos/trinity/cm9 kernel dont have issues.
[Optimus One, P500 Original Android Development] DavisNT:
This is a simple and effective (moves most space hogging folders from internal memory to sd-ext) APP2SD solution.

It moves the following things from /data partition to ext partition on SD card:

/data/app => /sd-ext/app

/data/app-private => /sd-ext/app-private

/data/dalvik-cache => /sd-ext/dalvik-cache

and creates symlinks to new locations in place of original folders.

Solution consists of 2 via recovery flashable ZIPs:

sd-ext_patch-signed-vXX.zip - this updates/creates CyanogenMod 7/9 script that mounts SD card ext partition to /sd-ext so /sd-ext can be any ext version (by default it can be only ext3) and installs e2fsck.

This must be re-flashed after each ROM update

(unless you know that ROM will mount your /sd-ext out of the box).

to_sd-ext_patch-signed-vXX.zip - actually moves folders to ext partition on SD card. This can be flashed only

after first boot into ROM

after wiping /data. It should be re-flashed only in conjunction with wiping /data and /sd-ext.

This mod requires ext2/ext3/ext4 partition on SD card.

Always make full Nandroid backup before flashing this mod or updating ROM with mod installed!

Disclaimer: I am not responsible for anything that may happen as a result of using this mod.

Installation/usage:

To install mod on a working ROM:

Flash sd-ext_patch-signed-vXX.zip via Recovery.

Flash to_sd-ext_patch-signed-vXX.zip via Recovery.

After updating ROM:

Re-flash sd-ext_patch-signed-vXX.zip

without booting into updated ROM

.

After wiping /data from Recovery:

Delete moved folders from /sd-ext (in most cases you will want to do this by wiping /sd-ext from Recovery).

Boot into your ROM.

Re-flash to_sd-ext_patch-signed-vXX.zip via Recovery.

This mod is tested with CyanogenMod 7 (7.1 by mik_os and 7.2 official builds) and CyanogenMod 9 by hephappy and Amon RA recovery 3.0.6.

If you are using Clockworkmod Recovery see this post.
[Optimus One, P500 Original Android Development] DJBhardwaj:
+1

Is this mod developed by you?
[Optimus One, P500 Original Android Development] DavisNT:
Yes :)
[Optimus One, P500 Original Android Development] DJBhardwaj:
Nice work, I'm surely gonna try ;)

Keep up.
[Optimus One, P500 Original Android Development] aayushARM:
Good work here!! Really nice to see some REAL development here :rolleyes::)

Will try it and report soon.........

Sent from heaven, wandering with Steve Jobs ;)
[Optimus One, P500 Original Android Development] FitAmp:
Any feedback yet? Would love to give it a try :thumbup:
[Optimus One, P500 Original Android Development] thachtunganh:
Don't ask for that, try it yourself!!
[Optimus One, P500 Original Android Development] john9:
nice work will try
[Optimus One, P500 Original Android Development] dynamite33:
Does this work on gb?2.3.3?

How to move app's ? Does this automatically moves it?
[Optimus One, P500 Original Android Development] FitAmp:
Just flashed on cm9 weekly... so for so good :p
[Optimus One, P500 Original Android Development] Jirrick:
Good work. Nice example of KISS approach - three symlinks + few lines of other code ;)
[Optimus One, P500 Original Android Development] DavisNT:
You can make full Nandroid backup (Nand backup in recovery) and try whether it works on your ROM. :)

This requires the following things:

ext partition on SD card (

you must have partitioned your SD card

)

ROM that supports init.d scripts

kernel that supports ext filesystem version that is on SD card

You can test all this by (making full Nandroid backup and) flashing sd-ext_patch-signed-vXX.zip, booting in Android and issuing the following commands in Terminal Emulator:

su
mount
mount | grep sd-ext

If you see line like this somewhere in the output:

/dev/block/mmcblk0p2 on /sd-ext type ext4 (rw,noatime,nodiratime,barrier=1,data=ordered)

then /sd-ext is mounted and you can proceed to flashing to_sd-ext_patch-signed-vXX.zip.

Apps are moved when flashing to_sd-ext_patch-signed-vXX.zip.
[Optimus One, P500 Original Android Development] dynamite33:
Ok thanx a lot! Will try it. :-)
[Optimus One, P500 Original Android Development] GonDr:
hi DavisNT

i use Link2sd now, and want to try ur script, can i remove link2sd and use ur script without problem and without losing my apps ?
[Optimus One, P500 Original Android Development] DavisNT:
Try it, but remember to take full Nandroid backup before trying.

You can do this:

do full Nandroid backup from recovery

With Link2SD move all applications back to internal memory

delete mount scripts created by Link2SD (probably there is a kind of uninstall option in Link2SD)

install my mod

If you don't have enough space in internal memory, then it is possible to use Titanium Backup to backup and restore apps (however I am not sure whether Titanium Backup can backup data of applications linked with Link2SD - probably can, but I am not sure).
[Optimus One, P500 Original Android Development] jaibar:
I don't think that titanium can restore anything to sdext, it just saves anything, including linked stuff and if trying to restore everything together it will fail, if the total of backed apps is larger than internal storage...

However, if link2sd is installed, the later will start linking data/apps 'on the fly' as Tib restores them. That's why it is essential to install link2sd or similar before going to batch-restore everything.

I guess this script should handle it in a similar way? I'm going to try anyway.
[Optimus One, P500 Original Android Development] DavisNT:
My idea was backing up most of apps with Titanium Backup while using Link2SD, then removing them (and moving left apps back to internal memory, uninstalling Link2SD mount scripts) and restoring after installing my script (Move to sd-ext). :)

Move to sd-ext links all applications (and dalvik cache, but not application data and library files extracted to data folders) at once - Titanium Backup will restore directly to SD card :)
[Optimus One, P500 Original Android Development] mutia:
can you explain me what's the difference between this mod and d2sd ungaze?

thanks
[Optimus One, P500 Original Android Development] DavisNT:
If I correctly got what D2SD ungaze does, then it moves applications, applications data and libraries (/data/app, /data/app-private and /data/data) to SD card ext partition and leaves Dalvik cache (/data/dalvik-cache) on internal memory (/data partition).

While my mod moves and links applications and Dalvik cache (see first post in this thread for details), leaving all other folders (some system configuration and application data and libraries) in internal memory (/data partition).

Also technical implementation is very different from my mod. D2SD ungaze copies everything and links back certain things. It looks like D2SD ungaze also doesn't free space on /data partition.
[Optimus One, P500 Original Android Development] morshab:
i flashed the first zip file, then made this test through Terminal Emulator and got a line similar to the one you mentioned (my sd-ext is type 3, and the info in brackets was a bit different).

then i flashed second zip file.

the free RAM space increased (which necessarily means that things were moved to the sd-card, right?)

i then installed an app - and saw RAM decreasing accordingly, plus - the sd-ext folder is empty

how can i know if it works ?!?
[Optimus One, P500 Original Android Development] DavisNT:
Which app you tried to install before taking the logcat?

P.S. Logcat must be taken after trying to install an app and without rebooting.
[Optimus One, P500 Original Android Development] mns123:
Browser.apk

It reboots automatically after trying to install an app. Logcat possible after reboot only.
[Optimus One, P500 Original Android Development] DavisNT:
Please connect your phone to computer and run

adb logcat > logcat.txt

there, then try installing the app to obtain logcat.
[Optimus One, P500 Original Android Development] DavisNT:
You should take a look at free internal storage, not free RAM.

Did you use a regular file manager (like ASTRO or CM built in file manager) to check /sd-ext? That won't work because file manager would lack permissions to access this folder. Use app like Root Explorer or terminal commands like these:

su
ls -la /sd-ext
ls -la /sd-ext/app
[Optimus One, P500 Original Android Development] morshab:
after reboot, internal memory showed only a minor decrease.

using Root Explorer i found all the apps in the sd-ext folder.

bottom line - great job man!

it works just fine!!

Tnx.
[Optimus One, P500 Original Android Development] morshab:
when checking the sd-ext folder, i found out that the app folder and the app-private folders are there, but the dalvic-cache isn't.

is this the way it should be? according to your first post dalvic-cache is supposed to move too...

how should i move it?
[Optimus One, P500 Original Android Development] DavisNT:
How did you check it?

Can you do these commands in Android Terminal and paste here the output?

su
ls -la /data/dalvik-cache
ls -la /sd-ext
mount
[Optimus One, P500 Original Android Development] morshab:
To check it i used Root Explorer and just looked into the sd-ext file.

Using Terminal with the commands you wrote gave this output (following the last command):

# mount

rootfs on / type rootfs (ro,noatime,nodiratime)

tmpfs on /dev type tmpfs (rw,noatime,nodiratime,mode=755)

devpts on /dev/pts type devpts (rw,noatime,nodiratime,mode=600)

proc on /proc type proc (rw,noatime,nodiratime)

sysfs on /sys type sysfs (rw,noatime,nodiratime)

tmpfs on /mnt/asec type tmpfs (rw,noatime,nodiratime,mode=755,gid=1000)

tmpfs on /mnt/obb type tmpfs (rw,noatime,nodiratime,mode=755,gid=1000)

none on /dev/cpuctl type cgroup (rw,noatime,nodiratime,cpu)

/dev/block/mtdblock1 on /system type yaffs2 (ro,noatime,nodiratime)

/dev/block/mtdblock9 on /data type yaffs2 (rw,nosuid,nodev,noatime,nodiratime)

/dev/block/mtdblock8 on /cache type yaffs2 (rw,nosuid,nodev,noatime,nodiratime)

/dev/block/mmcblk0p2 on /sd-ext type ext3 (rw,noatime,nodiratime,errors=continue,barrier=1,data=writeback)

/dev/block/mtdblock9 on /cache/download type yaffs2 (rw,nosuid,nodev,noatime,nodiratime)

/dev/block/vold/179:1 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

/dev/block/vold/179:1 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

tmpfs on /mnt/sdcard/.android_secure type tmpfs (ro,noatime,nodiratime,size=0k,mode=000)

#
[Optimus One, P500 Original Android Development] DavisNT:
What is output of other commands?
[Optimus One, P500 Original Android Development] thachtunganh:
It works very good with lastest CM9! Thanks!

Love Tyn!
[Optimus One, P500 Original Android Development] DavisNT:
It looks like dalvik-cache is not currently moved and linked. May be something deleted it from /data and from /sd-ext. Can you please provide all details:

what ROM and recovery are you using

have you wiped Dalvik-cache, if yes then how (from recovery or any application)

what other mods you are using

how exactl you installed all this

I want to understand why and how this happened. Afterwards I will provide a solution. :)
[Optimus One, P500 Original Android Development] morshab:
cm7 Nightly RC3 Rom, ClockWorkMod Recovery, wiped everything through recovery before i falashed the rom, not using any other mods.

installed according to instruction in first post - after flashing the rom and rebooting system went back to recovery and flashed the two zip files one after another (rebooted inbetween).
[Optimus One, P500 Original Android Development] DavisNT:
Have you wiped Dalvik-cache after flashing to_sd-ext_patch-signed-vXX.zip?

Had you any applications installed before flashing it?
[Optimus One, P500 Original Android Development] morshab:
didn't wipe Dalvik-cache after flashing the zip - flashed both zip files immediately after flashing the rom and before installing any app. (was i suppose to wipe Dalvik? didn't see it in the instructions).

there is a small chance i installed one app (Root Explorer) before flashing the zip (my memory used to be stronger before..) but chances are low.

also tried the scripts on a friends phone, definitely flashed the zip's after flashing the rom and before installation of any app - didn't work at all for some reason - i can see the sd-ext folder but none of the folders from /data were moved to the partition.

to conclude:

1) how do i move my own Dalvik-cache to the partition?

2) my friend's phone (same rom and other parameters) - by now he has installed a few apps, his rom is up and running - what should i do now in order to go through the procedure of moving everything to the partition? will a data wipe be required?
[Optimus One, P500 Original Android Development] DavisNT:
1) Do full Nandroid backup (just in case). Try to flash ZIP attached to this post. After flashing do Other -> Move recovery.log to SD and post here recovery.log from your SD card. Also please once more invoke:

su
ls -la /data/dalvik-cache
ls -la /sd-ext

2) What exactly happened (what was shown on phone screen)? What recovery was on that phone? Can you please try once more and post here recovery.log (do Other -> Move recovery.log to SD and post here recovery.log after flashing)?

Move to sd-ext is meant for installation on working ROM with apps installed and with no data loss (i.e. installing it won't wipe any apps/data).
[Optimus One, P500 Original Android Development] morshab:
1) the 'move recovery.log to SD' option is not included in my recovery (using clockworkMod). Is there some other way of doing that? (didn't flash the zip yet).

2) same rom (cm7 nightly) and same recovery (CWM). I did this: flashed first zip, rebooted, flashed second zip and rebooted. checked sd-ext folder using Root explorer and saw none of the app folders moved. tried flashing the rom again, then reapeted and flashed both zip files - same resaults (folders did not move). will post the recovery.log as soon as I figure out how to...
[Optimus One, P500 Original Android Development] FrenchOnly:
I'm on AOKP #39 SD Ext2 Amonra 3.06

This mod works like a charm, after successfully flash the ROM, flash the 1st patch, reboot to android, flash the 2nd part (without wiping anything since I havent installed any), reboot to android, then flash gapps at the end.

The problem was Titanium couldn't restore anything, but it happened too on my previous ICS ROM without this mod, so it doesnt related.

(already pressed) thanks :D
[Optimus One, P500 Original Android Development] DavisNT:
1) Terminal commands show that Dalvik-cache is moved and linked. If you will open Root Explorer and view Properties of /data/dalvik-cache it will show that it is linked to /sd-ext/dalvik-cache. Folder /cache/dalvik-cache contains objects from ROM itself that and is not updated (doesn't grow) when installing applications, so there is no need to move it.

2) No, you don't to do anything different before installing Move to sd-ext. At first ensure that your friend has partitioned his SD card.

If yes, do full Nandroid backup, flash both ZIPs, move recovery.log to SD card and send me it along with output of terminal commands:

su
ls -la /data
ls -la /sd-ext
mount

If phone doesn't boot or shows no installed applications, restore Nandroid backup you had just made and send me recovery.log.
[Optimus One, P500 Original Android Development] DavisNT:
Sorry, but have you paid attention to error message above? Probably it (fully or partially) was displayed on phone screen when flashing second file, wasn't it?

Your friend's phone cannot mount sd-ext in recovery. Either install the same version of ClockworkMod Recovery as on your phone, or even better install latest Amon Ra. Then try again. ;)
[Optimus One, P500 Original Android Development] morshab:
This is strange.. according to the log above my friends recovery version is 5.0.2.7 while mine is 5.0.2.0 - which means my version is older...

Will try to mount my recovery version on his phone and flash ZIPs again.
[Optimus One, P500 Original Android Development] stikmenow775:
You are the best, this scrip is the best that I'm tested.

Tanks I and 3 more people thanks you

:)
[Optimus One, P500 Original Android Development] GoncaloM:
Wipe Cache + SD Ext

Hello DavisNT,

Thank you for your hard work, this method works like a charm, but.... for me it works if instead of wiping data + SD Ext I wipe only Cache + SD Ext + reboot recovery, previous to flash the to_sd zip file. This and following the remaining steps works great. (used on both running rom and fresh install with SD full format )

Dont wipe Dalvik

,

nor data

.

If not, i always get a to_sd file error ( status 7 i think ), on the final steps when checking the files on SD Ext.

Running RA 306 Recvry + CM9 ICS + SD16gb (1024 ext3).

Thanks and hope this helps anyone in trouble, like i was at first. :fingers-crossed:
[Optimus One, P500 Original Android Development] FrenchOnly:
I have one question...

What could go wrong if I didnt wipe anything after flashing a fresh ROM+gapps, then went to recovery to flash zip files, with reboot to system in between?

After installing 20+ apps the memory used seemed to be the way it should be...170MB on internal and decreasing 400MB on a2sd. Havent got any 'not enough memory' issue here.
[Optimus One, P500 Original Android Development] lipe082:
can you make this work with JB?
[Optimus One, P500 Original Android Development] lipe082:
No need it works ;)