Hello,
I made this port some time ago with little help from seo, but didn't make a new thread for it. Now I want more people to look at it and use it because it have many new futures and make flashing ROMs more fun
So this is actually the amon_RA latest recovery for Nexus One.
What I made is just to port it to work with our phones.
Features :
Reboot system now :: reboot your phone
USB-MS Toggle :: enable/disable USB mass storage (use when the phone is connected to your PC)
Backup/Restore
Nand backup :: Make a selective Nandroid backup
Nand restore :: Restore a Nandroid backup
Backup Google proprietary system files :: Makes a backup of the Google proprietary system files in /cache/google
Restore Google proprietary system files :: Restores the Google proprietary system files from /cache/google
Flash zip from sdcard.
Choose zip from sdcard :: Flash a zip update file from any (sub)-directory on your sdcard
Toggle signature verification :: Toggles the signature verification for zip files.
Wipe
Wipe ALL data/factory reset :: wipes /data + /cache + entire ext partition + all apps installed on your sdcard (froyo a2sd).
Wipe /data :: wipes /data.
Wipe /cache :: wipes /cache.
Wipe /sdcard/.android_secure :: wipes all apps installed on your sdcard (froyo a2sd).
Wipe /sd-ext :: wipes the entire ext partition on your sd (if present).
Wipe Dalvik-cache :: wipes the dalvik-cache located in /cache + /data + /sd-ext is present.
Wipe battery stats :: reset the battery calibration.
Wipe rotate settings :: reset the sensor calibration.
Partition sdcard
Partition SD :: Interactive SD partitioning
Repair SD:ext :: Repair the ext partition
SD:ext2 to ext3 :: Convert ext2 to ext3
SD:ext3 to ext4 :: Convert ext3 to ext4
Mounts
(Un)Mount /system
(Un)Mount /cache
(Un)Mount /data
(Un)Mount /sd-ext
(Un)Mount /sdcard
Other
Fix apk uid mismatches :: Does extacly that
Move recovery.log to SD :: Moves the recovery log file to your sdcard. (Use when you want more detailed recovery log information)
Power off :: Powers off your phone
Click to expand...
Click to collapse
Use the trackball (up+down) to navigate through the menu, press the trackball to select items. Use the Volume-down key to go back to a previous menu.
Download:
recovery-RA-magic+-v2.2.1-bladyle.img
MD5sum: 98A8CAE41C0A7D2AEF69A4F62F2F6475
Install:
From fastboot:
Code:
Copy recovery-RA-magic+-v2.2.1-bladyle.img to a location where fastboot can find it.
Boot your phone into fastboot mode (power on while holding the back)
Connect your phone via usb to your pc/mac/...
fastboot devices (to make sure that fastboot "sees" your phone)
fastboot flash recovery recovery-RA-magic+-v2.2.1-bladyle.img
You can use RadioSwitchGUI_v4 too!
If you want just to try it:
Code:
fastboot boot recovery-RA-magic+-v2.2.1-bladyle.img
Thanks and credits go to :
Amon_RA
seo
carz12
sorry. ask a stupid question.is this recovery for 32a, 32b or both?
Sent from my Dream/Sapphire using XDA App
smartvincent said:
sorry. ask a stupid question.is this recovery for 32a, 32b or both?
Sent from my Dream/Sapphire using XDA App
Click to expand...
Click to collapse
sorry i forgot to mention this...it is for 32a only
I can try to make 32b version too but I need someone to test it.
Bladyle said:
sorry i forgot to mention this...it is for 32a only
I can try to make 32b version too but I need someone to test it.
Click to expand...
Click to collapse
If you make a 32b version i'd gladly test it
I've been using this recovery for some time and it runs perfectly. And it works in both new and old radio. Great work!
Note: It's features and not futures.
using this recovery too and im really happy with this! thank you Bladyle! great job!
thank you guys
BTW I need some testers to PM for 32B/MyTouch 1.2 port
I'm also using this on my Old Radio Magic, haven't tested on new radio yet
it works well
New radio, excellent work
Sent from my Sapphire using XDA Premium App
works like a charm with new radio
Bump. This amazing recovery need to be on the first page!
kanttii said:
Bump. This amazing recovery need to be on the first page!
Click to expand...
Click to collapse
Thanks mate!
This is my default recovery on my device.
Bladyle said:
Thanks mate!
This is my default recovery on my device.
Click to expand...
Click to collapse
For me too. When you first posted it, I didn't dare to try, but after a few days I did..and since then I have been using this all the time! A week ago I tried CWM to see if a ROM could be flashed through that, but since CWM is so frustrating with all the nonononono's I had to get back to yours. And it's amazing as I already said!
Thank you!
Hi bladyle ,
I´ve read this thread about your updated RA-recovery. Because of the fact, that I´ve a google branded magic, I can´t flash this recovery. So my ask to you, if you could make a 32B Version or could tell the steps, how to port a recovery from another device.
Greets
I would also be glad to test a 32B port of this. Just let me know!
Can somebody reupload this? Please...
blaster44 said:
Can somebody reupload this? Please...
Click to expand...
Click to collapse
first post updated
Bladyle said:
first post updated
Click to expand...
Click to collapse
my bad....
Wow...New radio version thanks for the great work
Sent from my HTC Magic
I'm glad you like it
Related
Hello, Ive found it to be a hassle having to type all those commands everytime i want to partition my SD card for A2SD/Swap/fat32, so i decided to make a script for it
I dont know if this has been made before but I couldnt find anything like this. The instructions are from Cyanogen Wiki A2SD tutorial.
This particular script works only for 8GB SD Cards (which is what I have). If you want to make it work for a different size SD card just edit it for your Card or tell me what your total SD Card size is in MB (by typing in parted /dev/block/mmcblk0 print in ADB Shell) and Ill do it for you.
SD Card Format Tool
melterx12 said:
Hello, Ive found it to be a hassle having to type all those commands everytime i want to partition my SD card for A2SD/Swap/fat32, so i decided to make a script for it
I dont know if this has been made before but I couldnt find anything like this. The instructions are from Cyanogen Wiki A2SD tutorial.
Click to expand...
Click to collapse
Not to offend..But Amon_RA recovery all ready partitions the sd for you...rendering this script or whatever useless...Most people should be using that recovery, it makes wiping, partition and backing up simpler than your day job or school and that stuff...
Good job. Amon_Ra's newest recovery does this as well. Just a quick heads up.
Edit: Hey Ace. . . JINX!!! lol
well im using CM 1.4 Recovery
melterx12 said:
well im using CM 1.4 Recovery
Click to expand...
Click to collapse
You pretty much reinvented the wheel
If your as wise as i think you better get your arse over to the thread to upgrade from that relice thats older than my dad's model T w/ twin turbo V8.
does Amon_RA recovery do anything else CM 1.4 doesnt?
melterx12 said:
does Amon_RA recovery do anything else CM 1.4 doesnt?
Click to expand...
Click to collapse
Path to Manup life-style
Heres the sitrap:
Features
* full ADB access in recovery mode
* Busybox v1.15.2
* HW-Key navigation (volume keys + CALL-ANSWER) option
* Extended menu (with keyboard-shortcuts):
o [HOME+Back] Reboot system now :: reboot your phone
o [Alt+X] Go to console :: bring up the console
o [Alt+T] USB-MS Toggle :: enable/disable USB mass storage (use when the phone is connected to your PC)
o [Alt+B] Backup/Restore (recovery partition not included!)
+ [Alt+0] Nand backup :: Make a Nand backup
+ [Alt+1] Nand + ext backup :: Make a Nand + ext backup
+ [Alt+2] Nand restore :: Restore a Nand backup
+ [Alt+3] BART backup :: Make a BART backup (Nand + ext)
+ [Alt+4] BART restore :: Restore latest BART backup
o [Alt+F] Flash zip from sdcard :: Flash a zip update file from your sdcard
o [Alt+W] Wipe
+ [Alt+0] Wipe data/factory reset :: Wipe /data and /cache
+ [Alt+1] Wipe Dalvik-cache :: Wipe Dalvik-cache both on /data and ext
+ [Alt+2] Wipe SD:ext partition : Wipe the ext partition on your sdcard
+ [Alt+3] Wipe battery stats : Wipe the battery stats in /data
+ [Alt+4] Wipe rotate settings : Wipe the sensor settings in /data
o [Alt+P] Partition sdcard
+ [Alt+0] Partition SD :: Interactive SD partitioning
+ [Alt+1] Repair SD:ext :: Repair the ext partition
+ [Alt+2] SD:ext2 to ext3 :: Convert ext2 to ext3
+ [Alt+3] SD:ext3 to ext4 :: Convert ext3 to ext4
o [Alt+O] Other
+ [Alt+0] Fix apk uid mismatches :: Does extacly that
+ [Alt+1] Move apps+dalv to SD :: Moves all apps and Dalvik-cache to sdcard (This will NOT enable apps2sd!)
+ [Alt+2] Move recovery.log to SD :: Moves the recovery log f
ok ill go ahead and update to Amon_RA
well still useful script if you are on CM 1.4
Sweet. I have been using the sdparted.txt script to do that.
I will def upgrade my recovery next time I switch mods.
Thanks you very much.
Ace42 said:
You pretty much reinvented the wheel
If your as wise as i think you better get your arse over to the thread to upgrade from that relice thats older than my dad's model T w/ twin turbo V8.
Click to expand...
Click to collapse
lol some ppl still managed to use stock recovery like dat noob with eiclair build lmao
marlopainter said:
Sweet. I have been using the sdparted.txt script to do that.
I will def upgrade my recovery next time I switch mods.
Thanks you very much.
Click to expand...
Click to collapse
ouch yeah that was painful
I have had several requests for a supersonic recovery from my forked Amon Ra source.
The recovery binary and several binaries have been compiled for armv7-neon so it should be faster. Also many new features have been added/updated. Capactive keys also work.
To also make it clear this recovery will restore both existing clockwork mod backups and Amon Ra backups.
Recovery Features:
ADB as root user
USB-MS Toggle :mounts sdcard as mass storage
Backup/Restore:
Nand Backup : Select Items to backup with the [X]
Nand Restore : browse to and select nandroid backup to restore
Nand Restore Clockwork : browse to and restore cwm backup
Flash Zip From Sdcard: Update.zip must be in root of sdcard or you can directory browse.
Toggle Signature Verify : Turn of signature checking on flashing zips
Wipe Menu:
Wipe data/factory reset: wipes all
Wipe cache
Wipe Dalvik cache : Wipes Dalvik cache in all possible locations if moved by apps2sd
Wipe SD:ext : Wipes Apps2sd ext partition
Wipe Battery Stats
Wipe rotate settings
Wipe data only
Wipe system
Wipe sdcard
Wipe .android secure : Wipes froyo native .android_secure on sdcard
Partition Sdcard:
Partition SD: Partition's sdcard for apps2sd (this formats card so all non backed-up data is lost)
Repair Sd:ext
SD:ext2 to ext3 : coverts apps2sd ext2 partition to ext3
SD:ext3 to ext4 : same as above but ext3 to ext4 (
Mounts:
Gui mounts to avoid typing in terminal to mount and cd into a dir to mount system, data, cache, sd-ext (if exists), sdcard
Other:
Fix Permissions
Move recovery log to SD
Key Test : Output keycodes for debugging recovery
Check Battery Lvl
Developer menu:
Make and flash boot from zimage : This makes a mkboot folder on sdcard and mounts sdcard as mass storage then you copy a zImage and kernel modules into this folder and it will create a new boot like anykernel and flash it.
Install su & superuser: Installs or fixes su & superuser install (removes old if exists)
Install eng (unguarded) su: Installs engineering su that doesn't use superuser (removes old su & superuser if exists)
Reboot to bootloader: reboots to bootloader/hboot
Reboot recovery : reboots phone back into recovery
I have included flash_eraseall binary to recovery which can be used to fix/erase corrupted partitions that will not mount correctly to nandroid restore to.
Useage from adb shell is : flash_eraseall /dev/mtd/mtd4 (where mtd4 is the number of the partition from "adb shell cat /proc/mtd" you want to erase)
Trouble Shooting:
Use option under Other menu to move recovery log to sd. Mount your sdcard to pc and read that file called recovery.log. It should have detailed cause of error.
Special Thanks:
Thanks to :
Amon Ra
Koush
Testers
Latest v3.11 is here http://forum.xda-developers.com/showpost.php?p=21004734&postcount=383
Changelog 3.07:
As per captain throwback's suggestion this one allows a selective restore of backup items on a nandroid restore.
PC36IMG-AmonRA-3.07-gnm.zip
MD5 =940b7d56701473731da2fb58bbaae9a6 PC36IMG-AmonRA-3.07-gnm.zip
recovery-ra-supersonic-3.06-gnm.img
MD5= 2976958267bb43c5c15a18739f90ace4 recovery-ra-supersonic-3.06-gnm.img
Well done, sir!
Capacitive Back button works, ability to restore CWM backups, and no graphical anomaly on Reboot.
This one's definitely a winner, and my new recovery .
Any known bugs at this time?
Captain_Throwback said:
Well done, sir!
Capacitive Back button works, ability to restore CWM backups, and no graphical anomaly on Reboot.
This one's definitely a winner, and my new recovery .
Any known bugs at this time?
Click to expand...
Click to collapse
Nope none at all
Do we just change to PC36IMG.zip and update thru bootloader?
Sent from my PC36100 using Tapatalk
latingonzo86 said:
Do we just change to PC36IMG.zip and update thru bootloader?
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
Yeah, I was wondering too. I tried to do it through terminal with the "flash_image recovery" command as SU and kept getting denied.
I used Android Flasher to do it.
Well I just tried thru hboot and no dice. It started to parse the package then it said not zipped correctly. Could u maybe zip it for us bro?
Sent from my PC36100 using Tapatalk
Should be able to add your android-info.txt from an ruu and rename to recovery.img and zip it up as PC36IMG.zip or flash via fastboot flash recovery nameofrecovery.img if you have it or via flash_image.
To clarify the android-info.txt and recovery named recovery.img are what you zip to make a PC36IMG.zip
I'm on the 3D now, but I gave you a thanks anyway man, used to use your work all the time back in the WM days!
Infected in 3D
latingonzo86 said:
Well I just tried thru hboot and no dice. It started to parse the package then it said not zipped correctly. Could u maybe zip it for us bro?
Click to expand...
Click to collapse
hboot and fastboot commands didn't work for me either. i grabbed an old amon-ra PC36IMG file and replaced that recovery image with this new one. worked for me. here it is. no promises that your phone won't blow up.
http://www.mediafire.com/?n8yafvl318ulv39
Just make sure you rename it to PC36IMG.zip and place it on the root of your SD card. Reboot into Bootloader/Hboot. Once it scans your memory card, it'll automatically ask you if you want to flash the new recovery. Follow on-screen prompts.
Glad to see it works for you guys!
Thanks bro.
Sent from my PC36100 using Tapatalk
So what are going to name this Amon RA SRS i assume right.\ Anyways pretty damm good i say.
mercado79 said:
hboot and fastboot commands didn't work for me either. i grabbed an old amon-ra PC36IMG file and replaced that recovery image with this new one. worked for me. here it is. no promises that your phone won't blow up.
http://www.mediafire.com/?n8yafvl318ulv39
Just make sure you rename it to PC36IMG.zip
Click to expand...
Click to collapse
worked great for me. thanks button has been hit for both you and OP. maybe OP can put the .zip file in OP. lol
So this will restore CM back ups, but not restore AMon Backups correct?
joetowel said:
So this will restore CM back ups, but not restore AMon Backups correct?
Click to expand...
Click to collapse
Pretty sure it will restore AR backups
Will try in the morning.
Sent from my PC36100 using xda premium
Just flashed it,works like a charm! I really like the "wipe sdcard" is the last option.. Will definitely stop alot of people from accidentally wiping it haha.
Sent From my Verizon powered Evo 4G!
You rock brother. Amazing work. Thanks.
Sent from my PC36100
joetowel said:
So this will restore CM back ups, but not restore AMon Backups correct?
Click to expand...
Click to collapse
It works for both. I updated the nandroid but made sure it stayed backwards compatible.
Just wanna say thanks. Op says update.zip has to be in root of sd, does that mean any file I flash has to be in root or can I flash from within a folder. Also does this support edify or amend, or both?
Hello,
i have just installed the official stock ICS 4.0.3 Rom to my Nexus S and everything was really fine... until i tried to root it. As someone who tries to take security seriously, i immediately encrypted the device using the tools provided by ics (works ok).
but unfortunatly it's now not possible anymore to mount /sdcard while in recovery, which makes rooting and installing updates impossible (or is there any other way? eg. fastboot?).
therefore my question: will clockworkmod recovery support ics encrypted devices in the (near) future? i know its gonna be a p.i.a. to type a password with only the volume buttons, but hey
i like the encryption and would like to keep it, but not beeing able to use recovery like before is a big drawback...
greetings
Georg
Same for me.
Hope to see encryption support in clockworkmod soon.
I bought Rom manager premium even if I never flash from rm just to support the developers... hope they will be able to get it sorted out
Op -- I'm interested in this for when my phone (EVO 3D) finally gets ICS. Will you post an update to this thread if you hear anything?
BTW, with TWRP getting touchscreen support, it can't be too much longer before CWM gets touchscreen since I think the guys in TWRP were going to start contributing to CWM, from what I've heard anyway. So that would solve the password typing problem.
Georg, thanks for asking this question as I've been wondering the same exact thing. Hopefully we'll get a good answer soon.
Alternatives for ClockworkMod Recovery
I encrypted my device (the Exchange account I added required it) n... now I cant do anything in recovery ... it wont mount the drive ... any suggestions for a replacement ...
thanks ...
mrosensweig said:
I encrypted my device (the Exchange account I added required it) n... now I cant do anything in recovery ... it wont mount the drive ... any suggestions for a replacement ...
thanks ...
Click to expand...
Click to collapse
Its because the way encryption works you have to boot and enter code, that's the whole point, no recovery can do it atm
Sent from my ice cream powered Nexus S
small update:
nothing new on the subject, but i didnt check out the new touch recovery (anyone tried it yet?).
in the mean time i went back to an unencrypted CM9...
I didn't read anything about encryption so did not upgraded to the touch recovery yet
you should lock the bootloader if someone is nagging you
jomir said:
small update:
nothing new on the subject, but i didnt check out the new touch recovery (anyone tried it yet?).
in the mean time i went back to an unencrypted CM9...
Click to expand...
Click to collapse
Jomir, what was the procedure you used to get back to CM9? Is it possible to repartition, erasing the encrypted partitions so a new rom can be flashed? How?
Thx,
rmsilva
rmsilva123 said:
Jomir, what was the procedure you used to get back to CM9? Is it possible to repartition, erasing the encrypted partitions so a new rom can be flashed? How?
Thx,
rmsilva
Click to expand...
Click to collapse
Restore a backup or do a clean install(format boot, system, cache and data)
Sent from my ice cream powered Nexus S
DarkhShadow said:
Restore a backup or do a clean install(format boot, system, cache and data)
Sent from my ice cream powered Nexus S
Click to expand...
Click to collapse
Thanks for the reply, DarkhShadow. The problem is that CWM can't wipe or format these partitions, since it can't mount /sdcard (which is encrypted). If I could only access the external sdcard from within CWM, I could just wipe everything and then install a new rom. But since it can't mount /sdcard, I can't access sd-ext. nvflash is not an option, since my TF101 is B90. Is there a way to either restore the stock recovery (overwrite CWM) or boot from the external SD so I can run a script such as "super wipe full" (http://forum.xda-developers.com/showthread.php?t=1245892)? Maybe there's a way to run the wipe script through adb? If I can just format the partitions (which is what the script does), then CWM would be able to mount /sdcard and, consequently, the external SD and I can flash a new rom (such as revolution HD 3.0.1).
Thanks,
rmsilva
Honestly idk then, try a factory reset on phone(ie booted up) and then maybe it will be unencrypted?
Sent from my ice cream powered Nexus S
The funny thing is that stock recovery on an encrypted phone can write to the disk, but only from a warm reboot (perhaps the kernel stays resident?).
When I say write to disk I say apply the leaked OTA update, 4.0.4 for the VZ Gnex. And correct me if I am wrong, it's writing and mounting the disk, no?
Anyhow, this is done from stock recovery which is open source. So you ask yourself, why can't Koush support mounting the disk from a warm recovery state reboot? Maybe he doesn't know this?
DarkhShadow said:
Its because the way encryption works you have to boot and enter code, that's the whole point, no recovery can do it atm
Sent from my ice cream powered Nexus S
Click to expand...
Click to collapse
rmsilva123 said:
Jomir, what was the procedure you used to get back to CM9? Is it possible to repartition, erasing the encrypted partitions so a new rom can be flashed? How?
Thx,
rmsilva
Click to expand...
Click to collapse
i did a factory reset (from the settings menu), installed recovery per adb/fastboot and installed cm9 from sdcard in recovery.
Use tmpfs to install a new ROM in crypted system
Hello Everyone
To flash a new ROM you can do as follows:
boot in Recovery
format cache partition
from your PC use adb to mount /sdcard as tmpfs:
adb shell mount -t tmpfs none /sdcard
put your ROM on the (fake) sdcard
adb push <your rom> /sdcard
use the recovery to flesh the ROM as usual
This worked form me.
Sorry to be late...
What about a nandroid backup or restore? How big is /cache?
orcruin said:
Hello Everyone
To flash a new ROM you can do as follows:
boot in Recovery
format cache partition
from your PC use adb to mount /sdcard as tmpfs:
adb shell mount -t tmpfs none /sdcard
put your ROM on the (fake) sdcard
adb push <your rom> /sdcard
use the recovery to flesh the ROM as usual
This worked form me.
Sorry to be late...
Click to expand...
Click to collapse
Sorry I didn't try with a nandroid backup but I think it is too big to fit the device memory...
You can backup data inside the sd partiton (phone up and running, just to don't lose data...), boot into recovery, format sdcard partition, mount it, put the backup in the sdcard and after install the nandroid backup...
I think that it could work but I am not sure. If after formatting the sdcard you can mount it, the task is done. You can put the backup on it using adb push and flash using recovery.
If you try please give me some news.
Regards
orcruin said:
Hello Everyone
To flash a new ROM you can do as follows:
boot in Recovery
format cache partition
from your PC use adb to mount /sdcard as tmpfs:
adb shell mount -t tmpfs none /sdcard
put your ROM on the (fake) sdcard
adb push <your rom> /sdcard
use the recovery to flesh the ROM as usual
This worked form me.
Sorry to be late...
Click to expand...
Click to collapse
I'm kind of a noob when it comes to adb. What is that process doing exactly? How big is the fake sdcard? I want to make sure I understand all the implications before I dive in. Of course I need HTC to release a ICS ROM first. ;-)
thx1200 said:
I'm kind of a noob when it comes to adb. What is that process doing exactly? How big is the fake sdcard? I want to make sure I understand all the implications before I dive in. Of course I need HTC to release a ICS ROM first. ;-)
Click to expand...
Click to collapse
First it formats the cache partition. Then mount the /sdcard so that you can access it from your pc. After you mount the /sdcard, you can put your rom zip into it. After the zip has been transferred into /sdcard, you can flash the zip as usual.
Since nexus s doesn't have sdcard slot, it mounts the internal storage as '/sdcard' to treat it like a sdcard, thus 'fake' sdcard. The 'fake' sdcard is around 13GB.
Guys the fix was included in the original script and hence this thread as of now is no longer active.
for further queries please go to the original script thread here
Dark Passenger said:
Hi INT2ext4+ works on android 4.2.1.(Device : Galaxy Fit GT-S5670)
ScreenShots.
and for those dying for to use it here is the fixed script (yes its a flashable zip)
Credits::good:
vvFiCKvv : for finding the error and showing how to fix it.
dk75 : for sharing it with us.
dark passenger : for posting the fixed zip here(just modded original zip) and testing.
if you appreciate this please press thanks on all these guys posts.:good:
Click to expand...
Click to collapse
I've installed S2E on thos ROM. Need I reinstall CM 10.1? Where is tutorial for this?
ZmisiS said:
I've installed S2E on thos ROM. Need I reinstall CM 10.1? Where is tutorial for this?
Click to expand...
Click to collapse
tutorial added to first post. no just remove the revert all settings in the app(and hope they fit into /data) and delete the script its something s2e like the script will automatically move all apps and dalvik cache and everything except /data/data to /sd-ext nothing to configure.
Dark Passenger said:
Hi INT2ext4+ works on android 4.2.1.(Device : Galaxy Fit GT-S5670)
ScreenShots.
and for those dying for to use it here is the fixed script (yes its a flashable zip)
Credits::good:
vvFiCKvv : for finding the error and showing how to fix it.
dk75 : for sharing it with us.
dark passenger : for posting the fixed zip here(just modded original zip) and testing.
if you appreciate this please press thanks on all these guys posts.:good:
How to Install guide
1.remove all app2sd scripts from init.d folder inside /system/etc you should have two scripts only smothing like 90userinit and 00banner or module if any other script that has 2ext or app in it please delete them.(only app2sd scripts matter no other script)
2.uninstall all related apps for the same scripts.
3.reboot into recovery.
4.under mount & storage(or something similar) chose mount /system & /data and /sd-ext
5.go back and choose install zip
6. select Fixed-Int2ext4+.zip and flash.
7 go back to mount & storage and unmount /data & /sd-ext.
8.format /sd-ext from the same menu.
reboot and enjoy.
Note : this will work for only ext 4 partition(if you format sd-ext using cwm 5 its ext 4) will upload int2ext+ soon if requested.
Click to expand...
Click to collapse
This is works for me. Thanks.
ZmisiS said:
This is works for me. Thanks.
Click to expand...
Click to collapse
how is your internal storage showing 1 GB space??
pl share wat n how did u do dat.
Rohit02 said:
how is your internal storage showing 1 GB space??
pl share wat n how did u do dat.
Click to expand...
Click to collapse
I've partitioned the SD Card on FAT32 and ext4. For ext4 I made 1 GB. My SD Card is of 16 GB. Rest is FAT32.
The first make partition FAT32 and then ext4.
Rohit02 said:
how is your internal storage showing 1 GB space??
pl share wat n how did u do dat.
Click to expand...
Click to collapse
it mounts your /sd-ext partition as /data hence internal storage is the size that your /sd-ext is.
also its easier to partition with cwm and keep swap as 0.
Help me!
why I can't mount sd-ext?
PrimZaap said:
why I can't mount sd-ext?
Click to expand...
Click to collapse
What do you use, CWM 5, CWM 6 or Amon-RA?
ZmisiS said:
What do you use, CWM 5, CWM 6 or Amon-RA?
Click to expand...
Click to collapse
CWM5
PrimZaap said:
CWM5
Click to expand...
Click to collapse
Is it partition SD Card O.K.? If yes, try CWM6 or Amon-RA.
PrimZaap said:
CWM5
Click to expand...
Click to collapse
first try installing script without mounting /sd-ext but follow all other steps(mainly mount /system & /data flash script & later unmount /data and format /sd-ext).
If this doesnt work(I seriously doubt it won't still) it means that the /sd-ext partition is corupt(many reasons) so do this flash amon ra and choose fix sd-ext partition the n flash cwm 5 again and format sd-ext partition.
still doesnt work(really still doesnt ?!?!?!) post here the full porblem you face then and if you tried both these solutions.
Good luck.
Dark Passenger
Dark Passenger said:
first try installing script without mounting /sd-ext but follow all other steps(mainly mount /system & /data flash script & later unmount /data and format /sd-ext).
If this doesnt work(I seriously doubt it won't still) it means that the /sd-ext partition is corupt(many reasons) so do this flash amon ra and choose fix sd-ext partition the n flash cwm 5 again and format sd-ext partition.
still doesnt work(really still doesnt ?!?!?!) post here the full porblem you face then and if you tried both these solutions.
Good luck.
Dark Passenger
Click to expand...
Click to collapse
In Amon-RA I've formated sd-ext in the way that I went to on wipe sd-ext. It works for me. I've flashed script with Amon-RA.
ZmisiS said:
Is it partition SD Card O.K.? If yes, try CWM6 or Amon-RA.
Click to expand...
Click to collapse
I have Amon-RA,, and I have a new problem. how to format/sd-ext in Amon-RA?
PrimZaap said:
I have Amon-RA,, and I have a new problem. how to format/sd-ext in Amon-RA?
Click to expand...
Click to collapse
I'm already write.Format sd-ext in Amon-RA to go to Wipe/wipe sd-ext.
First Post Updated added INT2EXT and also added a little description for each script.
Amon-ra recovery is good but i personally preffer cwm 5 and really dont trust cwm 6.
Dark Passenger said:
First Post Updated added INT2EXT and also added a little description for each script.
Amon-ra recovery is good but i personally preffer cwm 5 and really dont trust cwm 6.
Click to expand...
Click to collapse
With CWM 5 I have problem with restore. With Amon-RA I have not had any problems.
ZmisiS said:
With CWM 5 I have problem with restore. With Amon-RA I have not had any problems.
Click to expand...
Click to collapse
since I had a bad experience with cwm 6 i dont trust that and personally dont like amon-ra so cwm 5 is the best for me.
but each his own right.
Dark Passenger said:
since I had a bad experience with cwm 6 i dont trust that and personally dont like amon-ra so cwm 5 is the best for me.
but each his own right.
Click to expand...
Click to collapse
Yes, I agree. I'm only mentioning their experiences.
Problem with Amon-RA is it that he don't flashing custom ROM on stock ROM.
Thanks for your help,, and it work
//////////// USE IT AT YOUR OWN RISK AND I AM NOT RESPONSIBLE FOR ANY FAILURE OR BRICKED DEVICES /////////////////
THIS IS NOT a PUBLICITY for Any ROM or KERNEL
They are Simply just what i use
I have successfully changed my data partition to F2FS and using arter kernel as well
Also I have managed to get the Data back in place so after the whole operation all my ROM data are intact
NOTE THAT YOUR ROM & KERNEL MUST SUPPORT F2FS TO BE ABLE TO BOOT
Note that changing any partition filesystem from a type to another will require formatting that partition
From what i understood converting /system and /cache to f2fs is useless hence I converted /data only as it the main partition that you write on
First of all your internal storage is in /data/media/0 path and hence it will be wiped
I used the official TWRP to be sure of no issues
Take care of the 12th step as if it was missed you will start from scratch >> CRITICAL
Note that Fstab file already contains DFE so if you are unecrypted like my case flashing Fstab keeps me unencrypted without flashing DFE
Now let's start the operation of converstion of/data from ext4 to f2fs in a step by step guide
1- BOOT TO RECOVERY
2- TAKE A FULL NANDROID BACKUP ( MOST IMPORTANT IS THE DATA PARTITION )
3- TAKE A FULL CLONE OF YOUR INTERNAL STORAGE while you are in TWRP( To PC either via MTP or adb command and i prefer the adb method as it ensure that all your files are copied including hidden files )
4- WIPE > Format Data > Yes ( it is a factory reset and all your internal storage will be wiped )
5- Reboot to recovery again
6- Wipe > Advanced Wipe > Check Dalvik , cache , system and Data > Wipe and DONOT reboot to recovery
7- Connect cable again and copy the FSTAB Tools ZIP file only
9- Flash the FSTAB TOOLS File
9- Wipe > Advanced Wipe > Check Data ONLY > Repair or Change file system > F2FS > Change File system
10-Copy via cable whatever you need from your internal storage or the whole of it as your wish
11-Ensure that the TWRP Backup you took in step 2 is copied to internal storage again
12-GO TO TWRP SETTINGS and Tick the 3rd option in the first TAB ( it is called use rm -rf instead of formatting )
13-The above step ensured that when you restore Data partition TWRP won't format it again to ext4 and leave it as f2fs
14-Restore > Choose your fresh Backup > RESTORE DATA PARTITION ONLY ( you will see a message that you are restoring a backup taken of ext4 filesystem , donot worry it worked in my case )
15-Flash the following in order : Vendor > ROM > Fstab File ( NOT the tools one ) > Gapps > Arter97 kernel > Reboot
16-You should boot to the OS with all your data ( settings ) like they were intacted and now the /data partition is f2fs
17-Restore your internal storage if you still didnot do it in step # 10
18-Reboot to recovery and Flash Magisk ( optional )
Notes :
- I though that 4th step was useless however it is mandatory as it erases Vendor or something similar
- I though that 6th step is duplicate to 4th step and was useless however without it TWRP didnot change filesystem to F2FS
- The FSTAB must be flashed after every vendor update ( it can be before or after ROM in the sequence , the most important that it is after every Vendor BEFORE YOU BOOT )
- I didnot flash magisk in step # 15 as crCroid recommends that you boot to system one time before you flash magisk
- crDroid default kernel doesnot support f2fs and if i didnot flash arter97 i wouldnot be able to boot
- By this setup i cannot go back to crDroid default kernel anymore unless f2fs is supported by it
- If ROM doesnot support f2fs the system wouldnot Boot as it would not be able to understand the /data partition filesystem
- Ofcourse any Kernel and ROM combo that supports F2FS should be valid to apply this guide
Finally thanks for all the Devs for thier hard work and dedication , You all made our POCO a lovely BEAST
I think this thread is belong to guides&news and discussion forum
thanhnvt194 said:
I think this thread is belong to guides&news and discussion forum
Click to expand...
Click to collapse
Yes i you are right but do not know how to move thread from a forum to the other
Thanks @shouk_1987, good guide. Any chance you can provide a link to the FStab files mentioned in your post?
Is this arter kernel specific? I used shadow kernel and the fstab changes are flashed with the kernel
dgrasley said:
Thanks @shouk_1987, good guide. Any chance you can provide a link to the FStab files mentioned in your post?
Click to expand...
Click to collapse
They are in arter kernel thread in the OP
Thread moved to the correct section.
LTT
So, does this work with crDroid? I ask because both rom and kernel must apparently support f2fs and @gwolfu has indicated crDroid does not.
piet8stevens said:
So, does this work with crDroid? I ask because both rom and kernel must apparently support f2fs and @gwolfu has indicated crDroid does not.
Click to expand...
Click to collapse
crDroid Kernel doesnot for now
While the ROM does
What about my apps and its data, can I restore it back?
Edikuun said:
What about my apps and its data, can I restore it back?
Click to expand...
Click to collapse
Read the guide carefully
You will br able to restore everything but the most part that needs patience is restoring internal storage
works on miui ?
RubenPCA said:
works on miui ?
Click to expand...
Click to collapse
Didnot try but saw other users says it works
Which kernels/ROMs are supported?
Shished said:
Which kernels/ROMs are supported?
Click to expand...
Click to collapse
Read in the OP of the ROM / Kernel you want
A lot aupport f2fs now
a great guide . Any way to do the same(restore data) if ee wanna go back from f2fs to ext4? just in case.
Debraj903 said:
a great guide . Any way to do the same(restore data) if ee wanna go back from f2fs to ext4? just in case.
Click to expand...
Click to collapse
Didnot try but I believe it is the same concept
My internal storage went from 30GB free to 15GB free
Edikuun said:
My internal storage went from 30GB free to 15GB free
Click to expand...
Click to collapse
I am the opposite I have 2 gb increase
Least version for Poco is 64 gb , which version do u have ?
shouk_1987 said:
I am the opposite I have 2 gb increase
Least version for Poco is 64 gb , which version do u have ?
Click to expand...
Click to collapse
It's okay now, I forgot to delete my twrp backup and titanium backup. Anyways, nice guide! Successfully converted to f2fs