need help regarding CWM functionality - Galaxy Ace S5830 General

hi all,
i juz wana know bout the functionality of all the programs in CWM 4.0.0.9.i had it installed but dun know much bout the stuff inside.juz knw bout back up n storage and applying updates from zip..and what is dalvik cache means...

Need info on dalvik cache? www.google.com will help u.
Sent from Galaxy Ace GT-S5830 using Grif's Cyanogenmod & allinone script.
Dont jus say thanks, use d 'THANKS' button. [XDA RULE]

Yes, just google everything. This factual stuff can easily be found through search.

There you go.... not from v4.0.0.9 but its of a old version but will give you and idea or to anyone else .. will not post a link to some other site so just posting the explaination here
Options explained
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1.reboot system now
This one is self-explanatory.
2.apply update from sdcard
This can be used for installation of any official or unofficial update, ROM, kernel, theme etc. that is in a zip format installable from recovery, as long as the file is named update.zip and it has been placed on the root of your SD card (i.e. not in any sub-folder). Selecting this option (and most of the options featured below) will bring up a rather annoying confirmation prompt but this has saved us on multiple occasions from a lot of trouble we would have been into due to accidental key presses.
3.wipe data/factory reset
This option wipes all user data on the device as well as cache. Doing this will leave your phone in the state it was in when you bought it or when any custom ROM was first installed. It will also wipe any sd-ext partition that you might have setup
4.wipe cache partition
Wipes the cache partition of the device to clear all the data accumulated there over use. This is often used before installing a new ROM, app, kernel or any similar mod via recovery.
5. install zip from sdcard
This option brings up the following sub-menu:
A. apply /sdcard/update.zip
This one is essentially the same as the ‘apply update from sdcard’ option of the main menu.
B. choose zip from sdcard
Lets you install any zip file (with any name) from any location on your SD card. The file can be for a ROM, a kernel, an application, a theme or any mod as long as it is in recovery-flashable zip format. This is the most widely used option for installing a ROM that you have downloaded and copied to your SD card. Entering this option will bring up a screen that will allow you to browse your SD card for the zip file and select it for installation
C.toggle signature verification
Turns the signature verification on and off. When signature verification is on, you will not be able to install any custom ROMs that haven’t been signed by the developers (most custom ROMs aren’t signed). Switching it off skips the signature verification check and proceeds with the installation.
D. toggle script asserts
Seldom-used option for a vast majority of users. It simply turns script asserts on or off. If you don’t know about these (i don’t), it’s best not to change this option.
E. +++++Go Back+++++
Takes you back to the main recovery menu, obviously!
6.backup and restore
Undoubtedly one of the most important features provided by a custom recovery, the backup and restore feature – also known as Nandroid backup – allows you to take a snapshot of your phone’s entire internal memory including all partitions, and save it on the SD card.
A.Backup
Takes a Nandroid backup, as explained above.
B.Restore
Lets you restore a previously taken backup. Entering this option presents you with a list of existing backups from the SD card that you can choose from for restoration.
C.Advanced Restore
This option is similar to the Restore option but once a backup has been selected to be restored, this option allows you to choose what parts of it to restore. You can choose to restore the boot, system, data, cache and sd-ext partitions
7.mounts and storage
Allows you to perform maintenance tasks on all the internal and external partitions of your android device
A. mount/unmount /system, /data, /cache, /sdcard or /sd-ext
These options let you toggle between mounting or unmounting these respective partitions. Most users don’t need to change these options.
B.format boot, system, data, cache, sdcard or sd-ext
These let you directly format any of these partitions. Take extreme care with this option as formatting any of these partitions will result in losing all data on them, especially the boot and system partitions. Formatting the system partition will remove your ROM and leave your phone without an operating system while wiping the boot partition may brick your phone unless you restore or flash another one before rebooting your device. To learn more about the contents of all these partitions, see our guide to Android partitions.
C.mount USB storage
Lets you enable USB mass storage mode for your SD card right from recovery so that you can connect it to your computer via USB and transfer any files to/from it without having to leave recovery.
8.advanced
This section contains a few options most users will not require, though these can come handy quite often, especially wiping Dalvik cache, which is required before most ROM installations. Here are the options from this section:
A.Reboot Recovery
Lets you directly and very conveniently reboot from recovery right back into recovery. This is useful option for certain back-to-back installations that require the device to at least boot once between them.
B.Wipe Dalvik Cache
Allows you to wipe the cache for the Dalvik virtual machine (the custom-built Java virtual machine for Android).This is required before most ROM installations and at other occasions too, for fixing some problems.
C.Wipe Battery Stats
Wipes the saved battery usage statistics and effectively recalibrates the battery. Useful in various scenarios when Android isn’t showing correct battery levels.
D.Report Error
In case of errors, this feature can be used to save a log of recent ClockworkMod recovery operations on the SD card that you can later report from Android using ROM Manager.
E.Key Test
Lets you press any of the hardware keys to see if they are properly functioning, and to see their key codes.
F.Partition SD Card
This option gives you a no-frills way to partition your SD card properly for use with ROMs that support data2ext (a very handy hack for low internal memory devices that enables an /sd-ext partition on the SD card to be used as the internal user data storage i.e. as the /data partition). Once this option is selected, you will be given options to choose the sizes for the /sd-ext partition as well as an optional /swap partition on the SD card, and will then automatically format it for you, leaving the remaining space for normal SD card usage. This option will wipe all data from your SD card so use it with caution!
G.Fix Permissions
Fixes the file permissions for the internal memory partitions back to default. This is very useful as a fix for several errors and Force-Closes that start appearing after you or an application you installed and provided root access end up messing up the permissions of important files.
Hope it helps :d

@devilcode , permission to add into the newbie guide please
Sent from my GT-S5830 using XDA App

EmoBoiix3 said:
@devilcode , permission to add into the newbie guide please
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
Yea sure bro if you want i can insert screenshots also...before every point

EmoBoiix3 said:
@devilcode , permission to add into the newbie guide please
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
Just quoted one of the sentence there to google and it shows that THIS is the actual source. Dont know if the poster is the author though.

QNBT said:
Just quoted one of the sentence there to google and it shows that THIS is the actual source. Dont know if the poster is the author though.
Click to expand...
Click to collapse
yea i mentioned ill not post an outside link in the begging so just pasted it here i dont have permission to post links yet

devilcode said:
yea i mentioned ill not post an outside link in the begging so just pasted it here i dont have permission to post links yet
Click to expand...
Click to collapse
ah, sorry. My bad.

devilcode said:
Yea sure bro if you want i can insert screenshots also...before every point
Click to expand...
Click to collapse
Do it .
I'd be grateful

devilcode- ur explanation is much appreciated..thank you...

