update-script code to help people idea - Android Software Development

Ok so I see people in the android area that are new to flashing not following the directions when installing roms.
They just flash roms over roms and wonder why its all messed up and blame the Devs for the issues.
So it made me what to do something about it. and here it is.
copy PACKAGE:data/data/com.android.providers.telephony/databases/mmssms.db sdcard/data/mmssms.db
copy_dir PACKAGE:data/app SDCARD:/data/app
format DATA:
copy_dir PACKAGE:sdcard/data/app DATA:/app
copy PACKAGE:sdcard/data/mmssms.db DATA:/data/com.android.providers.telephony/databases/mmssms.db
format CACHE:
format SYSTEM:
*now the rom will start to install*
This formats data cache and system while backing up ur text messages and apps and then transferring everything back over giving you a clean phone when installing the new rom over.
Just wanting to get things nicer for us devs.
DC13

Anything devs? ??

well i don't know what this should fix.
**DamianGTO Ultimate kernel. 350MB Ram. 600HZ. all ext2. Steam Rom. Js5**

DamianGto said:
well i don't know what this should fix.
**DamianGTO Ultimate kernel. 350MB Ram. 600HZ. all ext2. Steam Rom. Js5**
Click to expand...
Click to collapse
Like I say most new users that root their phones dont follow peoples directions. They just flash roms on top of roms which can cause bugs then they blame the devs for the issues. This fixes the issue and makes people even happier cause they
1 get their text messages
2 get all their apps that have installed
and copies everything back over after
it formats the partitions
this will delete the old roms meaning devs can focus on real issues but still wont hurt those that follow the directions.

im sorry. i still dont see the use of it.
basically you copy data to sdcard and format the data and put the data back.
all errors in data will be saved.
the other format you do is in every script already. so they don't do anything to help.
so the only this can do is fixing a bad file system on data. but if the data on data is bad you still has all bad things left.
also you can use nandroid in most recovery to do the same and its also safer.
so what do you think this do?
**DamianGTO Ultimate kernel. 350MB Ram. 600HZ. all ext2. Steam Rom. Js5**

He's not copying the entire /data/data folder. He only copies the messages out, formats data, and copies the messages back.
________________________________
Unrevoked forever
SkyRaider Sense 3.5
Radio 2.15.00.09.01

Read what I have posted
It copies ur text and mms messages
it also copies just ur apps nothing more just the freaking apps
than copies everything back and most roms just formate the freaking system partition
DamianGto said:
im sorry. i still dont see the use of it.
basically you copy data to sdcard and format the data and put the data back.
all errors in data will be saved.
the other format you do is in every script already. so they don't do anything to help.
so the only this can do is fixing a bad file system on data. but if the data on data is bad you still has all bad things left.
also you can use nandroid in most recovery to do the same and its also safer.
so what do you think this do?
**DamianGTO Ultimate kernel. 350MB Ram. 600HZ. all ext2. Steam Rom. Js5**
Click to expand...
Click to collapse

yes i did read. but still you use old data.
maby you fix 1 problem with it, but it still lack alot.
so all Rom only format system??? lol.
Here is a little code snippet that is used on most rom.
delete_recursive("/system");
delete_recursive("/cache");
delete_recursive("/data");
delete_recursive("/dbdata");
If you know what it is you can see what it does.
You can argue that its not FORMAT, but it almost the same.
Format do write a new info part.
Delete do mark the file delete.
in the end its the same results.
You put your old amend script and ask what people think.
When you did not get the result you wanted you start to be rude.
I ask you to explain what it does to help out when flashing a rom.
Like I see it you do this and you flash a rom that will erase all you have done.
Sure you can use a non wipe rom, but then agian you are in big trubble.
You have not make any right on the files etc...
So for if you dont explain and show how it work I would recomend people not use it..
**DamianGTO Ultimate kernel. 350MB Ram. 600HZ. all ext2. Steam Rom. Js5**

Dude just learn to read. I said most not all.
and if it was old data why would people not use this in their roms.
It works great in my roms so thought I would post here for other phones to start using.

