Info: This has been fixed in Nightly #15. If you still want to move your cache, you may do it, but it is not necessary anymore!!
Hey folks,
as many of you might have expierienced with the CM7 nightlies, large apps won't download from the android market.
This due to the /cache/ partition, where the download files are stored in /cache/download/, being too small to acommodate for large apk files cached by the market.
So I searched around the net how to move this cache to another directory.
This is what I've come up with:
ATTENTION: I do not take any responsibility for any problems you may encounter with using this fix. It has worked fine for me, and it probably will for you as well.
This fix comes at a (little) prize: It moves the market cache to the internal SD card, so when you unmount the internal storage when you turn USB Mass storage on, market downloads will probably fail.
You probably have to be rooted for this, but since you are on CM7, you already should be
Code:
adb shell
# cd /cache/
# rm -R download
# mkdir /mnt/emmc/marketcache
# ln -s /mnt/emmc/marketcache download
# chown -h system.cache download
Code explanation:
Code:
adb shell
This one should be obvious, if you don't know what it does, you probably shouldn't do this
Code:
cd /cache/
Navigate to /cache partition
Code:
rm -R download
Remove /download recursively (meaning DELETE F***ing everything in there )
Code:
mkdir /mnt/emmc/marketcache
Create a directory named marketcache in the root directory of the internal SD card. Theoretically, you can choose whichever directory you'd like, but I don't know how the symlink would handle different file systems for example if your external SDCard is FAT32. And since the internal SD card became somewhat unused in CM7, I found it to be a good spot for this cache folder.
Code:
ln -s /mnt/emmc/marketcache download
Create a symbolic link named download to the directory you just created (remember to change the directory if you chose another one). This is somewhat anologous to a shortcut in Windows, where the OS treats the shortcut as a folder, while it actually just redirects everything to another location.
Code:
chown -h system.cache download
I don't know if this is necessary, but the original download folder has these permissions. It worked for me with, and without these permissions, maybe someone more expierienced could comment on whether you should set the permissions for the symlink and/or the destination folder.
To sum it up, what we did was delete the original download cache folder for the market and create a shortcut to the internal SDcard. From now on, the market will store the cached apks there instead of the cache partition.
After applying these changes, I was successfully able to download Cordy and MegaJump from the market, which I couldn't do before.
Hit the Thanks button if it helped you
Cheers
aMpeX
aMpeX said:
Hey folks,
as many of you might have expierienced with the CM7 nightlies, large apps won't download from the android market.
This due to the /cache/ partition, where the download files are stored in /cache/download/, being too small to acommodate for large apk files cached by the market.
So I searched around the net how to move this cache to another directory.
This is what I've come up with:
ATTENTION: I do not take any responsibility for any problems you may encounter with using this fix. It has worked fine for me, and it probably will for you as well.
You probably have to be rooted for this, but since you are on CM7, you already should be
Code:
adb shell
# cd /cache/
# rm -R download
# mkdir /mnt/emmc/marketcache
# ln -s /mnt/emmc/marketcache download
# chown -h system.cache download
Code explanation:
Code:
adb shell
This one should be obvious, if you don't know what it does, you probably shouldn't do this
Code:
cd /cache/
Navigate to /cache partition
Code:
rm -R download
Remove /download recursively (meaning DELETE F***ing everything in there )
Code:
mkdir /mnt/emmc/marketcache
Create a directory named marketcache in the root directory of the internal SD card. Theoretically, you can choose whichever directory you'd like, but I don't know how the symlink would handle different file systems for example if your external SDCard is FAT32. And since the internal SD card became somewhat unused in CM7, I found it to be a good spot for this cache folder.
Code:
ln -s /mnt/emmc/marketcache download
Create a symbolic link named download to the directory you just created (remember to change the directory if you chose another one). This is somewhat anologous to a shortcut in Windows, where the OS treats the shortcut as a folder, while it actually just redirects everything to another location.
Code:
chown -h system.cache download
I don't know if this is necessary, but the original download folder has these permissions. It worked for me with, and without these permissions, maybe someone more expierienced could comment on whether you should set the permissions for the symlink and/or the destination folder.
To sum it up, what we did was delete the original download cache folder for the market and create a shortcut to the internal SDcard. From now on, the market will store the cached apks there instead of the cache partition.
After applying these changes, I was successfully able to download Cordy and MegaJump from the market, which I couldn't do before.
Hit the Thanks button if it helped you
Cheers
aMpeX
Click to expand...
Click to collapse
Thanks dude
Really nice fix and easy to understand.
-- Kiljacken
An interesting solution.
However, as I understand it, CM7 on the 2X has this issue because the Dalvik Cache is in the /cache/ partition, thus using up a large portion of the available space. There is a fix in the CM7 thread called fix_cache.zip that moves Dalvik-Cache to /data/
This has the added advantage of the download cache being located on a faster NAND chip (I think). Not that it'd make much difference for Market downloads. It also means that Market downloads will work with USB Storage turned on.
I'd link to it, but I'm in bed and cbf getting out and to my PC
Kudos for the original solution though; I've been wondering how to put /emmc/ to better use!
Sent from my Optimus 2X using XDA App
kiljacken said:
Thanks dude
Really nice fix and easy to understand.
-- Kiljacken
Click to expand...
Click to collapse
You're welcome, but you shouldn't full quote posts like that ;o)
Also, does this fix persist after a reboot?
Sent from my Optimus 2X using XDA App
unfnknblvbl said:
An interesting solution.
However, as I understand it, CM7 on the 2X has this issue because the Dalvik Cache is in the /cache/ partition, thus using up a large portion of the available space. There is a fix in the CM7 thread called fix_cache.zip that moves Dalvik-Cache to /data/
This has the added advantage of the download cache being located on a faster NAND chip (I think). Not that it'd make much difference for Market downloads. It also means that Market downloads will work with USB Storage turned on.
I'd link to it, but I'm in bed and cbf getting out and to my PC
Kudos for the original solution though; I've been wondering how to put /emmc/ to better use!
Sent from my Optimus 2X using XDA App
Click to expand...
Click to collapse
Since the dalvik cache is the cache for all the app-related stuff, I opted for moving the download cache, because you don't care about file access/read speeds when downloading apps from the market.
The solution you mentioned basically does the same as mine, moving the dalvik cache instead of the market cache.
The issue with USB storage turned on is legit however. Downloading from the market while having USB storage turned on will likely fail. I'll update the first post.
unfnknblvbl said:
Also, does this fix persist after a reboot?
Sent from my Optimus 2X using XDA App
Click to expand...
Click to collapse
I cannot comment on that yet, probably I will when I have to reboot next time
aMpeX said:
You're welcome, but you shouldn't full quote posts like that ;o)
Click to expand...
Click to collapse
Full quoting is funny xD
It increases the amount of people who actually reads the post
Nice work, is it already merged? http://goo.gl/Zd9f6
The commit from your link makes this guide obsolete I guess. I'll keep going with this until it is merged into the nightlies (13 doesn't have it yet)
aMpeX said:
The commit from your link makes this guide obsolete I guess. I'll keep going with this until it is merged into the nightlies (13 doesn't have it yet)
Click to expand...
Click to collapse
Still u deserve a pat on your back. Good job!
temasek said:
Still u deserve a pat on your back. Good job!
Click to expand...
Click to collapse
I hoped it would've holded out a bit longer Thanks for the pat
How does Android responds to startups scripts. This should be in a startups script somewhere...
this workaround is permanent and withstands a reboot, so you only have to apply it once. As it says in the first post you are basically creating a shortcut to another partition.
The Fix from rmcc to the cyanogen source redirects the dalvik cache to /data/ instead of cache by a command line in build.prop, making room for the temporary downloads.
aMpeX said:
this workaround is permanent and withstands a reboot, so you only have to apply it once. As it says in the first post you are basically creating a shortcut to another partition.
The Fix from rmcc to the cyanogen source redirects the dalvik cache to /data/ instead of cache by a command line in build.prop, making room for the temporary downloads.
Click to expand...
Click to collapse
Ok, that's nice... 1 time change....
I was wondering...
Could it be something like the following:
(updater-script)
Code:
ui_print("Symlinking /cache to /mnt/emmc/cache");
run_program("/sbin/busybox", "mount" "/system");
run_program("/sbin/busybox", "rm -R", "/cache/download");
run_program("/sbin/busybox", "mkdir", "/mnt/emmc/marketcache");
run_program("/sbin/busybox", "ln -s", "/mnt/emmc/marketcache", "/cache/download");
unmount("/system");
Just a thought.
should work as well. But the issue will be fixed in the next nightly. So this fix would remain for other devices with that problem.
Ok, then we wait some hours
Chown notes
This is pretty useful information. I used AlphaRev and flashed the Bravo CM7 partition, and the small /cache means I can't download any large apps.
There's one extra thing to note:
Chown Note
In the event that you are getting "chown: unknown user/group system:system" please try 1000.1000 as this has been reported to work on several of the samfirmware-released roms that fail with this message.credit:max_warheads
http://forum.xda-developers.com/showpost.php?p=7390510&postcount=1
As of right now, it looks to me that my Desire+CM6 doesn't actually use /cache/download for market downloads, but rather just /cache.
Oh, that might also be related to me using market_black_emerald_2.3.4
http://forum.xda-developers.com/showthread.php?t=877510
Unclear if I can use this same symlink method in such a case.
Perhaps I can use something like this
http://blog.endpoint.com/2009/09/using-ln-sf-to-replace-symlink-to.html
to replace the current /cache with the new symlink. I'm hesitant, since /cache is it's own partition, right?
Symlink /cache FAIL
I tried to symlink /cache according to this
http://www.infoparlor.com/android/h...o-protected-apps-install-when-using-custommtd
1. Mount the root file system writable:
Code:
mount -oremount,rw rootfs /
2. Unmount the existing /cache mount
Code:
umount /cache
3. Remove the existing /cache folder
Code:
rmdir /cache
4. Create the new link
Code:
ln -s /sdcard/cache cache
Click to expand...
Click to collapse
That author was trying to fix Protected Apps, whereas I'm just trying to fix downloading large Apps, but seems that the process should be the same.
Except, each time I reboot recovery, the /cache keeps coming back just like it was.
This thread gives essentially the same instructions as are listed in the OP
http://miuiandroid.com/forums/showt...e-to-install-large-apps-like-MAPS-from-market.
Related
I have OI file manager and I go into the system/sd folder and i dont see anything. But when i install a new app, i do notice that my ex3 partition available space changes. So it seems that the apps are installing on the ex3, but why dont i see anything in the system/sd folder?
Also, how can i copy files from my sd onto my system/sd folder? Do I have to adb it?
Thanks guys.
I know this is one of my first posts but I have been lurking these forums for a loooong time.
You will not see anything in system/sd unless you have root access. You can either use SU File Browser if you want a GUI for browsing, or just open the terminal and enter
$ su
# cd /system/sd
# ls
I try not to go into detail on anything that can be used for warez, so let me just state that you can either use SU File Browser, or the terminal (with root access) to copy to system/sd. Remember to mount /system as read-write.
snyper2k2 said:
I have OI file manager and I go into the system/sd folder and i dont see anything. But when i install a new app, i do notice that my ex3 partition available space changes. So it seems that the apps are installing on the ex3, but why dont i see anything in the system/sd folder?
Also, how can i copy files from my sd onto my system/sd folder? Do I have to adb it?
Thanks guys.
I know this is one of my first posts but I have been lurking these forums for a loooong time.
Click to expand...
Click to collapse
Get a file manager with root access.
SU File Browser & Terminal
http://forum.xda-developers.com/showthread.php?p=4126161
I really like this one.
Will get that, thanks guys. Appreciate the help.
There is many of you that asks how to remove this and that preinstallaed apps in different ROM
When a developer put apps in system/app it can not be removed so easy.
But if you have RomManager or fakeflash´s update.zip there is a other way.
I have attached a zip fil that contains a ordinare ROM installation script that only contains delete and copy.
Download file and unzip on your computer and take a look in the folders
data/app
META-INF/com/google/android/update-script
system/app
If your only wish is to remove a systemapp
edit the file update-script (textfile)
and add line with the filename of what you want to remove:
(example)
delete SYSTEM:app/unwanted.apk
delete SYSTEM:app/unwanted.odex
If you want to install some apps put them in system/app for not installable
and data/app for apps that can be removed as usual
rezip folders and install zip with RomManager NO WIPE!!
cm6 azures you will get a error because not same structure for data/app
never mind just select reboot. Delete will work anyway.
Sometimes there will be .so files in system/libs too. They are little more difficult to know which to remove so that demands more knowledge of the app.
Use for instance Astro filemanager or Estrong to look in system/app for correct filename to delete
Script work even if *.odex not exist.
The fact that when you zip folders it will not be signed so file will not work with adb recovery
Googleapps filenames:
CarHomeGoogle.apk, CarHomeLauncher.apk, com.amazon.mp3.apk,
Facebook.apk, GenieWidget.apk, Gmail.apk, GoogleBackupTransport.apk,
GoogleCalendarSyncAdapter.apk, GoogleContactsSyncAdapter.apk,
GoogleFeedback.apk, GoogleGoggles.apk, GooglePartnerSetup.apk, GoogleQuickSearchBox.apk, GoogleServicesFramework.apk, googlevoice.apk,
HtcCopyright.apk, HtcEmailPolicy.apk, HtcSettings.apk, kickback.apk, LatinImeGoogle.apk, LatinImeTutorial.apk, Maps.apk, MarketUpdater.apk, MediaUploader.apk, NetworkLocation.apk, OneTimeInitializer.apk, PassionQuickOffice.apk, SetupWizard.apk, soundback.apk, Street.apk, Talk.apk, talkback.apk, Twitter.apk, Vending.apk, VoiceSearch.apk, YouTube.apk, QuickSearchBox.apk, Provision.apk
Other apps:
ADWLauncher.apk, Gallery3D.apk
but filename may be different depending of ROM
Mainpart must exist for using phone normally
Hope that this help to remove "non-removable" systemapps in future.
/Snakehult
Good guide.
via Legend using XDA-app
Thanks snakehult - great guide and very useful!!
snakehult said:
(example)
delete SYSTEM:app/unwanted.apk
delete SYSTEM:app/unwanted.odex
Click to expand...
Click to collapse
It may be worth explaining how people:
- can find out the name of the app they want to remove;
- how they know whether to add the suffix of *.apk or *.odex, or both;
Thanks again for your efforts!
c_man said:
Thanks snakehult - great guide and very useful!!
It may be worth explaining how people:
- can find out the name of the app they want to remove;
- how they know whether to add the suffix of *.apk or *.odex, or both;
Thanks again for your efforts!
Click to expand...
Click to collapse
Yes you can use some regular filemanager such Astro or Estrongs and look in system/app
Always delete both, script work even if odex file is missing
c_man said:
It may be worth explaining how people:
- can find out the name of the app they want to remove;
- how they know whether to add the suffix of *.apk or *.odex, or both;
Thanks again for your efforts!
Click to expand...
Click to collapse
cool guide!
anyway you have to detect the filename of the apps this way:
enter the recovery mode (in modaco-root-r4: recovery-windows.bat)
now type:
adb shell
mount -t yaffs2 /dev/block/mtdblock3 /system
ls -l /system/app
(this will give you the list of system apps, with space usage)
you have to delete both .apk and .odex files (the latter may not exist)
I use to delete the bigger ringtones too, the list is given by
ls -l /system/media/audio/ringtones
it is safe to delete, after you setup the google accounts (ie after first boot):
HTCSetup*
com.htc.Setup*
Stock*
HtcFoot*
NewsRead*
wow its working......thanks dude........
Uploaded with ImageShack.us
http://android.modaco.com/content/h...apps-from-the-htc-desire-with-adb-in-windows/
Simple guide from MoDaCo
That must be the hardest way to remove apps i guess Have you seen "modaco guide"? All you have to do is reboot your phone in to recovery mode and type 2-3 commands in ADB. Simple as that.
Thanks anyway for your efforts
Many way för same thing
But with a custom-made zipfile you always remove/install favourite apps without adb. And quick modify new ROM install.
Sent from my Legend using XDA App
Hello,
Good guide.
The Legend may be rooted to do this?
I am a newbie.
Thanks.
bobstar_fr said:
Hello,
Good guide.
The Legend may be rooted to do this?
I am a newbie.
Thanks.
Click to expand...
Click to collapse
As I see it, no use to do much in the dev forum without an rooted Phone
hey guys, thanks for bringing this up. i just tried modaco site method and i deleted stock and its widget only. the internal storage shot from 113 mb to 122 mb and ram from 42 to 134 mb !
what else can i delete
Learners Lisence said:
hey guys, thanks for bringing this up. i just tried modaco site method and i deleted stock and its widget only. the internal storage shot from 113 mb to 122 mb and ram from 42 to 134 mb !
what else can i delete
Click to expand...
Click to collapse
Just delete what you will never use and....no regret
thank you cryshop for your expert advise
i tried deleting Innovation.mp3 by this script -
adb-windows shell rm /system/media/audio/ringtones/Innovation.mp3
said file not found even though its listed.
whats my mistake ?
i will try snakehults method also but later.
thanks
im trying to use modaco's method but what is the green recovery menu?
i dont understand i go in fastboot then recovery and then?thank you
edit done im stupid
Learners Lisence said:
thank you cryshop for your expert advise
i tried deleting Innovation.mp3 by this script -
adb-windows shell rm /system/media/audio/ringtones/Innovation.mp3
said file not found even though its listed.
whats my mistake ?
i will try snakehults method also but later.
thanks
Click to expand...
Click to collapse
Hmm, did you forget a slash or a letter in the command? because I tried and I could actually delete it.
@kdma : install ROM Manager from the Market, and there is an option inside the app : Reboot into Recovery (easiest way to get into recovery mod)
I also deleted /system/etc/clock* and saved some space again
(of course I don't need Htc clock widgets)
cryshop said:
Hmm, did you forget a slash or a letter in the command? because I tried and I could actually delete it.
Click to expand...
Click to collapse
cryshop, i was typing in the wrong directory
Ps - snakehults's appfixer is real delight ! smooooth.
except that my winzip is a trial version and legend dont recognize winrar files.
I was wondering how i got such good figures for change in space and ram the first time. i havent since then. my legend just likes the rebooting involved coz i dont use task killers anymore. and maybe i deleted more than just stock the first time
Will this work with android 2.2 on Hero?
Hey I've been looking all over for something like this. I downloaded the zip, added the lines
delete SYSTEM:app/mms.apk
delete SYSTEM:app/mms.odex
delete SYSTEM:app/email.apk
delete SYSTEM:app/email.odex
and rezipped it.
I used Rom Manager and selected install rom from SD card. It rebooted, seemed to execute the zip. But the original email and mms apps are still installed. What am i doing wrong?
kdma said:
im trying to use modaco's method but what is the green recovery menu?
i dont understand i go in fastboot then recovery and then?thank you
edit done im stupid
Click to expand...
Click to collapse
The first thing you should do is download the required zip file from modaco (I'm a new user of xda and is not permitted to post outside links here. You may easily find that post "24/May r4 - HTC Legend rooting guide - Now with 1.31.x" in android.madaco.com)
I think many of us rooted the device followed the instructions of Paul. So that file might be already in your hands.
Fastboot and then recovery, as you have done before. Run Recovery-linux.sh (or Recovery-windows.bat, if you use Windows) in a terminal window - your device shall be at the green recovery screen.
Open another terminal window and enter:
./adb-linux shell mount /system
and then you can push, pull or rm file. For example,
./adb-linux shell rm /system/app/Calculator.apk
./adb-linux push abc.so /system/lib
--
I didn't notice you have already solved the problem, when I compiled this post. It is no longer useful.
OK. Pardon Adndroid Noooobness.
I have the device incompatible Android Market problem with NC.
Running CM7
I found two fixes.
1. Set DPI to 160
2. Edit Build.prop to make nook present itself as smamsung *something S*
I downloaded ROM Toolbox and after going through what I think is EVERY icon and setting I cannot find where or how to change the DPI setting.
I have modified the build.prop file using ES File Explorer but cannot get the file to copy back from the sdcard to the system folder. Protected or in use probably. Tried booting to CW to copy but dont know how to do that either.
How can I get actully appy either of these. I have searched but cannot find this answer.
Thanks
How about just reverting to the old market, clearing the market data/cache and uninstalling the market updater app?
did not seem to help for me
Did that as well and that did not work. As soon as I connected to the Market it closed and updated. This was after removing the updater and clearing the cache.
On another note, does anyone have the BN reader.apk and the Kindle.apk. Hope I have that terminology right, and the instructions for installing apk files. Sure I can find those instructions.
Thanks
To edit the file in /system, start up Terminal, become root by typing "su" and remount the /system partition by typing "mount -o rw,remount /system". Then you can edit all you like. When you're done type "mount -o ro,remount /system" or just reboot.
aegrotatio said:
To edit the file in /system, start up Terminal, become root by typing "su" and remount the /system partition by typing "mount -o rw,remount /system". Then you can edit all you like. When you're done type "mount -o ro,remount /system" or just reboot.
Click to expand...
Click to collapse
I have CM7 on an SD card and tried this command. I get the following:
mount: not found
Any suggestions?
I tried this command and I am not sure I am putting it in right. I do not a space "remount/system" and a bunch of commands come up. I do use a space and nothing. Either way, I am unable to edit or copy a new file in. Copy failed or cannot save file.
Do I have to copy from within the Terminal window? After running this command I go into ES file explorer to edit or copy with no luck.
<Set DPI to 160>
There is an app called LCDDensity which allows you to alter the DPI on the nook. If the market allows you to download it, or you are able to sideload it, you might try that.
What happens for me is my market will stop working, then I use LCDDensity to set the DPI to 160 or 240, and reboot. Then the market works, but only for a day or two, and then things seem to reset. (I have tried freezing and renaming the market app, and market updater app, but it doesn't seem to have any effect. Then again I'm new to these things myself, and could be missing something silly.)
It isn't an ideal solution, but it seems fine unti a more permanent fix comes along.
From beta3 I can't delete symlink. It's important for me because I actually using phone instead of flashing.
I tried->
1.root explorer
-> delete /data/data
-> copy /datadata ->/data
-> change name to /data/data
No effect, after reboot symlink restore
2. Same thing but with terminal
3. serch fstab, init, for script that making ln -s
4. delte from xbin ln program
nothing made any effect. Symlink always back after reboot.
I found at /sbin script setupdata....
But I can't delete/change it, every reboot it's restoring itself.
Sorry, I don't have an answer for you, but I really need this too. I didn't even install that many apps and everything is FC'ing because datadata is full. It seems it's not just app data as well, because I was browsing the folder with root explorer, and every time I clicked on a folder (within datadata), the available space went down some more. On CM7 my phone was fast enough without the symlink, so an option to remove it would be nice.
Here is what I have done for my personal webtop so far.
Download
To install:
Make a partition on a SDCard, formatted ext3, so that the first partition is FAT, second partition is EXT3.(2GB should be fine, YEMV)
Extract contents of osh2.tar.bz2 to this ext3 partition.
Make a backup of /osh/ubuntu.sh
Overwrite /osh/ubuntu.sh with the one on the root of the SDCard's EXT3 partition.
Backup your /data/home/adas folder.
Remove /data/home/adas, leaving just /data/home.
Reboot the phone.
You will need Linux to extract the tar properly and create the SDCard partitions.
You do not need to be unlocked or have a different kernel, you just need to replace ubuntu.sh, so rooted, temp root, whatever. I created everything from a stock Bell phone. Android 2.3.6. If anything doesn't work, just replace ubuntu.sh with the original file or just remove your sdcard.
Cheers!
edit: changed link
what has been modified:
fuse based smbnetfs installed, stock kernel can access windows shares and play video using motorola hd media center.
open office installed, gimp, some games
lxde set up, theme preconfigured.
No need for dependencies to be fixed or webtop to sd apps run, has zero errors and sudo apt-get dist-upgrade has completed without errors several times so adding extra sources and doing dist-upgrade won't cause errors.
Replaced firefox 7 with 8, rest is Bell webtop.
Been installing and playing with it for a while now, can't recall all the mods.
Yes, you can put the tarball on the phone and extract it to the sdcard that way, you just need to mount the partition. I keep a copy in internal memory to be able to restore when I install/uninstall something I shouldn't.
EDIT:
If you use xarchiver from another webtop to untar the archive, you may need more than 2GB.
Can you put the .tar file on the phone and extract there? I ask because I only have access to Windows machines. Creating the partitions on the sdcard is easy with MiniTool Partition on Windows.
I am can't downloading this file, webserver says: "This file is no longer available."
How has this webtop been modified?
Ramble via webtop:
My approach is to avoid established scripts for fixing dependencies and apps for moving webtop to sd card. Not that I have anything against those, but they were developed using ATT phones and might miss some compatibility with Bell.
One key difference for getting going from scratch is that I installed a standard armel busybox from the busybox site, that avoided a lot of errors when installing debs. Not sure where the busybox comes from in apps2sd but it is not as up to date and results in more errors with missing command line options.
I also didn't want to change/replace the contents of the phone too much so I could easily revert to stock, there is this ICS rumour..
This is what I did:
Starting off I updated the sources.list to be jaunty and just worked through the errors by installing debs manually. lxterminal was installed via deb and tomoyo was disabled by renaming the init and start files. Basically, I did a force install via deb file of some rootfs package contents, coreutils, cpio, dbus, dhcp, gpgv, grep, udev. All references to -mot versions were stripped of the -mot suffix so they could be more easily upgraded. I left the references to ~mot and -motorola in the versions of packages, not sure why, just did. Eventually I got to a place where synaptic was installed and I had no errors. Saved the state in a tarball and kept experimenting with installing things.
I really wanted a home folder elsewhere than /data/home but there are too many hard references to it in webtop for stability, I found a lot in scripts but I suspect they are in binaries as well. You can rbind once in webtop but you need it to have stuff in there during boot, not mix and match configs.
I tried an external hard drive, but there is a fundamental flaw in that logic, they only turn on once you open the lid of the lapdock, so you can't have boot files on it.
I copied the firefox-8.0 from ATT, deleted firefox-7, updated the soft links to point to the 8 version, redid profile.zip to have xda be the home page and adblock installed already, tossed in .xdg-bookmarks to add Network to pcmanfm. I originally had all the home folder stuff in profile.zip but some part of the scripts mess with settings and not everything was carrying over.
So, I did a tarball of my home dir's dot files and put it in /osh2/home/adas so when I do a factory reset and adas is wiped it restores my config. Tip: removing the entire adas folder gives you the same effect for webtop as a factory reset. Reboot and you are back to where you were.
I tried all the window managers, avant/awn anything is annoying when it shifts items left and right when an app opened or closed. I was able to have the stock awn working with a cairo menu, but it still shifted things left and right and was slow. I tried recompiling awn on the phone to get the option to just have launchers but there is this tendency for anything new you compile to require a new libc6. Xfce is cool, menu looked odd though, went with lxde, easy enough to switch if you want. Note: Compiz anything is a waste of time.
I have removed the stock webtop theme and replaced it with clearlooks and murrine window decoration. lxpanel is transparent via manual hack of the config file, the gui for changing things always sets alpha to 0, bug into the prefs app.
I could go on and on, but I like what I have done so far, thought I would pass it along. The main bit for me is not having to install a new kernel or wipe existing partitions, make a lot of phone mods, a pure stock phone can have a custom webtop, just needs to be rooted to copy one file over. Also, I like being able to watch tv shows on my lapdock, worth the price of admission right there for me.
Oh, size is around 1.4GB untarred, so it's a least a 2GB ext3 partition. I have an option in there for using mmcblk1p3 for var if you want to copy var over there formatted with smaller clusters. There are a few flags to control things, if you didn't want to remove your sdcard, touch /osh/no_osh2 and reboot the phone to disable. /osh/var_ownp enables the mounting and use of a third partition on the sdcard dedicated to /var. Use that one carefully, commit to it before installing a lot of things, having a mix and match could break the custom webtop.
Cheers!
Thanks for putting this up, I'd like to give it a try but am having difficulties, possibly cause i'm running Nochatrix (ATT 2.3.6).
When you say 'extract properly' to the EXT3 partition, what command would you use? Should extracting first then copying over work? Because I tried that, and it didn't!
Cheers
It has to be linux, either on the phone or on a pc so that tar -xvf will keep the ownership and file permissions.
VMware Player
CaelanT said:
Can you put the .tar file on the phone and extract there? I ask because I only have access to Windows machines. Creating the partitions on the sdcard is easy with MiniTool Partition on Windows.
Click to expand...
Click to collapse
Download VMware Player and the free copy of linux.. now you can run Linux.. :highfive:
https://my.vmware.com/web/vmware/evalcenter?p=player
NFHimself said:
... so that tar -xvf will keep the ownership and file permissions.
Click to expand...
Click to collapse
That's it, thanks. I was over-complicating things, putting in unnecessary arguments and trying to copy it over using -C. In the end I just copied the tar to the EXT3 and just unpacked it there.
Anyways, it works great! Everything ive quickly tried works nicely, openoffice, synaptic, Gnometris , etc, it's clean and quick, just what I was after.
can make a .zip CWM flashable file???
---------- Post added at 08:37 PM ---------- Previous post was at 08:37 PM ----------
jpinoy said:
Download VMware Player and the free copy of linux.. now you can run Linux.. :highfive:
https://my.vmware.com/web/vmware/evalcenter?p=player
Click to expand...
Click to collapse
where can i find Linux OS??
It work on stock 2.3.4?
It work on stock 2.3.4?
Click to expand...
Click to collapse
I haven't tested it, the webtop is from Bell's 2.3.6, probably not a large difference, but can't say for sure.
Can you make a CWM zip?
Click to expand...
Click to collapse
Yes, I can.
Cheers!
Chimpdaddy;[URL="tel:28700385" said:
28700385[/URL]]That's it, thanks. I was over-complicating things, putting in unnecessary arguments and trying to copy it over using -C. In the end I just copied the tar to the EXT3 and just unpacked it there.
Anyways, it works great! Everything ive quickly tried works nicely, openoffice, synaptic, Gnometris , etc, it's clean and quick, just what I was after.
Click to expand...
Click to collapse
Glad you like it!
Cheers!
I'd love to give this one a try. I'm using Webtop2SD right now. Can someone give a more detailed step-by-step instruction please?
Chimpdaddy;[URL="tel:28700385" said:
28700385[/URL]]That's it, thanks. I was over-complicating things, putting in unnecessary arguments and trying to copy it over using -C. In the end I just copied the tar to the EXT3 and just unpacked it there.
Anyways, it works great! Everything ive quickly tried works nicely, openoffice, synaptic, Gnometris , etc, it's clean and quick, just what I was after.
Click to expand...
Click to collapse
qaplus;[URL="tel:28824484" said:
28824484[/URL]]I'd love to give this one a try. I'm using Webtop2SD right now. Can someone give a more detailed step-by-step instruction please?
Click to expand...
Click to collapse
This does not use webtop2sd, so you would need to uninstall that first as it would likely cause problems.
Not sure how detailed you need instructions.
Cheers!
NFHimself said:
I haven't tested it, the webtop is from Bell's 2.3.6, probably not a large difference, but can't say for sure.
Yes, I can.
Cheers!
Click to expand...
Click to collapse
Thanks, but not seeing any zip on OP .....
I have limited experience with linux. What I got:
1. AT&T Atrix on 2.4.6.
2. Webtop2SD created ext3 partition on SD card.
What I plan to do:
1. Wipe ext3 partiion and copy the SimpleTop tar file to it
2. Log into Webtop ( boot from the Webtop partition from the internal sd card)
3. backup .sh and adas folder
4. untar simpletop in the ext3 partition
5. copy the new .sh file.
Will these steps work? I feel it's bit dangerous to do this on the phone. But how can I do this on a windows computer?
Thanks for any suggestions.
qaplus said:
I have limited experience with linux. What I got:
1. AT&T Atrix on 2.4.6.
2. Webtop2SD created ext3 partition on SD card.
What I plan to do:
1. Wipe ext3 partiion and copy the SimpleTop tar file to it
2. Log into Webtop ( boot from the Webtop partition from the internal sd card)
3. backup .sh and adas folder
4. untar simpletop in the ext3 partition
5. copy the new .sh file.
Will these steps work? I feel it's bit dangerous to do this on the phone. But how can I do this on a windows computer?
Thanks for any suggestions.
Click to expand...
Click to collapse
That is pretty much it. Just remember to be super user and include -p if using tar for backup. Tar -cvpjf /sdcard/ADAS.tar.bz2 . for example. Also, you don't want to be in webtop2sd mode if you are doing this but from a rooted webtop on the the phone itself. Or you could do it all from an adb shell.
Cheers!
Sent from my MB860 using xda premium
NFHimself said:
That is pretty much it. Just remember to be super user and include -p if using tar for backup. Tar -cvpjf /sdcard/ADAS.tar.bz2 . for example. Also, you don't want to be in webtop2sd mode if you are doing this but from a rooted webtop on the the phone itself. Or you could do it all from an adb shell.
Cheers!
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
I haven't used adb before. Can you list the commands in adb to install this? Thanks.
qaplus said:
I haven't used adb before. Can you list the commands in adb to install this? Thanks.
Click to expand...
Click to collapse
ADB is just a way to get a remote shell going over usb, so the commands are linux shell commands.
I would do something like this:
(Blank ext3 partition on sdcard, second partition)
adb shell
$ shsu
# mkdir /mnt/asec/osh2
# mount -t ext3 /dev/block/mmcblk1p2 /mnt/asec/osh2
# cd /mnt/asec/osh2
# tar -xvf /sdcard/osh2.tar.bz2
# cp /osh/ubuntu.sh /sdcard/
# cp ubuntu.sh /osh/
# cd /data/home
# tar -cvpjf /sdcard/adas.tar.bz2 .
# rm -r /adas
# sync
# umount /mnt/asec/osh2
# reboot
Cheers!