Jump to content

Samurai II Vengange, works well on Vega... eventually


Guest SilentMobius

Recommended Posts

Guest SilentMobius

So the first "Tegra 2 only" game is out on the Android market

https://market.android.com/details?id=com.m...e=search_result

I read that it didn't require Honeycomb so I bought it and tried to install... No dice

Some logcat'ing later I realised that the error was "not enough free space in internal storage" odd that the market didn't tell me, so I went on a rampage deleting apps. 180MB free and it still wouldn't install.

Bum.

However I then happened to remember reading about how android is partitioned (The G1s internal storage was so small that the were re-partitioned hboots available) and that the "cache" partition was only used for "app downloading and OTA updates" so I checked the size of /cache, it was only ~30MB and the app was 40MB+

So after a little playing I did the following:

umount /cache

busybox mount -o rw,remount -t rootfs /

rmdir /cache

mkdir /data/cache

ln -s /data/cache /cache

This means that /cache uses the storage in /data and allowed me to download and install the game.

And it's _really_ pretty.

Edited by SilentMobius
Link to comment
Share on other sites

Guest wobblydoggy
So the first "Tegra 2 only" game is out on the Android market

https://market.android.com/details?id=com.m...e=search_result

I read that it didn't require Honeycomb so I bought it and tried to install... No dice

Some logcat'ing later I realised that the error was "not enough free space in internal storage" odd that the market didn't tell me, so I went on a rampage deleting apps. 180MB free and it still wouldn't install.

Bum.

However I then happened to remember reading about how android is partitioned (The G1s internal storage was so small that the were re-partitioned hboots available) and that the "cache" partition was only used for "app downloading and OTA updates" so I checked the size of /cache, it was only ~30MB and the app was 40MB+

So after a little playing I did the following:

unmount /cache

busybox mount -o rw,remount -t rootfs /

rmdir /cache

mkdir /data/cache

ln -s /data/cache /cache

This means that /cache uses the storage in /data and allowed me to download and install the game.

And it's _really_ pretty.

I just moved it to /data using root explorer where i had 100mb free and installed from there :huh:

had to unmount my storage card before it would let me install though then remounted it once installed and moved to sd now it only takes 400kb of device storage :)

Edited by wobblydoggy
Link to comment
Share on other sites

Guest Sir Gash
So after a little playing I did the following:

unmount /cache

busybox mount -o rw,remount -t rootfs /

rmdir /cache

mkdir /data/cache

ln -s /data/cache /cache

This means that /cache uses the storage in /data and allowed me to download and install the game.

And it's _really_ pretty.

I would appreciate some help as I still cannot download it!

I tried your above commands (via adb shell) then rebooted and it seems to have worked as I have a cache folder under /data. Is there a way to confirm the amount of storage available in each partition? Could it be that I have no storage left in data?

As I have bought the game for the second time now, I can no longer get a refund so would really like to get this working!

Cheers

EDIT: OK, probably hasn't worked as I still see cache in root via Root Explorer. When I used the commands via ADB Shell they were just echoed back, no messages came up. Any tips?

Edited by Sir Gash
Link to comment
Share on other sites

Guest stevesilk51

Tried Root Explorer method, to copy cache to /data and then deleted cache folder in root. Still not installing, as with Sir Gash - any ideas/

Thanks

EDIT: Did UNmount SD Card

Edited by stevesilk51
Link to comment
Share on other sites

Guest SilentMobius
I would appreciate some help as I still cannot download it!

I tried your above commands (via adb shell) then rebooted and it seems to have worked as I have a cache folder under /data. Is there a way to confirm the amount of storage available in each partition? Could it be that I have no storage left in data?

As I have bought the game for the second time now, I can no longer get a refund so would really like to get this working!

Cheers

EDIT: OK, probably hasn't worked as I still see cache in root via Root Explorer. When I used the commands via ADB Shell they were just echoed back, no messages came up. Any tips?

Sure try adding in the following debug and post the output:

mount

unmount /cache

mount

busybox mount -o rw,remount -t rootfs /

mount

rmdir /cache

ls -l /

mkdir /data/cache

ls -l /

ln -s /data/cache /cache

ls -l /

Then do _not_ reboot, just go straight to the market and download (reboot clears the fix)

When I did this I had about 180MB free on /data. Not sure how much you would need, but when installed to SD after a complete download it only takes up 800K or so

Link to comment
Share on other sites

Guest Sir Gash
Sure try adding in the following debug and post the output:

mount

unmount /cache

mount

busybox mount -o rw,remount -t rootfs /

mount

rmdir /cache

ls -l /

mkdir /data/cache

ls -l /

ln -s /data/cache /cache