dc13 said:
Dude just learn to read. I said most not all.
and if it was old data why would people not use this in their roms.
It works great in my roms so thought I would post here for other phones to start using.
Click to expand...
Click to collapse
did you read a word that wrote?
all rom that do a full wipe and there is alot if them would delete all what you did copy.
so explain how it would work, for i can't see it.
**DamianGTO Ultimate kernel. 350MB Ram. 600HZ. all ext2. Steam Rom. Js5**

the roms I have taken a look on on the Hero, Evo, Droid, Moment, Epic, Intercept, Transform, Evo Shift, Acclaim about 50% use a format or delete and the other 50% doesn't.
This just makes sure it will get rid of the old rom
And make a fresh install.
All my roms are starting to use this and people r loving it
The only thing is this is a amend script not the edify.

dc13 said:
the roms I have taken a look on on the Hero, Evo, Droid, Moment, Epic, Intercept, Transform, Evo Shift, Acclaim about 50% use a format or delete and the other 50% doesn't.
This just makes sure it will get rid of the old rom
And make a fresh install.
All my roms are starting to use this and people r loving it
The only thing is this is a amend script not the edify.
Click to expand...
Click to collapse
did you look on i9000 roms?
i don't say its a bad thing, but it still don't work if you use wipe rom.
fist you copy files to sdcard. then you format data. then you copy back the things you copy to sdcard.
then you take a rom and that will delete data. were you did copy to.
so i ask again. why do a extra steep that in the end is useless because you do delete all that you just copied?
just tell us when this script would work.
it will never work on a wipe rom.
**DamianGTO Ultimate kernel. 350MB Ram. 600HZ. all ext2. Steam Rom. Js5**

http://pastebin.com/YV8aV5yn
that is my update-script for my DK28 rom for the Samsung epic.

Related

Could anyone assist me in getting A2SD working?

