Auto Swap ----- linux-swap - G1 Android Development

Thanks to JAC for telling me how to do it, and to Denkai for providing all the necessary parts.
This is a modified ap2sd.sh to auto run the linux-swap partition on boot.
adb remount
adb shell rm /system/bin/a2sd.sh
adb push /pathtofile/a2sd.sh /system/bin
adb reboot
this can be done in terminal too.
The file is attached.
NOTE: I HAVE ONLY TESTED THIS ON JACHERO2.3.2 use at your own risk.
Please reference this thread http://forum.xda-developers.com/showthread.php?t=531988 to see what swap method I'm talking about.

What build is this for?
I am using soulife's rogers with a modified a2sd and this would definitely put my phone in a boot loop.

AWESOME! Thanks ccyrowski!

boogie1077 said:
What build is this for?
I am using soulife's rogers with a modified a2sd and this would definitely put my phone in a boot loop.
Click to expand...
Click to collapse
For JACHero 2.3.2

Where does init.rc go? On system/sd?

is it necessary to use swapper after this.. should we turn swapper off?

ComplexMinded said:
is it necessary to use swapper after this.. should we turn swapper off?
Click to expand...
Click to collapse
don't use swapper.
You have to have three partitions on your sdcard to do this
fat32
ext2 or ext3
linux-swap

it is.. I just wanted to be 100% sure.. just wonderling I also saw a format for linux swap2.. any difference?

I know it has been asked already. But were does init.rc go?

Z҉A҉L҉G҉O̚̕̚ said:
I know it has been asked already. But were does init.rc go?
Click to expand...
Click to collapse
Don't worry about the init.rc

Ok. Thanks for answering.

can someone check for vers. 2.3.3?
for me it's not working

ibu2002 said:
can someone check for vers. 2.3.3?
for me it's not working
Click to expand...
Click to collapse
im about to test it out right now
will report back with updates :-D

bigballa said:
im about to test it out right now
will report back with updates :-D
Click to expand...
Click to collapse
Worked fine for me.
Just actually included it in a ROM I whipped up from JAC 2.3.3 so you can flash the ROM with three partitions (swapper app already removed) and everything loads up for you without you doing anything.
Any requests for additional things to be removed?

i followed your instruction but after the reboot there was no swap.

ibu2002 said:
i followed your instruction but after the reboot there was no swap.
Click to expand...
Click to collapse
Is the third partition on your sdcard "linux swap"?
Open terminal
$ su
# free
If you want ill upload the rom i made for myself with a few customizations. It will do everything for you.

yes the third partition is linux swap and if i use denkai's method it works.
After a reboot the swap settings are lost and #free prints only 0 within swap.

man xda is so slow lately

c:\Android>adb shell free
total used free shared buffers
Mem: 98908 97152 1756 0 32
Swap: 0 0 0
Total: 98908 97152 1756
Click to expand...
Click to collapse
its not working for me
i put the script in the correct area
but its not swapping anything
i know it says its for 2.3.2 but im trying it on 2.3.3 maybe thats why

ibu2002 said:
yes the third partition is linux swap and if i use denkai's method it works.
After a reboot the swap settings are lost and #free prints only 0 within swap.
Click to expand...
Click to collapse
so how do we get the swap to start back up? thats the question

Related

[ROM] Unwatermarked, Official, Hero

