Busybox compile enabling Swapper on the Hero... - Hero, G2 Touch Android Development

http://android.modaco.com/content/htc-hero-hero-modaco-com/291345/installing-busybox/
I custom compiled Busybox and detailed how to put it on your Hero, which enables Swapper (I'm using it now with a swap partition).
Enjoy!
P

I have a few quick questions being a newby... lol
Where do we run the above commands, recovery mode or from the command prompt while the hero is switched on???
Im having a problem ither way, it says permission denied.... :-( and I am rooted 100% so im pretty sure that is not the case...
When I write adb remount, it says "remount failed: operation not permitted"
The push command works,
but then the last command adb shell /system/xbin/busybox --install -s /system/xbin/" gives me a permission denied...
Also do we have to have out sd card formated with a fat32, ext2, and swap partition for this to work??
Any help is appreciated!

Did you root using my method?
P

yip.... I have overclocker running, market enabler, and the app transfers the applications cache to your sd....
Im trying to get yours to work, and also get appstosd to work to speed things up a little... any ideas??

yip.... I have overclocker running, market enabler, and the app that transfers the applications cache to your sd....
Im trying to get yours to work, and also get appstosd to work to speed things up a little... any ideas??

Related

How to check if Apps2SD has been installed correctly...

The following information is for those who are still unsure of whether Apps2SD has been installed and if it is working correctly after root.
Open a Terminal Editor on your phone (I currently use ConnectBot, which is available for download via the Android Marketplace, comes with hotkeys, and it's free, link <here>).
When you have the client open, type "su" to gain super user access, and then hit enter. Now type "ls -l /data" and hit enter. You should see a few lines, a couple of which should read on the far right column:
dalvik-cache -> /system/sd/dalvik-cache
app-private -> /system/sd/app-private
app -> /system/sd/app
Notice the -> indicating symlinks and the 'sd'
You can also run: busybox df -h to check the /system/sd that the folder is being used
If this output is visible to you, then Apps2SD is working properly and you have installed it correctly. You will notice that by checking Menu > Settings > SD & phone storage, there is still some internal memory going down due to cache, other data, etc, but the main apps all go on the SD card given the above result. I currently have 29 apps installed (including Google Earth, which is 22.1 MB in size itself) and my internal memory currently shows 119MB of available space.
You can perform more extensive checks by executing the following command:
ls /system/sd/app (this will list all the apps which you have installed to the SD card)
If you prefer to run it from a PC with your phone connected, then this can also be checked via ADB by installing the relevant Android SDK for your OS. Downloads for SDK versions, link <here>.
Alternatively, you can use the script (written by theboxman from MoDaCo.com), which you can run via GScript Lite to test if Apps2SD is working correctly, link <here>.
how about unlock?
thank you for the info. btw, i havent seen in the forum if there a way to unlock the Desire form a certain network. any idea? sorry i know its the wrong place to ask and post this.
Hi Mastoid,
Could you tell me how exactly to run this from PC?
I've got the whole SDK installed but no idea what i have to do...open a prompt or something? Please inform as i'd really like to check.
You need to download the Android SDK and also Java.
http://java.sun.com/javase/downloads/widget/jdk6.jsp
http://developer.android.com/sdk/index.html
Then open a command prompt in Windows, plug in your Desire (your phone does not need to be in hboot/fastboot to access adb shell).
1) Open a command prompt on your computer and cd to your adb tools directory (it will be wherever you extracted the sdk; ie, c:\android-sdk_r04-windows\android-sdk-windows\tools
2) In that window enter the following commands:
adb shell
su
ls -l /data
this should list the top 2 items as:
lrwxrwxrwx root root 2010-04-28 22:54 app-private -> /system/sd/app-private
lrwxrwxrwx root root 2010-04-28 22:54 app -> /system/sd/app
ls -l /system/sd/app (will list apps on installed to your SD Card)
Now, for final proof, type:
busybox df -h
iom_jack said:
thank you for the info. btw, i havent seen in the forum if there a way to unlock the Desire form a certain network. any idea? sorry i know its the wrong place to ask and post this.
Click to expand...
Click to collapse
Do you mean to have it sim-unlocked?
http://uk.answers.yahoo.com/question/index?qid=20100328154024AA1abkl
Great!
That worked, though the items you mention are not at the top but a couple of rows down. Busybox did show the apps installed on the SD.....ah, peace of mind
thx for the instructions!
no problem bud, glad it worked out for you
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Question about APP2SD.....if anyone can answer
can it stop working halfway? i mean at first it really looked like apps were on SD but now it takes the flash memory instead....
i have 38m left with APP2SD
totorip said:
can it stop working halfway? i mean at first it really looked like apps were on SD but now it takes the flash memory instead....
i have 38m left with APP2SD
Click to expand...
Click to collapse
I posted a thread recently showing how to check if Apps2SD has been installed correctly and is working:
http://forum.xda-developers.com/showthread.php?t=677073
How to setup App2SD?
Anyone got a clear, easy guide on getting it working? Can you install it on the standard rooted ROM from MoDaCo? Do you need to have it cooked into a ROM?
A video or something would help but I'm interested in getting it setup incase I need to get a load of apps
î did your think i i use better terminal pro
app => system/sd/app
dalvik cache => /system/sd/dalvik cache
app private => /system/sd/ app private
so how can i have around 40mb left only?
Re: Question about APP2SD.....if anyone can answer
How many apps have you installed?
How have you partitioned your sd card? i.e. swap size?, ext2 size?
Have you applied the Apps2SD update zip?
-------------------------------------
Sent via the XDA Tapatalk App
ive got maybe 40/50apps
i partitionned , 66 cache 1280m EXT 2=> EXT3
and no update....i dont need with the latest modaco R2 custom rom do i?
im afraid to reboot everything again, spent the whole day to isntall everything
30mb left :x
Re: Question about APP2SD.....if anyone can answer
I would suggest that you apply the dalvik-cache update zip and that should hopefully fix it. Note that you should only allocate 512MB to 1024MB (max) for the ext2 size and, you do not require a swap of 66MB, it is not recommended. I have my swap set to 0MB, ext2 set to 512MB which is more than enough space for apps, and rest to FAT32.
Search google for the "Apps2SD mini guide" (found via MoDaCo website) click the link and scroll down to the bottom of page one, the update zip file is available there.
-------------------------------------
Sent via the XDA Tapatalk App
is it bad? (64 swap)
i calculated, i installed 170m worth of app. And i have "43" left (started at 138)
so , somewhere, APP2SD is working...but not verry effective
Re: Question about APP2SD.....if anyone can answer
I think it is working, run the command (ls /system/sd/app) in terminal editor in the link i posted earlier and check what apps are stored to the sd card. Also, download and install "cachecleaner" from the marketplace (free) to free up some cache space.
-------------------------------------
Sent via the XDA Tapatalk App
Re: Question about APP2SD.....if anyone can answer
You have something wrong. I have also this Rom with about 53 apps and have still 134MB free.
Sent from my HTC Desire
i installed the update.zip
i went from 38 to 53mb
then i use cache cleaner , i now have 60....
and still 170m worth of app...
so is my app2sd working in half?
Re: Question about APP2SD.....if anyone can answer
I ran the command in Su, and only the 2 app ones said sd, my dalvic cache didn't say SD card. I ran the suggested update fix but had bootloop, do I need to wipe anything first? I'm using evil 1. 0 Rom and thought it came pre app2sd. . .
Id like to get dalvic moved. . .
Thanks
-------------------------------------
Sent via the XDA Tapatalk App
Lol since thazt update zip i have no more wifi....cant start wifi it says. Great

DamageControl 3.2.2.1 Apps2SD

Hello All,
I have a rooted Evo with DamageControl's 3.2.2.1 rom. I know it has apps2sd built into the OS, yet I cannot seem to get this working at all. Would anyone be kind enough who has this OS and a2sd working to make a quick and dirty guide? Ihave tried partitioning via Rom Manager and then turning it on...tried a few things. Any help is appreciated.
I would like some help with this as well. Have tried all the same steps, just can't seem to figure it out.
Sent from Ye olde Evo
Im sure someone out there knows how to do this!
Got this from another forum:
Did you patition it on the phone? Did you upgrade EXT2 to EXT3? If the answer to either or both of these, that could be the problem.
Type this in order:
cd c:\android-sdk-windows\tools (or wherever you have installed the sdk)
adb remount
adb shell
busybox --install /system/xbin
mkdir /system/sd
a2sd
exit (wait until its done doing its thing, you should see # when its done)
restart your phone after the prompt is done spewing and you're all set.
Click to expand...
Click to collapse
Personally I don't think there's any need for this since the EVO has hugeee internal memory. This was used mostly on older phones.
Thanks I'll try it when I get home
correct, most roms using this will only use app2sd if you have the ext partition on the sdcard, otherwise it defaults to the normal app storage

Insufficient Storage???

I'm trying to update my eBay app and keep getting this error. The weird thing is, I have plenty of memory. I've also been able to download other apps and install them fine.
I thought it was just the app itself, but from reading comments in the market, other Evo users have been able to download the update.
What can I do?
Sent From My HTC Evo 4G On The Now Network From Sprint Using Tapatalk Pro!
Check your /cache partition. In terminal or via adb shell, "df /cache". If it's full, you'll get this message, as the market downloads APKs there before installing them.
bkrodgers said:
Check your /cache partition. In terminal or via adb shell, "df /cache". If it's full, you'll get this message, as the market downloads APKs there before installing them.
Click to expand...
Click to collapse
How do I do it via terminal? And what do I do if its full?
Sent From My HTC Evo 4G On The Now Network From Sprint Using Tapatalk Pro!
Basically download Terminal Emulator from the market open it, and type "df /cache" <enter>
Your sig says you're rooted, so you can wipe cache from recovery.
Yea, I know how to get into terminal. I already have it. Just didn't know the command.
Sent From My HTC Evo 4G On The Now Network From Sprint Using Tapatalk Pro!
Also, here are my results:
df /cache
/cache: 163840K total, 3692K used, 160148K available (block size 4096)
Sent From My HTC Evo 4G On The Now Network From Sprint Using Tapatalk Pro!
Hmm. Well, it doesn't look like /cache is your problem then. I'm not sure what else to check.
Bumping up an old thread. It happened to me too after the app disappered while I was twisting the phone setup. Both market and Titanium Backup failed.
Thanks to a thread (which I do not have permission to post) I located and deleted /data/data/com.ebay.mobile folder using Root Explorer. Titanium Backup then restored it successfully. Market was still weird but in a different way though.
Steps from andyme/Pedro Mari on abovementioned thread for fixing skype:
1. Root your device.
2. set USB debuging on the device
3. go to shell with adb
3.1 su
3.2 accept su on the device
3.3 rm -R /data/data/com.skype.raider
Well I used Root Explorer instead of adb, and the folder path for ebay is /data/data/com.ebay.mobile.
jjane45 said:
Bumping up an old thread. It happened to me too after the app disappered while I was twisting the phone setup. Both market and Titanium Backup failed.
Thanks to a thread (which I do not have permission to post) I located and deleted /data/data/com.ebay.mobile folder using Root Explorer. Titanium Backup then restored it successfully. Market was still weird but in a different way though.
Steps from andyme/Pedro Mari on abovementioned thread for fixing skype:
1. Root your device.
2. set USB debuging on the device
3. go to shell with adb
3.1 su
3.2 accept su on the device
3.3 rm -R /data/data/com.skype.raider
Well I used Root Explorer instead of adb, and the folder path for ebay is /data/data/com.ebay.mobile.
Click to expand...
Click to collapse
All I had to do is kill all apps with a task killer app. Then apps install
Sent from my PC36100

[Q] Problem Installing "a2sd darktremor"

I installed "a2sd darktremor" using the sticky big thread in this forum, I followed all the steps, I partitioned my sdcard to ext2, and then typed those lines in the terminal:
su
cd sdcard
sh a2sd_enabler.sh
reboot recovery
Then updated in the recovery using file "dtapps2sd-2.7.5.3-beta04-signed", installed "a2sdgui" from store, but once I run it, I get this message:
Exiting A2SDGUI
Could not start for one of these reasons:
1. You device is not rooted.
2. A2SD Scripts could not be found
3. No EXT partition found
Well, my phone is rooted, A2SD script is installed and it gave me success message when I installed it, and I have ext2 partition. I thought it may be because I don't have BusyBox, so installed it but no success.
Where is the problem then ??
I found those posts here and here, they talk about a file called test6.zip, but link doesn't work and I couldn't find it around.
Any help will be appreciated.

new to root 1st attempt, busy box finds sys/xbin full?

Hello there, having a prob finishing project. Root established w. nrt, busy box wont install....no room sys/xbin? what do I do?
Your system partition must have not enough free space. Consider making some free space there before installing busybox.
Try disabling USB debugging, for some strange reason that sometimes works
Sent from my XT1575 using Tapatalk
Thanks
I will try, like I said new to all this sys partition how do I find it, and how do I make space? Will try changing usb debugging also. Trying to learn.
In a terminal emulator do the following commands:
su
df /system
How much free space does it show?
reply
zandgreen said:
In a terminal emulator do the following commands:
su
df /system
How much free space does it show?
Click to expand...
Click to collapse
Says, df/system: not found
Tablet says lots of storage. one of the new programs I have said system full but other storage plenty.
You missed the space before the slash:
df /system
In any case you will need to remove some not needed apps from the system partition.
zandgreen said:
You missed the space before the slash:
df /system
In any case you will need to remove some not needed apps from the system partition.
Click to expand...
Click to collapse
Ok, didn't even notice the space but why is my system suddenly completely full? looking on phone 11 gb free but looking at one of the root programs the file busy box needs to install to xbin says completely full. Although busy box says it is installed it says xbin no storage sys no storage room, very confusing for a noob.
Try the Nexus Root Toolkit by Wugfresh, I know it's adb in a wrapper but it's very easy to use good luck.
Tmzdroid said:
Try the Nexus Root Toolkit by Wugfresh, I know it's adb in a wrapper but it's very easy to use good luck.
Click to expand...
Click to collapse
Thats how I rooted, I did get it installed after clearing cache. Now I need to find a good kernel and rom to install. Any ideas? just want faster smoother. Not a rocket ship.
And thanks everyone for the help.

Categories

Resources