all your guidance are very useful..especially devilcode..thanks man...now i can know the functions well....

EmoBoiix3 said:
Do it .
I'd be grateful
Click to expand...
Click to collapse
Their Edited My post With screen shots ...You can post in Newbie Guide now
ravin_jr said:
all your guidance are very useful..especially devilcode..thanks man...now i can know the functions well....
Click to expand...
Click to collapse
Ur welcome Glad to help ... N Click Thanks if you are really thankfull

Related

Data to sd with dalvik-cache to ram for sga

There are a lot of ways of moving /data to SD ext(2nd) partition. Here I'll show you an easy way to do it which is fully compatible with Samsung Galaxy ACE(and possibly other devices as well). If you don't like the method used here, try other Data2SD/ext mod which may suit your needs.
Why move dalvik-cache to RAM? Basically, the idea of moving the whole /data partition to SD ext partition is to primarily get more space for installing apps. And in this case, it does perform very well and combined with fast SD cards, it could even provide real-life performance boost. Now the downside to this, is that while most /data contents just get copied and read not that much often, dalvik-cache stores some info that needs to be read and updated very frequently. This results in a high I/O read/write frequency and thus results in shortening of the SD card life(in theory, the same could also be said when left internally but this time dealing damage to the nand disk instead). To counter this, the method I used is to move dalvik-cache to a virtual-disk like partition known as a tmpfs. tmpfs resides in RAM and has dynamic resizing structure which can allocate space depending on your needs. This way, dalvik-cache won't be using any physical disk and therefore causing damage to none. Almost too good to be true right? Well the drawback is, because tmpfs resides in RAM anything written onto it get's lost when rebooted or in-case of power loss thus resulting in loooong boot times(depending on the apps installed), as dalvik-cache contents are being rebuilt on every boot. Well I think that's enough of dalvik-cache and lets start with the mod.
WARNING
USING A NON-APP2SD / NON A2SD / NON-LINK2SD ROM OR SIMPLY UNINSTALLING NON-APP2SD / NON A2SD / NON-LINK2SD IS STRICTLY RECOMMENDED
DO NOT EVEN TRY THIS MOD IF YOU HAVE ANY FORM OF NON-APP2SD / NON A2SD / NON-LINK2SD INSTALLED
ALWAYS PERFORM A BACKUP BEFORE TRYING OUT STUFF LIKE THESE
Disclaimer: I am not responsible for anything bad happening in the world blah blah, you know the drill!
Put the files of Data2SD_for_SGA.zip inside the corresponding places on your phone manually.
system/bin/e2fsck
system/xbin/busybox_d2sd
system/etc/install-recovery.sh
--------------------------------------
Basic Requirements
1. Fresh ROM
2. Rooted
3. No A2SD, No App2SD, No Link2SD
4. SD Card Partioned to Ext2 and Fat32
5. SD Card must be original (NOT Class A) as much as possible Class 4 and up.
6. Make sure that your SD Card is partitioned accordingly. Just like how you did when using link2sd.
7. Previous link2sd users need not partition your SD Card. Just format the EXT2 partition.
Steps
1. Flash DXKC1 ROM in your phone
2. Partition your SD Card with EXT2 (first) then the remaining FAT32
3. Root your phone with SuperOneClick then reboot
4. Before inserting the SD Card remove .android_secure, Android and LOST.DIR folders. And make sure that EXT2 is clean
5. Copy the extracted Data2SD_for_SGA.zip on your SD Card
6. Install Root Explorer on your phone
7. Copy the files from the extracted Data2SD_for_SGA.zip to your phone using root explorer
system/bin/e2fsck
system/xbin/busybox_d2sd
system/etc/install-recovery.sh
8. After successfully copying the files, reboot phone.
9. Turn on phone and wait. The initialization might take some time depending on the speed of read/write of your sdcard.
10. If errors has been encountered, REPEAT THE STEPS FROM STEP 1.
Thanks Ungaze
All credits goes to Ungaze of TCP / XDA
Hi, it tried 3 times and it's not working for sga.
Would that work also on GingerBread? AFAIK automount scripts make SGA reboot as per Link2SD issue.
@mastrone -> Link2SD and Data2SD is a different thing.. But both won't work on Gingerbread because install-recovery.sh is quoted inside init.rc
@roninxt -> worked for me... i am using DXKC1 ROM...
tazzz811 said:
@mastrone -> Link2SD and Data2SD is a different thing.. But both won't work on Gingerbread because install-recovery.sh is quoted inside init.rc
@roninxt -> worked for me... i am using DXKC1 ROM...
Click to expand...
Click to collapse
I'm also using that rom. But i didn't flash to a fresh rom. I had a Link2sd installation before and i followed the steps. I also uninstalled Link2sd.
Can someone explain why do we need a fresh rom?
Can someone explain why do we need a fresh rom?
Click to expand...
Click to collapse
When you have an applications installed before putting data2sd in its place... Some or most of the application will result to FORCE CLOSE... That's the reason why it should be applied on a FRESH ROM.
I experienced it before when i got excited on applying Data2SD having 200 apps installed... The result, i got FORCE CLOSES on most of my applications.
But you can still try it out on a currently running ROM in your phone, make sure that you have no a2sd, app2sd or link2sd installed..
Change the title
please specify this for GINGERBREAD or FROYO
roninxt said:
Can someone explain why do we need a fresh rom?
Click to expand...
Click to collapse
Basically to avoid/minimize errors with conflicting mods prior to this mod. If you're an advanced user(or something like that) you probably know what you're doing already so fresh ROM install is not necessary but still recommended.
@tazz811
Nice work man, I'm assuming that the current custom ROM available for SGA does not have init.d support as of now and that's why you placed the script inside the install-recovery.sh script. Well, this might sound useless but, why not make install-recovery.sh call any scripts from init.d? Maybe something like:
Code:
list=`ls /system/etc/init.d/*`
for k in $list
do
sh $k
done
this way, you can run the data2sd script from init.d which will then make it easier to make modifications as well as allow other scripts to run on init.d.
@Ungaze... Thanks for the idea... You owe all the credits... It's me LTGB
list=`ls /system/etc/init.d/*`
for k in $list
do
sh $k
done
Click to expand...
Click to collapse
my understanding of this simple script is, it will run any script found inside system/etc/init.d/ folder.
Internal Storage Capacity Increased
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Got huge Quadrant Score
This is the result of Data2SD on my SGA - DXKC1 ROM
tazzz811 said:
This is the result of Data2SD on my SGA - DXKC1 ROM
Click to expand...
Click to collapse
what is read/write speed of yours SD card..?
what is read/write speed of yours SD card..?
Click to expand...
Click to collapse
i'm using transcend 8gb class4
tazzz811 said:
my understanding of this simple script is, it will run any script found inside system/etc/init.d/ folder.
Click to expand...
Click to collapse
Exactly
Dude, TCP is already a giveaway lol.
is it working with VillainROM or KPE too..? or it is just for FROYO..?
is it working with VillainROM or KPE too..?
Click to expand...
Click to collapse
No.. It's not working on a rooted Gingerbread ROM (Stock or Villain ROM). The init.rc is kinda secured even if you unquote install-recovery.sh it will revert back to the original state. Therefore install-recovery.sh will not be executed during boot time.
http://62.0.5.133/oi51.tinypic.com/qzk8z9.jpg
working on it! thanks man. TCP rules
Ok i got it to work. I have about a couple of apps installed about 10 and i was successful running the script. I uninstalled all my other apps. I didn't encounter force closes. So yes i can confirm that d2sd will work even on an existing sga rom. But you need to uninstall most apps including big ones as this might lead to a force close.
not work on my SGA,install from fresh rom dxkc1
my sd card 8 GB class 10 - make ext-2 first then fat32
following your instruction, tried almost 10 times and still not work for me....