I'm using Fresh 2.0d, which should have it automatically enabled, but it isn't working. I made sure my SD card was properly formatted (using recovery), but apps2sd did not work after a fresh install. pwd of /data/app also just tells me /data/app, so it is not enabled. I've got my ext partition set to ext4, if that matters. Thanks for any help, guys.
TheBiles said:
I'm using Fresh 2.0d, which should have it automatically enabled, but it isn't working. I made sure my SD card was properly formatted (using recovery), but apps2sd did not work after a fresh install. pwd of /data/app also just tells me /data/app, so it is not enabled. I've got my ext partition set to ext4, if that matters. Thanks for any help, guys.
Click to expand...
Click to collapse
ext4 doesn't work on that ROM. You need to reformat it to ext2 or ext3. I had the exact same issue and switching to ext3 made it work automagically.
danknee said:
ext4 doesn't work on that ROM. You need to reformat it to ext2 or ext3. I had the exact same issue and switching to ext3 made it work automagically.
Click to expand...
Click to collapse
Thanks for the quick reply! Is there a way to go from ext4 back to ext3 or will I need to reformat?
TheBiles said:
Thanks for the quick reply! Is there a way to go from ext4 back to ext3 or will I need to reformat?
Click to expand...
Click to collapse
You need to backup your sdcard as it will be formatted. If you are using recovery to format the ext partition you will need to format the partition to ext2 then upgrade to ext3 then restore your sdcard.
TheBiles said:
Thanks for the quick reply! Is there a way to go from ext4 back to ext3 or will I need to reformat?
Click to expand...
Click to collapse
Reformat your card. Don't use Fresh, the author can't be trusted. Go ahead and upgrade to ext3, there's no reason not to. IMHO, ext4 should not have even been included as an option on the recovery image.
All you have to do to make a2sd work is have your card partitioned properly and use a rom that supports it. It really is that easy.
Just don't use Fresh.
subliminalurge said:
Don't use Fresh, the author can't be trusted.
Just don't use Fresh.
Click to expand...
Click to collapse
LMAO, whatever. Keep your personal baseless vendettas to yourself. We all understand that Fresh kicked your ass and took your lunch money in grade school, but you need to let it go.
danknee said:
LMAO, whatever. Keep your personal baseless vendettas to yourself. We all understand that Fresh kicked your ass and took your lunch money in grade school, but you need to let it go.
Click to expand...
Click to collapse
Well, I don't have the slightest clue who the dude is IRL, but based on where I went to grade school, I think it's safe to say he didn't go there.
It's not a vendetta, it's not baseless, and I have no intention of letting it go. I trust the information I've been given, and I believe strongly that it's important enough that it needs to be passed along.
'Nuf said....
If someone wants to change my position on the topic, it's going to take something A LOT MORE SOLID than a few random flames on a message board....
danknee said:
LMAO, whatever. Keep your personal baseless vendettas to yourself. We all understand that Fresh kicked your ass and took your lunch money in grade school, but you need to let it go.
Click to expand...
Click to collapse
lol I almost pissed my pants when I read that.
subliminalurge said:
Well, I don't have the slightest clue who the dude is IRL, but based on where I went to grade school, I think it's safe to say he didn't go there.
It's not a vendetta, it's not baseless, and I have no intention of letting it go. I trust the information I've been given, and I believe strongly that it's important enough that it needs to be passed along.
'Nuf said....
If someone wants to change my position on the topic, it's going to take something A LOT MORE SOLID than a few random flames on a message board....
Click to expand...
Click to collapse
subliminalurge said:
Reformat your card. Don't use Fresh, the author can't be trusted. Go ahead and upgrade to ext3, there's no reason not to. IMHO, ext4 should not have even been included as an option on the recovery image.
All you have to do to make a2sd work is have your card partitioned properly and use a rom that supports it. It really is that easy.
Just don't use Fresh.
Click to expand...
Click to collapse
listen dude, no matter what your feelings are towards anyone statements like that will turn these forums to flame wars of people bickering over who betrayed who and stuff like that. These forums are a community where MOST people dont want to be bothered with troll comments like that. All im asking is for the betterment of the cdma hero community is you refrain say things like that.
subliminalurge said:
Reformat your card. Don't use Fresh, the author can't be trusted. Go ahead and upgrade to ext3, there's no reason not to. IMHO, ext4 should not have even been included as an option on the recovery image.
All you have to do to make a2sd work is have your card partitioned properly and use a rom that supports it. It really is that easy.
Just don't use Fresh.
Click to expand...
Click to collapse
Nothing wrong with Fresh 2.0d. The apps2sd is different than other ROMs, but that can easily be fixed by flashing another apps2sd over it.
http://www.darktremor.com/files/misc/a2sd-2.5-signed.zip
Sorry...forgot to add that I don't think there's anything wrong with Flipzmode, either...so, I'm not sure where that comment is coming from.
Also, ext4 is an option in the kernel. The 1.5 kernels can be recompiled with ext4 support. I'm sure the 2.1 kernels can as well, if we had the source code.

Ext4

