[RECOVERY][SMI] Unofficial TWRP 3.2.1-0

Search This thread

Hazou

Senior Member
Feb 5, 2012
1,644
2,216
TWRP 3.2.1-0 recovery for Motorola Razr I (SMI/XT890)

I am not resposible for anything that happens, make sure u always have a backup on the external sd and on your pc!

Download links are in the Download section above.
Download the zip file, extract and flash through fastboot or what ever way u like.

Changelog:

Code:
TWRP 3.2.1-0-f2fs
[LIST]
[*] Updated TWRP with upstream changes
[*] Added F2FS support to the kernel
[/LIST]
TWRP 3.2.1-0
[LIST]
[*] Updated TWRP to 3.2.1-0
[/LIST]
TWRP 3.1.1-0
[LIST]
[*] Updated TWRP to 3.1.1-0
[*] Not build with Intel compiler. The UI is fast enough by itself + size reduction.
[/LIST]
TWRP 3.0.2-0
[LIST]
[*] Updated TWRP to 3.0.2-0
[*] Flashable zip available
[/LIST]
TWRP 3.0.1-0
[LIST]
[*] Updated TWRP to 3.0.1-0
[/LIST]
TWRP 3.0.0.0
[LIST]
[*] Updated to 3.0.0.0
[*] OMNI rom 6.0 base
[/LIST]
TWRP 2.8.6.0
[LIST]
[*] Updated to 2.8.6.0
[*] CM12 as Base
[*] Removed "Increased overal performance" update, recoveryimage to big. But most likely u won't notice a thing!
[/LIST]
TWRP 2.8.5.0
[LIST]
[*] Updated to 2.8.5.0
[/LIST]
TWRP 2.8.4.1
[LIST]
[*] Increased overal performance
[/LIST]
TWRP 2.8.4.0
[LIST]
[*] Fixed MTP support
[*] All changes from TeamWin!
[/LIST]
TWRP 2.8.1.0
[LIST]
[*] Fixed partition wipe problem (using 'discard' now instead of 'secdiscard')
[*] All changes from TeamWin!
TWRP 2.8.0.1
[/LIST]
[LIST]
[*] Updated for Android 4.4+
[*] Remove PDS partition backup
[*] Full SELinux support added
[*] UI feels snappier
[*] All changes from TeamWin!
[/LIST]
TWRP 2.6.3
[LIST]
[*]Maybe fixed system format
[*]Proper backup and restore of SELinux contexts (thanks to Tassadar)
[*]Pull in some ROM information for backup name generation
[*]Merge all recent patches from AOSP bringing TWRP up to date with Android 4.3
[*]Add 1200x1920 theme (thanks to Tassadar)
[*]A few other fixes and tweaks
[/LIST]
TWRP 2.6.1.1
[LIST]
[*]Fixed the error: 'Assert Failed' problem
[/LIST]
TWRP 2.6.1
[LIST]
[*]Initial SELinux support (not for SMI)
[*]Initial support for f2fs file system formatting (Moto X)
[*]Update SuperSU install for 4.3 ROMs
[*]Fixed a permissions bug on files created during backup
[*]Fixed a bug that caused TWRP to not wait for compressed backups to finish causing 0 byte files and md5sums to not match
[*]Fixed decryption of encrypted data so that both TouchWiz and AOSP decryption are possible
[*]Ignore lost+found folder during backup and size calculations
[*]Various other minor bug fixes and tweaks
[*][B]Fixed slowness of recovery. Fast as hell compared to the old one :D[/B]
[/LIST]
TWRP 2.6
[LIST]
[*]Can encrypt a backup to prevent theft of private data from your backup files
[*]Updated graphics / icon courtesy of shift
[*]Updated exFAT to latest commits
[*]Fixed a problem with Samsung TouchWiz decryption
[*]Update SuperSU binary
[*]Fixed saving of backup partitions list
[*]Fixed saving of last used zip install folder
[*]Fixed backup of datadata on devices that use a separate partition for datadata
[*]Fixed some issues with the advanced wipe list (android_secure, can now wipe internal storage on data/media deivces and wipe data on the advanced list no longer formats the entire data partition)
[*]Fixed some problems with partitioning a SD card
[*]Various other bug fixes and tweaks
[*]Battery percentage can now be seen and is working correctly for XT890
[/LIST]

Boot problems? U most likely still have the ICS bootloader on the device. But I and @tablord already tackled this issue some time ago:

Download this: https://github.com/HazouPH/smi_patch...e/motoboot.zip

