Apps2SD + VillainROM 6.2 Problem - Hero, G2 Touch Q&A, Help & Troubleshooting

Hey,
I've noticed a very weird and particular problem with my Apps2SD on VillainROM 6.2. I've partitioned the SD card as recommended with no swap space and 512MB for ext2 partition and the rest left fat32 one. It is said that it should work automatically.
But after installing ~100 apps maybe less I'm left with 15MB of internal storage left and an information that I cannot install nothing no more due to low space.
I've run appscheck or whatever that script's called (you know the one) and it says: "apps2sd is working without dalvik-cache"
Clearly it should be working then but it's not. I understand that the space should be going down a bit one way or another but having installed less than a 100 apps I should not run out of it especially that most of them were quite small. That said I just wanna add that Android Commander shows up ext2 partition greyed out when I access my mobile with it - so, it sort of prooves that there's something wrong.
Is there a way to fix it, so I could fully enjoy my phone?

Related

Linux-Swap without App2SD???

Hi everyone,
A relatively noob question here.
I am running the Official ROM 2.76.405.5 on an unbranded Hero, and want to give Linux-Swap a try. But I don't want Apps2SD; I might move certain apps cache to the SD after rooting, but like the Apps themselve on the internal memory though. How can I go about it? What do I need to do?
1) Can I format my SD card so that it has a fat32 and a linux-swap partition but NO "ext" partition?
2) If I do make an EXT partition, what patch/fix should I do to make only swapping work, without Apps2SD? Modaco's Hero patch as well as his custom ROMs come with Apps2SD. Is there a way to get rid of it?
3) Will I need "busybox" to make swapping work? Or is "Swapper" alone going to be enough?
4) If I make my custom update.zip file from Modaco's Hero patch.zip, from which I delete A2SD, and then falsh that update.zip via the recovery mode, will it work?
5) And what swap size do you recommend? Some people use as large as 256MB... while the default in most cases is 32MB. Is the larger the better?
Please help a non-developer here. Many thanks in advance!
OK, I have done it and it seems right. I made all three partitions (fat32, ext3, and linux-swap) and then pushed busybox by Modaco's method via "adb shell". That means I have the ext3 partition but no Apps2SD, so my apps would stay on the internal memory. Am I right?
Now I have also installed Swapper and so far it has not given me any error. Via Advanced settings, I have told it to use Swap "partition" instead on swap file. My swap partition is 256MB
My questions now are:
1) If I kill swapper by taskkiller, will swapping end?
2) How much swappiness should I choose?
3) How do I know that it is working and what improvements should I expect to see? How can I test that my phone is functioning faster??
Please reply
Would anyone like to share their comments on this, please?!?
One more thing, Hero comes with a 288MB RAM, but the total available system memory (RAM) shown by Swapper app is 197MB. Why such discrepancy??
Your views will be much appreciated!
Very well asked questions. Some masters respond to them please so we don't disturb you about these questions within every thread of yours
to format your sdcard (i'm assuming you know how to use parted and have only 1 partition) resize your fat32 partition, for example, with my 7948 MB sdcard:
Code:
(parted) resize 1 0 7850 (where 7850 is the maximum size of your sd-card minus the amount you wish to allocate for swap, in this case, 98 MB)
wait for it to finish re-sizing, doing it this way prevents data loss, after it's done;
Code:
(parted) mkpartfs primary linux-swap 7850 7900
(parted) mkpartfs primary linux-swap 7900 7948
(parted) rm 2
(parted) resize 3 7850 7948
(parted) quit
you basically create two linux-swap partitions (the second partition can be anything, but I use linux-swap because it can be any size in MB) so that the third one gets asigned a p# of 3, then remove the second one, and then resize the third one to take up the whole space left after your fat 32 partition, that way you don't waste any space. You can always
Code:
(parted) print
to make sure your fat 32 partition has a p# of 1 and your linux-swap has a p# of 3
About why there's only 197MB left on your device? Radio and GPU take the other 96 MB and the system has no access to that memory. Don't worry, it's still enough for you to run hero, pity us dream users with only 96 MB working RAM.
===edit====(answer more questions)
If by "official rom 2.73.405.5" you mean the one you can download from MoDaCo, then I don't even think it has root. There are four 2.73.405.5 roms there, the RUU, which you should avoid like the plague, the Official one which is only the RUU but packaged in OTA format, the Official one with Radio update, and the Official rooted one. You wan't to use the rooted one. Also, you do need busybox (you're already done it). I think that in the official rooted there are no scripts running at boot, so you won't get A2SD forced upon you (always a good thing, soon as I buy my Hero I'm using that build too as a base for my build), no compcache, no swap-file usage, nothing, just a stock rom with root. Anyway, you already have busybox, and that's all swapper requires, so you're good. For extra credit, you could learn how to unpack boot.img and edit the init.rc to call on your own script from bin and have it do swap automagically instead of using swapper (plus you can do nifty things like using mmcblk0p2 instead of p3, among other things).
I don't know how swapper works exactly, but I think all it does is echo settings to the VM to set up swap, so killing the app should do nothing (it's just a front-end to what other roms do automatically) and swap should stay working after you kill it. You can try, just kill the app and then open up the terminal and type
Code:
$su
# busybox free
that will tell you how much memory you have and how much swap you have, you should still have swap even after killing swapper.
About swap size?... depends who you ask. If you ask me, you have a hero with 198 MB working ram and you shouldn't even have to bother with swap at all. If you still want to, maybe try to set up a 32 MB compcache setup (you have enough ram where compcache makes sense) with a swappiness of 0 (this keeps the memory pages for Rosie in swap and even after heavy usage, you can always go back to rosie w/o reloads).
Having a swap-file on your sdcard makes no sense if you don't have a class 6 sdcard as it will hurt performance, so, if you do, anywhere between 64 MB and 198 MB (to match the whole working memory space of the device) with a swappiness of 60 should suffice.
I wish I had a hero...
Thanks jubeh, thanks soo much. It was really helpful After reading your answer, I completely understand how to make only fat32 and linux-swap partitions and save space by not having an ext3.
I am afraid I don't quite understand the compcache thing; I think I have to do more reading/homework on this before I ask further questions
I did install the Official ROM which I downloaded from HTC website as an RUU >> flashed Amon_RA's recovery image via flashrec >> rooted by pushing "su" and "Superuser.apk" via ADB shell, and then also pushed Busybox (from Modaco's 2.2 ROM, I think it is version 1.5.1).
I am using a Sandisk 8GB class 6 card... it is fine so far (except the photo thumbnails not being generated in the ".thumbnails" forlder, but that's a different story). I have noticed that after the ROM upgrade, a folder called "rosie_scroll" get automatically created on the SD card... may be it's a kind of built-in swap?!?! Am not too sure.
Moreover, at the moment, I have set swappiness to 60. When most of the apps are open, the hero functions quite well but I see that about 190-194MB of the internal memeory is being uesd at times and heavy use and the area of occupied swap partition gradually increases. I think it is because only thise apps will swap which are kind of sleeping or dozing in the background. Am I right?
Just another question, if you unzup MCR 2.2, you see in the xbin folder, a file called "dexopt-wrapper", an addition to busybox. What does it do? Its function?
Will having lots off apps open in the background and swapping them continuosly have a deleterious effect on the battery life??
Thanks again
Best regards.
having many apps open means using ram a lot. if you add swapping, it means not only ram sucking battery, but also reading/wirtting sd, which is pretty much battery sucker itself.
so yes, if you want to lengthen your battery life, keep your apps loaded atst to a minimum.
if what you want is a comparison for battery life between swapping and not swapping.. you should check if you have your phone always on or off and some other factors (keeping ram alive in hibernation mode wastes more battery than static sd memory, ie).
Thanks sik_gerar I understand where you are coming from.

How does app2sd works ?

Hi,
i just rooted my phone yesterday and i am quite new. I am using the kimera 1.8 and it says app2sd is automatic (i guess) I have partition my class 6 4gb sd card but then when i install apps, the memory of the phone is the one that decreases... Any idea how should i do this ?
raikan123 said:
Hi,
i just rooted my phone yesterday and i am quite new. I am using the kimera 1.8 and it says app2sd is automatic (i guess) I have partition my class 6 4gb sd card but then when i install apps, the memory of the phone is the one that decreases... Any idea how should i do this ?
Click to expand...
Click to collapse
There is a section on how to check if apps2sd is working correctly in BTDAG's guide linked in my signature. Bookmark it!
i already check it but however, my internal memory still decreases when apps are installed.. Does this mean that the app2sd does not work ?
raikan123 said:
i already check it but however, my internal memory still decreases when apps are installed.. Does this mean that the app2sd does not work ?
Click to expand...
Click to collapse
no it doesn't. what does the apps2sd check say? i made it. it tells you the truth. if it tells it works, then it works.
it says /dara/app is a symlink..........ok
/darta.app-private is a symlink.........ok
apps2sd is working without dalvik-cache
What does it mean ??
it says its working but internal phone memory drops ??
dalvik-cache resides in the internal memory, and therefore takes up space on your phone.
if i ever get the guy that made people think apps2sd doesn't use any internal memory, i'll do really bad things to him...
so how do i move my dalvik-cache to my sd ?
you can edit the apps2sd script, or you can ask your rom dev to do it for you. or you can just live with the fact that dalvik-cache uses a little internal memory, it is not gonna eat up all of it. how much free space do you have left?
100mb left just for 20 apps installed
I followed your instructions and the script tells me apps2sd is not working.Can it be manually enabled? Im running Kimera 1.8 with a ext4 partition (I pm'd exit and he told me ext4 was supported)
Thanks

[HOWTO] [REF] Prevent Bootloops when using App2sd+ / Data2sd / whatever2sd-ext

Above the hood​
Well today I intended to answer voyager's problem which was stated in the interactive data2sd thread located here http://forum.xda-developers.com/showthread.php?p=23744977#
and then i think that after i have gathered so much information from the other parts of the world into this little post it would be a waste if it is pushed away by regular posts in the thread. so, i opened this thread here in the general forum so all people with similar confusion can read about it.
YES, there are SO MANY WORDS TO READ. but in order to use a2sd+ or data2sd+ you MUST read them all
you will never know how frustrated i was when i was encountering the bootloop problem for the ENTIRE month.​
my report thread - http://forum.xda-developers.com/showthread.php?t=1239063
my help-seeking in the darktremor thread which was answered by famous developer temasek - http://forum.xda-developers.com/showthread.php?p=17232233​
my target was originally voyager the person but now its to all of you, please ignore my incorrect pronouns, if there are any ​
OH FINALLY i luckily found the very useful reference that i have read before!! after reading these you will understand everything
tobydjones said:
Some phones, eg the Desire, don't have enough internal memory (NAND). A2SD and other 'init.d scripts' fool Android into storing various things on the SD card instead of internal memory to free up space. They can move either apps, the Dalvik cache (a pre-compiled copy of each app) and/or app data. And they can move them to either the 1st (only) partition of the SD card (formatted as FAT or FAT32) or a 2nd partition of the SD card (formatted as ext3 or ext4).
As there's so many different scripts doing different things, I had to make a table to sort it all out. Please let me know if I've made any mistakes, or if you can answer any of my questions in italics.
script ................ apps . Dalvik . data .. comment
---------------------------------------------------------------------------------------------------------------
A2SD pre Froyo ........ SD ... int .... int ... Made to move app data to SD {or was it already ext?}
Froyo A2SD/"move to SD" SD<1>. int<9> . int ... Built in
Gingerbread A2SD ...... SD.... int .... <6> ... Built in. As Froyo but a bit more space.
apps2sd app (on market) ....................... App to make Froyo/Gingerbread "move to SD" easier, not a script
Force2SD (on market) .. ....................... As apps2sd + move system apps>SD {does apps2sd also do this?}
A2SD/AS2D+ (or apps2SD) ext<8> in/ex<2> int ... Various implementations<7> some move Dalvik (manual/auto)
Darktremor A2SD/DT-A2SD ext .. in/ex... int ... Move Dalvik. Used to be auto, now command line (or use A2SDGUI)
MIUI_Au PC-A2SD ....... ext .. ext .... int ... Allows android to boot if SD Card broken/removed. With logs
Link2SD (on market) ... ext .. ext .... <6> ... Moves apps individually
Sibere DATA2SD ........ ext .. ext .... ext<3>. Moves whole /data folder to ext for more space <4><5>
DATA2EXT .............. ext .. ext .... ext ... {another implementation of DATA2SD? how does it differ?}
data2whatever/DATA2WE . ext .. ext .... ext ... Can use ext2-4 plus variety of unusual filesystems eg B(RT?)FS
Notes:
<1> The SD card is mounted very late in the boot up process, so background apps and widgets won't work. Also apps on SD aren't available when SD card is used as a disk ('mounted')
<2> Dalvik on SD/ext may wear out SD card a bit quicker {not a big issue compared with int memory wearing out?}
<3> Data on ext wears out SD card faster because of data writes {how much of an issue is this?}
<4> Data2SD on Sense ROMS - possible corruption during battery pull or forced reboot
<5> Data2SD on ASOP ROMS - corruption when turning off phone due to unclean dismount {or is this fixed now?}
<6> GB doesn't move all of data, but does move app libs (/data/data/<appname>/Lib)
<7> There's a lot of confusion what AS2D, AS2D+ and apps2sd refer to, and the distinction between them, as those names been used for many things, including an app on the market! The + appeared after Froyo was released and often means the Dalvik cache can be moved (not always automatically)
<8> Unlike moving apps to SD, you can move widgets to ext, and apps are available when SD card is used as a disk
<9> If Dalvik cache is on int, number of apps is still limited as pre-compiled copy of each app held in cache
Updated 01/10/11. Thanks to rootSU, fllash & rmcsilva for corrections and additions
Click to expand...
Click to collapse
neoKushan said:
Ok, so here's the deal, in a very longwinded way that should hopefully explain everything and answer ALL questions.
You have an SD card in your phone and, a bit like normal PC Hard Drives, you can "partition" them (split them into two or more sections of different filesystems). Normally, your SD card is just one big FAT32 partition, which is fine for storing your pics, messages, emails, etc.
Now, other then your Phone's SD card, your phone will have its own internal flash memory (or "NAND") storage. Tradditionally with Android, you could only install applications to this NAND storage, you cannot install them onto your SD card. So if you have an empty 32GB SD card, but only 5Mb of internal phone storage, you still wont be able to install many apps, if any at all.
This was done to protect the apps from things like piracy - it's not easy to access the location where apps are installed on your phone's internal storage (normally impossible without root), so you can't for example buy an app, copy it, refund it, then install it again.
Still, this is no good for those of us who like to install lots and lots of apps, legitimately, as we run out of internal storage very quickly.
So Google came up with a way to install apps to the SD card. A folder is created called something like .android_secure and this stores (I believe) encrypted versions of applications, but there's a few catches:
1) Apps aren't automatically stored here, you have to manually "move" them
2) Not all apps are capable of being moved, in fact most apps aren't, the developer needs to update their app and allow it. Some apps aren't and wont be updated and some developers may not want to allow it for whatever reason.
3) Not all app data is moved, most of it is but some data is left on your phone so many people still run out of internal storage quickly.
4) You can force ALL apps to be moved to this area by default, but it breaks incompatible ones - such as Widgets, which are unable to load due to the SD card not being "prepared".
So that's Froyo's version. Before Froyo existed, some very clever people came up with a thing called "Apps2SD". Remember I said that your SD card normally is one big FAT32 partition? Well, Apps2SD works by having your SD card patitioned into TWO filesystems. A normal FAT32 partition for your usual stuff and a secondary "EXT" partition. EXT is just a filesystem, like FAT32 or NTFS, but it's the filesystem used by Android internally. The SD card is normally FAT32 because it's a "universal" filesystem, that just about any machine will be able to read, whereas EXT filesystems are generally Linux only, but I digress.
EXT has several different versions. The most common one you'll see is ext3. The main difference between ext2 and ext3 is "journaling", which is just a fancy way of saying that should an operation (such as copying, writing or reading) be interrupted unexpectedly (say, by you turning your phone off), then no data should be lost or corrupted. You know how when you turn your phone on, it says "preparing SD card"? It takes a few minutes, but what it's actually doing is checking that the FAT32 partition hasn't been damaged, because FAT does NOT have journaling. If you used a computer back in the Windows 98 days, you may remember that lovely blue "Scandisk" screen that had to run every time you didn't shut your computer down correctly - that's the same thing. But then Windows 2000/XP came along with NTFS, which also has journaling, meaning you had less chance of loosing data. But I digress once more.
So you have your SD card partitioned into EXT and FAT32. Generally it doesn't matter if it's ext3 or ext4, but you don't get any real advantage with ext4 over ext3 in this instance. Apps2SD then runs a special script on your phone which "symbolically links" the folder from your phone's internal storage where your apps are normally stored, to the ext partition on your SD card. A symbolic link is a bit like a shortcut for folders, except it's transparent to the OS: In other words, Android doesn't know that when it's installing it's apps to the internal phone storage, it's actually being stored on the SD card. This effectively boosts your internal phone memory from the previous 5mb that you had in my example above, up to whatever size you made the ext partition on your SD card (often 512Mb or 1Gb, but it depends on how many apps you install).
Plus, because it's "journaled", it doesn't need to be "prepared", meaning it's ready to go as soon as the phone starts - so your widgets and apps work immediately (unlike "forced" Froyo Apps2SD, where widgets disappear).
The catch with Apps2SD is that whatever space the ext partition takes up is taken away from the SD card. So if you have a 4Gb card (with something like 3.5Gb of actual storage) and you make a 512Mb ext partition, your SD card will "shrink" to 3Gb. The space isn't actually lost, it's just being used by the ext partition. If you reformat your card, you'll get it back.
Finally, there's a difference between "Apps2SD" and "Apps2SD+". Remember I said that your apps are stored on a special folder inside your Phone's NAND storage? Well, that was a bit of a lie. It's actually stored in TWO places. There's a second area which is called the Davlik Cache. You don't really need to worry about what this is for (Hint: IT's to do with the Java runetime your phone uses to run apps), all you need to know is that apps use it to store data, which also eats up internal phone memory. Apps2SD+ moves davlik cache to the ext partition on your SD card as well, freeing up even more space. Some people believe that this may come at the cost of performance, as the internal NAND memory should be faster than your SD card (Which is why you also get people arguing over which "class" SD card is better for Apps2SD - the logic being that a faster SD card means less impact from this move), but the truth of the matter is that your applications will be running from your Phone's RAM anyway, so performance isn't really impacted at all. Since most apps are only a few hundred Kb's in size, or a couple of MB at the most, it's a non-issue.
Finally, any recent version of Apps2SD/Apps2SD+ should work with an SD card that is or isn't formatted with an ext partition. It'll check for this partition when your phone first boots and if it's not there, just use internal phone storage.
Having an ext partition WITHOUT Apps2SD+ shouldn't cause any issues, either, so you can format your SD card whenever you're ready.
So in summary:
Apps2SD "fakes" your phone's internal memory and puts it all on a hidden section of your SD card.
Apps2SD+ pushes even more content to the SD card, freeing up even more space on the phone itself.
"Froyo" Apps2SD has various limitations that "old" apps2SD does not, but is much easier to handle as it doesn't involve any kind of "partitioning".
Click to expand...
Click to collapse
first, please consider the wording "app2sd+" used above can also be applied to "data2sd+" which should be the main purpose of this thread, because they are similar as they both use the sd-ext partition to store things. the only different is that app2sd+ only moves /data/app and dalvik cache but data2sd+ moves the entire /data partition
now based on my experience of how did i solve my bootloop problems even i install over 300 apps, is, not to integrate Froyo app2sd and app2sd+(or your data2sd+) then things will be fine.
as ive seen that voyager you have "moved all apps to sd" with froyo app2sd while you are TOGETHER using the script of app2sd+(or data2sd+). from the above explanation, your apps and data are now SHARED among /sd-ext and /sdcard/.android_secure which MAY lead to problems on our phones when it enters the process system after going through the bootanimation.
still remember the days and things we have discussed? it was in november when we first known each other i think my founding still applies to data2sd+
voyager20021 said:
For bootloops on Miks CM7 fist post he says
If you get bootloop or stuck at LG logo do next:
Sometimes Recovery can't format /system so you need to clear /system manually. You can do it with this zip (flash as always in recovery), or in mounts menu (clockworkmod recovery only), or with adb:
1. Mount /system in recovery.
2. adb shell rm -rf /system/*
You get 1 error. This is ok.
Will update if I found this bug.
Anyone tried that zip or adb fix? I am not so familiar with adb shell. The zip i think is incompatible or smth.
Franco, do you know if this has something to do with random reboots caused by moving too many apps to sd?
Click to expand...
Click to collapse
Miasmic said:
me.
that successfully wiped system partition and 2 months ago i did full wipe (including /system) and reinstall everything then do the same thing, and i got the same results - bootloop
please go to darktremor's main thread (nexus one dev forum) and scroll a few pages back, ive been yelling there for help and they did a lot to help me especially temasek(u know who? a famous n1 developer)....
but finally we got no conclusions trying everything, even switching to s2e had ****ed up my phone.
what solution i can tell is that
fk kernel + mik + dt a2sd script 2.7.5.2-1
+ apps staying on /EXT (shown "on phone")
= no problems
fk kernel + mik + dt a2sd script 2.7.5.2-1
+ apps staying partly on /EXT and partly on /android.secure (shown "on SD card")
= after booting (seen lockscreen) for about 3mins, the phone goes back to bootanimation and boot again
[im sure voyager is asking about this]
p.s. fk kernel + mik + dt 2.7.5.3 beta4
will result in LG logo stuck every 2 reboots. wipe /system no help.
hope my info is useful and yeah, take alook at the dt thread
until now the only solution is not to move apps partly to /android.secure
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
franciscofranco said:
Why move apps to sd card instead of /ext? doesn't make any sense............. No wonder **** happens...
Click to expand...
Click to collapse
Miasmic said:
Yea I agree with your point, moving the app only to /ext is apparently a safer method than dividing it into /ext and /android.secure
But however this method (using darktremor together with froyos a2sd feature) can save even more internal storage on our phones because darktremor doesn't move 100% of the "app" to /ext. Except "app data" , a small portion of "app" is also occupying the internal storage when using dartremor.
Say angry birds, despite its ~500kb /data size, when using darktremor, 18mb its "app" is moved to /ext while 2mb of it is staying in the internal storage. When using froyos a2sd feature, this 2mb is moved to /android.secure therefore even more internal space is free-ed.
According to the main darktremor thread, a user named bassmadrigal and even temasek himself, has stated that integrating darktremor "move to EXT" and froyos "move to FAT" does not produce any problems (at least on their nexus one) and can save even more space.
Well its not a problem for me as I only move 4 of my biggest apps to FAT and not having issues now.
I think voyagers attempting to move a lot of his apps (partly as they still partly stay at /ext) to /android.secure (as I tried before) and he got ****ed up like me before.
Hmmph I am not quite sure, voyager have you tried the same procedure (restore titanium and move them to FAT) without flashing Franco.kernel and only with the ROM (ans default kernel) and darktremor script installed? In that way we can see whether the "issue"(not at all but just an disadvantage of not supporting a feature) is about Franco's kernel or about our phones. cheers!!
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
franciscofranco said:
Just don't mess with the part that stays in the phone, if you do you're on your own, it's just too damn obvious to waste my time with it, sorry :/
Click to expand...
Click to collapse
Miasmic said:
yea, i definitely dont think it is of any priorities to request you to dig on this stuff and please dont, lol
was just telling my experiences to others and esp. voyager
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
yea, franco also said we shouldn't use the froyo app2sd function when we have already moved stuffs to the /sd-ext using app2sd+/data2sd+
therefore to prevent such abnormal behaviours on our phones we should treat our phones as Android 2.1 or before which does not have the capabilities to use froyo app2sd function to move things to /sdcard/.android_secure instead we should just let them be moved to the /ext partition.
i can confirm that yes there will still be decrease in internal storage because even you got data2sd+, there are something that cannot be moved from the internal storage to /sd-ext and we dont know what. JUST be fuxking sure that all your apps are stayed in "internal storage" (thats a way to fake the phone! you know) and they will be very safe in /sd-ext.
you may also like to install app2sd app but reverse the original concept of this app, i.e. to confirm NO APPS ARE EXISTING IN THE 2nd TAB (ON "SD CARD" with froyo function)
so, to test this out quickly, you may simply:
make proper partitions
wipe properly
flash rom
flash your a2sd+/data2sd+ script
boot phone
run the proper commands (for dt now i would dl a2sdgui and apply stuffs and let it reboot)
now restore titanium backup with INSTALL LOCATION set as "internal storage"
(in CM7 settings > application you may also choose "internal storage" to make sure everything is PURELY moved to /sd-ext instead of sharing among /sdcard/.android_secure with the froyo a2sd function) (however what i can tell you that this CM7 function is not working properly at least with my DT a2sd+ script therefore we have to double check whether it is in "INTERNAL STORAGE" when we install a new app) so now app2sd app came in handy remember is to reverse all apps to internal but not move them to so-called sd which was the original purpose of this app.
ok hope you understand what i meant and now you should not have bootloops
Under the hood​
however, some users have reported that they have NO problems at all when they share their apps among /sd-ext and /sdcard/.android_secure. an example was bassmadrigal (located in the darktremor official thread)
maybe, it is phone specific. maybe, they have shared a less amount of apps as i myself can also confirm that the bootloop problems only occur if we SHARE A CERTAIN AMOUNT OF APPS among the two places.
and for your safety, at least to first eliminate the bootloops problems before doing any experiments, still follow the above and MOVE ALL OF THEM TO so-called "INTERNAL" (pure /sd-ext)
so you mean to say that keep all the apps in internal memeory and it will be safe in sd-ext with any a2d script rather than moving into sdcard?
There is one script i am tryingvhttp://forum.xda-developers.com/showthread.php?t=1342387. I dont have any script installed.But it is still giving me bootloops.
williamcharles said:
so you mean to say that keep all the apps in internal memeory and it will be safe in sd-ext with any a2d script rather than moving into sdcard?
There is one script i am tryingvhttp://forum.xda-developers.com/showthread.php?t=1342387. I dont have any script installed.But it is still giving me bootloops.
Click to expand...
Click to collapse
yes, the message i would like to bring is rather simple and easy but most of the users are confused about "move to ext" and "move to FAT" and the BUTTON in the application manager of our phones show "MOVE TO SD" which is moving PART of the app to SD-FAT (android.secure) so they are now SHARED and will produce PROBLEMS.
This important point is what most of the script developers have forgotten to warn their users.
Remember to check your settings and ROM/kernels/partitions/scripts compatibility with each other before regarding the script solely as the cause of any problematic behaviour (best way to prove is to see whether there are someone using the same combination without problems
then, install the script, and start installing apps only into "internal storage" (to fake your phone as they actually goes to /sd-ext) and NEVER EVER touch the button "Move to SD" in the application manager then you should be fine as said in my first post, double check they are in the internal storage after you have grabbed a new app from market it will be fine to move it back to "internal storage" as long as you havnt reboot the phone.
Miasmic said:
yes, the message i would like to bring is rather simple and easy but most of the users are confused about "move to ext" and "move to FAT" and the BUTTON in the application manager of our phones show "MOVE TO SD" which is moving PART of the app to SD-FAT (android.secure) so they are now SHARED and will produce PROBLEMS.
This important point is what most of the script developers have forgotten to warn their users.
Remember to check your settings and ROM/kernels/partitions/scripts compatibility with each other before regarding the script solely as the cause of any problematic behaviour (best way to prove is to see whether there are someone using the same combination without problems
then, install the script, and start installing apps only into "internal storage" (to fake your phone as they actually goes to /sd-ext) and NEVER EVER touch the button "Move to SD" in the application manager then you should be fine as said in my first post, double check they are in the internal storage after you have grabbed a new app from market it will be fine to move it back to "internal storage" as long as you havnt reboot the phone.
Click to expand...
Click to collapse
Miasmic said:
yes, the message i would like to bring is rather simple and easy but most of the users are confused about "move to ext" and "move to FAT" and the BUTTON in the application manager of our phones show "MOVE TO SD" which is moving PART of the app to SD-FAT (android.secure) so they are now SHARED and will produce PROBLEMS.
This important point is what most of the script developers have forgotten to warn their users.
Remember to check your settings and ROM/kernels/partitions/scripts compatibility with each other before regarding the script solely as the cause of any problematic behaviour (best way to prove is to see whether there are someone using the same combination without problems
then, install the script, and start installing apps only into "internal storage" (to fake your phone as they actually goes to /sd-ext) and NEVER EVER touch the button "Move to SD" in the application manager then you should be fine as said in my first post, double check they are in the internal storage after you have grabbed a new app from market it will be fine to move it back to "internal storage" as long as you havnt reboot the phone.
Click to expand...
Click to collapse
Much simpler explained. We'll have to test your theory. Only now i use ungaze's script which is something like "everything2sd". The button reading move to sd or move to internal has no influence at all. And still having bootloops at some point. Only now the sd ext is 2Gb max, though it never got to fill it without that damn bootloop.
Thanks again MIASMIC for addressing one of the biggest remaining problems which keep us away from having a PERFECT AND COMPLETE O1, now when we are close to having the stable official CM7 and official or not CM9 which will bring so many and awsome STABLE ROMs based on those 2.

[SOLVED] Installing large apps "application can not be installed"

Has anyone else had problems installing larger apps? I tried installing "Broken Sword" from one of the Humble Bundles a while ago. It seems to just stop installing and says the application can not be installed. There is no detailed error at all.
I can install other (smaller) applications from the bundle. Maybe the partitioning is decided in a wrong way, I have the following:
Internal memory:
11,87GB - 11,52 free
Internal memory:
1,00 GB - 759 MB free
SD-Card:
7,41 GB - 5,69 GB free
The apk I want to install is on the SD-Card already and is 540MB which shouldn't be too much for any of the memorys, except maybe the second internal memory? Why is there this second internal memory?
SOLUTION 1: If you don't use an external SDcard changing the mount point of /sdcard1 and /sdcard0 should help, there is a package for that there: http://forum.xda-developers.com/showpost.php?p=32093304&postcount=179
OR you might want to consider to just make /sdcard1 a symlink to /sdcard0 with at least the drawback of not being able to use external sdcards anymore, as long as this is a symlink and not a directory - and maybe other sideeffects!
SOLUTION 2: Specifically for this app, the app itself has some glitches, see there the last post on how to install this specific app: http://forum.revolution.co.uk/topic/636/?page=4
Thanks for help and clarifying, maybe a repartition will be needed? (If it is needed, any link to a useful guide for someone that can manage UNIX / GNU/Linux systems but doesn't know too much Android specific stuff would be the most helpful)
Or is the problem maybe another one?
The partitioning isn't the issue, what else could be the problem?
----
My System Details:
Nook Tablet bought from ebay with CM10 (I think) installed already in internal memory, but no working internal recovery - installed CWM 6.0.3.7 and CM10.1.2 internally using a bootable CM10.1.x sdcard. Maybe the partitioning also isn't the default but was done by the pre-owner.
Okay, seems like size wasn't the issue
I repartitioned according to the following thread:
http://forum.xda-developers.com/showthread.php?t=1531120
And now made internal memory 1 to be 3,3 GB and Internal memory 2 to be 9,99 GB
Any of these still has enough space left, so there must be another problem ... any help?
Then some other issues that seem to persist: adb is shown "offline", I am running Linux and don't need to mess with Windows driver issues, all relevant solutions that I found for this didn't work, I also tried with data/factory reset and a new cm10.1.2 and nothing else on the system, still it is always "offline" ( adb in cwm works ).
Is there overall something else to care about with the Nook Tablet that I might have overlooked? It is also not too nice that the usual "central resource" for installing CM ( http://wiki.cyanogenmod.org/w/Install_CM_for_acclaim ) does only show a non-working general guide... but I don't want to complain
I am also having the same issue. I have a nook tablet 16gb running CM 10.1 with 3.3 GB Internal Storage for all of the apps and 9.99 GB Internal Storage for everything else.
I have 2.8 GB free on the apps storage partition and 9 GB free on the other partition. when I go into Settings --> Apps and look at the SD Card tab, I see that 326 MB are listed as available for SD Card storage with 0 MB. I am not using an external SD Card.
I am unable to "move to SD Card" for any apps even though the option is highlighted. All apps have installed fine, but when I ran Minion Rush for the first time it stopped and said that I need 70 MB of available SD Card storage space to download additional data for the game. I have plenty of space available on both partitions, but for some reason this app doesn't recognize either of these partitions as an internal SD Card.
Is there a way to configure this device to use either of these partitions as internal an SD Card?
bluesock said:
Okay, seems like size wasn't the issue
I repartitioned according to the following thread:
http://forum.xda-developers.com/showthread.php?t=1531120
And now made internal memory 1 to be 3,3 GB and Internal memory 2 to be 9,99 GB
Any of these still has enough space left, so there must be another problem ... any help?
Then some other issues that seem to persist: adb is shown "offline", I am running Linux and don't need to mess with Windows driver issues, all relevant solutions that I found for this didn't work, I also tried with data/factory reset and a new cm10.1.2 and nothing else on the system, still it is always "offline" ( adb in cwm works ).
Is there overall something else to care about with the Nook Tablet that I might have overlooked? It is also not too nice that the usual "central resource" for installing CM ( http://wiki.cyanogenmod.org/w/Install_CM_for_acclaim ) does only show a non-working general guide... but I don't want to complain
Click to expand...
Click to collapse
I figured it out bluesock. There is a former post that provides a solution. There is a ROM you will need to install that will fix this issue.
http://forum.xda-developers.com/showpost.php?p=32093304&postcount=179
I copied the ROM to an SD Card then booted up into CWM and installed this ROM. After the reboot the second partition is renamed to SD Card and shows 10 GB of total space. Under file manager this partition is listed as sdcard 0 instead of sdcard 1. After that I was able to install apps of any size successfully.
Ok this "ROM" basically only modifies /system/etc/vold.fstab and switches sdcard0 around with sdcard1. This probably helps when not having a sdcard like in your case.
My problem wasn't this one, I have an external sdcard - so both sdcard0 and sdcard1 have enough space left!
But there was a problem with this specific app, check the last post on how to install: http://forum.revolution.co.uk/topic/636/?page=4 - sorry for not reporting back earlier, I will edit the first post in some minutes with our two "solutions" / explanations.
But first:
For you the better solution might be to do what digixmax said in that thread: http://forum.xda-developers.com/showthread.php?t=2430335
I will reply there in some seconds with more details about what he said!

[Q] Vonino Onyx QS 7 root

Hi guys, so I've got this tablet for free with my new contract and I want to root it to play a bit with it . Do you guys have any idea how to do it ? I haven't managed to find any tutorials on the web .
Vonino Onyx QS root request
+1 on this issue.
I too have a Vonino Onyx QS tablet running on Android 4.4.2. The device is decent enough, but storage management is awful! Despite being advertised as an 8 GB tablet in terms of storage, the Onyx QS runs aground at about 900 MB of installed apps (including related data and cache) and starts yelling that there is "Insufficient storage available". This renders the tablet virtually unusable after installing just a few essential apps. Emails stop working, apps will no longer update and data-intensive apps such as Google Earth will simply refuse to run. The 32 GB external SD card I've added makes no difference. It's almost like the OS has no clue what to do with it.
I suck at Android. However, after a lot of digging for pieces of information I've come to undersand that these devices use separate partitions for the apps and other files. Some folks have also hinted towards the fact that the puny 0.9 GB app partition can be resized on a rooted device by means of a partition management app. Or apps could at least be moved to the SD card right before their installation (making use of an app such as Link2SD and, again, a rooted device).
This bring us full circle back to the OP's request: could someone please create and explain a rooting method for this tablet?
Just so you know, these are fresh screenshots of this fresh factory reset configuration. Thought it would fix the problem, but it didn't.
SilentGTX said:
Hi guys, so I've got this tablet for free with my new contract and I want to root it to play a bit with it . Do you guys have any idea how to do it ? I haven't managed to find any tutorials on the web .
Click to expand...
Click to collapse
Muravey said:
+1 on this issue.
I too have a Vonino Onyx QS tablet running on Android 4.4.2. The device is decent enough, but storage management is awful! Despite being advertised as an 8 GB tablet in terms of storage, the Onyx QS runs aground at about 900 MB of installed apps (including related data and cache) and starts yelling that there is "Insufficient storage available". This renders the tablet virtually unusable after installing just a few essential apps. Emails stop working, apps will no longer update and data-intensive apps such as Google Earth will simply refuse to run. The 32 GB external SD card I've added makes no difference. It's almost like the OS has no clue what to do with it.
I suck at Android. However, after a lot of digging for pieces of information I've come to undersand that these devices use separate partitions for the apps and other files. Some folks have also hinted towards the fact that the puny 0.9 GB app partition can be resized on a rooted device by means of a partition management app. Or apps could at least be moved to the SD card right before their installation (making use of an app such as Link2SD and, again, a rooted device).
This bring us full circle back to the OP's request: could someone please create and explain a rooting method for this tablet?
Just so you know, these are fresh screenshots of this fresh factory reset configuration. Thought it would fix the problem, but it didn't.
Click to expand...
Click to collapse
try with Kingo ROOT. You do it at you'r own risk.
Successful rooting of Vonino Onyx QS tablet
Paget96 said:
try with Kingo ROOT. You do it at you'r own risk.
Click to expand...
Click to collapse
Hi, Paget96! Thank you so much for the solution!
I'm writing this to let you, the OP and everybody else know that Kingo Root did it! I have succesfully rooted the tablet and the process itself was quick and merely a matter of installing the software on my PC, connecting the tablet via USB and clicking my way through.
Afterwards I installed Link2SD Plus to manage the transfer of apps from internal storage to the external SD card (32 GB in my case). The app is dirt cheap and truly what you need, because the free version does not allow you to move app data, only the app itself and its libraries. As I've come to know, data and cache build-up is what ends up killing storage space.
Before installing Link2SD however, one must prepare the SD card by means of a partitioning program. Highly recommend you do this via card reader on an actual PC. Use MiniTool Partition Wizard, it seems to be very popular these days. Delete whatever's already on the card and make two PRIMARY partitions: the first one will be FAT32 and will store the media you consume (like music, photos, videos etc.), while the second partition has to be ext4 (ext2 did not work for me on this tablet) and will hold the apps and their data. You can go ahead and name them "Media" and "Apps" respectively to avoid confusion. Remember: both must be primary partitions, the first one is FAT32 for media, the second is ext4 for apps. I made my app partition 10 GB big. Overkill, you say? Hey, I'm done with insufficient storage space errors, ok? :silly:
While you're at it, you might want to add a third partition for swap space to add more RAM to your device. There are tutorials for it on the web.
Once you're done formatting the card, reinstall it in the tablet, open up Link2SD and choose ext4 at the script mounting prompt. From there on, moving apps from internal to SD card space should be intuitive.
Prior to all this fiddling I suggest you perform a factory reset on your device so you can start clean. Can't tell you anythihg about custom ROMs or stuff like that because I didn't have a need for them. This thing works fine apart from that silly storage limitation.
Phew! I can finally enjoy using my tablet... :fingers-crossed:
Muravey said:
Hi, Paget96! Thank you so much for the solution!
I'm writing this to let you, the OP and everybody else know that Kingo Root did it! I have succesfully rooted the tablet and the process itself was quick and merely a matter of installing the software on my PC, connecting the tablet via USB and clicking my way through.
Afterwards I installed Link2SD Plus to manage the transfer of apps from internal storage to the external SD card (32 GB in my case). The app is dirt cheap and truly what you need, because the free version does not allow you to move app data, only the app itself and its libraries. As I've come to know, data and cache build-up is what ends up killing storage space.
Before installing Link2SD however, one must prepare the SD card by means of a partitioning program. Highly recommend you do this via card reader on an actual PC. Use MiniTool Partition Wizard, it seems to be very popular these days. Delete whatever's already on the card and make two PRIMARY partitions: the first one will be FAT32 and will store the media you consume (like music, photos, videos etc.), while the second partition has to be ext4 (ext2 did not work for me on this tablet) and will hold the apps and their data. You can go ahead and name them "Media" and "Apps" respectively to avoid confusion. Remember: both must be primary partitions, the first one is FAT32 for media, the second is ext4 for apps. I made my app partition 10 GB big. Overkill, you say? Hey, I'm done with insufficient storage space errors, ok? :silly:
While you're at it, you might want to add a third partition for swap space to add more RAM to your device. There are tutorials for it on the web.
Once you're done formatting the card, reinstall it in the tablet, open up Link2SD and choose ext4 at the script mounting prompt. From there on, moving apps from internal to SD card space should be intuitive.
Prior to all this fiddling I suggest you perform a factory reset on your device so you can start clean. Can't tell you anythihg about custom ROMs or stuff like that because I didn't have a need for them. This thing works fine apart from that silly storage limitation.
Phew! I can finally enjoy using my tablet... :fingers-crossed:
Click to expand...
Click to collapse
10gb is too big, you will broke your sd.
Better use 512mb.
Paget96 said:
10gb is too big, you will broke your sd.
Better use 512mb.
Click to expand...
Click to collapse
Could you expand on that one, please? Why am I at risk of ruining the SD card?
Muravey said:
Could you expand on that one, please? Why am I at risk of ruining the SD card?
Click to expand...
Click to collapse
Brcause sd work without stop, that is not good.
SD prob
Hi, i have the same tablet ... and i managed to root it ... but i cant manage to increse the storage . l've done the exact stepts ... installed micropartition deleted my sd card (2gb micro sd samasung) i did the first partition fat32 primary with a size of 800 gb and when i try to make the second one ext4 the program says that windows cant see the second partion on a removable device but i continuued anyways ,,, and created the second one with ext2 and then with ext4 as primary ... my windows and my tablet cant see the second partion ... need a little help ... thx
I heave installed the drivers, and nothing happens. Its not connecting to my pc. I changed the pc too. I heave the error: Unfortunately, Mobile data has stopped. I tryed to repair this with recovery -- Wipe data, factory reset. Not working.

Categories

Resources