K I'm tired of stock dk28 and I wanna flash a rom but they all seem to need ext4...
does ext4 format anything? What's the benefit besides "speed increase" because I'm satisfied with the speed of the phone already
I remember I had to format my sdcard to ext4 in Amon_RA and I hope its not gonna do that again lol
Sent from my SPH-D700 using XDA App
It formats the internal memory of the phone to EXT4. Speed increase is not immense like some are saying.
You don't have to have EXT4 for all of the Froyo roms. I think its a little confusing to some people because most of the Froyo roms support EXT4 not Require it. For instance, Bonsai4all 1.1.3 supports EXT4 but doesn't require it. That is a nice rom if you want to try it out.
Sent from my Shoe.... I mean my Samsung Shoe.... I mean my Samsung Epic
I gotta say I'm having a different experience with EXT4. I have noticed that Angry Birds stutters now and again and so does the music. Maybe something else is wrong, dunno. I am running the apps off of the SD card but I was also using RFS.
A_Flying_Fox said:
K I'm tired of stock dk28 and I wanna flash a rom but they all seem to need ext4...
does ext4 format anything? What's the benefit besides "speed increase" because I'm satisfied with the speed of the phone already
I remember I had to format my sdcard to ext4 in Amon_RA and I hope its not gonna do that again lol
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Your system files are copied to the sdcard temporarily, the internal memory is formatted ext4, and then the data is copied back. Unless there's a problem, you won't lose any data.
Additionally, all the ROMs that use Dameon's kernel and are listed as EXT4/RFS or "dual"(Bonsai, Nebula, Quantum) will boot whether the file system is EXT4 or RFS.
sndtubes said:
I gotta say I'm having a different experience with EXT4. I have noticed that Angry Birds stutters now and again and so does the music. Maybe something else is wrong, dunno. I am running the apps off of the SD card but I was also using RFS.
Click to expand...
Click to collapse
I'm having intermittent stuttering as well.
For me, ext4 has been a disappointment. I'm keeping it for now, but I haven't noticed any improvements, and if given the option of doing it again, I wouldn't bother at this point. As said above, lots of 2.2 ROMs don't require ext4, and I can't give you a reason to convert to it.
I am seing the best battery life with ext 4 since I've had froyo. Without ext 4 on froyo I was getting 20 maybe 30 hours on charge if I was lucky now with ext 4 I'm getting 48 - 55 hours. Sweeet I noticed a lil stutterng during games but boot is way faster.
Epic 4g Quantum Rom Ext 4
Electrofreak said:
Your system files are copied to the sdcard temporarily, the internal memory is formatted ext4, and then the data is copied back. Unless there's a problem, you won't lose any data.
Additionally, all the ROMs that use Dameon's kernel and are listed as EXT4/RFS or "dual"(Bonsai, Nebula, Quantum) will boot whether the file system is EXT4 or RFS.
Click to expand...
Click to collapse
I was incredibly curious to try the Bonsai ROM, but I've been away from the forums for a while and missed the big hooplah over EXT4 so I know very little about it. I'm not all that interested though, and the developer's install guide specifically goes through the steps to format to EXT4 and doesn't mention it being optional and there's not a lot of info about it on the Wiki.
So I could just grab it, flash it like I would any other ROM on any other phone and be fine then? And does anyone know if I would flash the extra thing he describes in his install guide? There's no indication on whether its for EXT4 only or not.
Rom manager or flashin not working
My epic never allowed flashing of roms through rom manager or maybe im doing it wrong but i have always used odin to load dk28 or back to stock dk18..does anyone know where i can get the .md5 or .tar files of any rom out there so i can load it with odin or maybe im just ass backwards and dont know what im doing?? lol not a newb but farely new to android community
micahrodriguez7 said:
My epic never allowed flashing of roms through rom manager or maybe im doing it wrong but i have always used odin to load dk28 or back to stock dk18..does anyone know where i can get the .md5 or .tar files of any rom out there so i can load it with odin or maybe im just ass backwards and dont know what im doing?? lol not a newb but farely new to android community
Click to expand...
Click to collapse
You wouldn't do it through rom manager (which is when you're booted), you would do it through clockwork mod (which is a part of rom manager). Hold camera, down volume, and power when phone is off and keep holding till you boot into recovery. (I'm sorry if I'm assuming you don't know this but when ppl say they use rom manager I don't know if they know your supposed to use recovery mode)
Sent from my baked and emotionless SPH-D700

[GUIDE][07/07/11]How to Partition your SD Card

