Does "Remote Wipe for Root Users" Wipe the ext Partitions...? - G1 Q&A, Help & Troubleshooting

From what I could tell, it wipes /data and /sdcard, but is the app2sd's ext partition mounted on /system/sd...?

well you can try and if all of your apps are still there afterwoards then no, it doesnt lol.

Bump...
Does anyone have an actual reply to the OP's question?
Thanks.

buggy1024 said:
From what I could tell, it wipes /data and /sdcard, but is the app2sd's ext partition mounted on /system/sd...?
Click to expand...
Click to collapse
All of the apps are mounted on data/app for apps2sd.

Related

[Solved] Wipe "ext" partition

Hello,
How can I format my "ext" partition? (I don't know what a "ext" partition is - I don't have apps2sd) I tried searching but could not find anything, I am sure it is there somewhere though.
Thanks,
Isaac
isaacwaller said:
Hello,
How can I format my "ext" partition? (I don't know what a "ext" partition is - I don't have apps2sd) I tried searching but could not find anything, I am sure it is there somewhere though.
Thanks,
Isaac
Click to expand...
Click to collapse
an ext2 or ext3 partition is a linux partition where apps2sd files are stored. If you don't have Apps2SD you don't have an ext partition ;-)
If you don't have Apps2SD, and you don't know what an ext partition is (which more than likely means you don't have one) why would you need to wipe it? Anyway, LucidREM's script does this for you.
I am M3 said:
If you don't have Apps2SD, and you don't know what an ext partition is (which more than likely means you don't have one) why would you need to wipe it? Anyway, LucidREM's script does this for you.
Click to expand...
Click to collapse
I'm assuming he had a bootloop and someone blamed it on they ext they assumed he had...
This is the GScript I use to clear the EXT partition, however when you do it within Android and oyu use Apps2SD, it will cause the mobile to reboot. Better off running it in the recovery mode or something.
Code:
rm -r /system/sd/*

Class 10 32GB SD Card - Can't partition from TWRP/CWM

Hi S5830 users (S5830 only)
I tried using TWRP and CWM to repartition my 32GB Class 10 SD card but failed, only MiniTool for Windows works, but I can't seem to use Link2SD to do an sd2ext
ROM: CM11 modded
Kernel: MA6
BachMinuetInG said:
Hi S5830 users (S5830 only)
I tried using TWRP and CWM to repartition my 32GB Class 10 SD card but failed, only MiniTool for Windows works, but I can't seem to use Link2SD to do an sd2ext
ROM: CM11 modded
Kernel: MA6
Click to expand...
Click to collapse
Can you tell me exactly what the error is? Are you able to create the mount scripts? You only have one sd-ext partition right?
mahithm said:
Can you tell me exactly what the error is? Are you able to create the mount scripts? You only have one sd-ext partition right?
Click to expand...
Click to collapse
According to MiniTool Partition Wizard, yes, I have 1 FAT32 (about 30GB) and another Ext3 partition. However, the device doesn't read it, and I cannot partition through either TWRP or CWM. I'm testing Cronmod on CM10.1 now, will update.
Sent from my GT-S5830 using XDA Premium 4 mobile app
BachMinuetInG said:
According to MiniTool Partition Wizard, yes, I have 1 FAT32 (about 30GB) and another Ext3 partition. However, the device doesn't read it, and I cannot partition through either TWRP or CWM. I'm testing Cronmod on CM10.1 now, will update.
Sent from my GT-S5830 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
TWRP or CWM should not be used to create a new ext partition if your sdcard already have another ext partition. Meaning you should have only one ext partition in your sdcard. So delete the ext3 partition and the fat32 partition, then create a single new fat32 partition on the 32BG sdcard. Now use the recovery mod to create the ext partition. That should work. Between Link2SD and CronMod, I would always go for CronMod. Then again its my opinion. Any way if you have any problem, just post here and I'll be glad to help
mahithm said:
TWRP or CWM should not be used to create a new ext partition if your sdcard already have another ext partition. Meaning you should have only one ext partition in your sdcard. So delete the ext3 partition and the fat32 partition, then create a single new fat32 partition on the 32BG sdcard. Now use the recovery mod to create the ext partition. That should work. Between Link2SD and CronMod, I would always go for CronMod. Then again its my opinion. Any way if you have any problem, just post here and I'll be glad to help
Click to expand...
Click to collapse
Is a Primary partition fine, or do I have to use a Logical partition?
EDIT: I used a Primary partition, and got this:
Partitioning SD Card...
Removing partition table...
Creating FAT32 partition...
Creating EXT partition...
E:Unable to create EXT partition.
Updating partition details...
(TWRP says 'Failed')
EDIT 2: I used a Logical partition, and got this:
E:Unable to mount '/sdcard'
Partitioning SD card...
Creating FAT32 partition...
Creating EXT partition...
E:Unable to create EXT partition.
Updating partition details...
EDIT 3: I think I might have found the problem: http://forum.xda-developers.com/showthread.php?t=1585572
I will test this and get back!
BachMinuetInG said:
Is a Primary partition fine, or do I have to use a Logical partition?
EDIT: I used a Primary partition, and got this:
Partitioning SD Card...
Removing partition table...
Creating FAT32 partition...
Creating EXT partition...
E:Unable to create EXT partition.
Updating partition details...
(TWRP says 'Failed')
EDIT 2: I used a Logical partition, and got this:
E:Unable to mount '/sdcard'
Partitioning SD card...
Creating FAT32 partition...
Creating EXT partition...
E:Unable to create EXT partition.
Updating partition details...
EDIT 3: I think I might have found the problem: http://forum.xda-developers.com/showthread.php?t=1585572
I will test this and get back!
Click to expand...
Click to collapse
If possible, can you try with CWM? Here is the link,
CWM 5.0.2.6 fix for Samsung Galaxy Ace S5830
Hope I Helped
mahithm said:
If possible, can you try with CWM? Here is the link,
CWM 5.0.2.6 fix for Samsung Galaxy Ace S5830
Hope I Helped
Click to expand...
Click to collapse
Tried with that, and it said
Partitioning SD Card... please wait...
Done!
(Copying my files back now, waiting to test)
BachMinuetInG said:
Tried with that, and it said
Partitioning SD Card... please wait...
Done!
(Copying my files back now, waiting to test)
Click to expand...
Click to collapse
That's pretty much it. Fingers crossed. Waiting for your reply
mahithm said:
That's pretty much it. Fingers crossed. Waiting for your reply
Click to expand...
Click to collapse
Steps taken: Copied files directly through Cronmod ZIP (INt2EXtV2+) to respective places (i.e. /system/etc/init.d/) using FX File Explorer, rebooted, and it BOOTS!
Hang on a minute, let me check my disk space, it still reads '16MB free, 162MB used'. is that normal? The script has already been put into the- Wait a minute, the space just increased to 24MB free, 154MB used.
Oh my gosh. Link2SD is saying that there is no second partition.
Apparently the other init.d files are rwxr-xr-x, root, shell, but 40int2ext is rwxr-xr-x, root, root. Is that normal too?
P.S. Sorry, my Shift key is malfunctioning
EDIT: I'm manually flashing Cronmod again, instead of copying directly, as TWRP and CWM 6 didn't allow. CWM 5 works like a charm.
EDIT 2: Still 15MB free *Cries*
BachMinuetInG said:
Steps taken: Copied files directly through Cronmod ZIP (INt2EXtV2+) to respective places (i.e. /system/etc/init.d/) using FX File Explorer, rebooted, and it BOOTS!
Hang on a minute, let me check my disk space, it still reads '16MB free, 162MB used'. is that normal? The script has already been put into the- Wait a minute, the space just increased to 24MB free, 154MB used.
Apparently the other init.d files are rwxr-xr-x, root, shell, but 40int2ext is rwxr-xr-x, root, root. Is that normal too?
P.S. Sorry, my Shift key is malfunctioning
Click to expand...
Click to collapse
BTW what rom are you using now?
---------- Post added at 12:18 PM ---------- Previous post was at 11:57 AM ----------
BachMinuetInG said:
Steps taken: Copied files directly through Cronmod ZIP (INt2EXtV2+) to respective places (i.e. /system/etc/init.d/) using FX File Explorer, rebooted, and it BOOTS!
Hang on a minute, let me check my disk space, it still reads '16MB free, 162MB used'. is that normal? The script has already been put into the- Wait a minute, the space just increased to 24MB free, 154MB used.
Oh my gosh. Link2SD is saying that there is no second partition.
Apparently the other init.d files are rwxr-xr-x, root, shell, but 40int2ext is rwxr-xr-x, root, root. Is that normal too?
P.S. Sorry, my Shift key is malfunctioning
EDIT: I'm manually flashing Cronmod again, instead of copying directly, as TWRP and CWM 6 didn't allow. CWM 5 works like a charm.
EDIT 2: Still 15MB free *Cries*
Click to expand...
Click to collapse
You should know that CronMod and Link2SD doesn't work together. Since CronMod is present, Link2sd can't find the ext partition. What is the size of your ext partition. What rom are you using now? For every 512MB sd-ext partition you need a 100MB space on /data. So please limit your sd-ext patition to 1GB max.
mahithm said:
BTW what rom are you using now?
---------- Post added at 12:18 PM ---------- Previous post was at 11:57 AM ----------
You should know that CronMod and Link2SD doesn't work together. Since CronMod is present, Link2sd can't find the ext partition. What is the size of your ext partition. What rom are you using now? For every 512MB sd-ext partition you need a 100MB space on /data. So please limit your sd-ext patition to 1GB max.
Click to expand...
Click to collapse
I'm using Maclaw's CM10.1. I don't use CronMod and Link2SD together, when i figured out that CronMod didn't work I tried to use Link2SD. As for the /data, is it 100MB free?
BachMinuetInG said:
I'm using Maclaw's CM10.1. I don't use CronMod and Link2SD together, when i figured out that CronMod didn't work I tried to use Link2SD. As for the /data, is it 100MB free?
Click to expand...
Click to collapse
For our Samsung Galaxy Ace S5830, we have an internal memory of 150MB. So your ext partition size should not be more than 1GB for CronMod to work. BTW what is the size of your ext partition?
mahithm said:
For our Samsung Galaxy Ace S5830, we have an internal memory of 150MB. So your ext partition size should not be more than 1GB for CronMod to work. BTW what is the size of your ext partition?
Click to expand...
Click to collapse
If I'm not wrong... I chose 1024MB (1GB) at the selection screen.
BachMinuetInG said:
If I'm not wrong... I chose 1024MB (1GB) at the selection screen.
Click to expand...
Click to collapse
As a last resort, try to reflash this rom. Make sure to backup all the data. Take the rom file, extract it, put 40int2ext file inside /system/etc/init.d/ and then compress it back. Now go to CWM, do "Wipe Data/ Factory reset", "Wipe cache partitions", Mount & Storage> "Format /system" and "Format /sd-ext", Advanced> "Wipe Dalvik Cache" and "Wipe Battery Stats". Now reflash the custom rom. This should pretty much solve it. Restore all the necessary data.
mahithm said:
As a last resort, try to reflash this rom. Make sure to backup all the data. Take the rom file, extract it, put 40int2ext file inside /system/etc/init.d/ and then compress it back. Now go to CWM, do "Wipe Data/ Factory reset", "Wipe cache partitions", Mount & Storage> "Format /system" and "Format /sd-ext", Advanced> "Wipe Dalvik Cache" and "Wipe Battery Stats". Now reflash the custom rom. This should pretty solve it. Restore all the necessary data.
Click to expand...
Click to collapse
Thanks for your help I'll get back to you as soon as I've tried it :good::highfive:
BachMinuetInG said:
Thanks for your help I'll get back to you as soon as I've tried it :good::highfive:
Click to expand...
Click to collapse
No problem :good:
mahithm said:
No problem :good:
Click to expand...
Click to collapse
I've tried that already, and the device went into a bootloop. However, I used GParted to partition 777MB sd-ext, and the rest FAT32, and it boot up after flashing CM10.1 > GApps > CronMod INT2EXT4
The only problem was that the memory remained the same, and Partition info showed /sd-ext (EXT 0.00B/0.00B)
EDIT: For some reason sd-ext doesn't mount, but formats perfectly.
BachMinuetInG said:
I've tried that already, and the device went into a bootloop. However, I used GParted to partition 777MB sd-ext, and the rest FAT32, and it boot up after flashing CM10.1 > GApps > CronMod INT2EXT4
The only problem was that the memory remained the same, and Partition info showed /sd-ext (EXT 0.00B/0.00B)
EDIT: For some reason sd-ext doesn't mount, but formats perfectly.
Click to expand...
Click to collapse
Have you tried flashing the CronMod from CWM? Can you give it a try? Also try to use INT2EXT+ as it is much more stable than others. Hope I Helped
mahithm said:
Have you tried flashing the CronMod from CWM? Can you give it a try?
Click to expand...
Click to collapse
When I flash it from CWM sometimes it somehow finishes without incident, but the file doesn't get copied.
BachMinuetInG said:
When I flash it from CWM sometimes it somehow finishes without incident, but the file doesn't get copied.
Click to expand...
Click to collapse
Try to use INT2EXT+ as it is much more stable than others. Also you might need to mount /system from CWM before flashing if its not getting copied.

stock rom and link2sd: can't mount ext4 partition

i have my ace running with a stock rom again since my wife is using it.
I have rooted the phone and flashed px recovery. After that, I wanted link2sd to mount the ext4 partition but whatever I try: nothing works.
when I try to mount ext 3 or ext 4 in link2sd I get this message: can't mount: no such device
when I try to mount ext2 I get this message: invalid argument
I have repartitioned and formatted both partitions already a dozen times. why can't link2sd mount this ext 4 partition?
i created the partitions using minitool partition wizard. After I placed the sd card back into my phone, I rebooted into px recovery, mount the sd-ext and formatted sd-ext, and after that, link2sd still gave the same errors.
How can I get Link2SD working?
DutchArjo said:
i have my ace running with a stock rom again since my wife is using it.
I have rooted the phone and flashed px recovery. After that, I wanted link2sd to mount the ext4 partition but whatever I try: nothing works.
when I try to mount ext 3 or ext 4 in link2sd I get this message: can't mount: no such device
when I try to mount ext2 I get this message: invalid argument
I have repartitioned and formatted both partitions already a dozen times. why can't link2sd mount this ext 4 partition?
i created the partitions using minitool partition wizard. After I placed the sd card back into my phone, I rebooted into px recovery, mount the sd-ext and formatted sd-ext, and after that, link2sd still gave the same errors.
How can I get Link2SD working?
Click to expand...
Click to collapse
I forgot that stock rom can't work with ext 4. Changing file system to ext2 worked for me and solved the problem (for now).
DutchArjo said:
I forgot that stock rom can't work with ext 4. Changing file system to ext2 worked for me and solved the problem (for now).
Click to expand...
Click to collapse
Are you sure Link2SD works well on stock rom? Because last time I checked it doesn't work well on roms without init.d support. I myself couldn't get it to work on stock rom. It crashed most of the time. Do post the result.

Ext2 partition as inter storage how .?

Hello friends,
i tried two roms for galaxy Ace, one is The Ultimatum V4 which is now i am running , and second one is Cynogenmod 10.1.6 which is awesome but very slow. The thing i noticed is , i have a partition in my sd card with ext2 format so when i use The Ultimatum V4 the ext2 is automatically detecting as internal storage like in ace we have only 200mb around as internal but it is showing the ext2 space included with that, So how can i do the same with Cynogenmod 10.1.6 so that ext2 partition can be used as internal storage, so that i can use freely the rom without any strucks.
Please say me how to use EXT2 partition of sdcard as internal memory automatically in Cynogenmod 10.1.6 .
Thanks.
kishore55 said:
Hello friends,
i tried two roms for galaxy Ace, one is The Ultimatum V4 which is now i am running , and second one is Cynogenmod 10.1.6 which is awesome but very slow. The thing i noticed is , i have a partition in my sd card with ext2 format so when i use The Ultimatum V4 the ext2 is automatically detecting as internal storage like in ace we have only 200mb around as internal but it is showing the ext2 space included with that, So how can i do the same with Cynogenmod 10.1.6 so that ext2 partition can be used as internal storage, so that i can use freely the rom without any strucks.
Please say me how to use EXT2 partition of sdcard as internal memory automatically in Cynogenmod 10.1.6 .
Thanks.
Click to expand...
Click to collapse
Its simple actually. Just flash CronMod script (try INT2EXT+ as it is the most stable of all) from CWM. Make sure to have an ext partition of maximum size 1GB (anymore and the system will lag). Here is the link,
CronMod-INT2EXT
Hope I Helped
Thanks buddy, i m trying on i just kep 600mb as ext2, so it will solve my problem of lagging CM 10.1.6, and ext2 is best or any other format should i do..
kishore55 said:
Thanks buddy, i m trying on i just kep 600mb as ext2, so it will solve my problem of lagging CM 10.1.6, and ext2 is best or any other format should i do..
Click to expand...
Click to collapse
Usually when you create a ext partition from CWM, its in ext3 format. But CronMod works well on ext2/3/4. Its upto you
mahithm said:
Usually when you create a ext partition from CWM, its usually in ext3 format. But CronMod works well on ext2/3/4. Its upto you
Click to expand...
Click to collapse
Thanks buddy, will update u after trying..
kishore55 said:
Thanks buddy, will update u after trying..
Click to expand...
Click to collapse
Cool
mahithm said:
Cool
Click to expand...
Click to collapse
Hello thanks still now for your support, but now i did the same thing which u said, but my internal storage is still the same it is not increased.
my process on CM 11.
Went to Recovery installed zip CronMod-INT2EXT and rebooted...
kishore55 said:
Hello thanks still now for your support, but now i did the same thing which u said, but my internal storage is still the same it is not increased.
my process on CM 11.
Went to Recovery installed zip CronMod-INT2EXT and rebooted...
Click to expand...
Click to collapse
Can you check if there is a file named 40int2ext in your /system/etc/init.d? Also was your ext partition in ext2 type?
There are only 00banner and 90userinit file in /system/etc/init.d location , the file 40int2ext is not ther. When i try to copy that file readonly message displaying.
kishore55 said:
There are only 00banner and 90userinit file in /system/etc/init.d location , the file 40int2ext is not ther. When i try to copy that file readonly message displaying.
Click to expand...
Click to collapse
It means that flashing was not successful. There are 2 ways to do it,
1. Go to CWM> Mounts & Storage> Mount /system and then flash CronMod script. Finally format /sd-ext from Mounts & Storage and reboot. If you still can't find 40int2ext in /system/etc/init.d, then use the next method.
2. Using a root file manager change the permission of /system from R to R/W. Now simple copy the 40int2ext file to /system/etc/init.d/ and change the permission to rwx-rx-x. Done! Now reboot and it should work.
Hope it works
Thanks buddy, now i got it.. thanks for ur support..
kishore55 said:
Thanks buddy, now i got it.. thanks for ur support..
Click to expand...
Click to collapse
Glad I could help buddy
For some strange reason, I can't do this by just flashing my zip file, I had to manually copy and paste file into my system folder. Well this is the way if flashing didn't work out for you either
Zerien said:
For some strange reason, I can't do this by just flashing my zip file, I had to manually copy and paste file into my system folder. Well this is the way if flashing didn't work out for you either
Click to expand...
Click to collapse
Did you mount sdext and data partition?
Viper The Ripper said:
Did you mount sdext and data partition?
Click to expand...
Click to collapse
Oh, I had to do that? So i have to mount /sd-ext and /data, then only i format /sd-ext?
Zerien said:
Oh, I had to do that? So i have to mount /sd-ext and /data, then only i format /sd-ext?
Click to expand...
Click to collapse
Yes, formatting /sd-ext is the last step. You should mount /system too as 40int2ext is placed inside /system/etc/init.d/.
Zerien said:
Oh, I had to do that? So i have to mount /sd-ext and /data, then only i format /sd-ext?
Click to expand...
Click to collapse
Yes, I always follow those steps
Q&A Thread Int2ext scripts
There's tons of info in Q&A Threads
Ok thank you both, I'm out of thanks for the day so yea

[Q] How to format the Internal SD?

Hello folks!
Can someone tell me how to format the Internal SD of this phone?
And, while we're at it, is it possible to format it as ext2 or f2fs?
TIA!
Ookay. I did a lot of research, and to answer my own question:
The Internal SD can NOT be formatted, because it's not a separate device, but merely a directory under /data. /data/media, to be precise. But it can be ERASED/wiped.
Wiping /data now no longer format the /data partition; rather, it simply deletes everything under /data except /data/media.
CWM (or other recovery) should have a separate command to erase/wipe the /data/media directory.
And to find out what filesystems are supported, one should do cat /proc/filesystems
Thanks for reading! I hope this information can be useful to you, too.
forever alone

Categories

Resources