As promised..
You need to obtain the new SPL and Radio first PRIOR to installing this ROM. Follow this post.
Installation:
1. Download http://www.droiddeveloper.com/hrbuilds/app_s.zip
2. extract "app_s" into your sdcard's ext2 partition.
3. Download http://www.droiddeveloper.com/hrbuilds/hero-signed.zip
4. Place on regular sd card.
5. Reboot into recovery, wipe and flash.
6. Enjoy.
Only thing that shouldn't work at the moment is bluetooth and some minor features.. besides that you have a fully functional hero rom.
enjoy guys..
Phuck the leakers, and there supporters.
EDIT: as far as the bluetooth problem goes, i haven't played with a fix just yet.. i've spent this free time since i've quit to catch up on homework guys.
this is not me coming back.... this is just to clear my conscience, and a big "Phuck YOU" to the leakers
EDIT2: it's using ext2 instead of ext3 because, again, i haven't worked on the rom since i've quit..
for those of you that don't know how to place app_s into sd card do this:
Code:
adb push app_s /system/sd/app_s
enjoy.
EDIT3: /system/app wouldn't fit.. and if i did /data/app_s like before, it wouldn't give you any space in /data this is why i did it this way.
and yes.. this has Rosie.
Enable Superuser.apk & Enhance ROSIE UI FOR HERO ROM
Bluetooth debuging on Hero
Clean up rosie!!
HTC Hero Speedup v2.0
HTC Hero Rosie UI toggle
How you put App_s into the ext2 partition
THE HERO HAS RISSEN! But really,thanks.
EDIT:how do I put the app_s onto a ext2 partion via windows? I lost my linux live cd.
wich one do we download 1 or 3 ?
and thanks alot haykuro much love dawg thanks again
I dont use Apps2SD so can i just add the app_s back to the data folder and resign?
F!! Why does it have to be on an ext2? I cant get the permissions yo ork on my sdcard! Is there a way to avoid this?
And ps. Good god thank you!
If you dont, then wait for someone else to say how. This isn't a tech. It's apps2sd method or none right now.
@justanothercrowd no, this requires apps2sd because its so large.
@ynghova187 and dutman yes
So how would I go about on doing step 3? Srry I just unrooted my phone because it was randomly shutting off, and now I see this, and I want to root. lol.
Darkrift said:
@justanothercrowd no, this requires apps2sd because its so large.
@ynghova187 and dutman yes
Click to expand...
Click to collapse
For someone whos never used apps2sd, is there a quick tutorial for this?
I've searched, but theres nothing that i found about putting a "app_s" folder onto the partition...
Sorry for the n00b question, im usually pretty good with this type of stuff, but i'm at a loss
Darkrift said:
@justanothercrowd no, this requires apps2sd because its so large.
Click to expand...
Click to collapse
Which method(s) should work? I've seen at least 5 so far, including an application or two.
will my apps2sd application automatically move this apps folder to partion2?
dutman said:
So how would I go about on doing step 3? Srry I just unrooted my phone because it was randomly shutting off, and now I see this, and I want to root. lol.
Click to expand...
Click to collapse
Step 3 is simply downloading a file. Is that really what you need help with?
if i dont have apps to sd what links can i download any help i never used apps to sd
This would be the perfect time for the few of us that still haven't been using apps2sd
nice that this has rosie.
Which tut would is the most widely used and most compatible method
startekee said:
How you put App_s into the ext2 partition
Click to expand...
Click to collapse
same question i am using windows... and i used paragon to partition my card before... but windows does not show ext2... is there a way around this??
ext2...
adb push app_s /system/sd
?
where do i put that into, im sorta new to this and i have the ion rom right now.. also do we need the special spl?
No, I need help with Step 2. Sorry that was a typo. And do you have an answer for me Mr. mikedmeyer?
281 said:
adb push app_s /system/sd
?
where do i put that into, im sorta new to this and i have the ion rom right now.. also do we need the special spl?
Click to expand...
Click to collapse
I can't help you with ADB, but if you are running a linux distribution, load GPartEd and you can format your card (if you havent already) and place it on the ext2 partition.

[UTIL] Full Auto A2SD - A2VD