Now:
-reboot in bootloader
- "fastboot oem fb_mode_set"
- "fastboot flash motoboot motoboot"
- "fastboot reboot-bootloader"
- "fastboot oem fb_mode_clear"

Credits:
  • TeamWin
  • Turl1

Hazou

XDA:DevDB Information
[RECOVERY][SMI] Unofficial TWRP 3.2.1-0, ROM for the Motorola RAZR i

Contributors
Hazou
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.0.x

Version Information
Status: Stable
Current Stable Version: 3.2.1-0-f2fs
Stable Release Date: 2018-03-23

Created 2015-07-27
Last Updated 2018-03-23
 
Last edited:

HSD-Pilot

Senior Member
Jan 22, 2012
3,492
2,420
NRW
Google Pixel 6
Nice, i'll give it an try after work.

Edit: Works flawless here. Just flashed Omars Rom over Retail GB JB. Finally the ability to flash multiple Zips in one Process > I missed it.
Thanks for your Work!

Gesendet von meinem XT890 mit Tapatalk 2
 
Last edited:
  • Like
Reactions: Arwany

Marco Lomas

Senior Member
Feb 17, 2012
801
206
Ty so much, im gonna try it in a couple hours :D

Intel device - Razr i Owner
Hit thanks if i help you or you like my style
 

-AdMiRaL-

Member
Jan 30, 2009
38
15
Thank you Hazou,
It works on my phone too. :good: I agree, like it more than CWM. Just did a full backup. Backup files look good.
 

dog121

Senior Member
Oct 24, 2011
1,437
601
london
Nice one agreed much better than cwm
Great stuff thanks

Sent from my XT890 using xda premium
 

wozn

Senior Member
Aug 8, 2012
245
93
Fantastic. Thanks, much prefer team win, been using it on my nexus 7 and it has its advantages
 

lebobo

Senior Member
Jul 18, 2009
436
259
Liège
External SDCard = 0 MB with TWRP

I just installed it and I cannot make a backup to my EXTERNAL SDCard. TWRP say that my external SDCard size is 0MB.
If I try to backup with CWM to the same SDCard, it works fine...
Can someone confirm there is a bug about it ?

-----
I solved my issue : i re-downloaded and re-flashed and now it works fine !
 
Last edited:
  • Like
Reactions: Hazou

HSD-Pilot

Senior Member
Jan 22, 2012
3,492
2,420
NRW
Google Pixel 6
Nope, works fine here. Already tried all the important stuff (backup > flash > restore) and got no problems. External SD is recognized.

Gesendet von meinem XT890 mit Tapatalk 2
 

Attachments

  • uploadfromtaptalk1368643453999.jpg
    uploadfromtaptalk1368643453999.jpg
    35.6 KB · Views: 3,079

Hazou

Senior Member
Feb 5, 2012
1,644
2,216
I just installed it and I cannot make a backup to my EXTERNAL SDCard. TWRP say that my external SDCard size is 0MB.
If I try to backup with CWM to the same SDCard, it works fine...
Can someone confirm there is a bug about it ?

hmm, cant think of anything that can fix your problem at the moment. Sry, maybe a reflash/redownload?
 
  • Like
Reactions: Rangnarok

lebobo

Senior Member
Jul 18, 2009
436
259
Liège
Windows installer to flash TWRP recovery

I made a simple Windows installer to flash TWRP recovery (and to restore stock recovery or CWM Recovery).
This installer is adapted from @mattlgroff CWM installer (thanks for his work : all credits for him !)

I only cleaned the code and adapted it to be used with TWRP.
You can download it here : http://xdaforums.com/showthread.php?p=41479852#post41479852
 
Last edited:

hypophysis

Senior Member
Oct 12, 2009
114
122
Neuburg a.d. Donau
Thanks a lot for this recovery. I like it way more than CWM.

I packaged it in a flashable ZIP and flashed it through CWM. If anyone is interested in the ZIP, just tell me, I could post it if there is a demand.

Any idea why both recoveries are so sluggish on our otherwise so quickly reacting RAZR i?
 

Hazou

Senior Member
Feb 5, 2012
1,644
2,216
Nope, I don't know yet why both Recovery's GUI work slow. I am looking into it, but this far I don't know. The strange thing is that the stock recovery works fast and when I put the graphic file from there in our recovery it is still slow. But maybe we can find something.

Sent from my XT890 using xda app-developers app
 

Omar-Avelar

