[ROM][MOD][SafeStrap Guide] FAST! DST, -Locked & UnLocked BLs-xt907-98.30.1 - Droid RAZR M Android Development

Roms for unlocked Boots. SafeStrap roms: next post.
Be sure to try Xposed Framework http://forum.xda-developers.com/showthread.php?t=1574401
This is My Daily Driver. I have been Chewing on a SD Swap to correct the way Moto chose our default storage since I unlocked the phone 6 months ago. These are the base roms I use. Thank You Mhous33. Think a Custom Rom is where to be? I never found one as reliable as stock. Enjoy.
Stock bases:
1)Deodexed 98.30.1 (it is not debloated).
Recommended:
2)DST Odexed 98.30.1 (debloated & fast fast fast) More details.
Be careful about the "phone info app" it can break your radio : http://forum.xda-developers.com/showpost.php?p=48165372&postcount=8
3)Stock
New link for mhous33 http://forum.xda-developers.com/showpost.php?p=51042438&postcount=39
Bases by mhous33
Note: mhous33 has modularized his flashes & put modem & boot independent. More details here http://forum.xda-developers.com/showpost.php?p=49680312&postcount=1
SafeStrap version: see next post.
There is no need for unlocked users to take the ota, this will do the same thing, if you follow my steps.
See Attachments for Rom link (just click it & it should open for you to copy)
Instructions for those on ...94 or ...1 (should work for earlier builds too) who want to keep their data (apps) (beta, Works fine for Me)
1) Wipe dalvik cache, & cache
2) Reboot recovery
3) Mount system
4) Install Rom (from mhous33 above)
Option1) Flash My PP Mod NOTE: this one must come before the next option.
Option2) Flash sd swap update (attachments) & say no to "disable recovery flash"
5) reboot
Instructions for those coming from some other Rom OR do not want to keep their data (apps)
1) Wipe data, & cache
2) Reboot recovery
3) Mount system
4) Install Rom (from mhous33 above)
Option1) Flash My PP Mod NOTE: this one must come before the next option.
Option2) Flash sd swap update (attachments) & say no to "disable recovery flash"
5) Reboot
If you boot on my SD Swap:
Always use TWRP 2.6+ OR Philz v6.
Always choose any NO when rebooting from Philz.
Go Recovery Goodies
Because install-recovery.sh is now an agent in the initd setup & needs to be protected.
Notification Toggles is a great substitute for an extended power menu.
I attached my backup to make setup easier. Goes in (with the sd swap working) storage0/android/data/de.j4velin.notificationToggle/files.
Set toggle per line to 6.
Xperia launcher. Once installed check for update from Sony (twice).
I am testing this perfomance mod & so far it is amazing. There is some lag on SD access right after bootup....
This Audio mod too.
SafeStrap version: see next post.
NOTE: Not for cm based, multuser, or anything but 4.1.2 stock roms!