Apps 2 Virtual Disk 0.53b
For those of you that are wondering "What is this guy smoking?" (which I assume is all of you), this is an automatically re-sizing virtual apps 2 SD ext3 partition. It is stored as an image file on your existing Fat32 partition.
I have done my best to make this as idiot proof and bug free as possible but I always appreciate constructive criticism. Please be kind, I haven't had access to a computer while writing this so it was written entirely on my G1. Therefore I expect that it will have a few bugs.
This barrows very heavily from Cyanogen's work so please thank him for making this possible.
Installing
To install the utility just download the file on your phone, open your terminal emulator and run:
Code:
su
sh /sdcard/download/a2vd-0.53b.zip
It does the rest.
Please note, this is NOT a zip file! It is a shell script. XDA won't let you post any file this big unless it's a zip file. (Can we get an Admin on this?) Good thing linux doesn't give a crap about file extensions.
Once you reboot your phone the utility will create the virtual partition, move over your apps, then re-size the partition to have 15 MB of free space. Please note, it will reboot 3 - 4 times during the first boot.
This should run on any rom that executes /system/bin/a2sd during boot.
It has been confirmed to work on Cyanogen 3.5.2 and higher.
Automatic Resizing
The partition will automatically re-size so you don't have to guess how big you need to make it. Now you can take a bite out of crime, in stead of your Fat32 partition. ;-)
If you run low on space just reboot your phone. If the free space on your virtual partition is less than 10 MB or more than 20 MB it will be re-sized to have 15 MB of free space. Please ignore the fact that free space may be listed as 13 or 14 MB, as far as I can tell this is an issue with the OS, the readout becomes more accurate as the partition gets bigger.
Disabling the Partition
If you wish to boot up with the Apps 2 Virtual Disk partition disabled simply open up your terminal emulator and run:
Code:
su
a2sdoff
You can also remove the SD card while the phone is off.
This is useful if you need to transfer files over USB cable.
Automatic backup
If you boot with the partition disabled the utility will backup some system settings so your apps and widgets will all still work when you re-enable the partition. It will also maintain a separate launcher profile for when you boot with the partition disabled. Now you don't have to stare at a desktop full of broken icons every time you need to transfer files to your computer.
Upgrading to a New Rom
Transitioning to a new rom can break some of your apps and widgets. To prevent this follow this procedure:
1. Place your new update.zip file on the root of your SD card.
2. Open terminal emulator and run:
Code:
su
a2sdoff -u
This will reboot your phone, prepare the backups, and take you to recovery.
3. Flash your new rom. (If you exit recovery without flashing you must re-run "a2sdoff -u" before attempting another flash)
4. Boot up your new rom, open terminal emulator and re-install Apps2VD.
Okay, you can start downloading now.
Thank you for your support and enjoy!
As a side note, If you install this on a phone that already has a traditional Apps2SD partition it will NOT copy over your apps. I'm working on it but until then you'll have to either just deal with it or copy them you self.
Edit: Download has been removed due to security concerns. Will re-upload when solved.
Sweet !....so basically it allows app2sd without an ext partition ? so just a fat32 partition is gud enough right ?
this is really intriguing, but i think i'm gonna hold off until some brave souls try it out with some feedback
Daneshm90 said:
Sweet !....so basically it allows app2sd without an ext partition ? so just a fat32 partition is gud enough right ?
Click to expand...
Click to collapse
Exactly! In fact, it requires nothing more than downloading and typing in one command.
narcopolypse said:
Exactly! In fact, it requires nothing more than downloading and typing in one command.
Click to expand...
Click to collapse
Aight im nandroid'd...n ready to test lol...will post results
So what is the plus side of using this? Is this just a tool for people who can't or don't have an ext partition? Do you know how it compares performance wise?
miketaylor00 said:
So what is the plus side of using this? Is this just a tool for people who can't or don't have an ext partition? Do you know how it compares performance wise?
Click to expand...
Click to collapse
Didnt work on xRom....kept bootloopin the first bootscreen
grandomegabosses said:
this is really intriguing, but i think i'm gonna hold off until some brave souls try it out with some feedback
Click to expand...
Click to collapse
I've been running this build for 4 day and previous alpha builds for over a month.
So have all of my friends.
miketaylor00 said:
So what is the plus side of using this? Is this just a tool for people who can't or don't have an ext partition? Do you know how it compares performance wise?
Click to expand...
Click to collapse
Performance is identical. The primary reason I built this is to have an automatically re-sizing apps partition. And the ability to boot disabled without breaking all of my widgets.
narcopolypse said:
I've been running this build for 4 day and previous alpha builds for over a month.
So have all of my friends.
Click to expand...
Click to collapse
hmmm i might try it later tonight or maybe tomorrow. after reading some more, i've gotten a little bit more confidence.
narcopolypse said:
Performance is identical. The primary reason I built this is to have an automatically re-sizing apps partition. And the ability to boot disabled without breaking all of my widgets.
Click to expand...
Click to collapse
It seems suprising to me that an image file on a FAT32 partition would perform the exact same way as an ext partition. I guess I will have to find out for myself
If this really does work and perform well, this could be google's solution to allow non rooted phones the ability to free up memory on their phone.
Either way, thanks for taking the time to do this.
Daneshm90 said:
Didnt work on xRom....kept bootloopin the first bootscreen
Click to expand...
Click to collapse
Yes, it will. And it would probably have a similar problem on later Cyanogen builds. You will have to modify the a2sd file to tell it not to automatically create apps2sd.
Daneshm90 said:
Didnt work on xRom....kept bootloopin the first bootscreen
Click to expand...
Click to collapse
It is supposed to reboot 3 - 4 times during the first boot.
this is really interesting, thank you for this. earlier today i made a modified a2sd script that makes the a2sd look for dev/block/mmcblk0p4 (fourth partition) and since there is none cyanogen's apps2sd will not be created. also in the file is a modified userinit.sh and user.conf that point to dev/block/mmcblk0p2 instead of 0p3 so that if you wanted to use this and only have a fat32 partition and linux-swap partition you could still get the benefits of it. saw this thread and thought this would be a place where these files could be used.
edit: was just thinking, does this overwrite the a2sd script? either way the modded userinit.sh and user.conf can still help.
david1171 said:
this is really interesting, thank you for this. earlier today i made a modified a2sd script that makes the a2sd look for dev/block/mmcblk0p4 (fourth partition) and since there is none cyanogen's apps2sd will not be created. also in the file is a modified userinit.sh and user.conf that point to dev/block/mmcblk0p2 instead of 0p3 so that if you wanted to use this and only have a fat32 partition and linux-swap partition you could still get the benefits of it. saw this thread and thought this would be a place where these files could be used.
edit: was just thinking, does this overwrite the a2sd script? either way the modded userinit.sh and user.conf can still help.
Click to expand...
Click to collapse
Yes this does replace /system/bin/a2sd and it stops checking for 0p2. It is based entirely off Cyanogen's a2sd that is used in every new rom out there and should be compatible with all of them.
Has anyone tested this yet? Which roms does it work on?
How does this work with mounting your phone on your computer? Like when you want to put music on. Can you do it the same way or do you have to shut your phone down and use a SDcard reader? Because I thought the was the main reason for not using fat32 for A2SD.
miketaylor00 said:
It seems suprising to me that an image file on a FAT32 partition would perform the exact same way as an ext partition. I guess I will have to find out for myself
If this really does work and perform well, this could be google's solution to allow non rooted phones the ability to free up memory on their phone.
Either way, thanks for taking the time to do this.
Click to expand...
Click to collapse
probably the wouldn't use it as you should be able to extract files from the img file
narcopolypse said:
It is supposed to reboot 3 - 4 times during the first boot.
Click to expand...
Click to collapse
Lol, no i tried again rebooted like 20 times so i gave up n nandroid'd.
speoples20 said:
How does this work with mounting your phone on your computer? Like when you want to put music on. Can you do it the same way or do you have to shut your phone down and use a SDcard reader? Because I thought the was the main reason for not using fat32 for A2SD.
Click to expand...
Click to collapse
That would be my concern as well. I don't see any way around this, though I'm not a dev by any means.
alritewhadeva said:
probably the wouldn't use it as you should be able to extract files from the img file
Click to expand...
Click to collapse
I'm sure they could make the img file only accesible by the sytem.

