yashsingh1/xdaforums huggingface dataset:
[Asus  Eee Pad Transformer Prime] meldrak:
SD mount point is set as a variable so you can modify it to use cache partition, but this partititon may be too small??

in my case with Android/data to SD I have about 10Gb used !! and my script is done for asus transformers product only ...

if you set "disable" to all options with "cache2sd -c" init.d script will just do nothing ... no need to remove or create the file on user wants

(if I correctly understand what you want ..!!! my english have some limits :silly:)
[Asus  Eee Pad Transformer Prime] meldrak:
new update to 1.4:

- a bug in 1.3 is corrected (double copy of Android/data was made, so make more time and don't free internal space)

- new folder structure on MicroSD, using ".android" instead of "Android"

>> will reduce media scanning as it a hidden folder now

- now when mounting or umounting (so moves of data) media scan is temporary disable

- if process of media scan is too high, you'll have a warning in log

>> and in this case you should do a checkdisk of your MicroSD
[Asus  Eee Pad Transformer Prime] meldrak:
new update to 1.5:

- added a new hidden option "cache2sd -optimize" (for advanced users)

so what exatly do this option?

1. reboot in recovery and trim data & system partition (same as lagfix app)

2. still in recovery, do a fsck of data & system and repair errors

3. reboot system and do a zipalign of new apk (in background so please wait)

4. vacuum and reindex all sql databases (still in background so be patient)

5. reboot in recovery and clear dalvik-cache & cache

6. and finaly reboot system

as you might think the whole process is very long and can break operating system (I do it more than 20 times without any issues)

for a clean system it will take about 10mn, but in some case it may take some hours

and I recommend doing it once a month, it will keep the best perfs of your tablet

ps: doing a "cache2sd -l" will not display the optimize logs, but will copy it to internal sdcard as optimize.log
[Asus  Eee Pad Transformer Prime] chantas:
When I try to active the script I get the following message for every binding:

example:

binding com.google.android.music

unkown option -- cBusybox v1.20.2-cm9 bionic (date & hour) multi-call binary.

This isn´t normal, correct? Can you help?

Tks :)
[Asus  Eee Pad Transformer Prime] meldrak:
your busybox's symlinks may not be ok, so install another busybox build like this one

https://play.google.com/store/apps/details?id=stericson.busybox
[Asus  Eee Pad Transformer Prime] chantas:
Thanks! That did the trick! The only problem im having is the fact I can´t run Youtube app :( Im using the latest Hairybean. Is there a way to correct this? I use Youtube a lot!
[Asus  Eee Pad Transformer Prime] sbdags:
2 ways, edit the script and remove you tube from being cached 2sd or unmount cache2sd, run you tube once to build cache and then remount cache 2sd
[Asus  Eee Pad Transformer Prime] meldrak:
is youtube installed as a system app? if installed as a user app it seems that this pb doesn't exist. to be confirmed
[Asus  Eee Pad Transformer Prime] chantas:
I think not....if it was installed as a system app it should be impossible to uninstall it, right? Can you tell me how can I remove this app from your script?

Tks
[Asus  Eee Pad Transformer Prime] sbdags:
In the /system/xbin folder you will find a cache2sd file. Open it in a good note editor like the one in es file explorer and look for the Google apps li,e that includes the you tube entry. Delete just the YouTube bit from that line and then save.
[Asus  Eee Pad Transformer Prime] chantas:
Found it but im not able to save the file. Do you think it´s a permission problem?
[Asus  Eee Pad Transformer Prime] sbdags:
Yes, enable root explorer in tools of es file explorer and also set /system to RW ;)
[Asus  Eee Pad Transformer Prime] chantas:
Got it working! Thank you mate! One last question, are you using this script with ALL Apps? Is it worth it or should I only use it for Internet, Google Apps and Data?

BTW my SD Card is a Sandisk Ultra 32gb class 10.
[Asus  Eee Pad Transformer Prime] sbdags:
I use ROM2SD but I think you'll find some more incompatibilities if you do it on all apps.
[Asus  Eee Pad Transformer Prime] mikelav456:
Are you using this with Google Play Newsstand?!?!?!? I have been looking everywhere for a solution.

How is it working? Pins everything to SD card? Will this work on other devices/ROMs (I am using Mahdi ROM on the LG G Pad 8.3)?
[Asus  Eee Pad Transformer Prime] meldrak:
This script works only on Asus Transformers series, no needs on other hardware that have good I\O chips