[Encrypt] [Update 13/7/11] Encrypt yout personal data via CWM!

Introduction
This thread describes an experimental mod that allows you to encrypt your personal data (/data partition) on your phone.
This can make sure that no 'unauthorized' user can take your phone and view your data. It is NOT an anti-theft mechanism, but will protect your personal information in case you lose your phone (provided that the password is not easily recoverable).
This mod should work for X10mini / X10minipro / X8
WARNING:
This mod is experimental, for advanced users and security paranoics only. Use it at your own risk
Requirements:
- CWM recovery pre-installed
- Custom MiniCM7 ROM (should work on any custom ROM - I have not tested others). Will NOT work on stock ROMs.
- At least 200MB of free space in your sdcard
Encryption mod Installation
- Flash the attached CWM multiboot zip via CWM
Encrypting your /data
This mod allows for easily migrating your existing /data contents to the encrypted partition. To do so boot into CWM recovery:
- backup and restore -> backup
- encrypt -> Encrypt - migrate /data -> Yes
- Use the keypad to enter your password. To navigate, use the Vol up/down buttons for up/down, the menu/back buttons for left/right, the home button to select a letter, the camera button for backspace and the power button to verify that you are done.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This process will take 5 - 10 minutes, be patient.
Once finished, to verify that the migration was successful, select:
- encrypt -> Mount encrypted /data
This should ask you for the password you used and if successful, it should mount the encrypted partition under /data-enc.
$ adb shell mount
should give you this line among others:
/dev/mapper/data-enc on /data-enc type ext2 (rw,noatime,nodiratime,errors=continue)
which means that your private files can now be accessed under /data-enc.
When done, use:
- encrypt -> Umount encrypted /data to unmount
To update your password, use:
- encrypt -> Change encryption password
This will prompt for a password three times: the first one is for the existing password. The second and third should match and this is the new password.
Booting your phone
When booting your phone you are prompted with the keypad to insert your password. Unless the correct one is provided, you cannot continue booting.
Uninstall
- Boot into CWM and format your /data partition.
- mount the /system partition via CWM and use the following command to avoid getting asked for a password at boot:
- adb shell mv /system/bin/ramdisk.tar.bak /system/bin/ramdisk.tar
Thanks to:
- DaRk_dOg for his testing and theming ideas
- sigkill1337 for his keypad ui implementation for the Wildfire
Disclaimer:
I can't be held responsible if this mod bricks your device / trashes your phone or makes it explode in your hands! Use it at your own risk!
​
Changelog:
(13/7/11) CWM-encrypt-r1.zip
Initial version for encrypting /data partition
where is the Google's [+1] button? great tool
WARNING:
This mod is experimental, for advanced users and security paranoics only. Use it at your own risk
Dude seems like you are first paranoid one . Nice work!
p.s.
what if i forget password?
aZuZu said:
WARNING:
This mod is experimental, for advanced users and security paranoics only. Use it at your own risk
Dude seems like you are first pranoid one . Nice work!
p.s.
what if i forget password?
Click to expand...
Click to collapse
In terms of security, yes I am
If you forget your password you are doomed.
nobodyAtall said:
In terms of security, yes I am
If you forget your password you are doomed.
Click to expand...
Click to collapse
Flash tool will not work?
Sent from my X8 using XDA Premium App
Let me rephrase : if you forget your password you can't expect to be able to get your data back. That's the whole point of encrypting them. Sure you can get in recovery and format, as already described in the first post.
Sent from my Nexus One using XDA App
nobodyAtall, thank you for another great addition!
First multiboot, now data encryption. X10 mini is such a geeky device after all!
Thank again, D_d
What encryption algorithm is used?
P.S. I tried to encrypt MiniCM6-1.0.2, phone is much slower to work.
Camogyp said:
What encryption algorithm is used?
P.S. I tried to encrypt MiniCM6-1.0.2, phone is much slower to work.
Click to expand...
Click to collapse
It's using aes-plain encryption. Practically you need a weak password if you wanna crack this
I'm using it on MiniCM7 without any noticeable performance degradation.
it on MiniCM7 without any noticeable performance degradation.
Click to expand...
Click to collapse
Maybe I was wrong... I tried test speed at the application SemcCamera (gallery) - it did not work correctly after installing encryption. Deinstal apk... =)
The overall rate of the entire system is good. Sorry for previous post!
This mod use internal memory or ext2.
Sorry for stupid quastion.
Sent from my X8 using XDA Premium App
as-mario said:
This mod use internal memory or ext2.
Sorry for stupid quastion.
Sent from my X8 using XDA Premium App
Click to expand...
Click to collapse
It uses a encrypted loop device formatted as ext2 which is stored in the phone's [email protected] partition.
Hmm, intresting. Do you think this would work on the x10 mini pro? - If possible with the HW keyboard?
Great work nobodyAtall!!
just a question, can you do to work on x8? this and multiboot too?
thanks..
LuisDias said:
Great work nobodyAtall!!
just a question, can you do to work on x8? this and multiboot too?
thanks..
Click to expand...
Click to collapse
It works i test that.
Sent from X8 using XDA Premium app and running Kuyadroid
thnx!!!
Great job thnx!!!!
Need help restoring encrypted partition..
Hmm, I might've done something stupid and thought I'd ask for help.
I used MiniCM7 2.0.5 w/ encryption, then I chose to update to 2.0.6.. and when I reboot it seems I lost everything stored on /data/ (i.e. I'm not asked to decrypt anything and when I boot into CM7 nothing is there). I assume the encrypted data is still somewhere, but how can I tell CWM/miniCM7 2.0.6 to decrypt this into /data/ before boot?
Hi there.
You should copy your ramdisk from your MiniCM7-2.0.5 backup to your current installation. To do this, restore to your previous version, copy the /system/bin/ramdisk.tar file to your sdcard and once you upgrade to the latest version copy it back again. If all goes well, in next reboot you should be prompted with the password input screen.
DehDehDeh said:
Hmm, I might've done something stupid and thought I'd ask for help.
I used MiniCM7 2.0.5 w/ encryption, then I chose to update to 2.0.6.. and when I reboot it seems I lost everything stored on /data/ (i.e. I'm not asked to decrypt anything and when I boot into CM7 nothing is there). I assume the encrypted data is still somewhere, but how can I tell CWM/miniCM7 2.0.6 to decrypt this into /data/ before boot?
Click to expand...
Click to collapse
Sent from my Nexus One using XDA App
Hmm, I can't seem to get this to work;
I tried to update to MiniCM2.0.7 (from 2.0.6) by the method below, but it just reboots without my settings (and w/o asking for password).
I also tried mounting the encrypted /data in CWM (encrypt submenu) before flashing the update.
Can you tell me the proper way to update an encrypted MiniCM? I fail miserably
Also, I can't seem to uninstall Encrypt as per the guide in the first post, at least not while keeping my apps and settings. Is this not possible? (Since the first step is to format /data I'm thinking it isn't?)
Thanks for the help and your great development!
/DDD
nobodyAtall said:
Hi there.
You should copy your ramdisk from your MiniCM7-2.0.5 backup to your current installation. To do this, restore to your previous version, copy the /system/bin/ramdisk.tar file to your sdcard and once you upgrade to the latest version copy it back again. If all goes well, in next reboot you should be prompted with the password input screen.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse

[Recovery] 4EXT v2.2.7 RC5 | Convert fs | Aligned Partitioning 3x (ext|swap)

Thanks to Ghiki and Imanol00 for testing, 4EXT Recovery is now also available for the Nexus One
​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Quick note about themes:
Available themes as of Oct/17:
Themes by pravus_nephilim
Themes by Apaquette420
Themes by Whiskey103
Themes by Amresh
Themes by Apaquette420
Themes by CWhitney24
Themes by DaMyth
Themes by Blindndumb
To uninstall any "flashed theme" and to revert to your own custom settings you had before flashing, just use this Theme Uninstaller in recovery.
It will clear any theme you might have flashed and revert to your own custom settings you had before flashing that theme!​​
THANKS:
All credits and my deepest respect go to Koush for his extremely great code!
Without him 4EXT Recovery wouldn't have been possible!
Biggest thanks possible go to Sebastiaan15 for his brilliant ideas and who spent whole weeks testing my buggy code with his Desire
Without you I could never have made it!!!
So BIG THANKS to SEBASTIAAN15 and KOUSH for his hard work with CWMR !!!
Many credits to the Desire S community ( especially to loveboatcaptain - LBC Mod Android Development and Marylandcookie ) for testing, very nice ideas, feature suggestions and helping to get the code running on the Desire S!
Special big thanks to RAVENNA from android-hilfe.de board for hours of testing for the Desire!
BIG Thanks to Hussainmushahid who helped me a lot spending much of time with solving a bug I could not reproduce on my device.
And many thanks to all users who reported and helped to identify problems ( can't any longer list all of you here since the list has grown too large )!
Even more thanks to people who 've bought me some beer YOU ROCK!! ZEEKIZ, A USER, PHILOS64, STEVEATHOME, PREACHER65, BEN_PYETT, ULTRA DROID, PTR_HAMILTON, BEANBEAN50, SEBASTIAAN15 and LOVEBOATCAPTAIN
​
v2.2.6 RC4 Released: Oct/01
Rare Superuser problem when tar backups were enabled (disabled by default) was fixed.
Converting partitions between ext3 and ext4 without data loss now correctly calculates the space needed to successfully complete the operation
New option: check and optionally repair the file system on your sdcard (fat32)
Removed duplicate format cache option inside the format menu (wipe cache does the same)
When formatting fat32 it will now save your 4ext.prop settings and restore them afterwards
Changed partitioning of the sdcard to not use LBA mode for new fat32 partitions as requested by Ghiki
Added new size option (128mb) to the partitioning menu per request
Parted is no longer used to format fat32 in the partition menu
-> This solves a bug where sometimes the creation of the fat32 file system failed and produces better quality results​
4EXT Recovery themes should now stay when formatting /system or flashing new roms
New option: format /sdcard fat32
New 4EXT Recovery Control API because I'm forced to drop "extendedcommand" (see App for the reason why)
enables file names and directories to include spaces for installations​
calculates needed space to complete a full or advanced backup at the beginning of the backup.​
This ensures that you are not left with a non working backup.​
Size for recovery greatly reduced
New 4EXT Recovery Control Features
Please see www.4ext.net for more.
Fix permissions
Calculate real values for the space needed to create a new full or advanced backup
Advanced Backups: While you are selecting / deselecting partitions, it will display and update the currently needed space to complete that custom backup set.​
As an example, the following would be possible to do in just one session:
Restore a backup, set to create a backup / advanced backup before the restore,
format all partitions with a file system of your choice before the restore process starts,
flash additional zip files afterwards, fix permissions and select to stay inside recovery or to reboot automatically once all actions are complete.​
Features: Use 4EXT Recovery Control or Recovery Updater for complete Changelogs and Known issues!
not all features may be relevant for all devices
Displays additional information:
Identifies your current rom and displays its name
Current filesystems on your partitions
Free space remaining of all of your volumes
Current battery charge level
Backup | Restore:
Correctly calculates free space needed to complete a backup ( version > 2.2.6 RC4 )
Tar backups (can be switched on or off)
Complete CWMR5 compatibility
All Backups you create will be named after your currently installed Rom for easier identification.
Never unwillingly get "downgraded" to EXT3 again
Always restores backups using the file systems you HAD on your partitions at the time of creation!
-> all partitions formatted with ext4 at that time, will be restored to ext4. The same is true for ext3.​
You can manually change any existing Backup to ext4 or ext3
-> so that after a restore, all partitions and up with the file system you wanted!​
Advanced Backup: backup only a single partition
Convert any of your partitions to EXT4 or EXT3 without data loss.
Formatting:
When you wipe or format it will always use the same file system you currently have.
-> but you can change that​
When you format ext4 it will always create an aligned file system
Correctly identifies unformatted sd-ext partitions
-> if it finds one it displays a warning and suggests you may format them by visiting the 4EXT menu​
Filesystem check and repair option in advanced menu
Partitioning:
Alignment check of your partitions
Full support for up to 2 sd-ext partitions + swap (Backup/restore/format/convert, fsck, et.c.)
(RE-) Partition your sdcard for sd-ext without removing your fat32 partition.
All partitions created with 4EXTRecovery will be perfectly aligned to 4k
Installing:
Integrated md5sum checking option
Themes:
Customize all colours used throughout recovery
Use your own icons, background images, progress bars.. more to come.
Assign different backgrounds to different menu categories (version >= 2.1.2)
Create a flashable zip for others to flash your theme.
Menus:
Most popular menu items rearranged
Format menu
Power Menu + option to reboot into bootloader
Less "No's" in confirmation dialogues
Changed Advanced Restore: first select what you want to restore, then select the backup
-> Useful for restoring from "Advanced Backups"​
4ext.prop:
Configuration file on your sdcard where you can set options to be used by 4EXTRecovery
Change all settings conveniently with 4EXT Recovery Control
Many more options to come
Share your settings / themes by packing your config into a flashable theme
Other stuff:
USB Storage Autostart (must be switched on)
Mount usb storage exposes all partitions on your sdcard to the os (not just fat32)
-> you could even partition your sdcard from your PC while connected via USB​
Switch haptic feedback on/off
You don't need to reboot recovery if you transferred a file to show up in the install menu.
-> This bug affected only some users with either CWMR or previous versions of 4EXT.​
Button backlights (Desire S, Desire HD and Incredible S only)
​
Download:
All downloads are now available through 4EXT Recovery Updater. It's free, no ads, no tracking, no nothing, don't worry
.. and of course via the "pro" version 4EXT Recovery Control
This ensures that your downloads are ok by automatically verifying md5sums and that known issues and changelogs are easily accessible
It also notifies you when there are any new critical bugs found
Recovery images will be uploaded for download soon too, but they can also be acquired easily by using Updater or Control.
You can for example just download a recovery.zip containing the image. The download will be automatically verified for correct md5sums!
4EXT Recovery Control
Free version: Recovery Updater
Fully featured version: 4EXT Recovery Control
For a list of its many features, visit www.4ext.net
Some examples :
Flash as many zip files you want in one go
Automatically Calculate and display the md5sums of all zip files you are going to flash
Check your backups' health to ensure they will restore later when you need them, by verifying their md5sums!
Optionally, but highly not recommended:
If md5sums don't match but you REALLY NEED that backup BADLY, you might want to restore it anyway.
You can you this app to fix the md5sums of a given backup to "forcefully" restore it!​
Calculate real values for the space needed to create a new full or advanced backup
Advanced Backups: While you are selecting / deselecting partitions, it will display and update the currently needed space to complete that custom backup set.​
Identifies and adds your romname so you don't need to type so much when chosing a meaningful name for your backup
As an example, the following is possible to do in just one session:
Restore a backup, set to create a backup / advanced backup before the restore,
format all partitions with a file system of your choice before the restore process starts,
flash additional zip files afterwards, fix permissions and select to stay inside recovery or to reboot automatically once all actions are complete.​
Much, much more! See www.4ext.net
Recovery theming
Uninstall and Install themes with live preview and the option to change their colours without the need to reboot into recovery.
Change all colours with live preview and a nice colour picker.
​
Thanks to you, for your AMAZING recovery
ghiki said:
Thanks to you, for your AMAZING recovery
Click to expand...
Click to collapse
thanks for telling me about Imanol001 for testing
Curious to flash, but need to know how navigation is handled... trackball or volume (or both)? As my trackball is kinda messed up... thanks.
daveid said:
Curious to flash, but need to know how navigation is handled... trackball or volume (or both)? As my trackball is kinda messed up... thanks.
Click to expand...
Click to collapse
I'm not exactly sure about the trackball for the Desire as I don't have one. I think it should work. But the volume buttons always work!
Edit: sorry, mixed up the thread, but that also applies to the Nexus One
Volume buttons: definitely
Trackball: most probably
Wait, the free version is a trial? Or did I read that wrong?
Also, what are the benefits of paid?
This isn't meant in a disrespectful way but, if its a recovery, why use yours over Clockwork or Amron?
uoY_redruM said:
Wait, the free version is a trial? Or did I read that wrong?
Also, what are the benefits of paid?
This isn't meant in a disrespectful way but, if its a recovery, why use yours over Clockwork or Amron?
Click to expand...
Click to collapse
Recovery is free (of course ! ) and has nothing to do with any apps!
You can compare the app's features on www.4ext.net.
Free "Updater" app:
browse all versions of 4ext recovery
flash or download any version directly verifying md5sums automatically.
view changelogs / known issues while downloading
get news if any new critical bugs are found
send bug reports where you can include your last recovery log by ticking an option if you wish.
This App is a great time saver for me as I can add things to known issues if any very quickly for all devices, or send a notice that something was discovered, that you should know about (like a new bug found in a version released the day before or something).
I also increase the chance that people read the change logs or known issues, because they are immediately and easily accessible!
"Control" app: quite much, please see www.4ext.net
To be able to test all features of the "full version" app (which has nothing to do with recovery itself!),
the "Updater app" includes a full featured 3 day preview with all features of the paid one.
After that, it is just the free version.
There are no ads, or any other bull****
About the recovery features and why to use/not to use it over any other recovery, please see 1st post:
Features: Use 4EXT Recovery Control or Recovery Updater for complete Changelogs and Known issues!
not all features may be relevant for all devices
Displays additional information:
Identifies your current rom and displays its name
Current filesystems on your partitions
Free space remaining of all of your volumes
Current battery charge level
Backup | Restore:
Correctly calculates free space needed to complete a backup ( version > 2.2.6 RC4 )
Tar backups (can be switched on or off)
Complete CWMR5 compatibility
All Backups you create will be named after your currently installed Rom for easier identification.
Never unwillingly get "downgraded" to EXT3 again
Always restores backups using the file systems you HAD on your partitions at the time of creation!
-> all partitions formatted with ext4 at that time, will be restored to ext4. The same is true for ext3.​
You can manually change any existing Backup to ext4 or ext3
-> so that after a restore, all partitions and up with the file system you wanted!​
Advanced Backup: backup only a single partition
Convert any of your partitions to EXT4 or EXT3 without data loss.
Formatting:
When you wipe or format it will always use the same file system you currently have.
-> but you can change that​
When you format ext4 it will always create an aligned file system
Correctly identifies unformatted sd-ext partitions
-> if it finds one it displays a warning and suggests you may format them by visiting the 4EXT menu​
Filesystem check and repair option in advanced menu
Partitioning:
Alignment check of your partitions
Full support for up to 2 sd-ext partitions + swap (Backup/restore/format/convert, fsck, et.c.)
(RE-) Partition your sdcard for sd-ext without removing your fat32 partition.
All partitions created with 4EXTRecovery will be perfectly aligned to 4k
Installing:
Integrated md5sum checking option
Themes:
Customize all colours used throughout recovery
Use your own icons, background images, progress bars.. more to come.
Assign different backgrounds to different menu categories (version >= 2.1.2)
Create a flashable zip for others to flash your theme.
Menus:
Most popular menu items rearranged
Format menu
Power Menu + option to reboot into bootloader
Less "No's" in confirmation dialogues
Changed Advanced Restore: first select what you want to restore, then select the backup
-> Useful for restoring from "Advanced Backups"​
4ext.prop:
Configuration file on your sdcard where you can set options to be used by 4EXTRecovery
Change all settings conveniently with 4EXT Recovery Control
Many more options to come
Share your settings / themes by packing your config into a flashable theme
Other stuff:
USB Storage Autostart (must be switched on)
Mount usb storage exposes all partitions on your sdcard to the os (not just fat32)
-> you could even partition your sdcard from your PC while connected via USB​
Switch haptic feedback on/off
You don't need to reboot recovery if you transferred a file to show up in the install menu.
-> This bug affected only some users with either CWMR or previous versions of 4EXT.​
Button backlights (Desire S, Desire HD and Incredible S only)
​
Thank you for your quick response, and I plan to look into your recovery.
My other question would be, how do you install your recovery? On the website, I'm getting an .apk file when I click the link.
uoY_redruM said:
Thank you for your quick response, and I plan to look into your recovery.
My other question would be, how do you install your recovery? On the website, I'm getting an .apk file when I click the link.
Click to expand...
Click to collapse
Yes it's currently only available through the Updater app.
You can flash it directly using that or chose to download it and flash manually.
Need to get some sleep now.. again 5:30am here
If there are any remaining questions I'll gladly answer them in a few hours
You can also take a look at the other threads though as 4ext has been available for some other devices for many months already
uoY_redruM said:
Wait, the free version is a trial? Or did I read that wrong?
Also, what are the benefits of paid?
This isn't meant in a disrespectful way but, if its a recovery, why use yours over Clockwork or Amron?
Click to expand...
Click to collapse
Alignment of your card, the fat32 & the EXT partition, huge plus. Converting your EXT partition to EXT4 or EXT3 without data loss, nice… but the alignment feature & card display info nice touch in recovery.
This will make formatting/aligning my new 32gb CL6 much easier than sibere instructions…
Just installed this and the trackball/volume button is working for navigation, the capacitive back button is for back, the selection is still the trackball.
Tried it. Love it!!!!!!!!!!!!!!!
And so my Nexus One lives on....
In the screenshots, its shows the system and data partitions etc, but when I look on my partition printout it only shows partitions on the SD card. How can I make this show all partitions on my phone and then convert all of those partitions to EXT4?
Thank you all very much for that awesome feedback
Regarding system data cache extra info on mtd devices with yaffs2 partitions:
Back when 4ext recovery only displayed the current file system types of partitions it didn't make sense to include yaffs2 partitions, because the file system never changes there.
Since then displaying of capacity and free space has been added.
Now it absolutely makes sense, but I hadn't had the time yet to make those changes.
If you "print partition info" Inside the app though, you will see all the info already.
I will change that inside recovery in one of the next updates
Thanks for the info, one other thing. I tried making a backup of my current system, and then converting the backup to EXT4. I had assumed it would convert the yaffs2 partitions to EXT4 as well, but it didn't. When I checked the partition printout in the app, it still showed yaffs. In your screenshots in the OP, all the partitions are showing as EXT4. How can I format all of my system partitions to EXT4 as well?
Bohemus said:
Thanks for the info, one other thing. I tried making a backup of my current system, and then converting the backup to EXT4. I had assumed it would convert the yaffs2 partitions to EXT4 as well, but it didn't. When I checked the partition printout in the app, it still showed yaffs. In your screenshots in the OP, all the partitions are showing as EXT4. How can I format all of my system partitions to EXT4 as well?
Click to expand...
Click to collapse
This is simply not possible with yaffs2 partitions.
The screens are from Desire HD and Incredible S.
You can only convert sd-ext partitions between ext3 and ext4 on devices using yaffs2 for system, data and cache..
So when you are inside the convert menu you will only see sd-ext partitions to select.
And if you set one of your backups to either ext4 or ext3, only sd-ext partitions inside that backup will be effected.
Got it. So there is no way to format the N1's phone partitions to EXT4? Would there even be a point to doing this if it were possible?
Bohemus said:
Got it. So there is no way to format the N1's phone partitions to EXT4? Would there even be a point to doing this if it were possible?
Click to expand...
Click to collapse
It's not possible
At least not without an extreme hack. I don't know if anyone ever did something like that and I lack the knowledge about that matter.
Yes, ext4 would be faster.
awesome!
Best recovery! I've been switching to find the best but have always found problems in each i tryed until i found this! Well done!

Install and Configure a2sdgui on ROM's CyanogenMod

Install and Configure a2sdgui ROM's CyanogenMod
Hello fellow good here I leave this tutorial hos to use a2sdgui based on CyanogenMod ROMs, as these ROMs do not include this system and its installation is different from a stock rom; a2sdgui is an app that allows us to extend the internal memory the mobile to have more space to install apps, this is accomplished by configuring two aspects: SD memory partition and installing a script called darktremor a2sdgui, well initiate:
THE WHOLE PROCESS IS DONE AT YOUR OWN RISK, I AM NOT RESPONSIBLE FOR BRICKS IN MOBILE IF YOU DO EVERYTHING AS SHOWN TO WORK ALL YOU ASSURE THAT CORRECTLY
RECOMMENDED TO DO BEFORE INSTALLING THE MOBILE APPS
Requirements:
- ROM based CyanogenMod 7.1 or 7.2
- Install a2sdgui (DOWNLOAD FROM THE MARKET)
- Script darktremor a2sdgui 2.7.5.3 Beta 04 (Download)
- SD card partitioned
Instructions:
1. - Install a2sdgui
2. - MicroSD Memory Partitioning:
First download the MiniTool Partition Wizard.
http://download.cnet.com/Partition-W...=dl&tag=button
Once installed, we put our SD on the PC (with a reader, adapter or anything like that) and open the program.
If you already have some partitions it is recommended that if we start from 0 erase all as shown.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After deleting all now begin creating them.
We give and we get this Edit menu and the first is FAT32.
We have to make FAT32 and Primary, we assign space is relative, I having 8GB (class 6) I put all but 1.5 will be for ext4 and swap.
Now for the ext4 partition, select PRIMARY. Now the partition type is relative, it is recommended that if your card is less than 6 class partition is ext2. If Class 6 or more ext4. That and I leave to your judgment, in my case I assign 1 GB will be to host the apps as if they were in the internal memory.
Now we use the remaining space for the swap partition (PRIMARY), in my case 500 Mb RAM With this more of our ACE will have 800 MB of Ram (the swap partition is a partition that is used like RAM, it is so important!)
APPLY Now we give and we get this message should accept and the thing to end as you see in the two screenshots below.
Partitions that I recommend are:
3. - Restart the phone in recovery mode
4. - Scroll to and select mounts & storage mount / data and mount / system
5. - Made the above should be unmount / data and unmount / system
6. - Now return to the main menu of recovery
7. - Enter to install zip from sdcard> choose zip from sdcard>-2.7.5.3-beta04 dtapps2sd-signed.zip
8. - Restart the phone, when you start DO NOT OPEN OR ANYTHING IN THE MOBILE, the mobile just restart again, it is NORMAL not alarmed.
9. After reboot, enter A2SDGUI. On the menu that appears in the display of APPS on SD are expected to be active and SWAP may also, in case this is not no more to give up and active. At the end of the menu is the VALUE SET 0-100, I got 100 and I gave the side.
10. - Now we turn to LowMen directly and I have chosen this, to me is the one that best suits me. The option below elijais leave more free memory, it is better but in my case having 800 mb is fine for me up there.
11. - Now let's Dalvik-Cache and choose it and click Move & Rebuild and phone will reboot.
AND THIS IS WHAT WE HAVE TO END MUCH MEMORY FREE AND ESPECIALLY A lot of RAM! ENJOY!
Link2sd is better ..and s2e is better heavenly
Sent from my SGA rocking CM7.2 by vo-1 + all-in-one script
@tazlooney89, thanks for sharing this tutorial.
Could you please explain the difference between link2sd, s2e and app2sdgui??
there are so many methods, gets pretty confusing which to use.
ayush29k said:
@tazlooney89, thanks for sharing this tutorial.
Could you please explain the difference between link2sd, s2e and app2sdgui??
there are so many methods, gets pretty confusing which to use.
Click to expand...
Click to collapse
Yeah, Im pretty confused on this too.
What are the differences and cons/pros of each?
Thanks in advance
ayush29k said:
@tazlooney89, thanks for sharing this tutorial.
Could you please explain the difference between link2sd, s2e and app2sdgui??
there are so many methods, gets pretty confusing which to use.
Click to expand...
Click to collapse
Robbang said:
Yeah, Im pretty confused on this too.
What are the differences and cons/pros of each?
Thanks in advance
Click to expand...
Click to collapse
I haven't used s2e, so i can't give you a description of, but i can say that the main difference between links2sd and app2sdgui is that meanwhile the first only moves the apps to the sd (even those that aren't allowed to by the os), app2sdgui "cheat" Android to "think" that it have more internal memory, but really it's just part of your sdcard.
Hope you'd understood me
raymanlololo said:
I haven't used s2e, so i can't give you a description of, but i can say that the main difference between links2sd and app2sdgui is that meanwhile the first only moves the apps to the sd (even those that aren't allowed to by the os), app2sdgui "cheat" Android to "think" that it have more internal memory, but really it's just part of your sdcard.
Hope you'd understood me
Click to expand...
Click to collapse
Ok. Thanks. So what do you use? app2sdgui? I have used Link2Sd for a week or so now. I think it is really good. it gets the job done nicely.
Robbang said:
Ok. Thanks. So what do you use? app2sdgui? I have used Link2Sd for a week or so now. I think it is really good. it gets the job done nicely.
Click to expand...
Click to collapse
No one, 'cause I've installed the stocklite and,I don't know why, app2sdgui doesn't run on it (to me at least).
try this
raymanlololo said:
No one, 'cause I've installed the stocklite and,I don't know why, app2sdgui doesn't run on it (to me at least).
Click to expand...
Click to collapse
did u see this thread http://forum.xda-developers.com/showthread.php?t=1485470
raymanlololo said:
No one, 'cause I've installed the stocklite and,I don't know why, app2sdgui doesn't run on it (to me at least).
Click to expand...
Click to collapse
DTaaps2sd doesnt work on stock rom .. as it need supported kernel.... ext4 sd-ext partition....
and stock provides with rfs system type....so running app2sdgui is not possible..
refer the link here...
DT A2SD thread on xda : http://forum.xda-developers.com/showthread.php?t=715940
this one is my try on explaing DTA2sd--
http://forum.xda-developers.com/showthread.php?t=1530270
ps1max said:
did u see this thread http://forum.xda-developers.com/showthread.php?t=1485470
Click to expand...
Click to collapse
ambujpriyadarshi1991 said:
DTaaps2sd doesnt work on stock rom .. as it need supported kernel.... ext4 sd-ext partition....
and stock provides with rfs system type....so running app2sdgui is not possible..
refer the link here...
DT A2SD thread on xda : http://forum.xda-developers.com/showthread.php?t=715940
this one is my try on explaing DTA2sd--
http://forum.xda-developers.com/showthread.php?t=1530270
Click to expand...
Click to collapse
I think you guys didn't understood me; I'm on the stocklite v3, and it's a custom rom with DT scripts installed. Anyway I'll take a look over that threads ;-)
EDIT:
Haha, i've messed it up!
I don't know why or how, but now i have the app2sdgui running, but....also i had runngin link2sd, and several apps linked. Now i have a lot of "andro-boxes" (linked apps that are, seems, not readable) in my phone, a sdcard partitioned and a lot of information blocked.
I'm trying to create the mount scripts on link2sd to unmake the links, and start using app2sdgui, but link2sd can't because "device or resource busy"
Good, i'm the best! XD
I can't activate de Swap.
When I pres the button to activate the swap, appears "Changing setings..." after that "Reading setings...", some buttons appears in background but after 1 sec disappear.
how to fix that ? thx before...
myshowbiz said:
I can't activate de Swap.
When I pres the button to activate the swap, appears "Changing setings..." after that "Reading setings...", some buttons appears in background but after 1 sec disappear.
how to fix that ? thx before...
Click to expand...
Click to collapse
If you use Swype beta you need authenticate them, but u can use a altenative, a swype modify, i dont know if i can post the link here, because i dont know if this is a warez... ?? but put in the google and search for DA SWYPE. In this web site you have many options of colors of swype.
myshowbiz said:
I can't activate de Swap.
When I pres the button to activate the swap, appears "Changing setings..." after that "Reading setings...", some buttons appears in background but after 1 sec disappear.
how to fix that ? thx before...
Click to expand...
Click to collapse
Same goes here...cant activate the swap

[TWRP][AROMA][WT88047] Resize System partition Easily

With this tool is possible resize the system partition.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Precautions and warnings:
This procedure will erase your ROM. Internal storage will also be erased, including photos, videos, music and backups.
Increasing the size of the system will decrease the internal storage in the same proportion, when using previous backup consider this, if the backup is too large it may not fit in the new partitioning.
To prevent bootloop, use a permanent installation of TWRP, do not use temporary boot.
I am not responsible for bricked devices or dead SD cards.
Use at your own risk
Instructions:
Part 1
1- Copy zip installer to external SD card, otherwise installation will be canceled. do not forget to also copy the custom rom and the gapps.
2- The installer uses Aroma ui, it is possible to choose several size for the system partition: 1GB, 1.25GB, 1.5GB, 1.75GB, 2GB, 2.25GB and 2.5GB.
3- Optionally it is possible to create a new partition, the vendor partition, it is required in the project treble and only used with treble roms and vendor partition compatible with Redmi 2.
4- The installer also creates a backup of some changed partitions and restores them automatically, a copy(110MB) is sent to the external SD card if an emergency restore is required.
5- After choosing all the options select Start, if all the requirements have been fulfilled the repartitioning will happen, otherwise it will be interrupted before any alteration. Then press the Reboot button to end.
Part 2
The most recent rom installer comes with the system inside an image file, it has the default size, and after installing the rom it is necessary to expand the file system so that it can see the new size.
This can be done with Twrp in the wipe advaced menu, but to make it easier I did an additional installer to do this task.
So summarizing:
1- Install 1Resize-System-Redmi2.zip (only when changing system size partition).
2- install your Custom-Rom.zip
3- install 3Expand-filesystem-Redmi2.zip (always required after installing custom rom and before gapps, this releases new size to use).
4- install gapps.zip
5- done !
Thanks the creators of content, for sharing knowledge:
@jsidney96 thread, @freeshared thread, @mirfatif thread, @osm0sis thread, @amarullz thread
.
Sorry my English.
.
[update]
v1.01: added reboot(recovery) after installation.
v1.03: (experimental) added option to create vendor partition and auxiliary zip installer.
Looks very cool! Have you heard of @Lanchon's RePIT? Similar idea but without the GUI. Perhaps you guys could collaborate? https://forum.xda-developers.com/android/software-hacking/tool-lanchon-repit-data-sparing-t3358036
Edit: sorry it did not work. only the internal storage got reduced but the system partition remained the same.
log file attached below.
interesting
athish said:
Edit: sorry it did not work. only the internal storage got reduced but the system partition remained the same.
log file attached below.
Click to expand...
Click to collapse
Edit 2: So i was able to re-partition the system using the above script (i mean the script works). But after i installed lineageos 15.1 the system partition returned back to 1gb. Can anyone give me a solution for this? i tried the resize system after rom install but it failed. :crying:
screenshots below:
athish said:
Edit 2: So i was able to re-partition the system using the above script (i mean the script works). But after i installed lineageos 15.1 the system partition returned back to 1gb. Can anyone give me a solution for this? i tried the resize system after rom install but it failed. :crying:
screenshots below:
Click to expand...
Click to collapse
With me it works, but twrp only displays new size after exiting the wipe menu.
Then return to the main menu and enter the wipe menu again.
Error message appears if you press the "resize file system" button twice in a row.
Cecell3000 said:
With me it works, but twrp only displays new size after exiting the wipe menu.
Then return to the main menu and enter the wipe menu again.
Error message appears if you press the "resize file system" button twice in a row.
Click to expand...
Click to collapse
nope i press the "resize file system" only once and still gives the error.
can please explain what to do after installing a ROM (to get back the full size). And thank you for the making a zip installer:good:
Edit:
So after re-partiton of system to 2gb, i restored twrp backup and system remained 2gb :victory: :highfive:
@Cecell3000 Flash EDL mode rom miui, restores partition size?????????
xander21 said:
@Cecell3000 Flash EDL mode rom miui, restores partition size?????????
Click to expand...
Click to collapse
yes, edl / fastboot restore partition size.
But prefer reinstall the zip file by selecting (default) option.
Cecell3000 said:
yes, edl / fastboot restore partition size.
But prefer reinstall the zip file by selecting (default) option.
Click to expand...
Click to collapse
Im reinstall partition zip file and flash fastboot Rom. It can be like this?
xander21 said:
Im reinstall partition zip file and flash fastboot Rom. It can be like this?
Click to expand...
Click to collapse
yes, it's safer.
[update]
v1.01: added reboot(recovery) after installation.
v1.03: (experimental) added option to create vendor partition for project treble and auxiliary zip installer.
summary installation instructions:
1- Install 1Resize-System-Redmi2.zip (only when changing system size partition).
2- install your Custom-Rom.zip
3- install 3Expand-filesystem-Redmi2.zip (always required after installing custom rom and before gapps, this releases new size to use).
4- install gapps.zip
5- done !
Cecell3000 said:
With this tool is possible resize the system partition.
The installer uses Aroma ui
Click to expand...
Click to collapse
Is it possible to use this to only use Aroma's Remove stock apps functionality, without having to download and install the full Aroma? Can it be done without reinstalling/wiping the rom?
intresting
Where can I download this apps for other mobiles?
I need it for the Xiaomi Mi8.
Is it compatible?
Can I flash other ROMs such as Xiaom.eu if I have resized the partitions ?
Thanks
---------- Post added at 01:05 AM ---------- Previous post was at 12:58 AM ----------
What about resizing the data and cache partitions?
What partition is the culprit of the error of insuficient size when installing new apps?
Once resized will it remain 2gb forever or will it revert back to 1 gb as soon as I flash a custom rom?
I want to flash treble rom and then android p gsi files. So I need the vendor partition right?
thanks, it works for me
Which twrp to use to flash this installer?
hengkidermawan said:
thanks, it works for me
Click to expand...
Click to collapse
you can record on video? pleasee!!
Christian - Cuba said:
you can record on video? pleasee!!
Click to expand...
Click to collapse
the OP says clearly, bro..
1- Install 1Resize-System-Redmi2.zip (only when changing system size partition).
2- install your Custom-Rom.zip
3- install 3Expand-filesystem-Redmi2.zip (always required after installing custom rom and before gapps, this releases new size to use).
4- install gapps.zip
5- done !
---------- Post added at 03:27 PM ---------- Previous post was at 03:24 PM ----------
Paleskin said:
Which twrp to use to flash this installer?
Click to expand...
Click to collapse
the latest twrp, and the important thing is permanent twrp that OP said

Categories

Resources