How to Flash Cannon 202 on g1?

Hello Community,
i've read a lot of positive feedback to the cannon 202 mod.
i would like to flash in on my non rootet g1, but can't find an faq how to root and flash this rom.
please, have anybody a good faq vor me?
MFG
Rom Bible
http://forum.xda-developers.com/showthread.php?t=668090
1.Root your phone
2.Get a recovery(amon or clockwork)
3.get a sd card(pref Class 4/6)(skip if you have one)
4.Part it(the sd)
5.wipe everything
6.flash cannon rom
7.Profit
Ace42 said:
1.Root your phone
2.Get a recovery(amon or clockwork)
3.get a sd card(pref Class 4/6)(skip if you have one)
4.Part it(the sd)
5.wipe everything
6.flash cannon rom
7.Profit
Click to expand...
Click to collapse
?!?!?!?!?!?!?!?!?!
can't understand any of this words. what ist pref clas 4/6?
what is wipe and what ist a recovery?
Killarusse85 said:
?!?!?!?!?!?!?!?!?!
can't understand any of this words. what ist pref clas 4/6?
what is wipe and what ist a recovery?
Click to expand...
Click to collapse
preferably
You will know the other words after reading the rooting thread(Rom bible Thread)
Killarusse85 said:
?!?!?!?!?!?!?!?!?!
can't understand any of this words. what ist pref clas 4/6?
what is wipe and what ist a recovery?
Click to expand...
Click to collapse
you better keep your G1 the way it is
not saying anything but shouldnt this be in q&a? but first root your phone there are plenty of guides out there once you root your phone youll figure the rest out pretty easily
This thread should be closed immediately. There's an entire thread dedicated to this ROM (of course) and there's an even a link to a detailed flashing guide specific to this ROM. This guy doesn't even know you have to root your phone before flashing custom ROMs...
i know how to root my phone! ive flashed my last g1 to cyanogen mod.
but i dont now if i can flash this rom the same way like the cyanogen.
Killarusse85 said:
i know how to root my phone! ive flashed my last g1 to cyanogen mod.
but i dont now if i can flash this rom the same way like the cyanogen.
Click to expand...
Click to collapse
well it's cyanogenmod based so yeah, it's the same way. I believe that DangerSPL is required for Cannon's so if you haven't, go ahead and flash that.
Killarusse85 said:
i know how to root my phone! ive flashed my last g1 to cyanogen mod.
but i dont now if i can flash this rom the same way like the cyanogen.
Click to expand...
Click to collapse
its the same...you just wipe from rec then bam you flash this...
Killarusse85 said:
i would like to flash in on my non rootet g1
Click to expand...
Click to collapse
Killarusse85 said:
i know how to root my phone! ive flashed my last g1 to cyanogen mod.
Click to expand...
Click to collapse
...
After this thread is closed, do a little reading and you should have no toruble flashing any ROM you want.
when did CE2x need Danger?
Firerat said:
when did CE2x need Danger?
Click to expand...
Click to collapse
With version 2.2.1. After a couple tries, Cannon didn't get the size quite small enough (it wouldn't boot with the stock SPL). After flashing Danger, all is well.
TeeJay3800 said:
With version 2.2.1. After a couple tries, Cannon didn't get the size quite small enough (it wouldn't boot with the stock SPL). After flashing Danger, all is well.
Click to expand...
Click to collapse
meh, just squashfs the kernel modules, it will then fit
anyway, lbcoder has shone a path
http://forum.xda-developers.com/showthread.php?t=704560
114mb data on a G1
Code:
Every 0.1s: adb shell df -h Tue Jun 22 13:21:48 2010
Filesystem Size Used Available Use% Mounted on
tmpfs 47.7M 0 47.7M 0% /dev
tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 90.0M 87.7M 2.3M 97% /system
[B]/dev/block/mtdblock5 114.8M 82.9M 31.8M 72% /data[/B]
/dev/block/mtdblock4 457.4M 118.2M 314.7M 27% /cache
/dev/block/mmcblk0p2 457.4M 118.2M 314.7M 27% /sd-ext
/dev/block/mmcblk0p2 457.4M 118.2M 314.7M 27% /cache
/dev/block//vold/179:1
7.0G 6.4G 582.7M 92% /sdcard
Firerat said:
meh, just squashfs the kernel modules, it will then fit
anyway, lbcoder has shone a path
http://forum.xda-developers.com/showthread.php?t=704560
114mb data on a G1
Click to expand...
Click to collapse
Repartitioning without changing the SPL...interesting! Maybe it'll catch on.
I've patched CE221 ( including the wifi fix )
I'll upload it to
http://www.4shared.com/dir/kScUiAKH/CE21.html
will be about 15-20min
Firerat said:
I've patched CE221 ( including the wifi fix )
I'll upload it to
http://www.4shared.com/dir/kScUiAKH/CE21.html
will be about 15-20min
Click to expand...
Click to collapse
is that file ce2.2.1 with the spl hack so it fits?
Just trying to clear up what you posted
xile6 said:
is that file ce2.2.1 with the spl hack so it fits?
Just trying to clear up what you posted
Click to expand...
Click to collapse
no , sorry it isn't, just the redirection method, I squashfs'ed the kernel modules to make room