ls -l /
Then do _not_ reboot, just go straight to the market and download (reboot clears the fix) When I did this I had about 180MB free on /data. Not sure how much you would need, but when installed to SD after a complete download it only takes up 800K or so
Well, I'm falling over at the first hurdle then! I don't seem to have 'unmount' available for some reason, it just says "unmount: not found". Here is an extract of what is displayed by mount:
rootfs / rootfs ro,relatime 0 0

tmpfs /dev tmpfs rw,relatime,mode=755 0 0

devpts /dev/pts devpts rw,relatime,mode=600 0 0

proc /proc proc rw,relatime 0 0

sysfs /sys sysfs rw,relatime 0 0

none /acct cgroup rw,relatime,cpuacct 0 0

tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

/dev/block/mtdblock3 /system yaffs2 rw,relatime 0 0

/dev/block/mtdblock6 /data yaffs2 rw,nosuid,nodev,relatime 0 0

/dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev,relatime 0 0

/dev/block/vold/179:26 /data/sdext2 ext2 rw,relatime,errors=continue 0 0

/dev/block/vold/179:25 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,

uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharse

t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/block/vold/179:25 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,rela

time,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,ioc

harset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

Should I be using some kind of terminal app instead or should it work with ADB shell?

Thanks for your help by the way!

Link to comment
Share on other sites

Guest Sir Gash

As I couldn't wait for a reply, I just started experimenting until it worked :huh:

Firstly, unmount doesn't work because it should be 'umount'. Also, it would always fail for me so I stopped the shell first. This is what I did if anyone is interested:

WARNING: I don't really know what I'm doing so use at your own risk!

- Start a Command Prompt and go to the directory where ADB is stored (e.g. C:\android-sdk\tools)

- Type the following commands one by one:

adb shell

su

stop

umount /cache

busybox mount -o rw,remount -t rootfs /

rmdir /cache

mkdir /data/cache

ln -s /data/cache /cache

start

Wait a few seconds then press the power button and unlock your Vega, go to the market and download this great game!

I take it if the game receives an update we will have to this again? Is there a way to make this change permanent?

Edited by Sir Gash
Link to comment
Share on other sites

Guest Lennyuk
As I couldn't wait for a reply, I just started experimenting until it worked :huh:

Firstly, unmount doesn't work because it should be 'umount'. Also, it would always fail for me so I stopped the shell first. This is what I did if anyone is interested:

WARNING: I don't really know what I'm doing so use at your own risk!

- Start a Command Prompt and go to the directory where ADB is stored (e.g. C:\android-sdk\tools)

- Type the following commands one by one:

adb shell

su

stop

umount /cache

busybox mount -o rw,remount -t rootfs /

rmdir /cache

mkdir /data/cache

ln -s /data/cache /cache

start

Wait a few seconds then press the power button and unlock your Vega, go to the market and download this great game!

I take it if the game receives an update we will have to this again? Is there a way to make this change permanent?