and only cache is pins to sdcard, it's explained on 1st page
[Asus  Eee Pad Transformer Prime] scote:
when I run your script du command fail because "-hs" option is not valid.

from what I can see this failure is only cosmetic though, see two grep commands:

Binding org.mozilla.firefox

usage: du [-H | -L | -P] [-a | -d depth | -s] [-cgkmrx] [file ...]

Moving Android data to external SD

so please wait ... it may be long!!!

Binding Android/data

Cache2sd enable

2|root@tf201:/ # grep du /system/xbin/cache2sd

grep du /system/xbin/cache2sd

SIZE=$(du -hs $EXTMNT/.android/data/ | tail -n1 | tr -s ' ' | cut -d '/' -f1)

SIZE=$(du -hs $INTMNT/Android/data/ | tail -n1 | tr -s ' ' | cut -d '/' -f1)

SIZE=$(du -hs $EXTMNT/.android/data/ | tail -n1 | tr -s ' ' | cut -d '/' -f1)

root@tf201:/ # grep SIZE /system/xbin/cache2sd

grep SIZE /system/xbin/cache2sd

SIZE=$(du -hs $EXTMNT/.android/data/ | tail -n1 | tr -s ' ' | cut -d '/' -f1)

echo "Moving back $SIZE Android data to internal" | tee -a /data/cache2sd.log

SIZE=$(du -hs $INTMNT/Android/data/ | tail -n1 | tr -s ' ' | cut -d '/' -f1)

echo "Moving $SIZE Android data to external SD" | tee -a /data/cache2sd.log

echo "Moving $SIZE Android data to external SD" | tee -a /data/cache2sd.log

SIZE=$(du -hs $EXTMNT/.android/data/ | tail -n1 | tr -s ' ' | cut -d '/' -f1)

echo "Copying back $SIZE Android data to internal" | tee -a /data/cache2sd.log

root@tf201:/ #
[Asus  Eee Pad Transformer Prime] meldrak:
your busybox build doesn't support it, so you should update it (stericson build is working fine)
[Asus  Eee Pad Transformer Prime] scote:
thanks I'll try that, I dont think it caused adverse effects.

the optimize didn't work on my TWRP recovery, maybe because i am running cmmod and the mounts are different, or the filesystem was not mounted at all. I ran the trim commands myself anyway.
[Asus  Eee Pad Transformer Prime] meldrak:
New version

New approach of my idea, using an ext partition on SD but not like data2sd

using it since 2 week without bugs ... but need some testers to confirm it ;)

check post 2 to have all informations
[Asus  Eee Pad Transformer Prime] sbdags:
Interesting! Any benefits you are seeing with the new method?
[Asus  Eee Pad Transformer Prime] meldrak:
see my second post for that http://xdaforums.com/showpost.php?p=40887418&postcount=2

but more important is the feel to have less lags with this old 4.1 rom, it should also be good for 4.2 (4.4 not sure)

with old method it was not working for all apps because of permission or sometime filename

using EXT4 and symlink preserve original folder permissions and naming limitation