Anyone know how to create a EXT4 partition???

I know Bake Snack said it was as easy as doing it thru ClockworkMod, and selecting 512mb partition, then selecting OM for swap. But for some reason I have a feeling that it's only a EXT2 partition. And I need a EXT4.. Does anyone know how to accomplish this? Anyone have any script's laying around for achieving this??? Any help would be greatly appreciated!! Thanks so much fella's for you time. I gotta hit the sheets now, but i'll check for any replies when I get up.. thank you very much...
Oh BTW: Im running windows 7, incase anyone needs to know
EDIT: Forgive me if this is supposed to be in questions...
EDIT: Also, I do know you have to upgrade to EXT4, and if thats all I gotta do then I need to know how to do that, plezzzzzz.....
well in regular linux world, you format filesystems with mkfs, just typing 'mount' into the command like should yield what file systems are mounted, what fs they are and where they are mounted. So to format your sda1, you would 'mkfs.ext4 /dev/sda1'. whether this works the same way in android its hard to say. good luck!
its actually ext 3, you can check this by running the a2sd check in terminal... pretty sure their is no way for ext 4 as of right now.
i did the a2sd using hero_overs rom and method but im not sure if it worked properly.. can anyone plz tell me how i can confirm that i have apps2sd on my phone? i followed all the steps and on the last step after i tped in 'su' in terminal then typed a2sd it showed that lod.. it said things like a2sd installed or w.e. but in the end it said swap partition not found.. so idk if it worked for me..
y2bangali said:
i did the a2sd using hero_overs rom and method but im not sure if it worked properly.. can anyone plz tell me how i can confirm that i have apps2sd on my phone? i followed all the steps and on the last step after i tped in 'su' in terminal then typed a2sd it showed that lod.. it said things like a2sd installed or w.e. but in the end it said swap partition not found.. so idk if it worked for me..
Click to expand...
Click to collapse
Swap isn't the same as a2sd, it's basically a drive-space extention of ram, not sure if android can use swap like linux can?
As far as telling if it worked, "ls -l /data" (no " ") and you should see something like "app -> /system/sd" on one of the lines.
Sent from my SPH-D700 using XDA App
y2bangali said:
i did the a2sd using hero_overs rom and method but im not sure if it worked properly.. can anyone plz tell me how i can confirm that i have apps2sd on my phone? i followed all the steps and on the last step after i tped in 'su' in terminal then typed a2sd it showed that lod.. it said things like a2sd installed or w.e. but in the end it said swap partition not found.. so idk if it worked for me..
Click to expand...
Click to collapse
When you started the pertitioning process, you chose a 512mb partition size, then you were supposed to choose "OM" for swap size which in turn means that you arent choosing a swap size. So at the end of Terminal Elu's script run, you see'ing " swap partition not found " is normal.... I know that when I installed A2sd, my terminal said the same as yours did. But I do know that it IS working cuz I got Root Explorer and found where my apps are going cuz once you download them from the Market, they dont show up in your apps drawer until you re-boot your phone.....
I just used my g1 to change to ext4 using AR recovery ... I know some dont have router their G1's or mt3g's but it worked for me
Sent from my SPH-D700 using XDA App
atkailash said:
Swap isn't the same as a2sd, it's basically a drive-space extention of ram, not sure if android can use swap like linux can?
As far as telling if it worked, "ls -l /data" (no " ") and you should see something like "app -> /system/sd" on one of the lines.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
lol can u be a bit more specific plz? do i type that in android terminal?
y2bangali said:
lol can u be a bit more specific plz? do i type that in android terminal?
Click to expand...
Click to collapse
Yes, sorry forgot to say that
Sent from my SPH-D700 using XDA App
sniperkill said:
I know Bake Snack said it was as easy as doing it thru ClockworkMod, and selecting 512mb partition, then selecting OM for swap. But for some reason I have a feeling that it's only a EXT2 partition. And I need a EXT4.. Does anyone know how to accomplish this? Anyone have any script's laying around for achieving this??? Any help would be greatly appreciated!! Thanks so much fella's for you time. I gotta hit the sheets now, but i'll check for any replies when I get up.. thank you very much...
Oh BTW: Im running windows 7, incase anyone needs to know
EDIT: Forgive me if this is supposed to be in questions...
EDIT: Also, I do know you have to upgrade to EXT4, and if thats all I gotta do then I need to know how to do that, plezzzzzz.....
Click to expand...
Click to collapse
http://aliwaqas.info/how-to-partition-sd-card-for-apps2sd-a2sd-android-complete-guide/ and you can use EASEUS Partition Master 6.5.2 Home Edition and just folow tutor and its is advised to use ext3