well yes, its actually very easy to resize partitions on the vega, the CM7 rom by bumble-bee has done this (can't remember what he sized /cache too though) but theoretically you can reduce/ data by a bit and increase /cache to stop this being an issue in the future.

Link to comment
Share on other sites

Guest Sir Gash
well yes, its actually very easy to resize partitions on the vega, the CM7 rom by bumble-bee has done this (can't remember what he sized /cache too though) but theoretically you can reduce/ data by a bit and increase /cache to stop this being an issue in the future.

Cool. I take it that this would require a wipe and any nandroid backups could not be restored after changing the partitions? I suppose allocating the 30MB we currently have for cache to data and creating a permanent symbolic link would be the best option? I am only theorising as I haven't got a clue on how to go about it!

Link to comment
Share on other sites

So the first proper 'Tegra 2' game on the market doesnt install at all! ... Well that's stupid ....

I put the game on a one star, got a refund and sent the developer a snotty email saying when they fix it ... I will buy it!

Sorry but im not running through all these hoops to get a game installed that is supposed to work on Tegra hardware!

Link to comment
Share on other sites

Guest Lennyuk
So the first proper 'Tegra 2' game on the market doesnt install at all! ... Well that's stupid ....

I put the game on a one star, got a refund and sent the developer a snotty email saying when they fix it ... I will buy it!

Sorry but im not running through all these hoops to get a game installed that is supposed to work on Tegra hardware!

its not the fault of the dev that it doesn't work on the vega, the vega has a /cache partition that by default is too small, thats the entire reason, basically any games you download from the market bigger than 30mb won't work.

Link to comment
Share on other sites

its not the fault of the dev that it doesn't work on the vega, the vega has a /cache partition that by default is too small, thats the entire reason, basically any games you download from the market bigger than 30mb won't work.

Then they should make the game less than 30mb and download the rest on SD. That's how everyone else does it! Take dungeon defenders for example. . That works perfectly fine ... the devs should make allowances for stuff like this. The Vega can't be the only device with this setup.

Sorry but there is no excuse...

Link to comment
Share on other sites

Guest warriorscot

I would imagine they made the game on a better tablet than the vega, which probably has a better hardware setup to begin with in terms of internal storage so its probably not an issue that popped up for them.

Link to comment
Share on other sites

I would imagine they made the game on a better tablet than the vega, which probably has a better hardware setup to begin with in terms of internal storage so its probably not an issue that popped up for them.

I'm sure u are right ... but if there is at least one device out there which has a limit like the Vega then that should be taken into account. Any half decent dev will TEST their app on more than one device...

As stated I been productive and sent an email to the devs explaining this so if they want my money its up to them really .... hopefully someone at dsg and maybe Paul can come up with a way of repartitoning a bit easier.

Until then its no sale .. I could easily make the above changes I just don't see why I should.

Link to comment
Share on other sites

Well, I'm in limbo with this as I can't get refund a second time.

I'm sure there will be a simple fix to give this game the juice it needs?

Yeah there is .. make sure the main app is less than 40mb! Dungeon defenders main app is 7mb! Sorry to rant about it but coming from someone who creates visual basic Apps and knows a reasonable amount about developing apps its pretty bad form.

I'm sure they will get it fixed .. I feel your pain though .. the whole 15min refund thing is a joke in all honesty.

Link to comment
Share on other sites

Guest warriorscot

The P10AN01 is still not an easy device to get hold of and it's not that popular really also there are different brands all with their own firmwares so they can't practically test every variant for compatibility and its the base reference design it really wasn't intended for the retail market. They probably tested on what they thought would be the big retail devices so the LG tegra devices the XOOM and ADAM all different set ups.

To be honest I usually try an app before I go and buy it if its only available on the market and is fairly expensive for an app.

Link to comment
Share on other sites

Guest SilentMobius
Yeah there is .. make sure the main app is less than 40mb! Dungeon defenders main app is 7mb! Sorry to rant about it but coming from someone who creates visual basic Apps and knows a reasonable amount about developing apps its pretty bad form.

I'm sure they will get it fixed .. I feel your pain though .. the whole 15min refund thing is a joke in all honesty.

No really it's not the developers fault, neither is it the Vega's OEMs fault.

The cache partition is for OTA downloads, Market downloads and very little else, _that_ is why it's small on the Vega

It's reasonable for the OEM, it's reasonable for the Developer, _we_ knew what we were getting (a Tegra 2 tablet for almost half the price of others a few months early) that is not designed with Market downloads in mind.

This is from someone who writes software for Banks mainly in C/C++/Perl if we wan't to wave "street" cred.

The Vega has plenty of things to complain about, this isn't one of them.

PS. Sorry about the typo, it should have indeed been "umount", giving explicit command steps was kind of an afterthought. Just wanted to tell people it was possible.

Edited by SilentMobius
Link to comment
Share on other sites

Guest Lennyuk

Here is how i got it to work. Purchase the game then get the apk from another non-market source, that way it doesnt use the cache when installing so installs fine first time.

Link to comment
Share on other sites

Guest stevesilk51
Here is how i got it to work. Purchase the game then get the apk from another non-market source, that way it doesnt use the cache when installing so installs fine first time.

Thanks Lenny,

Worked for me too!

Link to comment
Share on other sites

Just to add a bit of fuel to the fire ... :huh:

http://forum.xda-developers.com/showthread...5664&page=4

Google only recently updated the max size of apps from 25mb to 50mb ... Now fair play any dev would see that and think fine I can make something over 25mb .. but thats not really the point ... the point is its a recent change so no devices (that only have the cache set to less than 30mb) would have had a firmware update to fix this ...

Someone need to make sure DSG are aware of this so they can build it into the next full version.

If anything this is Google's fault , but as stated IMO dev's should take this sort of stuff into account when making apps ... You have to make apps which will work on a variety of devices, otherwise its no sale. In this case they haven't so its no sale ... pity.

Link to comment
Share on other sites

Guest warriorscot

To be fair the game works fine if you install from an apk file, its the market that is broken so it's not really the devs fault at all. They can't exactly do anything about it either can they it's not within a game devs purview to make alterations to the memory partitioning it would potentially get them in a lot of hot water.

Link to comment
Share on other sites

Guest simonta
By the way im all for supporting devs and buying apps but if anyone does use ADVERTISING SPAM it installs without any problems.

Please do not discuss anything to do with appplanet on here. Not what we need and not what the Android community is about.

There are pefectly good workarounds that include folks paying for what they use.

Personally, there is little that would give me more pleasure than taking an axe to everyone of their thieving servers.

Thanks

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.