With the GingerSense ROM’s being the new hotness right now, there is a overwhelming amount of questions about partitioning. This guide is intended to help anyone that may want to partition their SD and not sure where to start. This information was gathered from The Mynions and posted several times in Myn’s Warm2p2 and Project Synergy threads. This guide was created while using Project Synergy RC1, which runs a CM script that has been modified. Come get assimilated!
Please, READ first before attempting if you are a noob, it’ll save you some gray(grey) hair. I am in no way responsible for any issues you have for following this guide, use at your own risk.
WARNING: This will erase EVERYTHING on your SD card so please transfer the contents of your SD card to a computer or external hard drive PRIOR TO starting this procedure.
1. Boot into recovery (hopefully you have amonRA v2.3)
2. Select "Partition SD Card". You will be prompted to set an amount for the SWAP, ext2 and FAT.
3. Enter zero for the SWAP size, 1024 or 2048 for ext2 and the rest for FAT*
4. After the process finishes, select "Upgrade ext2 to ext3"
5. When the process is complete, go to the wipe menu and wipe EVERYTHING in it.
6. From the main menu, select USB-MS (your phone should be connected to your PC) and copy the Synergy ROM(or your ROM of choice) to the root of your SD Card.**
7. Flash Synergy(or your ROM of choice)
8. Be patient at initial bootup because it can be quite long.
9. I recommend that your 3rd party apps be installed freshly from the market initially. They will automatically be place in the ext3 partition. You can verify it by checking to see that they are listed in the /system/sd/ folder which itself contains 3 folders: app, app-private & dalvik-cache.
After you have followed the directions to partition your card, followed by a flash of the rom and installation of your 3rd party apps & games, go to Menu-Settings-SD & phone storage and check your available internal storage space. If it is 300+, it is safe to assume that the built-in a2sd is working. Furthermore you will need a system level file manager to see the /system/sd/ folder. The Astro File Manager cannot see it.
*These sizes are only used for reference, but excellent choices. You may want to consider a swap partition, even though the stock HTC kernel does not support it. Future kernel development may take advantage of swap and doing so now can save the hassle of re-partitioning later. Food for thought.
**This guide was done while using THE Project Synergy ROM, however it should work across the board.
Hope this helps.
Special thanks to dougjamal, lowetax and all the Mynions helping out around the world (We Global!)
F.A.Q.
Q: Do I have to partition my card?
A: No. The main reason people partition is to take advantage of Apps2SD script. This allows for more internal memory and, depending on which version, control over various system settings (Ex.: http://forum.xda-developers.com/showpost.php?p=7021317&postcount=1).
Q: Do I need to format my SD Card after partition?
A: Actually, no. Will it hurt if you do? No. Creating partitions wipes the SD Card, sets up logical drives(partitions) and formats the space(or you couldn’t write to it). The time consuming part of partitioning is the Card formatting.
Q: Can I run the stock/android A2SD after partitioning?
A: No. The Apps2SD script is different from stock. Using the stock A2SD will give you problems.
Q: Can I do a nand restore after I partition?
A: No. Your SD card's file system has changed and you may experience unfavorable results.
Since there is no "thanks" on the mobile app. Nice guide.
EVO4G SALVAGEMOD TIAMAT YES
Do you need to do this every time you flash a rom?
Chris 2155 said:
Do you need to do this every time you flash a rom?
Click to expand...
Click to collapse
No.. it's just like windows partitions.. Once they are setup you don't have to redo them. Just wipe the data and reinstall...
interloper said:
Since there is no "thanks" on the mobile app. Nice guide.
EVO4G SALVAGEMOD TIAMAT YES
Click to expand...
Click to collapse
Thanks, I appreciate it.
Since the stock Kernel doesn't support Swap, after first boot, go to terminal, type Su then enter, then type a2sd check.
It will probably say swap not running at boot. It should say that the partition is present and a bunch of other things.
Next type a2sd swappy10 then enter.
Now type a2sd reswap.
If you get an error, you can run a2sd reinstall which will reboot your phone.
Go back to terminal and type Su and then a2sd reswap.
Should be good to go, but you have to run the reswap after every boot til we get custom kernels.
Swyped From The Hippest Phone Using XDA Premium
Chris 2155 said:
Do you need to do this every time you flash a rom?
Click to expand...
Click to collapse
As answered, no. Remember however, when you do a wipe now, include SDEXT if you don't already.
Also might want to add in there to backup your SD to your computer so you won't lose any important files, music, or backups.
And after using cm or darktremmors a2sd do not use the Android a2sd or you will have problems.
HipKat said:
Since the stock Kernel doesn't support Swap, after first boot, go to terminal, type Su then enter, then type a2sd check.
It will probably say swap not running at boot. It should say that the partition is present and a bunch of other things.
Next type a2sd swappy10 then enter.
Now type a2sd reswap.
If you get an error, you can run a2sd reinstall which will reboot your phone.
Go back to terminal and type Su and then a2sd reswap.
Should be good to go, but you have to run the reswap after every boot til we get custom kernels.
Swyped From The Hippest Phone Using XDA Premium
Click to expand...
Click to collapse
Thanks for the added info HipKat! When we get custom kernels for GingerSense, I'm going to update the OP with swap instructions. I will use your info provided with it.
androidsupra said:
Also might want to add in there to backup your SD to your computer so you won't lose any important files, music, or backups.
And after using cm or darktremmors a2sd do not use the Android a2sd or you will have problems.
Click to expand...
Click to collapse
The warning was already there, i just put it in bold to stick out. I will add the stock A2SD info to the faq.
Thanks.
If I am already running Synergy but have not done this, can I just follow the steps and reboot phone or do I need to reflash the ROM to take advantage of the benefit? And if I need to reflash, can I just wipe cache and dalvik or is a total wipe required.
Thanks for the instructions.
Dredz said:
*These sizes are only used for reference, but excellent choices. You may want to consider a swap partition, even though the stock HTC kernel does not support it. Future kernel development may take advantage of swap and doing so now can save the hassle of re-partitioning later. Food for thought.
Click to expand...
Click to collapse
Damn.. i wish i would have known this last night.. I would have added this part..lol
derrickj said:
If I am already running Synergy but have not done this, can I just follow the steps and reboot phone or do I need to reflash the ROM to take advantage of the benefit? And if I need to reflash, can I just wipe cache and dalvik or is a total wipe required.
Thanks for the instructions.
Click to expand...
Click to collapse
You will have to reflash the rom, this WILL erase your entire SD Card. Total wipe required for best results.
one last question... after doing this.. when installing apps from market or whatever... you don't have to run an apps2sd app??? They just automatically install to the sd card???
yznhmr said:
Damn.. i wish i would have known this last night.. I would have added this part..lol
Click to expand...
Click to collapse
Well I'm running a 2GB part on the OG 8GB card w/no swap. I always wipe everything when I flash a ROM. When we get custom kernels, i will flash the ROM with at the same time. Then I will get SWAP.
Chris 2155 said:
one last question... after doing this.. when installing apps from market or whatever... you don't have to run an apps2sd app??? They just automatically install to the sd card???
Click to expand...
Click to collapse
Yes, as long as the ROM you are flashing supports it.
Dredz said:
When we get custom kernels, i will flash the ROM with at the same time. Then I will get SWAP.
Click to expand...
Click to collapse
Huh??
Dredz said:
Yes, as long as the ROM you are flashing supports it.
Click to expand...
Click to collapse
so what if it doesn't? Do you use the apps2sd app?
yznhmr said:
Huh??
Click to expand...
Click to collapse
My bag. I will flash the ROM and The kernel at the same time. Since this requires a full wipe(by my standards anyway) I will re-partition then and designate a swap size.

Phone wont boot after enabling zram

I finally got my stuff copied to my 4gb sd card. However, after installing Dorimanx Kernel 5.7 with my initrd.gz file, it wont boot at all. What am i doing wrong?
I used Linux Disk utility to create a linux swap partition.
My ROM is Hyperdroid 5.10.22
Thanks to everyone!
use cwm to do it??
shanman-2 said:
use cwm to do it??
Click to expand...
Click to collapse
Yes i did. then i used Ubuntu, to get rid of the sd-ext partition as i do not want one but apparantly you must have one.
UPDATE: i got it working but now i cant restore my ****ing data back to my device. It just hangs again. This is really pissing me off..
****!! Might have something to do with sdext partition, like a script that just found it..
use fikret kernel
shanman-2 said:
****!! Might have something to do with sdext partition, like a script that just found it..
use fikret kernel
Click to expand...
Click to collapse
Well i went back to my 2GB card, without the partitions. And redid everything. Now im trying this using my 4GB card.. Hoping to god it works. However, when i ran quadrant with zram installed. I didnt get any better of a reading then before. Which i should have since i have zram on.
EDIT: Well that didnt do ****. It booted but it says i have 92MB free space. I think im going back and just using it without zram. i was hoping zram would make things load faster and make it overall faster but **** all this **** lol
Yeah zram didn't help me. I'm not sure if I installed it incorrectly or something but I saw literally no difference when I flashed it. Also, didn't you at least make a CWM or Titanium Backup backup before flashing?
Sent from my HTC HD2 using XDA
Nigeldg said:
Yeah zram didn't help me. I'm not sure if I installed it incorrectly or something but I saw literally no difference when I flashed it. Also, didn't you at least make a CWM or Titanium Backup backup before flashing?
Sent from my HTC HD2 using XDA
Click to expand...
Click to collapse
Yeah i did, but after enabling zram and SD-ext data, i tried restoring my data from the CWM img. But then it wouldnt even boot. So now i actually just switched to dorimanx ROM and i have sd-ext which is working properly, but again my benchmark isnt much different. I really would like to know how people get such high benchmarks. I know its only the I/O that makes these high benchmarks but a high I/O is actually good when it comes to playing games. It can read the data much faster.

App2SD

I've owned my OG EVO since launch day, and have been rooted/flashing various ROMs ever since.
I've always had the app "App2SD" loaded, to make moving apps to external storage easier.
Looking at flashing other ROMs recently, I noticed some talk about supporting A2SD naively, and scripts and such. What is the difference between using the app or this naive solution?
Sent via Tapatalk on my E4G
The app ur referring to only moves the data for apps to the SD card, if u use dark tremors a2sd it moves the entire app and all its data. U must have a partitioned SD card to use it though.
Sent from my PC36100 using Tapatalk 2
Hmmm... So DarkTremors A2SD is something that is built into the ROM? I guess I'm wondering how one would utilize that built-in capability after the ROM is loaded...
I didn't realize the Apps2SD only moved the data. It seemed to move the app too by looking at free space and how it was affected by using it...
if i understand it right... its not "included" in the rom. You need to download and flash the script, but the rom and kernel of most roms support it. It is well worth it. I did this not long after rooting. I partitioned my 32GB sdcard and flashed DT a2sd.
http://forum.xda-developers.com/showthread.php?t=715938
Thanks for the link I've seen a boat load of posts scattered about but never saw one dedicated topic. Looks like I have some reading to do so I can figure out what, if any, drawbacks or quirks there are to using this.
Thanks again!
Sent via Tapatalk on my E4G
So I've made it through a couple of pages on the linked thread, and the answer may be there (but I haven't gotten to it yet)... How does partitioning the SD card affect Nandroid backups/restore or Titanium Backup, if at all? I know that Nandroid has an "SD-ext" option... I assume this is for backup/restore of the EXT formatted portion of the card? Are Nandroid backups stored on the FAT formatted partitions still?
Sorry for all of the questions; just things I thought of before trudging through 34 pages of forum posts...
Sent via Tapatalk on my E4G
Am i able to do this with the stock sd card that came with the evo ?
Yes, but unless your ROM supports Dark Tremors A2SD, the system won't be able to utilize the EXT formatted space on the card, from what I am gathering...
Sent via Tapatalk on my E4G
im running Miui. Think it supports it. Its just the how.
Unfortunately,I can't answer that yet. Haven't read enough of the previously linked forum topic
Sent via Tapatalk on my E4G
Nandroid and tb remain on the storage partition, the FATS32 or whichever one your recovery uses. The ext- partition holds just the apps and data. Wont affect your backups in any way to my knowledge. Remember to back up all your data you want to keep to your pc or something before partitioning as it formats your sd card first.
私はローボーボブ。 Haro!!
Robobob1221 said:
Nandroid and tb remain on the storage partition, the FATS32 or whichever one your recovery uses. The ext- partition holds just the apps and data. Wont affect your backups in any way to my knowledge. Remember to back up all your data you want to keep to your pc or something before partitioning as it formats your sd card first.
私はローボーボブ。 Haro!!
Click to expand...
Click to collapse
Thanks for the info!
Ive been using DT Apps2sd for a while now. I have the stock 8gb card that came with my evo and its partitioned for apps2sd. From what Ive always understood, what apps2sd does is it moves all your apps and the data for those apps to the ext partition of your sd card and it symlinks the apps to the phone so the phone actually thinks the apps are running from the internal memory even though it isn't. The advantage of the symlink is that it doesn't affect the apps' performance and widgets and such. The apps2sd app you speak of only moves the data to the sd card which can sometimes cause issues with apps' performance and widgets not working correctly. So, I recommend using DT apps2sd if you want more internal space without sacrificing performance.
Nice explanation I think my confusion had always been how it's utilized; with the app, I open it when I want to move something and it does it. With DT, it looks like you flash it, but after that I'm lost... Does it automatically install all apps to the SD anytime I initiate an installer action? Or do I need to do something to have the system install to the SD?
I'll find the answer in my reading I'm sure. Another 25ish pages, according to Tapatalk on my phone
Sent via Tapatalk on my E4G
Also am trying to find how to install this... Do you flash the ROM, flash A2SD, then simply reboot and all is well (assuming the ROM supports A2SD, and mounts SD-EXT during boot)?
here is some more info from what i understand. flash your rom, flash dt a2sd and reboot. once its all set, it automatically installs apps you download to the ext partition. also... if you decide to change roms, it is recommended to wipe the ext partition, but i never do and have had no issues. The only thing i have to do is once the new rom and a2sd are flashed and i reboot i have to install the terminal app and open it up any type the following commands...
su [ENTER]
a2sd reinstall [ENTER]
this reinstally the links to the apps... you can also move dalvik cache to the sd to free up more space.
a2sd cachesd [ENTER]
another helpful tool to make sure cache and apps are on the ext partition is apps2sd gui
you can get it from the market and it is just a graphical interface
here is a partitioning walkthrough if you need it.
http://forum.xda-developers.com/showthread.php?t=1158993&highlight=partition+sd+card
vwgtiturbo said:
Nice explanation I think my confusion had always been how it's utilized; with the app, I open it when I want to move something and it does it. With DT, it looks like you flash it, but after that I'm lost... Does it automatically install all apps to the SD anytime I initiate an installer action? Or do I need to do something to have the system install to the SD?
I'll find the answer in my reading I'm sure. Another 25ish pages, according to Tapatalk on my phone
Sent via Tapatalk on my E4G
Click to expand...
Click to collapse
After you flash DT, you would want to download terminal emulator from the play store and type the following commands:
Type "su" then enter
Then type "a2sd reinstall" (without the "" of course lol) then enter
After you do that, let the phone do its thing and it will reboot. After the reboot, you are good. All your apps should be moved to the ext partition on your sd card. If you want, you can also move your dalvik-cache to the ext partition by typing the following commands:
"su", enter
"a2sd cachesd", enter
Just like before, your phone will do its thing in terminal emulator and then it will reboot. After that, you're good! You should notice a HUGE difference in available internal storage after this.
*EDIT: I didn't even notice the post above mine until after i sent the post lol
dbenney/youngchris: You guys/girls (hey, I don't know...) put the missing pieces together for me I didn't realize that you had to run commands in terminal AFTER flashing your ROM and then DT (I've seen references to commands, but thought that they were similar to the old rooting/flashing guides back in the day, that required ADB push/pull commands before flashable zips became the norm). So...
There were a few ROMs I flashed 6 months or so ago, that 'required' A2SD and I didn't do it. Subsequently, the ROMs didn't have much free space, with all of the Sense 3.0-3.5, and ran like ****, so I went back to CM7. Now, I am putting this together, so I can get the E4G decked out (because we all know our EVOlt won't be around for a while) and am looking for sharp looking/behaving ROMs to make this old beast happy, and keep me satisfied until Customs gets off their lazy asses.
I just have to find a ROM that is nice enough now
vwgtiturbo said:
dbenney/youngchris: You guys/girls (hey, I don't know...) put the missing pieces together for me I didn't realize that you had to run commands in terminal AFTER flashing your ROM and then DT (I've seen references to commands, but thought that they were similar to the old rooting/flashing guides back in the day, that required ADB push/pull commands before flashable zips became the norm). So...
There were a few ROMs I flashed 6 months or so ago, that 'required' A2SD and I didn't do it. Subsequently, the ROMs didn't have much free space, with all of the Sense 3.0-3.5, and ran like ****, so I went back to CM7. Now, I am putting this together, so I can get the E4G decked out (because we all know our EVOlt won't be around for a while) and am looking for sharp looking/behaving ROMs to make this old beast happy, and keep me satisfied until Customs gets off their lazy asses.
I just have to find a ROM that is nice enough now
Click to expand...
Click to collapse
There are plenty of good sense roms out there, but you really should try this one... Energy sense 3.5 rom march 15.... i used it before i switched to CIUI(base of CM7 with MIUI look/feel). Energy rom is very stable and fast, but also heavy and a2sd is a must to free up some space.
Do you know of any kernels that work with it? It uses the stock kernel, which, from what I've read, doesn't support DT A2SD...
Sent via Tapatalk on my E4G

Categories

Resources