[MOD]CM7 System R/W (Overlay) WORKING

Thanks to the nice people in the legend section
we have a pseudo s-off
NEED EXT3 PARTITION!!!!
using my kernel and another update .zip
NEED PEOPLE TO TEST!
Try with metamorph other apps that use s-off
KERNEL
http://www.mediafire.com/?k4061yiil9zoqv0
UPDATE.ZIP WITH INIT.D SCIPTS & AUFS.KO
http://www.mediafire.com/?d66q953fdgd5nzj
Run adb shell aufs --enable then reboot
terminal should also work: su aufs --enable
see http://forum.xda-developers.com/showthread.php?t=773278
drowningchild said:
Thanks to the nice people in the legend section
we have a pseudo s-off
NEED EXT3 PARTITION!!!!
Click to expand...
Click to collapse
Have you tested this with S2E apps2sd application?
What does this do
Sent from my Liberty
andrew.cambridge said:
What does this do
Sent from my Liberty
Click to expand...
Click to collapse
if you are asking this you shouldnt be trying it
bkmo said:
Have you tested this with S2E apps2sd application?
Click to expand...
Click to collapse
As taken from the thread in legend dev.
Shell script that does the overlay is made so it can use any (first) ext2/3 partition on your sdcard. That means you can use your a2sd partition for overlay too. If a2sd is not active but you still have ext2/3 partition on your sdcard, it will be mounted and used for overlay. If you don't have ext2/3 partition on your sdcard, then internal data partition will be used instead. In this case you will have to be careful not to fill it up entirely
a2sd script should run before the overlay script (only if you use a2sd)
i dont know how s2e works i only use built in apps2sd
as long as you have enough free ext3(no ext4) it should work it only uses what youve edited
eg u morph framework.res it only overlays that file
I didn't try it, I was just asking.
Sent from my Liberty
Read/Write instead of Read/Only
a pseudo S-off as the aria is S-on
read the thread linked for further explanation
S-OFF means that the NAND portion of the device is unlocked and can be written to. The default setting for HTC’s devices is S-ON, which means that neither can you access certain areas of the system nor can you guarantee a permanent root.
sorry...you beat me to it. :0
this is the closest we'll get to s-off unless it actually happens
its a fake s-off that has system files that youve edited load from the sd ext3 partition
updated 1st post as i forgot commands you NEED to run
haven't test it yet. Theoretically this can do pseudo modification of system files, but what will happen when I delete a system file? pseudo deleted, or restore to the original?
ladios said:
haven't test it yet. Theoretically this can do pseudo modification of system files, but what will happen when I delete a system file? pseudo deleted, or restore to the original?
Click to expand...
Click to collapse
tested with metamorph and it just reverts to whatever is on internal
and it works with s2e fine, just make sure you have a big enough partition
drowningchild said:
Thanks to the nice people in the legend section
we have a pseudo s-off
Click to expand...
Click to collapse
This is great! I'm not sure I need it at this point but I might give it a try tomorrow just to see what happens. Thanks, man.
I know what this does but could you jog my memory on what an ext3 partition is? Partitioning your SD card?
Signatures are fancy.
Moh_Jay said:
I know what this does but could you jog my memory on what an ext3 partition is? Partitioning your SD card?
Signatures are fancy.
Click to expand...
Click to collapse
yes, you CAN resize the partitions usung for example gparted(from pc) as i use, instead of formatting it
Okay so is there a certain set of instructions I need to follow when formatting? And all I have to do is 1. have a formatted SD card and your kernel 2. Flash update.zip 3. Put phone into adb and do adb shell aufs --enable on the command prompt?
Signatures are fancy.
not really
yes you should be able to do aufs --enable on the terminal emulator on your phone
you need the newest version of my kernel as it adds support for aufs
Okay thank you will try tomorrow
Signatures are fancy.
Sweet
Sent from my Liberty using XDA App
What's keeping the Aria from getting a full S-Off like some other phones I've seen? HTC's security pretty tough?
SectorNine50 said:
What's keeping the Aria from getting a full S-Off like some other phones I've seen? HTC's security pretty tough?
Click to expand...
Click to collapse
It was done long ago. ATTN1 has had S-OFF on his phone for a while. Check out alpharev.nl . They just have yet to release it for some reason.

Categories

Resources