Senior Member
Feb 3, 2013
1,119
2,235
Nope, I don't know yet why both Recovery's GUI work slow. I am looking into it, but this far I don't know. The strange thing is that the stock recovery works fast and when I put the graphic file from there in our recovery it is still slow. But maybe we can find something.

Sent from my XT890 using xda app-developers app

If you check with top you can see kworker threads eating a lot of cpu cycles while in recovery (30%). I even tried a different Kernel on the recovery thinking it was a Kernel bug but it is showing the same slow performance. I was unable to find the source of the issue but I would guess it is not the graphics.c / framebuffer configuration ;/
 
  • Like
Reactions: Hazou

Hazou

Senior Member
Feb 5, 2012
1,644
2,216
If you check with top you can see kworker threads eating a lot of cpu cycles while in recovery (30%). I even tried a different Kernel on the recovery thinking it was a Kernel bug but it is showing the same slow performance. I was unable to find the source of the issue but I would guess it is not the graphics.c / framebuffer configuration ;/

Ah oke, I already thought that it couldn't be it. Because that file is just a loader for the driver. Ty for the confirmation. I did read in another post to lock the CPU in high frequency. Could that help?

Sent from my XT890 using xda app-developers app
 

Omar-Avelar

Senior Member
Feb 3, 2013
1,119
2,235
Ah oke, I already thought that it couldn't be it. Because that file is just a loader for the driver. Ty for the confirmation. I did read in another post to lock the CPU in high frequency. Could that help?

Sent from my XT890 using xda app-developers app

Will not help, it will only make the phone get hotter. In fact the Kernel's CPU governor still exists in recovery so it is better to let it scale down at 600 MHz when CPU usage is low -- and ramp up when needed. Problem is someone/somewhere is still taxing the CPU and making kworker use a lot of cycles -- it could be a bad module or a device causing a bunch of interrumpts, no idea at this point.

But definetly making the CPU processor be stuck at max is not the solution (IMO) :D
 