Be sure to try Xposed Framework http://forum.xda-developers.com/showthread.php?t=1574401 when done!
Note: the dst is recommeded over the bloated deodexed as now with odexed being xposed compatible & faster.
SafeStrap compatible rom Version 2 is in attachments. Full bloat versions sans the SD swap. Follow the instructions below & if you want the SD swap just flash the Unlocked version over it before you reboot- follow the same fundamental steps as in the previous post- rom slot OR stock slot.
Added a SS version of Mhous33's debloated odexed rom.
Has the same features as the unlocked version, but better because the cautions about killing the SD swap do not apply to the SS version.
You may have forced closes & wifi problems if you try either version without being on ...94 beforhand as the kernel is newer- beware.
See Attachments for Rom link
Here are instructions from the creator of SafeStrap. Please understand what you are doing before moving on.
Hashcode on SafeStrap :http://blog.hash-of-codes.com/how-to-safestrap/
Proceed if you are on stock 98.18.94 or 98.30.1 & have a current backup of your stock slot.
Obligatory warning: UpDating to 98.18.94 or 98.30.1 WILL PREVENT A BOOTLOADER UNLOCK IF YOU FLASH IT TO A LOCKED PHONE.
You can install to rom slots but not to the stock slot.
Here is where you venturesome people need to test if you do try flash 98.30.1, while you are on 98.16.1, that it does work ok. Try everything out before you try to put it on your stock slot. Be warned.
I have been on the ...78 kernel with mous33's DST & have no issues. I speculate that the slight change in kernel #s is for some bloat apps.
Update running on stock slot may cause lags. http://forum.xda-developers.com/showpost.php?p=50432621&postcount=57
Try on just a rom slot first but there will be no access to internal SD. So be sure to save what you want to the external SD first!
1) Create a ROM slot
2a) Mount system & install My ROM to the same ROM slot
2b) Optional: Restore current data (uncheck system) from your stock slot backup & wipe cache & dalvik cache
2c) Optional flash SD swap update here
3) Bootup the ROM
IF this works for you it is fine as you could delete all of the internal SD from your stock slot. This is the goal anyway & you have less confusion with only your external SD.
Take a more than a moment to read this unique thread on what it means to "write over your stock slot" & at the bottom of page 1 Rik Rong: "That should work," about getting your stock slot back again.
http://www.droidrzr.com/index.php/topic/11600-installing-custom-rom-to-stock-using-ss-312/
These steps will overwrite your stock slot and allow the full SD swap. BE SURE YOU ARE SATISFIED WITH IT BEFORE PROCEEDING.
Also note in this approach the data/apps you want to move to the NEW rom are to come from your stock slot. If you want the opposite WIP
Instructions for those on ...94 or ...1 who want to keep their data (apps) (beta, Worked fine for Me)
1) Create a ROM slot
2) Mount system & install My ROM to the same ROM slot
2a) Optional flash SD swap update here
3) Make a Backup of your ROM (save it to external storage)
4) Switch to Stock slot (you know you in stock when "install" and System" turn to red font)
5) Wipe cache & dalvik cache
6) Restore Backup with the data un-checked (if done right the only file available will be the Backup you just made)
7) Confirm restore (Bootup)
8) Delete the slot used.
jvasquezhhi's procedure from RZR
Installing custom ROM to STOCK Using SS 3.12
Create a ROMSlot1
Flash the custom ROM to ROMSlot1
Bootup the ROM
Configure your ROM to your liking (this is if you have other flashable mods like DST or a different SuperUser)
Reboot into Recovery
Make a Backup of your ROM (save it to external storage)
Switch to Stock partion (you know you in stock when "install" and System" turn to red font)
wipe Phone (cache, Dalvik, Factory Reset, System, and finally Internal storage)
restore back up (if done right the only file available will be the back up you just made)
Confirm restore
DONE!!! enjoy your custom rom in stock partition

NooB Stickys
Locked BL:
Root/Boot unlock ability with various builds
SafeStrap v3.1.2 Guide & Rom use example
NEW Root Method
Roms for Locked BL
Unlocked BL:
Phone-Up custom recovery backup app: http://forum.xda-developers.com/moto-x/general/fyi-online-nandroid-backup-ready-t2762382
Philz Recovery-msm8960 unified
Rom Manager & Photon Q recovery easy recovery
Recovery-Goodies
Daily Driver & SD swap
Both: Stock Rom & SD swap
House of Moto, Stock restore
My Stock Restore
Not keeping 4G?
Fast DL of the Latest xml/fzx for RSD
/persist BU WorkAround
Various restore files from 98.18.94 or 98.30.1
Daily Driver: Telstra JB & 78p Radio-Great WiFi
Misc unsorted
Fastboot fix http://forum.xda-developers.com/showpost.php?p=51479500&postcount=3
Have "QHSUSB_DLOAD"? Then you have real brick. There is no solution for the msm8960's:
http://forum.xda-developers.com/showpost.php?p=38377826&postcount=3
sys app delete list http://forum.xda-developers.com/showthread.php?t=2127650
http://forum.xda-developers.com/showpost.php?p=44292996&postcount=361
https://docs.google.com/file/d/0Bwo0TMNUxZfFRno1V3o4dmlyb0E/edit?pli=1
https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481/action/auth
http://forum.xda-developers.com/showthread.php?t=2487863
http://forum.xda-developers.com/showpost.php?p=43992964&postcount=345
http://4pda.ru/pages/go/?u=http://t...279783&usg=ALkJrhiLnRxpEwSOYUSRwRWvtLlkfO5UBA

Mega sucks
Sent from my XT907 using Tapatalk 4

[deleted] mod, please remove

Mykalmunlight said:
Mega sucks
Sent from my XT907 using Tapatalk 4
Click to expand...
Click to collapse
...chrome for uploading. You can download with anything. Downloading is fast. Why a 2 step I do not know

Avi, you might want to add instructions in the OP for the SS people. Instructions about setting up a ROM slot, not flashing over the stock slot, etc.

SS version up.

RikRong said:
Avi, you might want to add instructions in the OP for the SS people. Instructions about setting up a ROM slot, not flashing over the stock slot, etc.
Click to expand...
Click to collapse
Care to critique My SS version?
Did I address your concerns?
Please feel free.

aviwdoowks said:
Care to critique My SS version?
Did I address your concerns?
Please feel free.
Click to expand...
Click to collapse
It actually looks pretty good. I think it will help avoid a lot of confusion. Thanks for your work.

Attempted to install this. So far clean rom has worked, but stock deox and this one fail after install. Says fsil in red.
Sent from my XT907 using XDA Premium 4 mobile app

D.A.N. said:
Attempted to install this. So far clean rom has worked, but stock deox and this one fail after install. Says fsil in red.
Sent from my XT907 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Are you trying to install to the stock slot?

D.A.N. said:
Attempted to install this. So far clean rom has worked, but stock deox and this one fail after install. Says fsil in red.
Sent from my XT907 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Are you trying to install to the stock slot?
Did you mount sys?

rom failure
aviwdoowks said:
Are you trying to install to the stock slot?
Did you mount sys?
Click to expand...
Click to collapse
No, your stickys are great and I am attempting to install on slot one. Clean rom and bare bones work, but the other deox roms fail at attempting to install.

Installed this today... so far so good!
Anyone using arrghhh's kernel, or keeping stock?

Should i be concerned about it NOT displaying the "Warning, boot loader unlocked" screen ?

That should be specific to whether or not you've changed your boot logo. What is appearing in place of the warning now?
Sent from my XT907 using xda app-developers app

just the regular moto logo after flashing this rom. I used TWRP 2.6 came from beanstalk followed directions to T.. root and everything seems to work fine.
So seems no issue. I can still get into recovery. Just worried me because I always saw that "Warning" logo no matter what rom i had on since unlock....

Works good for me. Love the sd swap part. No need to worry about space or hassle of moving apps.
But is there a way to enable tethering without the use of third party app ( i am not on verizon ) ?

Does this rom have the moto smart actions still in it?

Related

[RECOVERY] Safestrap for Droid 3 [2012/10/17: Version 3.05 SD BUGFIX]

SAFESTRAP v3.05 (2nd-System Bootstrap / Recovery)
PRIOR TO UPGRADING TO V3.x FROM V2.x MOVE THE /sdcard/safestrap FOLDER FROM YOUR /sdcard TO THE /sdcard-ext. THIS OPENS UP VALUABLE INTERNAL EMMC SPACE WHERE ROM SLOTS ARE CREATED. AND KEEPS YOUR V2 BACKUPS SAFE IN CASE YOU WANT TO REVERT TO V2 AND USE THEM TO RESTORE.
** INSERT STANDARD DISCLAIMER: I'm not responsible for any damage you do to your phone using my tools. Always have a fastboot available for disaster recovery. **
Download the "Droid3Safestrap-3.05.apk" Installer Here for "DROID 3"
FOLLOW THESE INSTRUCTIONS: How to Safestrap
[ DOUBLE-CHECK you have the DROID3 VERSION ]
CHANGES:
[10/17] (3.05) Fixed SD card / emmc sharing in recovery (UMS)
[10/17] (3.05) Fixed recovery installation/removal from ROM-slots
[10/14] Updated to v3.04 BETA.
[10/14] Recovery is now based off TWRP 2.2.2.1 (fully featured touch-based recovery)
[10/14] Can create up to 4 Virtual ROM-slots to flash ROMs to and when "Active" ALL TWRP functions affect that ROM-slot (For example: Flashing .zips, Backup and Restore)
[10/14] Nearly instant swapping from ROM to ROM
[10/14] User selectable data partition sizes during ROM slot creation: 1GB, 2GB or 3GB
[10/14] ROM slots are saved on the internal emmc space so that preinstall and webtop partitions are no longer used and shouldn't break OTAs.
[10/14] Charging in recovery
[10/14] Supports "Reboot Recovery" from Android OS
Entry to recovery via Splashscreen on boot-up. The screen stays up for around 8-10 seconds and if you hit the menu button, it takes you to Safestrap Recovery.
SPECIAL THANKS TO:
The entire TWRP team who has built an AMAZING recovery system.
The testers which have helped in past and present versions of Safestrap, knowing that it could mean they brick their devices.
As always, let me know what you think!
A quick note about why I made a MotoBlur 5.6.890 ROM .zip for Safestrap:
1. This is the stock version of our Phone's software. If you want to swap back and forth between CM7 and the standard software, but NOT turn off "Safe System" then you need a stock ROM to use. This is it.
2. Devs can use this ROM as a sort of base for making their skinned ROMs without fear of bootlooping into an SBF. Feel free to tweak and hack away.. nothing you can do to the ROM will force you to fastboot restore. At worst you're looking at a battery pull -> bp-tools -> recovery -> restore.
3. I know some people are checking dev servers for future Moto updates. In theory I will pull the /system images from those updates and put out updated MotoBlur ROMs in the future as a way of test driving upcoming Moto patches w/o fear of leaving yourself stranded on an upgrade path that won't be supported.
So, im just curious, if I wanted to...
I could run say steel droid, then install safestrap, flash cm7,
And by turning safestrap off/on, I could technequally go back and forth
between 2 custom roms? Or do I have to keep the /system partition clean?
Sent from my DROID3 using Tapatalk
Actually the idea for Safestrap is to keep the main system clean.
I'm working with ChevyCam to get a Safestrap version of SteelDroid. Then you can use Safestrap exactly like regular recovery where you would swap from ROM to rom via backup and restore. The advantage being your method of recovery entry and ROM booting is always protected.
Great news !!!
Safestrap works on the XT883 rom too at least w/o the ota update, I'm going to test it on the updated system.
Thanks so much for clarifying, and thanks a million times over for all the great work you've selflessly done for the Droid3 community. I look forward to future CM7 updates.
hey hashcode, just a clarification, we can use safestrap like koush's bootstrap, but we just must turn safe system off right? cause your post makes it seem as if we cant do this
Right now, zips applied with Safestrap are applied to the 2nd-system only. In theory I could make some adjustments to allow for applying zips to the original system as well.. and while I understand the idea of "dual booting" a phone seems fantastic, it's really just an unrecoverable bootloop waiting to happen.
I'd rather that Droid 3 users turn on "Safe System" and never turn it off again (or need to). If all of our ROMs were installable via Safestrap I really feel that we would see alot less "I've bootlooped" postings on the boards.
For the recovery portion of Safestrap: it does NOT backup the original system. Only the 2nd-system, data and cache partitions. (Remember the idea is that you basically root your original system, toss on Safestrap and then enter recovery and toss a .zip onto your 2nd system)
I'm considering changing this in the next version of Safestrap so that backups from Safestrap can be used for full system recovery.
Another question with which to bother you...
When you have the option to do a backup, will you have the ability to choose the destination where the backup is stored as well as the location from where the backup can be restored (either internal or external storage)?
Thank you for your time.
Excellent work, I think this is a fabulous idea and should be the de facto standard for these locked devices. Were you still thinking about using a 2nd data/cache partition as well?
I think it would be pretty sweet if you could loopback mount file system images stored on internal storage for the system/data/cache partitions to implement a proper and safe multiboot system. I don't know how much of a performance hit this would take though.
Anyway, the one suggestion I would make about backing up the original system is to not do it as part of the regular backup/restore. Since system should rarely change, it'd be a waste of time and storage space to back it up every time. Could you either make it a separate option, or perhaps only back it up if the partition's checksum changed?
Besides, if you hose your system and need to restore it, you're probably not going to be using this recovery anyway.
The Solutor said:
Great news !!!
Safestrap works on the XT883 rom too at least w/o the ota update, I'm going to test it on the updated system.
Click to expand...
Click to collapse
I can confirm it works on the updated system too, btw for some odd reasons I'm unable to do a nandroid backup.
I''m investigating what's going on...
So in order to switch to another ROM (from CM7), that is not Safestrap compatible, I just need to toggle safe mode in recovery?
Sent from my DROID3 using XDA App
Yes. But beware of bootloops caused by not wiping your data between ROM switches.
To prevent that from happening you currently need to maintain copies of your data via backup/restore.. This will get addressed in the next version of Safestrap.
I have a version of Steel Droid that is supposed to be safestrap compatible. Im uploading it now. Will test it really quick, to be sure, and if its all good, will post a link!
The Solutor said:
I can confirm it works on the updated system too, btw for some odd reasons I'm unable to do a nandroid backup.
I''m investigating what's going on...
Click to expand...
Click to collapse
Ok I spoke too soon, backup and restore doesn't works on XT883
The backup folder is created correctly on the SDcard, the backup process starts normally with the /system partitons and then the process fails telling that there was an error while backing up the system partition.
Hashcode do you have any idea ?
The only differences in the partitioning between the two systems are the mount options
this is the 862
/dev/block/system on /system type ext3 (ro,noatime,nodiratime,barrier=1,data=ordered)
and this the 883
/dev/block/system on /system type ext3 (rw,relatime,barrier=1,data=ordered)
Do we install the MOTOBLUR Rom via safestrap or can we install it via bootstrap if coming from another Rom?
Sent from my DROID3 using XDA App
I guess it's safe to assume that this is not OK for international Droid3's like the XT860 / ME863?
Just a few short hours later I'm feeling adventurous, but the backup step indicates the MD5 generation failed. Any ideas?
Sent from my DROID3 using XDA App
LaZiODROID said:
I guess it's safe to assume that this is not OK for international Droid3's like the XT860 / ME863?
Click to expand...
Click to collapse
There would probably be radio issues.
Joe.cotto said:
Do we install the MOTOBLUR Rom via safestrap or can we install it via bootstrap if coming from another Rom?
Sent from my DROID3 using XDA App
Click to expand...
Click to collapse
This MotoBlur ROM is specifically for Safestrap to run as 2nd-system.

Want to use custom ROM, newb

Hi,
It's probably many people who have been asking the same thing, sorry if it's already a thread out there.
But I'm totally new to this. I now want to root my phone and use a custom ROM and maybe a other kernal too, whatever kernal is for
Which ROM is the best out there? And I have no idea of how to root my phone and install a custom ROM, maybe some advices?
Thanks.
/Sorry if I don't have the best english
If you want to root your phone and you're on Froyo (Android 2.2) use this guide: http://forum.xda-developers.com/showthread.php?t=953182
If you're on Gingerbread (Android 2.3) , you can use this guide: http://forum.xda-developers.com/showthread.php?t=1327599
You can flash custom ROMs by installing them in ClockworkMod Recovery mode. This is a special menu which allows you to flash custom ROMs and kernels and make backups of your rom.
You can enter recovery mode with either:
1. ROM Manager, select reboot into recovery.
2. While phone is on, press power button and then select reboot and then recovery. (Basically the same as 1)
3. While phone is off, boot with holding the power button and volume down button until the second lg logo with the blueish background appears.
Flashing: (In recovery mode)
1. Make a backup (Titanium Backup or NANDroid)
2. Wipe Everything
Wipe data/factory reset (this won't erase your root)
Wipe cache
Go to advanced and wipe Dalvik cache.
Wipe Battery Stats
3. Go to install zip from sdcard. (you have to put the rom you wish to install on the sd card)
4. Again install zip from sdcard (install Google apps, can be found in the CyanogenMod wiki) (same way as installing rom)
5. (optional) install zip from sd card and flash kernel. (same way as installing rom)
6. Done, reboot phone.
The best rom is just a matter of taste actually. It just depends on what you want, some prefer CyanogenMod and others just want an improved stock rom. So all you gotta do is read and make up your own mind. Also when you flash a kernel you have to make sure that the kernel in question is compatible with your rom, because there are many kernels in the dev section and they all work either with stock-based ROMs (Horsepower Kernel) or custom ROMs (Ironkernel, Vadonkas KANG kernel).
My opinion is to use the combination:
Temaseks CM KANG:
http://forum.xda-developers.com/showthread.php?t=1421425
Vadonkas KANG kernel:
http://forum.xda-developers.com/showthread.php?t=1427646
Hope this helped, if there are still some questions, just ask! Or PM me
SP1996AC said:
If you want to root your phone and you're on Froyo (Android 2.2) use this guide: http://forum.xda-developers.com/showthread.php?t=953182
If you're on Gingerbread (Android 2.3) , you can use this guide: http://forum.xda-developers.com/showthread.php?t=1327599
You can flash custom ROMs by installing them in ClockworkMod Recovery mode. This is a special menu which allows you to flash custom ROMs and kernels and make backups of your rom.
You can enter recovery mode with either:
1. ROM Manager, select reboot into recovery.
2. While phone is on, press power button and then select reboot and then recovery. (Basically the same as 1)
3. While phone is off, boot with holding the power button and volume down button until the second lg logo with the blueish background appears.
Flashing: (In recovery mode)
1. Make a backup (Titanium Backup or NANDroid)
2. Wipe Everything
Wipe data/factory reset (this won't erase your root)
Wipe cache
Go to advanced and wipe Dalvik cache.
Wipe Battery Stats
3. Go to install zip from sdcard. (you have to put the rom you wish to install on the sd card)
4. Again install zip from sdcard (install Google apps, can be found in the CyanogenMod wiki) (same way as installing rom)
5. (optional) install zip from sd card and flash kernel. (same way as installing rom)
6. Done, reboot phone.
The best rom is just a matter of taste actually. It just depends on what you want, some prefer CyanogenMod and others just want an improved stock rom. So all you gotta do is read and make up your own mind. Also when you flash a kernel you have to make sure that the kernel in question is compatible with your rom, because there are many kernels in the dev section and they all work either with stock-based ROMs (Horsepower Kernel) or custom ROMs (Ironkernel, Vadonkas KANG kernel).
My opinion is to use the combination:
Temaseks CM KANG:
http://forum.xda-developers.com/showthread.php?t=1421425
Vadonkas KANG kernel:
http://forum.xda-developers.com/showthread.php?t=1427646
Hope this helped, if there are still some questions, just ask! Or PM me
Click to expand...
Click to collapse
Thank you, I will try to do this and use the combination you prefered. If I get stuck somewhere I will notice you
great work SP1996AC......
this is a great way to guide a newbie.....this is XDA forum all about.....I appreciate this a lot...
Haha no problem...
SP1996AC said:
Haha no problem...
Click to expand...
Click to collapse
U have an image of my early days in android forums.
Keep it up!
SP1996AC said:
2. Wipe Everything
Wipe data/factory reset (this won't erase your root)
Wipe cache
Go to advanced and wipe Dalvik cache.
Wipe Battery Stats
Click to expand...
Click to collapse
Nvm, I misread it It was in the recovery mode.
I got a problem now, I have installed the custom RM and kernel, but the problem now is that I can't connect the phone to the computer via USB to put files in my phone. Do I need some new drivers or something?
Edit: When I try to use the camera it just wsays that I need to use my SD card. It might be something else that wrong, just with the SD card?
Edit2: it seems that I can only get acces to the SD card from the computer by the recovery mode?
try to shut down the device and boot instead of rebooting(if you did that) some sdcards have problems with a reboot and do not get recognized.
Sent from my Optimus 2X using XDA App
Are u talking about the internal sd or a external sd? For use the internal sd (the data partition of the device's memory) there is an option in the settings. I don't remember now I'm using a Miui based rom. For the usb connection u must have the driver of the device, u can take it in the lg web site
Inviato dal mio Optimus 2X usando Tapatalk
Istur said:
Are u talking about the internal sd or a external sd? For use the internal sd (the data partition of the device's memory) there is an option in the settings. I don't remember now I'm using a Miui based rom. For the usb connection u must have the driver of the device, u can take it in the lg web site
Inviato dal mio Optimus 2X usando Tapatalk
Click to expand...
Click to collapse
I actually meant the internal, cuz I don't have a external card. Where can I find that setting? It's so many settings so I get confuesed when I try to look for other settings All program that seems to need the internal SD card seems to say it, the camera, ROM manager and other apps.
And I have a sall problem with spotify, it won't start at all. Is this normal with this ROM?
i have a question, if lets say i flashed cyanogen mod 7.1 stable on my lg optimus 2x and i want to flash, for example temasek kang cyanogen mod, can i just download the .zip files and copy it over to the phone and flash. is there such thing as downgrading in android like in symbian, im also a newbie, also another question, the rom files or .zip in clockworkmod on internal storage, can they be deleted after flashing the files on the phone
lopiop said:
i have a question, if lets say i flashed cyanogen mod 7.1 stable on my lg optimus 2x and i want to flash, for example temasek kang cyanogen mod, can i just download the .zip files and copy it over to the phone and flash. is there such thing as downgrading in android like in symbian, im also a newbie, also another question, the rom files or .zip in clockworkmod on internal storage, can they be deleted after flashing the files on the phone
Click to expand...
Click to collapse
1. Yep, just copy it to your phone, boot into recovery and install zip from sd card.
2. Downgrading is possible, make sure to wipe.
3. After flashing you can safely remove the zip file from your phone
thx for the quick reply, could you elaborate more on the part of downgrading, does that mean i cant just simply flash another rom
also on the first page you recommended CM7.2 Temasek KANG rom and Vadonkas KANG kernel, how do you install that, do i just flash the cm 7.2 temasek kang rom, or do i have to flash the kernel, and which one comes first
also what is the kernel for, as i noticed when i flashed cyanogen mod 7.1 stable, the kernel was automatically changed
lopiop said:
thx for the quick reply, could you elaborate more on the part of downgrading, does that mean i cant just simply flash another rom
also on the first page you recommended CM7.2 Temasek KANG rom and Vadonkas KANG kernel, how do you install that, do i just flash the cm 7.2 temasek kang rom, or do i have to flash the kernel, and which one comes first
also what is the kernel for, as i noticed when i flashed cyanogen mod 7.1 stable, the kernel was automatically changed
Click to expand...
Click to collapse
Downgrading
You flash the rom you want over the one you have right now, just wipe everything. (you can always restore it later with a backup) For example when you have a CM KANG an you want to go back to a nightly just flash it over the KANG.
First you flash the KANG rom and then you flash the kernel. If you do it the other way around you erase the kernel flash because as you know every rom comes with a standard kernel. (More information, look at my first post in this thread)
The main goal of flashing a custom kernel is increasing the performance and have the ability to overclock and to undervolt. The standard kernel which comes with CM stable doesn't allow you to overclock your CPU to for example 1.5Ghz. Standard kernel only clocks to 1Ghz.
Simple question: If I root my phone when it's on "stock' (i.e. as it comes out the box when it turns up soon), and then upgrade to the LG Official latest release via their website.. will I have to root the phone again?
Scougar said:
Simple question: If I root my phone when it's on "stock' (i.e. as it comes out the box when it turns up soon), and then upgrade to the LG Official latest release via their website.. will I have to root the phone again?
Click to expand...
Click to collapse
Once you upgrade the phone via their website....u lose the root....need to root again for sure....
Scougar said:
Simple question: If I root my phone when it's on "stock' (i.e. as it comes out the box when it turns up soon), and then upgrade to the LG Official latest release via their website.. will I have to root the phone again?
Click to expand...
Click to collapse
i haven´t ever used a stock rom for more than 10 minutes, but i guess ...yeah.
75markus said:
i haven´t ever used a stock rom for more than 10 minutes, but i guess ...yeah.
Click to expand...
Click to collapse
me too...i dont use the stock for long...but when updating thru the website....ur root is gone....got to root again....more work mate....so burn midnight oil....
1:
Google "SuperOneClick" - http://shortfuse.org/?page_id=2.
Set your phone to "development mode", or whatever it is in english, under your program settings and plug it into your PC with the program running.
It should be as simple as clicking "Root" with the newest version of the program.
2:
Download "Rom Manager" from the market and install "ClockWorkMod" through that program.
3 - preparation:
- Turn off your phone and hold down the "Volume Down" button + the "Power" button untill you see the LG logo shift into, what resembles a loading screen.
- In ClockWorkMod, you navigate up and down with the volume buttons and the power button selects an option.
- Go to "Backup and Restore" and back up your system. This is a so-called Nandroid backup.
- plug your P990 into your PC and copy that backup file. It's most likely on your external SD-Card.
_____________________________________________
- Find a suitable ROM, I use this one: http://forum.xda-developers.com/showthread.php?t=1421425
At the bottom of the fist post, you can find download links.
The Google Apps: http://www.mediafire.com/temasek#5xfvkc2nlfk5v
You need that file to install the marketplace. It'll be called something in the vein of "gapps-gb-20111214-237-signed".
The ROM itself: http://www.mediafire.com/temasek#3edh9d36u710w
The file will have a name in the vein of "cm7kang-O2x-P204-38"
_____________________________________________
4:
Now that you have your ROM/Google Apps (GAAPS) and a backup file, you're ready to get started.
Copy the ROM and GAAPS ZIP files to your SD-card. Then turn it off and enter ClockWorkMod by way of "Volume Down/Power" buttons.
5:
Back in ClockWorkMod, navigate to "install zip from sdcard" ---> "choose zip from sdcard/choose zip from internal sd card" and make sure you can find your files before proceeding.
6:
- Assuming everything is ok, choose "wipe data/factory reset" in the main menu of ClockWorkMod.
-Once done, choose "install zip from sdcard" and install your ROM.
-repeat the process for the Google Apps file.
Once done, choose "wipe cache partition" in the main menu along with "wipe dalvik cache" under the "advanced" option.
After that, choose to turn off the phone and turn it on to boot your new ROM for the first time.
Prepare to troubleshoot a bunch, you're probably used to a bunch of stuff that are'nt to be taken for granted
Feel free to ask me questions and criticism is welcome, considering this is just a short guide; and my rooting experiences started this saturday.

[HOW TO] DUAL BOOT for P990 & SU660 on BOTH Bootloaders v5.0

Dual Boot for P990 & SU660 on Both Bootloaders
Now with more and more new ROMs being released every day and only one phone (at least for most of us) to try them all, I think this was needed.​
It is based on the method Bihariel found on a Chinese forum and his latest v2 version for the old bootloader and my previous version 3 for the new one.
It is now modified to work on both bootloaders and Partition layouts. Read change log for details.
Thanks to:
SuperSkill personally, for digging it up from the grave and giving me the vote of confidence to port dual boot into the new bootloader. He is also the 1st after me, who tested it. (thank you again my friend)
KingMGT personally, for helping me make the necessary modifications for SU660 and of course for testing it since I don’t own a SU660. (thank you again my friend)
Bihariel of course, for his great work on which I based the new version (and for copying a lot of text from his thread)
ChinaGB, the creator of the System changer app and the original idea.
What is this useful for?
Devs: you can have one ROM configured and ready for use in one partition and a second partition to test your ROMs without touching your daily ROM, so you won/t need to wipe or backup anything.
Users: you can have a stable ROM, let’s say a stock ROM with everything working and configured and you can have a second partition to test ROMs (for example a custom stock based one or a CM10 beta) so you won't need to do backups and wipes.
How Dual Boot works?
Dual-Enabler.zip: this file enables Dual boot by splitting system partition into two.
Dual-ROM-1-to-XX.zip: this file have to be flashed after flashing ROM 1, after flashing it and boot the phone, you will find an app called system changer, by launching this app and selecting Switch ROM, the phone will reboot and start the ROM 2.
Dual-ROM-2-to-XX.zip: this file have to be flashed after flashing ROM 2, after flashing it and boot the phone, you will find an app called system changer, by launching this app and selecting Switch ROM, the phone will reboot and start the ROM 1.
What ROMs can I use?
P990 Devices:
You can use theoretically, any combination of ROMs for dual booting, working on the same Bootloader of course.
SU660 Devices:
On OLD layout you can use theoretically, any combination of ROMs for dual booting, working on this Bootloader of course.
On ICS layout, due to lack of any custom ROMs for SU660, the p990 layout and bootloader is used so only custom CM, PA & MIUI ROMs are compatible, working on this Bootloader of course.
Attention !! The only ROMs you should not use are Auto-wipe ROMs because they will delete your data partition and with it ROM1 and ROM2 save files. Of course if you are an advanced user, you can open the wipe rom and modify the updater-script to remove the auto wipe lines.
Download from here the package for your device and follow the instructions in post #2.
For older versions follow the instructions included in package.
Change Log:
v5.0 Date 05 Feb 2013
DualBoot-Control.zip. All five zips used till now for enabling/maintaining Dual-Boot have been replaced by this aroma-style flash-able zip.
SU660 package now supports also the su660 ics bootloader & layout.
V4.6 Date 30 Jan 2013
512MB-512MB system partitions for both bootloaders,
Reduced data (to 2000MB) for old-bootloader (because a 2048MB one cannot be formatted on old bootloader)
Bug-fix for dual-boot remover (SystemChanger app wasn't removed).
V4.5 Date 22 Jan 2013
Now it auto enters recovery after repartitioning. No need to keep pressing Vol- & Pwr.
Linux nvflash binary added. (I had forgotten to include it in package, sorry.)
Minor changes in flash.sh (for linux).
V4 Date 20 Jan 2013
It now works on both bootloaders. During repartition with nvflash you have the option to select which one
In old bootloader the system partition is splitted in 370MB for ROM1 and 512MB for ROM2 (in case someone wants to install tonyp's & harsh's full ICS version for old bootloader).
Same simple procedure to enable and maintain dual-boot.
Common flash-able zips because they detect current bootloader and partition layout and act accordingly.
Re-compiled SystemChanger app to display more correct messages and also in which ROM you are switching to.
V3 Date 12 Jan 2013
System partition size is 512 MB for each ROM.
Data partition is still shared but with the max size of 2GB.
Included latest cwm recovery 6.0.2.5 by pengus77. It works for all available ROMs for new BL (DM X, FLEX-ICER & unofficial CM10 CM10.1 ones)
NewBL-Dual-Enabler’s scripts are modified not only for the new layout but now also check and format (if needed) the internal SD (the first time after NVFlash is always needed). It also returns to recovery automatically to let you install or restore the 1st ROM.
NewBL-Dual-ROM-1-to-XX.zip & NewBL-Dual-ROM-2-to-XX.zip no longer need to be updated with the boot images of the ROMs.
SystemChanger app’s scripts, before switching to the other ROM, check if current ROM is changed (by md5 checksum of its build.prop as before) and saves the boot.img for next switch.
noshare file, containing the data folders list, is now also saved under /data/dual-boot. This way it will be always accessible and updatable if needed, no matter which ROM is running.
Boot images and md5 checksums are also saved under /data/dual-boot.
Two more flash-able zips added:
Wipe-ROM-data.zip This will wipe the data of the current ROM. Useful for changing ROM or if required by ROM’s chef
Remove-DualBoot.zip This will wipe the data of the other ROM and will also remove the SystemChanger app and scripts from the current ROM. Useful if you want to make a clean nandroid backup, to restore after a repartition to normal layout.
For V2 change log see bihariel's thread
Here is the guide to get Real Dual boot on both BLs.
Please read carefully because this may mess up your phone if you don't know what you are doing.
Oh!! I forgot, this phone is unbrickable, so give it a try.​
Installation Instructions
Extract the downloaded package with WinRAR or similar to any folder.
Copy ROM1, ROM2 and the DualBoot-Control.zip to external SD.
Go to the folder DualBoot-Partition-resizer and run flash.bat (or flash.sh for linux) follow on-screen instructions select BootLoader and wait until NVFlash process finishes and the screen goes black.
Disconnect the USB cable, put the battery back and just power on the phone it will enter into recovery automatically. (It takes about 40 secs to enter recovery 1st time after NVFlash)
Install DualBoot-Control.zip and select Enable Dual Boot option. The phone will reboot (if supported by recovery) and enter in recovery again (if not select reboot recovery from recovery).
Make a full wipe just in case to avoid boot-loops and format /system because it may not be formatted by ROM’s updater-script (mounts and storage --> format /system)
Now flash ROM1 (or restore a nandroid backup of ROM1) and without rebooting install DualBoot-Control.zip, select ROM1 update and reboot when it finishes.
When the phone completely boots, you will find an app called SystemChanger, launch it and click Switch ROM, it will ask you for root rights, click yes, the phone will reboot quickly, press and hold Pwr button + vol down when the screen goes black to enter recovery, if the phone doesn't go to recovery, remove the battery, plug it again and enter recovery.
Format /system (the 2nd system now), because it may not be formatted by ROM’s updater-script.
Now flash ROM2 and without rebooting install DualBoot-Control.zip, select ROM2 update and reboot when it finishes. (Attention: do not restore a backup of ROM2 because it will wipe data files of ROM1)
And that is all, if you want to switch to ROM1, as before, run SystemChanger and click Switch ROM.
Note for those having experienced the older version 2: No need to add boot images in Dual-ROM zips any more.
How to change/update a ROM or Kernel
You have to be on the ROM you want to change/update.
Enter Recovery
If you are changing the ROM or kernel and/or a wipe is needed, install the DualBoot-Control.zip and select Wipe current ROM data.
Flash the ROM or kernel and before reboot install the DualBoot-Control.zip and select ROM1 update if you flashed ROM1 or ROM2 update if you flashed ROM2.
Info: There is also the wipe-rom-x-data.sh in /data/dual-boot/ which can be used to delete the non-running Rom’s data. You can also run this from terminal or adb shell to clean the data of the non-running Rom quickly. For example if you are on ROM1 and you want to change the ROM2 run the script, switch to ROM2 but when screen goes black press pwr & vol- to enter recovery.
How to disable Dual Boot
You have to be on the ROM you want to keep.
Enter Recovery
Install the DualBoot-Control.zip and select Remove Dual Boot. This will wipe the data of the other ROM and will also remove the SystemChanger app and scripts. Useful if you want to make a clean nandroid backup, to restore after a repartitioning to normal layout with AIO-Toolkit.
Enjoy it !!
Wow......one thing i ws missing on NEW BL......thank you so much....now can hold onto this phone for 1more year....
This is just Aweosme <3 will give a try for sure ! LG O2X still the Crazy phone will try today eveng and comment back again ! can i try CM10.1 & V30B (Roms available) ???
Kudooos 4 ur post
This is what i need, i often flash rom 1 to another and restore my app and setting manualy... with this i would keep my daily rom and other for testing
thanks good job
Spyrosk, again, CONGRATULATIONS, this is another great product useful for all of us. To drop the bomb; i think you should add this in AIO, it would be natural if possible. Ive tested this during the weekend, its more easy than the previous gb version. Huge thanks for doing this spyrosk and also huge thanks to Bihariel who did the gb version, you have my deepest respect
Let me give you another challenge lol
It should be possible to.......no no, I must shut up now.
Thanks mate
Nice ! Trying soon... :fingers-crossed:
SuperSkill said:
Spyrosk, again, CONGRATULATIONS, this is another great product useful for all of us. To drop the bomb; i think you should add this in AIO, it would be natural if possible. Ive tested this during the weekend, its more easy than the previous gb version. Huge thanks for doing this spyrosk and also huge thanks to Bihariel who did the gb version, you have my deepest respect
Let me give you another challenge lol
It should be possible to.......no no, I must shut up now.
Thanks mate
Click to expand...
Click to collapse
Thank you too again.
No, don't give me another challenge now. :laugh:
I am thinking on making a v3 version for old bootloader too, or even better a v4 hybrid one for both bootloaders. So I do have work for now.
Yes I could integrate that into AIO-toolkit eventually in an "Addvanced Options" menu , but let's see how it is working, when more users will try it and "cure" any "baby sicknesses" that may come up first.
I can't thank you enough for your testing it so thoroughly.
I really appreciate it.
i don't really understand how this dual boot work
but, can i use my internal sd card for booting stock-based custom rom and using my external one for booting CM10 based rom?
what about ics and gingerbread on dual boot!?
jhonjames09 said:
what about ics and gingerbread on dual boot!?
Click to expand...
Click to collapse
you couldn't do that unless someone release GB rom for ics bootloader (is that even possible?)
Nice man" I ll try it soon!
jhonjames09 said:
what about ics and gingerbread on dual boot!?
Click to expand...
Click to collapse
babi_perang said:
you couldn't do that unless someone release GB rom for ics bootloader (is that even possible?)
Click to expand...
Click to collapse
I don't know if this will be ever possible or if it's worth trying it.
The only thing that can be done at the moment, is having one 370MB & one 512MB system partitions on the upcoming gb dual-boot version for installing the tonyp's and harsh's full ics 28g version as 2nd ROM on old bootloader.
I installed yesterday dual boot on my 2X and worked fine without any problems!
Great tool Spyrosk!!
You have done our life easier!!!
Thank you for dual boot
is indeed something very special!!!
It works beautifully for me,
the P990 is significantly upgraded:laugh:
And what about dual boot with linux?
tomsi91 said:
And what about dual boot with linux?
Click to expand...
Click to collapse
What do you mean? Read step 3 carefully.
3.Go to the folder NewBL-DualBoot-Partition-resizer and run flash.bat (or flash.sh for linux) follow on-screen instructions and wait until NVFlash process finishes and the screen goes black.
sorry, i didnt see it with linux
EDIT: no sorry. i mean, i want to dualboot android/linux (debian, ubuntu, etc.).
tomsi91 said:
sorry, i didnt see it with linux
EDIT: no sorry. i mean, i want to dualboot android/linux (debian, ubuntu, etc.).
Click to expand...
Click to collapse
And iOS & Windows Mobil 8...
How about flashing the second rom that have aroma installer??

[HOWTO] Changing Filesystem to F2FS on the Sprint S4

This guide is for the Sprint Galaxy S4 only and as of now it is only compatible with two kernels: KToonsez S4 Kernel 4.4 AOSP (4/17 or later) and PoKernel 1.7 F2FS ONLY Build. This guide CANNOT be used on Touchwiz or Android 4.3 yet. I will update it when and if that becomes possible
*Disclaimer: You are doing this to your phone under your own consent. This is an experimental procedure and may not work on some hardware revisions or on devices where certain conditions are not met. You assume all the risk by flashing any of the software below or changing your filesystems. I am not responsible if your phone does not work based on the method I am describing below. Modify at your own risk.
This guide had to be updated in order to correct misinformation. The guide will follow KT's instructions explicitly until it gets to the formatting of the system partition
***If you want to format your /system partition to F2FS please read that section first as it requires steps to be taken from your currently working AOSP rom!***
First, go this link download the file:TWRP-KT.ALL-IN-1.zip
http://goo.gl/HLz4al
Formatting Data and Cache to F2FS
NOTE: Follow these steps EXACTLY, do NOT add or remove any steps, period!!!!
1. Backup everything from your internal SD to your PC or external SD, since the entire internal SD is going to get wiped out with format!!!!!!!!!!
2. Download the files from the folder that you got these instructions from (Ignore the OLD WAY folder) and SAVE TO THE EXTERNAL SD!!!
3. ONLY DO THIS STEP IF YOU ARE ON AN OLD VERSION OF MY TWRP. Flash TWRP-KT.ALL-IN-1.zip (this is what gives us the ability to format using F2FS)
4. Reboot recovery
5. Go to "Settings" and check the box to force F2FS for data and cache (you can also check the box to include /system partition if you want to convert your ROM's zip to use that too)
6. Go to "Wipe->Advanced" option and wipe the "Cache" partiton
7. Go to "Wipe->Format Data" option (THIS WIPES YOUR ENTIRE INTERNAL SD CARD, all files and folders, all gone so make a backup to your external SD or PC!!!!!!!!!!!!!)
8. This step you have 2 choices:
A. Flash your ROM/gapps to start completely fresh
B. Go to restore option and ONLY restore your "Data" (you can also restore /system if you are doing the f2fs conversion on /system partition too)
9. ONLY DO THIS STEP IF YOU INSTALLED A NEW ROM. Flash my newest kernel (needs to be a kernel dated 05.05.2014 or newer)
10. DONE!!!!!!!!!!!!!
11. KTweaker has a new option under "Tools" screen to "Get Partition info" to double check your work.
Formatting System Partition with F2FS (Required: KT SGS4 Kernel 4/28 or later!)
Steps:
1.) Before doing any F2FS conversion with the above instructions, use your currently working AOSP ROM to grab the AOSP 4.4 Kernel from HERE (4/28 or later only!) and save it to your external memory card
2.) Once it is saved reboot to recovery and install it (Flashing a kernel in TWRP is Install -> Folder where kernel is -> Click KT 4/28 kernel -> Swipe to install -> Clear cache/dalvik -> Main menu -> click advanced -> Fix Permissions -> Reboot to system)
3.) After you are back in your working AOSP ROM with KT 4/28 kernel installed, download the AOSP rom you want to use and save it to your external sd card (You can leave the filename as it is, the program will rename it for you)
4.) Open KTweaker and click "Tools" and at the very bottom choose "F2FS: Convert ROM ZIP"
5.) It will ask you to locate the file, ask if you're sure, and then it will do the conversion; upon completion the zip file that was created will have "-F2FS.zip" at the end of it
6.) Now you can follow the steps above, but when you get to step 9A you will use the "-F2FS.zip" file instead of the standard ROM file
This procedure is necessary because KTweaker changes your favorite ROM to pass the command mkfs.f2fs so that your system partition is formatted to F2FS before the files are installed. I did this myself to verify and it works a treat. One crucial step to remember though is that after you install your F2FS converted ROM you absolutely must install KT's kernel so your phone will boot.
Returning to EXT4
NOTE: Follow these steps EXACTLY, do NOT add or remove any steps, period!!!!
1. Backup everything from your internal SD to your PC or external SD, since the entire internal SD is going to get wiped out with format!!!!!!!!!!
2. Download the files from the folder that you got these instructions from (Ignore the OLD WAY folder) and SAVE TO THE EXTERNAL SD!!!
3. ONLY DO THIS STEP IF YOU ARE ON AN OLD VERSION OF MY TWRP. Flash TWRP-KT.ALL-IN-1.zip (this is what gives us the ability to format using F2FS)
4. Reboot recovery
5. Go to "Settings" and uncheck the box to force F2FS for data and cache (If you checked the box to include /system partition uncheck it first)
6. Go to "Wipe->Advanced" option and wipe the "Cache" partiton
7. Go to "Wipe->Format Data" option (THIS WIPES YOUR ENTIRE INTERNAL SD CARD, all files and folders, all gone so make a backup to your external SD or PC!!!!!!!!!!!!!)
8. This step you have 2 choices:
A. Flash your ROM/gapps to start completely fresh
B. Go to restore option and ONLY restore your "Data" (you can also restore /system if you are doing the f2fs conversion on /system partition too)
9. ONLY DO THIS STEP IF YOU INSTALLED A NEW ROM. Flash my newest kernel (needs to be a kernel dated 05.05.2014 or newer)
10. DONE!!!!!!!!!!!!!
11. KTweaker has a new option under "Tools" screen to "Get Partition info" to double check your work.
FAQ
Q: Why can't I use this on Touchwiz?
A: It has been developed for the most recent Linux kernel 3.8 and has been implemented in kernels built for 4.4.x OSP builds. This isn't to say it cannot be used on Touchwiz, it is a filesystem and as long as there is a kernel that offers support for reading it installed on your device it should theoretically work on your hardware. However, this can be proven/disproven by the devs here and I will update this answer if it cannot be implemented in a backwards fashion.
Q: Are there advantages to using F2FS?
A: It is built and intended for use on flash filesystems which our devices run exclusively. So since it was developed for flash memory there will be a benefit to using it as it matures. However, this does not imply that benchmarks will increase or your whole phone will become more responsive, its intent is to have files be accessed and written more efficiently. It is supposedly also built for the long-term user who does not constantly reformat their devices because it is supposed to handle large amounts of old files and cleaning more effectively that EXT4. Source: https://www.kernel.org/doc/Documentation/filesystems/f2fs.txt
Q: Will this trip Knox?
A: No more than installing a custom recovery would. So if you already had a custom recovery (Read: TWRP, PhilZ, CWM) in place you are safe following this guide. For now of course; I do not know if there will be another iteration of Samsung software that locks down the device futher.
Q: Can I clear Cache and Dalvik to troubleshoot after changing my filesystem?
A: I tried this myself and the answer is yes. As long as you are using the F2FS custom recovery made by KToonsez you can wipe Cache and Dalvik from recovery and it will rebuild your system. Something I did notice is that first boot will stay on the splash screen longer with F2FS than with EXT4. I saw it hang on the splash screen of my Liquid rom for an extra minute before actually booting and showing cache rebuild. **Your Mileage May Vary**
Q: Why isn't the System Partition formatted into F2FS?
A: This can be done now with KTweaker. See section above.
Q: What ROMs can I use with this filesystem?
A: Any 4.4.x rom (most are 4.4.2 now) that is compatible with either KToonsez S4 AOSP kernel or Pokernel 1.7 F2FS Only.
Q: In Advanced Wipe, Preload has been added to the options of things to wipe. Should I?
A: Ktoonsez answer found HERE was that he has never wiped preload. So I suggest against it unless you know what you are doing.
Thanks
Linux, Google, and Samsung (all this neat stuff comes from those communities)
TWRP Team for their custom recovery and its updates
Ktoonsez for his awesome kernel and the modified recoveries
CPA Poke for his awesome kernel that has F2FS support baked in
LuigiBull23 for edits and reminding me to add content
XDA for giving us a place to host experimental phone procedures
The XDA Devs for all the work they do for us with their time
The XDA community for providing feedback and making this a great place to hang out
If I forgot anyone specifically please let me know and I will update this section or any section
Enjoy and let us know how it works on your device!
Great guide my friend!
delete
Thanx great guide
Sent from my SPH-L720 using XDA Premium 4 mobile app
Great guide OP! Always nice to have a thread to link to.
I'm sure it's been talked about but your posts doesn't mention the ramdisk files. They're listed but not talked about. Now I'm somewhat limited myself in understanding everything there is to know about these things but are those files to do with eventually formatting the system partition to f2fs?
May be worth putting a little note in there regarding those files... You know how some folks go flash crazy once in recovery lol
Sent from my SCH-I545 using Tapatalk
Mistertac said:
Great guide OP! Always nice to have a thread to link to.
I'm sure it's been talked about but your posts doesn't mention the ramdisk files. They're listed but not talked about. Now I'm somewhat limited myself in understanding everything there is to know about these things but are those files to do with eventually formatting the system partition to f2fs?
May be worth putting a little note in there regarding those files... You know how some folks go flash crazy once in recovery lol
Sent from my SCH-I545 using Tapatalk
Click to expand...
Click to collapse
Hello again.. Lol
The ramdisk mod is now obsolete as it's already included in the kernel zip, which will automatically determine whether you're still on EXT4 or F2FS and make the required changes to the ramdisk accordingly. So no need to flash anything but the kernel as usual after following the steps.
OK yea I figured it was either to do with what I said or to do with the kernel obviously. Just figured I'd ask anyways
Sent from my SCH-I545 using Tapatalk
I'll be the first to admit that I wasn't entirely sure what the ramdisk files were for. I knew they might have been for advanced users considering they were offered, but not listed in the instructions. I didn't know for sure and I didn't want to use the word "obsolete" because, well, I was so wrong before
I am glad LuigiBull23 jumped in and answered that for us. I'll get it added into the the guide so future users know what they are or are not used for. Keep the questions coming, I love learning about this stuff!
I'll be the first to admit that I wasn't entirely sure what the ramdisk files were for. I knew they might have been for advanced users considering they were offered, but not listed in the instructions. I didn't know for sure and I didn't want to use the word "obsolete" because, well, I was so wrong before
I am glad LuigiBull23 jumped in and answered that for us. I'll get it added into the the guide so future users know what they are or are not used for. Keep the questions coming, I love learning about this stuff!
Click to expand...
Click to collapse
I understand. A lot of people were and still are confused about these files..
In short, during the testing phases of F2FS, KT compiled a separate zip for changes to the ramdisk that in turn would reflect the EXT4/F2FS mount points as a means to avoid possible bootloops and such. It was indeed a success and as a result was included in his kernel.
Now, upon flashing the kernel it is able to determine which partitions are formatted as EXT4 or F2FS and mod the ramdisk accordingly. He only left the files on his server in case he ever needed them again. So they are most definitely OBSOLETE. You certainly wouldn't have gone wrong using the term in this case.
Updated the guide for KT's new all-in-one TWRP recovery that will allow you to switch back and forth between F2FS and EXT4. I used his exact instructions from his guide in all areas except for the system formatting section which I wrote. If you are using his custom TWRP recovery go ahead and grab the new one so you can use it in the future!
F2FS with CM11 Nightly
When I used KTweaker to convert my latest CM 11 nightly, it came back and said that it was done but could not find all the lines to modify. Is this ok?
mwilder817 said:
When I used KTweaker to convert my latest CM 11 nightly, it came back and said that it was done but could not find all the lines to modify. Is this ok?
Click to expand...
Click to collapse
I know it has been forever since you posted this and I apologize for the late answer, but I imagine that if you received that error you got a bad download of CM11. I've personally converted the snapshot and several nightlies of CM11 and they all passed nicely.
So for anyone getting this, if you get a similar error message: Re-download the ROM you are converting
to bad its still not possible with touchwiz, love to use f2fs on a stock rom for my sgs4-lte.
is it possible in the near future that we can use f2fs on those devices with a Samsung stock rom, using another kernel is no problem.
or is this hard to tell ?
Hello, I've been trying to use this to change my filesystem because I'm coming from CM12 and I'm trying to flash a GPE rom on my S4. But after flashing I am rebooting straight to recovery. Also I'm using the latest TWRP.
RealMikeyTaylor said:
Hello, I've been trying to use this to change my filesystem because I'm coming from CM12 and I'm trying to flash a GPE rom on my S4. But after flashing I am rebooting straight to recovery. Also I'm using the latest TWRP.
Click to expand...
Click to collapse
Make sure you are using a version of TWRP that support F2FS. I don't think the standard issue TWRP does. @AntaresOne has one that does support F2FS and is based on the latest version (2.8.3.0). That's the one I use. Of course, I'm hooked on his CM12 ROM as well. He does really good work!!
mwilder817 said:
Make sure you are using a version of TWRP that support F2FS. I don't think the standard issue TWRP does. @AntaresOne has one that does support F2FS and is based on the latest version (2.8.3.0). That's the one I use. Of course, I'm hooked on his CM12 ROM as well. He does really good work!!
Click to expand...
Click to collapse
But doesn't it have to be in EXT4 for it to work for a GPE ROM?
RealMikeyTaylor said:
But doesn't it have to be in EXT4 for it to work for a GPE ROM?
Click to expand...
Click to collapse
You are probably right. I haven't tried the GPE ROM yet.
Sent from my SPH-L720 using XDA Free mobile app
RealMikeyTaylor said:
But doesn't it have to be in EXT4 for it to work for a GPE ROM?
Click to expand...
Click to collapse
Yup gpe uses ext4 on all partitions because it uses tw framework

[GUIDE] ROM flashing the easy way

We all know flashing ROMs got a lot more complicated with the advent of A/B partitions.
This is not my work, the aim here is only to highlight a process which simplifies the task.
Original post on the OnePlus 6 forum can be found here:
https://forum.xda-developers.com/oneplus-6/how-to/script-copy-oxygenos-base-partitions-to-t4097979
It makes use of a script which copies the flashed firmware to both slots without having to reboot recovery and do it a second time. Also by not having to reboot recovery you avoid the issue where internal storage becomes unreadable.
Credit for this goes to:
LineageOS @erfanoabdi @filipepferraz @Prakyy @drpradsms
Download by prakky (hit the thanks button on his post below):
https://androidfilehost.com/?fid=8889791610682890605
The following posts detail it's usage which you follow at your own risk.
Clean Flashing a new ROM
Disable lockscreen security
Boot TWRP 3.4+
1) Flash latest OOS
2) Flash ROM
3) Flash TWRP installer
4) Flash Finalize.zip
5) Format data; type 'yes' (backup as this wipes phone)
6) Boot System
Reboot recovery to flash additional zips.
Updating OOS base whilst on a custom ROM
Boot TWRP 3.4+
1) Flash latest OOS
2) Flash ROM
3) Flash TWRP installer
4) Flash Finalize.zip
5) Boot System
Reboot recovery to flash additional zips.
Updating a custom ROM (nothing fancy here)
Boot TWRP 3.4+
1) Flash ROM
2) Flash TWRP installer
3) Boot System
Reboot recovery to flash additional zips.
Reverting to OOS
WARNING I've yet to test this!
Boot TWRP 3.4+
1) Flash latest OOS
2) Flash Finalize.zip
3) Format data; type 'yes' (backup as this wipes phone)
4) Boot System
Note: this will revert you to stock recovery as well.
Tip:
Chain install the zips by selecting 'Add more Zips' after selecting the first zip.
Only 'Swipe to confirm Flash' once all zips have been queued.
I recommend numbering the zips in the order they need flashed.
Note: this issue is now resolved as of 09/08/20 as per https://forum.xda-developers.com/oneplus-6t/how-to/guide-rom-flashing-easy-t4143701/post83241857
As a side note and given that I show an OmniROM zip in the previous screenshots here's a fix required for flashing OmniROM.
I use Mixplorer to do the following.
1) Open the OmniROM weekly zip
2) Navigate to folder shown
3) Open metadata
4) Edit oneplus6t to OnePlus6T
5) Save metadata
OmniROM will now flash successfully in TWRP.
Nice post! Don't mean to be rude but is kinda redundant as my thread already existed: https://forum.xda-developers.com/oneplus-6/how-to/script-copy-oxygenos-base-partitions-to-t4097979
Prakyy said:
Nice post! Don't mean to be rude but is kinda redundant as my thread already existed: https://forum.xda-developers.com/oneplus-6/how-to/script-copy-oxygenos-base-partitions-to-t4097979
Click to expand...
Click to collapse
Didn't know your post existed. Only learnt about the method on Pixen OS thread which uses it and gives you credit as did I. A lot of people only look in their own phone forum. If you don't mind I'll leave this thread open. However if you aren't happy I'll ask a mod to close it.
Deleted. Think maybe I'm getting altimeters. ?
Prakyy said:
Nice post! Don't mean to be rude but is kinda redundant as my thread already existed: https://forum.xda-developers.com/oneplus-6/how-to/script-copy-oxygenos-base-partitions-to-t4097979
Click to expand...
Click to collapse
Edited first post to make it clearer this is your work.
mitchst2 said:
Didn't know your post existed. Only learnt about the method on Pixen OS thread which uses it and gives you credit as did I. A lot of people only look in their own phone forum. If you don't mind I'll leave this thread open. However if you aren't happy I'll ask a mod to close it.
Click to expand...
Click to collapse
You can keep it open ofc I don't mind.
However, yes, many people only see in their device's forums but since this script will work w/ any A/B device, is there a forum I could post in so that all device owners can see it??
Prakyy said:
You can keep it open ofc I don't mind.
However, yes, many people only see in their device's forums but since this script will work w/ any A/B device, is there a forum I could post in so that all device owners can see it??
Click to expand...
Click to collapse
Good question.
Is 'Android Development and Hacking / General' the right place? There are some all device guides with a lot of views in there.
https://forum.xda-developers.com/android/general
mitchst2 said:
As a side note and given that I show an OmniROM zip in the previous screenshots here's a fix required for flashing OmniROM.
I use Mixplorer to do the following.
1) Open the OmniROM weekly zip
2) Navigate to folder shown
3) Open metadata
4) Edit oneplus6t to OnePlus6T
5) Save metadata
OmniROM will now flash successfully in TWRP.
Click to expand...
Click to collapse
As of 09/08/20 build and this commit all is well with OMNI and TWRP again. No need to edit the ROM zip anymore.
Is there a proper way to switch from one custom rom to another without formatting the data? Encryption and A/B made the custom rom game so crazy and time taking now. Or maybe I lost track of things. I could always take a backup of storage on laptop but the backups are very huge, mostly 80gb+ and takes forever while backing up whatsapp databases with images thumbnails and all.
brajesh.sharma87 said:
Is there a proper way to switch from one custom rom to another without formatting the data? Encryption and A/B made the custom rom game so crazy and time taking now. Or maybe I lost track of things. I could always take a backup of storage on laptop but the backups are very huge, mostly 80gb+ and takes forever while backing up whatsapp databases with images thumbnails and all.
Click to expand...
Click to collapse
No when switching ROM formatting data will be necessary. Not used it myself but others recommend Migrate to restore apps and data.
I was looking for a way to backup current rom using twrp, test a rom and then be back on the original rom with a twrp restore. If anyone finds a way to do this without format data, pls let me know.
brajesh.sharma87 said:
I was looking for a way to backup current rom using twrp, test a rom and then be back on the original rom with a twrp restore. If anyone finds a way to do this without format data, pls let me know.
Click to expand...
Click to collapse
I just restored PiXeN from AOSPA on 6t device and had no issues and I did NOT format my data or do anything but let TWRP do it's restore then rebooted system.. Just backup your system, data and boot partitions and restore them then reboot system. I didn't encrypt my backup using a pw in recovery. I also use magisk canary latest and the themed TWRP recovery 3.4.0-v1 from EvoX rom that acuicultor compiles and morphine1 themes. I've not restored yet using any other TWRP so not sure what works and what doesn't as far as that goes but the themed recovery works for me.
**Formatting data is unavoidable when installing an AOSP custom rom coming from stock OOS rom.
Edit
flash713 said:
I just restored PiXeN from AOSPA on 6t device and had no issues and I did NOT format my data or do anything but let TWRP do it's restore then rebooted system.. Just backup your system, data and boot partitions and restore them then reboot system. I didn't encrypt my backup using a pw in recovery. I also use magisk canary latest and the themed TWRP recovery 3.4.0-v1 from EvoX rom that acuicultor compiles and morphine1 themes. I've not restored yet using any other TWRP so not sure what works and what doesn't as far as that goes but the themed recovery works for me.
**Formatting data is unavoidable when installing an AOSP custom rom coming from stock OOS rom.
Edit
Click to expand...
Click to collapse
I had to mandatory format data when I wanted to move from evolution x to aospa.
brajesh.sharma87 said:
I had to mandatory format data when I wanted to move from evolution x to aospa.
Click to expand...
Click to collapse
And I've also had to format data before as well but not lately. Could it be because I format both slots coming from OOS or because I use Canary Magisk or the recovery I use.. No idea but next time you are on EvoX backup system, data and boot and try and restore it using that recovery that comes with EvoX and see what happens. These last few weeks I've stayed on AOSiP and PixeN and I flashed Omni once I think but restoring from AOSPA to Pixen was flawless for me and also restoring Pixen to Pixen was also fine, which I do because I always mess around with sound mods.... I'm on AOSiP now and soon as I get more charge on my phone I'm going to try and restore to something I have a backup already made on one of my USB drives and I'll edit this post and report what the outcome is...

Categories

Resources