it is also more quickly as you can see on my screenshots 9000 point at I/O not so bad !!!
[Asus  Eee Pad Transformer Prime] dondipietro:
I think that it is better now; first using the android terminal I use : "su -c sh" to log as root then I enter "cache2sd -l" and everything seem ok. => after reboot Big problem :(:(

When I reboot a lot of my app are loop crashing like "asus keyboard" then "IU system" also If i remove the uSD card. As the app is crashing in infinite loop I can't do anything ...
[Asus  Eee Pad Transformer Prime] meldrak:
ok your data parttition seems to not be mounted with write permission,

what kernel are you using? I think problem is here as for my tests I use clemsys kernel

if you boot without microsd inserted, all symlink should be removed and all shoud working fine

also there no parameters for new version 2.x just run "cache2sd" .... "- l" do nothing

log can be get in /data/local/links2sd.log

and if restore was unsuccessful you can use a filemanager from recovery to delete symlinks in each app => /data/data/my.app.name/cache
[Asus  Eee Pad Transformer Prime] dondipietro:
Tahnk you for your answer.

It's stock kernel.

Removing the SD card don't help always the loop crash at the lock screen.
[Asus  Eee Pad Transformer Prime] meldrak:
ok so you may flash clemsys kernel to recover http://xdaforums.com/showthread.php?t=1968074

I will add to post the need of a insecured kernel to run this version

sorry for this ...
[Asus  Eee Pad Transformer Prime] dondipietro:
With this kernel no more loop crash ... (ClemsynTFUniversalStock1.7ver4)

Thank you for your reply !! I was looking to flash it with androwook before your answer.

Now I would like to test if it a bit better and less laggy. Do you have a advice to make the test ?
[Asus  Eee Pad Transformer Prime] gotchi:
hi,

i have installed version 2.0 of your script.

it seems to work, or that is what the log says, but all commands I execute like cache2sd -l, cache2sd -c have the same outcome on the terminal which is

can you tell me what is wrong ?

that is the log output

the rom I am using is [4.1.1] Stock 10.4.2.18 - Light/Rooted/Odexed (http://xdaforums.com/showthread.php?t=2147895) without any changes

thanks
[Asus  Eee Pad Transformer Prime] meldrak:
if your not using browser2ram you will feel better smothness while browsing

no real test can be made, just see that on some actions hangs are gone
[Asus  Eee Pad Transformer Prime] meldrak:
all is ok for you and working fine, but my "how to" use version 2 is not clear ...lol

new version doens't have any option tu run it , only one command !!! "cache2sd"

script will check current status and will activate, update missing apps or remove links with this only command as needed

if I get positive feedbacks I will remove version 1.x and will update my stock LRO rom with it
[Asus  Eee Pad Transformer Prime] gotchi:
great :)

in this case, seems to work just fine :)
[Asus  Eee Pad Transformer Prime] meldrak:
I made many update to my version 2, so now everything is working fine

version 2.1 is now available and I can say it's now a stable version

I forgot all the change I made so no full changelog... just the main line:

- all system apps are exclude from script

- auto remove cache from ext sd for uninstalled apps when the script runs

- some permissions fixed and many minor bugs fixed

now version 2.1 is linked to 1st post and old version to 2nd post
[Asus  Eee Pad Transformer Prime] gotchi:
hi,

I completly wiped my TF201 and reinstalled everything. Now I am using your new script version 2.1 (instead of the version I used before) and nothing is working. all apps are constantly crashing as soon as they use the sdcard for caching.

starting cache2sd manually from command line also results in the same "all apps crashing" problem.

android version: 4.1.1

kernel version: 3.1.10

build number: j4o03c: ww_epad-10.4.2.18-20121122

is there anything wrong? I flashed hairybeans 4.1.1 bootloader to be on JB 4.1 again and after that installed and your stock rom (http://xdaforums.com/showthread.php?t=2147895)

thanks for helping
[Asus  Eee Pad Transformer Prime] meldrak:
could you provide me the log file ( /data/local/links2sd.log )

version 2.1 is already include in my stock rom
[Asus  Eee Pad Transformer Prime] gotchi:
hi,

i flashed your rom again, cleaned dalvik and cache with twrp (funny think twrp has to fix root permissions after installing your rom).

inserted SD which I formatted with ext4, and reboot.

apps crashing and aparted (android app) tells me that the partition is now ext2

reformat partition with aparted to ext4, invoke cache2sd from command line -> apps start crashing

once again reboot without SD to have a working tablet.

attached the files I collected during my testing, not much but something
[Asus  Eee Pad Transformer Prime] meldrak:
Nothing in the log that can help me...

so delete the file /data/local/sd-ext.done and reboot tablet with sdcard

script will reformat and align your ext4 partition

and provide me the logs again after that and also this one /data/local/mkfs.ext4.log
[Asus  Eee Pad Transformer Prime] gotchi:
hi, before I can test your advice

if I start aparted on my tablet it references to /dev/block/mmcblk1 instead of mmcblk0, perhaps this is because mount already has an entry pointing to mmcblk0p2 /cache which is also created if no sdcard is in there after reboot.

---------- Post added at 11:14 AM ---------- Previous post was at 11:08 AM ----------

ha, after deleting the file you mentioned, restarting the mount point of /cache is now pointing to /dev/block/mmcblk1p2 which is the right device. so initially there was something wrong, using your rom AND installing the ZIP from your thread. all at once before restarting at least once from recovery.

everything working now :) thanks
[Asus  Eee Pad Transformer Prime] meldrak:
thanks for the feedback, so it seems that coming from a full wipe is the issue

here some explanations of my script:

while rom is booting kernel is mounting by default cache to mmcblk0p2

script is run after that, and will check if mmcblk1 is present

if yes will check that a additional partion is created to mmcblk1p2 and format it if it is the first run

if all is ok mmcblk0p2 is umounted and mmcblk1p2 is mounted at same mountpoint

and all the symlink are created to the /cache partition on mmcblk1p2

if someone else have the same issue after a full wipe, please give the logs
[Samsung Galaxy Nexus] svprm:
File Tools 3.1 Updated

Version:3.0

Requirement:Android 2.1+

1.File Finder

2.Batch File Renamer

3.Duplicate File Finder

All in one app called File Tools

Pls try it and Review it.

Market Link:http://bit.ly/JIt2fW

Website:http://www.cybapps.com/view.php?id=8
[One (M7) Q&A, Help & Troubleshooting] anilk:
I've setup my hotmail account on my HTC One. I have pictures for many contacts - but only some of those pictures are shown. Why is that?
[Barnes & Noble Nook Tablet] mnealbarrett:
This is in reply to the message, "[ROM] Stock 1.4.0 & 1.4.2 + Root + Mods - GO Launcher [Yes/No B&N|Rebloat Pack]" in the Dev forum. I can't get the file, "NT_stock_1.4.0_Ribbon_Root_v2 .zip", I get a message that "d3.minus.com" is down. If someone could look at this, I'd appreciate it.
[Barnes & Noble Nook Tablet] mnealbarrett:
bump
[Barnes & Noble Nook Tablet] asawi:
Is there a particular reason you want this particular root? I know it has some extra perks, like some "debloating", but it's not a huge difference from the other root methods.
[Barnes & Noble Nook Tablet] mnealbarrett:
Why do I have to have a reason for wanting it? This thread is near the top of the non-sticky threads in the Dev section, and yet the main file referenced in the thread is inaccessible. Kind of defeats the purpose of the whole thread.
[Barnes & Noble Nook Tablet] asawi:
Of course you don't have to have a reason. I was just trying to be helpful by pointing out that there are alternatives. You're asking for oldish rather big file and it would mean someone would have to make a bit of an effort to help you and maybe they'd be more inclined if they know you had made an informed choice and just not jumped on the first train you saw. Believe me, it happens way to often here!
[Desire Q&A, Help & Troubleshooting] by.adrian:
I bought a Desire with broken touch and screen, can receive calls but no light from lcd, i put my screen on this phone

and does not display or light...my lcd is amodel and this phone maybe has SLCD? i put touch and work i hear when I press the digit number.

My phone is made on taiwan and has amodel and desire bought is made on china A8181 PB99200? how do i know has s-lcd or amoded?

and another thing on optical trackpad i see a red light wheen i power phone.

I want to know what can be... i don't have money to send to repair...
[Desire Q&A, Help & Troubleshooting] by.adrian:
no one know about my problem? or have same problem
[Desire Q&A, Help & Troubleshooting] by.adrian:
I just buy last night a new S-LCD and now is fine :D , i hope i will repair Desire Amoled :-?
[AT&T Samsung Galaxy S II SGH-I777] RPK925:
Hello I just flashed this with Odin but when I go to set it up( touch the Android) it gives a gapps error and says to force close, and it also gives an error about the calendar . What can I do to get my phone working again? Thanks.
[AT&T Samsung Galaxy S II SGH-I777] dsmboost:
Do a factory reset.
[AT&T Samsung Galaxy S II SGH-I777] votinh:
OP, why do you keep make thread in the Dev. section? Was it you or somebody actually move your thead in here?
[AT&T Samsung Galaxy S II SGH-I777] RPK925:
thanks works now.
[Samsung Galaxy SL i9003] vman123:
Hi All,

This is my first post on the forum and I don't have any experience with ROMS or rooting my android device. I am just posting thread for a strange issue that I have been having with my Galaxy SL I9003.

This problem first happened a few months back, but disappeared after a couple of days, and now its happening again. The problem is that the stock media player just starts up, and starts playing some random song from my library, pauses after a while, and then starts playing again. The same behaviour continues all day long. No matter how many times I try to kill the media player, it won't stop.

All this while, the phones speakers wouldn't work either, I have to take up calls and talk on the loudspeaker mode!! This is getting really frustating.

Has anybody else faced this issue? Can anybody suggest a fix? Would rooting/installing a custom ROM help me?

I am using 2.2.1 with kernel version 2.6.32.9 root@SE-S605 #1

thx
[Samsung Galaxy SL i9003] TheSiLeNT_A:
You don't have To root your phone but you should try Tod update your phone via kies
[Samsung Galaxy SL i9003] joe21o:
Just try to clear music app data
[7" Kindle Fire HD General] crazyjoejoe:
Hello,

I have rooted my kindle fire HD successfully twice now and after working well for a few days, it will unroot.

I used this process: http://androidforums.com/kindle-fire-hd-all-things-root/656683-root-kindle-fire-hd-7-a.html

I also used Kindle free to help install google services. I was going to install the paid version but if it keeps doing this I don't want to spend the money.

Why does it keep unrooting?

Thanks
[7" Kindle Fire HD General] dugoy13:
Try and root it again and use this update-defeat script

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

Sent from a Kindle Fire HD running CM10.1 using Tapatalk 2
[7" Kindle Fire HD General] crazyjoejoe:
So download the scriptmanager.apk file and install it on my kindle,Then follow the root process?
[7" Kindle Fire HD General] dugoy13:
You need to root it first then follow the steps for the update-defeat.

Sent from a Kindle Fire HD running CM10.1 using Tapatalk 2
[Sony Xperia P, U, Sola, Go] Pandemic:
V3 Brand New Addons For Our Rom JB MoonBreakers V3.5 !!

..[ Small Addon For V3.5 ]..

It includes:

the apps of Xperia Z From 4.2.2

Video

Album

Walkman

Agenda

and the fixed Smallapp-Notes

Just flash this CWM Recovery:

http://d-h.st/lLR

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

JB MoonBreaker V3.5 Addon Includes:

All FB And Twitter Addons,

Like Share, Facebook/Twitter inside Xperia

Stock JB Themes

Transculent Keyboard

Credits: [MENTION=4931714]jatinrungta[/MENTION]

JB Lockscreen, Clock According to the "Theme"

Credit: my Bro/Team Member [MENTION=5016056]XDA.AGM[/MENTION]

New Xperia Z Leaked 4.2.2 Apps

White:

Phonebook

Semcphone (Without Data On/Off Notification in statusbar)

Conversation

Stock Email

A Edited Small-Apps Notes,

The Other Fc`s When It Get Expanded

Sony Select

==V3.5=Flash With CWM Recovery======

http://d-h.st/Iwi

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

=-=-=-=-=-Cybershot 5.1.1=-=-=-=-=-

*Howto Instal*

Download this zip:

http://d-h.st/fu1

Put it on your sd card

Enter Cwm Recovery

Wipe Dalvik

Wipe Cache

Flash the Cybershot 5.1.1 zip

Reboot

Go to Settings/apps/all

Clear the data of Cybershot

Done

----Very--Simple--

.... My Other Files ....

.. Edited Xperia P JB Settings ..

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Download Link Here

http://d-h.st/Dkj

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

----------------------------------------

..[ Screenshots ]..

----------------------------------------

.... Light Effects Option ....

...[ Bugs ]...

Light effects dont blink

on the music and photos

---###___###---###___###---###___###---

.. Cpu & Stats ..

--------------------------------------------------------------------

... Jelly Bean Stock Themes ...

..: Just flash with CWM Recovery :..

http://d-h.st/reA

DropBox Link

+++++++++++++++++++++++++++++++++++++++++

!_ JB Brushed Metal Themes, According now with the Background _!

[Install 1St JB Stock Themes]

:::Flash this with CWM:::

http://d-h.st/Q1h

Screenshots here:

++++++++++++++++++++++++++++++++++++++++

Xperia Home.apk Both V5&6 with Black apptray !!

..: Just flash with CWM Recovery :..

V5:http://d-h.st/lvq

V6:http://d-h.st/pjt

+++++++++++++++++++++++++++++++++++++++++

.. Dont mirror these files !!! ..

..:: Its only for the rom JB Moonbreaker ::..

..[ If you want to use this in your own rom, Ask 1st permissions to: ]..

[MENTION=2822871]Wolfbreak[/MENTION], [MENTION=4356477]auni[/MENTION] or Me.

+++++++++++++++++++++++++++++++++++++++++
​
[Sony Xperia P, U, Sola, Go] auni:
Dear All I am working on some other themes too. I will add those eventually. Till then use this one, with this awesome ROM by Wolfbreak.

Download : MediaFire

Dear All I am back with some cool ROM signatures. Those who are already using this brilliant ROM can have this signature under your XDA Sign place. Enjoy!

​