Top Liked Posts

  • There are no posts matching your filters.
  • 87
    TWRP 3.2.1-0 recovery for Motorola Razr I (SMI/XT890)

    I am not resposible for anything that happens, make sure u always have a backup on the external sd and on your pc!

    Download links are in the Download section above.
    Download the zip file, extract and flash through fastboot or what ever way u like.

    Changelog:

    Code:
    TWRP 3.2.1-0-f2fs
    [LIST]
    [*] Updated TWRP with upstream changes
    [*] Added F2FS support to the kernel
    [/LIST]
    TWRP 3.2.1-0
    [LIST]
    [*] Updated TWRP to 3.2.1-0
    [/LIST]
    TWRP 3.1.1-0
    [LIST]
    [*] Updated TWRP to 3.1.1-0
    [*] Not build with Intel compiler. The UI is fast enough by itself + size reduction.
    [/LIST]
    TWRP 3.0.2-0
    [LIST]
    [*] Updated TWRP to 3.0.2-0
    [*] Flashable zip available
    [/LIST]
    TWRP 3.0.1-0
    [LIST]
    [*] Updated TWRP to 3.0.1-0
    [/LIST]
    TWRP 3.0.0.0
    [LIST]
    [*] Updated to 3.0.0.0
    [*] OMNI rom 6.0 base
    [/LIST]
    TWRP 2.8.6.0
    [LIST]
    [*] Updated to 2.8.6.0
    [*] CM12 as Base
    [*] Removed "Increased overal performance" update, recoveryimage to big. But most likely u won't notice a thing!
    [/LIST]
    TWRP 2.8.5.0
    [LIST]
    [*] Updated to 2.8.5.0
    [/LIST]
    TWRP 2.8.4.1
    [LIST]
    [*] Increased overal performance
    [/LIST]
    TWRP 2.8.4.0
    [LIST]
    [*] Fixed MTP support
    [*] All changes from TeamWin!
    [/LIST]
    TWRP 2.8.1.0
    [LIST]
    [*] Fixed partition wipe problem (using 'discard' now instead of 'secdiscard')
    [*] All changes from TeamWin!
    TWRP 2.8.0.1
    [/LIST]
    [LIST]
    [*] Updated for Android 4.4+
    [*] Remove PDS partition backup
    [*] Full SELinux support added
    [*] UI feels snappier
    [*] All changes from TeamWin!
    [/LIST]
    TWRP 2.6.3
    [LIST]
    [*]Maybe fixed system format
    [*]Proper backup and restore of SELinux contexts (thanks to Tassadar)
    [*]Pull in some ROM information for backup name generation
    [*]Merge all recent patches from AOSP bringing TWRP up to date with Android 4.3
    [*]Add 1200x1920 theme (thanks to Tassadar)
    [*]A few other fixes and tweaks
    [/LIST]
    TWRP 2.6.1.1
    [LIST]
    [*]Fixed the error: 'Assert Failed' problem
    [/LIST]
    TWRP 2.6.1
    [LIST]
    [*]Initial SELinux support (not for SMI)
    [*]Initial support for f2fs file system formatting (Moto X)
    [*]Update SuperSU install for 4.3 ROMs
    [*]Fixed a permissions bug on files created during backup
    [*]Fixed a bug that caused TWRP to not wait for compressed backups to finish causing 0 byte files and md5sums to not match
    [*]Fixed decryption of encrypted data so that both TouchWiz and AOSP decryption are possible
    [*]Ignore lost+found folder during backup and size calculations
    [*]Various other minor bug fixes and tweaks
    [*][B]Fixed slowness of recovery. Fast as hell compared to the old one :D[/B]
    [/LIST]
    TWRP 2.6
    [LIST]
    [*]Can encrypt a backup to prevent theft of private data from your backup files
    [*]Updated graphics / icon courtesy of shift
    [*]Updated exFAT to latest commits
    [*]Fixed a problem with Samsung TouchWiz decryption
    [*]Update SuperSU binary
    [*]Fixed saving of backup partitions list
    [*]Fixed saving of last used zip install folder
    [*]Fixed backup of datadata on devices that use a separate partition for datadata
    [*]Fixed some issues with the advanced wipe list (android_secure, can now wipe internal storage on data/media deivces and wipe data on the advanced list no longer formats the entire data partition)
    [*]Fixed some problems with partitioning a SD card
    [*]Various other bug fixes and tweaks
    [*]Battery percentage can now be seen and is working correctly for XT890
    [/LIST]

    Boot problems? U most likely still have the ICS bootloader on the device. But I and @tablord already tackled this issue some time ago:

    Download this: https://github.com/HazouPH/smi_patch...e/motoboot.zip

    Now:
    -reboot in bootloader
    - "fastboot oem fb_mode_set"
    - "fastboot flash motoboot motoboot"
    - "fastboot reboot-bootloader"
    - "fastboot oem fb_mode_clear"

    Credits:
    • TeamWin
    • Turl1

    Hazou

    XDA:DevDB Information
    [RECOVERY][SMI] Unofficial TWRP 3.2.1-0, ROM for the Motorola RAZR i

    Contributors
    Hazou
    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.0.x

    Version Information
    Status: Stable
    Current Stable Version: 3.2.1-0-f2fs
    Stable Release Date: 2018-03-23

    Created 2015-07-27
    Last Updated 2018-03-23
    8
    New version online, TWRP 2.6!

    Hazou
    7
    It seems like, here is what i get:
    Code:
    Installing '/external_sd/clockworkmod/RazRi_JB_X-M7_FO-Test.zip'...
    Checking for MD5 file...
    I:Cannot find file /external_sd/clockworkmod/RazRi_JB_X-M7_FO-Test.zip.md5
    Skipping MD5 check: no MD5 file found.
    script aborted: assert failed: getprop("ro.product.device") == "smi" || getprop("ro.build.product") == "smi"
    assert failed: getprop("ro.product.device") == "smi" || getprop("ro.build.product") == "smi"
    E:Error executing updater binary in zip '/external_sd/clockworkmod/RazRi_JB_X-M7_FO-Test.zip'
    Error flashing zip '/external_sd/clockworkmod/RazRi_JB_X-M7_FO-Test.zip'

    I'm on Retail Central Europe "CFC_9.8.2I-50_SMI-26_S7_USASMIJBRTEU" with Omar JB-X Rom, if that helps.

    Ah, I know the problem. Will fix it asap. In the mean time u can delete those lines (the first 2 lines) from the update-scirpt in the zip files. Sorry for that.

    BTW, i can make this improvement work on cwm. But it will take some time and testing.

    Sent from my GT-P5110 using XDA Premium HD app
    4
    Uploaded new version, I think u gona like it :)

    Sent from my GT-P5110 using XDA Premium HD app
    4
    Windows installer to flash TWRP recovery

    I made a simple Windows installer to flash TWRP recovery (and to restore stock recovery or CWM Recovery).
    This installer is adapted from @mattlgroff CWM installer (thanks for his work : all credits for him !)

    I only cleaned the code and adapted it to be used with TWRP.
    You can download it here : http://xdaforums.com/showthread.php?p=41479852#post41479852