yashsingh1/xdaforums huggingface dataset:
[Motorola Droid RAZR] Ohmster:
Ouch! I posted instructions on how to do this in my Online Guide but I am repeating what I was told, not from actual experience. I do plan to do this very soon though.

[MENTION=6303356]Krauzaa[/MENTION] is there any way that you can be more (VERY) specific as to what the actual error message is in it's entirety? I know this is difficult because it is now history and your memory is not that good, mine isn't either. But if you can repeat this and write down the error, exactly, it would help us diagnose this a LOT. One possibility that sort of scares me is that the Safe Strap files are actually in the stock partition. So by totally wiping the crud out of it, you might have deleted crucial safe strap files.

I am not 100% sure of this though. Plenty of others have done this and it worked for them. One thing I would think is that once safe strap loads into system memory, it "should" run enough to flash CM11 and gapps. But once done, you would really, really need the Safe Strap apk file on the sdcard and immediately boot to stock and reinstall it because after wiping the stock system, Safe Strap would really now be gone. The link I gave you to Safe Strap is the new 3.75, follow the instructions in the README.txt file to the letter to install it. That is why I really need to see that error.

[MENTION=5711114]Bobcus Leper[/MENTION] is the first one to instruct me on this. He even sent photos of the process taken with another camera. I can attach them here.

His original post of instructions is here:

http://xdaforums.com/showpost.php?p=55854807&postcount=6141

I will attach the photos he made too. Brian *did* also erase all of his internal storage when he did this, I do not believe you have to do this or your will completely erase your entire internal sdcard. He also says to do a factory reset. I do not believe that this is necessary. Others that have done it did not have to do a reset.

I believe that what I wrote in the Online Guide in my signature should work for you, see part:

The procedure to install CM11 to Stock Slot is:

You MUST have good files that are not corrupted AND one issue we have been having lately is finding good gapps to install with. The error might just be that gapps did not install. Tell us more about the error. I have the 03/01 pa-gapps as well as the 02/08 set. Either of these should install, although you might now have to visit the play store to update all the apps that need updating. And core Play Services should update in the background.

Give it a try and report back or get that exact error message so we can help you further. What kind of phone do you have, XT910 or XT912?
[Motorola Droid RAZR] ChungHung.Chen:
Hi, CM have a pre-check to your /data partition if you flash it over a non-CM system and will give you an error. If you are planning to flash CM from stock JB, please follow steps below. I've done this before in my Nexus 7 2012 from stock KK to CM11.

1. Flash stock JB rom / SuperSU / SafeStrap 3.75.

2. Install custom recovery from SafeStrap.

3. [Optional] Install TiBu and backup your apps(if any) and data to internal or external SD.

4. Reboot to recovery, do a factory reset to wipe your /data. (internal SD will keep.)

5. Wipe /system and flash CM zip, now you should be able to install without error.

6. Reboot and configure your new CM system, restore from TiBu if needed.

7. Enjoy your CM system.
[Motorola Droid RAZR] Krauzaa:
[MENTION=4245858]Ohmster[/MENTION] this is error like this,

Checking for MD5 file...
Skipping MD5 check: no MD5 file file found.
set_metadata_recursive: some changes filed
Error executing updater binary in zip...

I have XT910, and as i said in previous post, i have newest Safestrap from stargo.

[MENTION=3313632]ChungHung.Chen[/MENTION] Thanks, i will try it in Thursday when i came home and have much more time. Now i have CM on romslot. It not satisfied me but it works.
[Motorola Droid RAZR] neoramasay:
[MENTION=6303356]Krauzaa[/MENTION], [MENTION=4245858]Ohmster[/MENTION]

This is the exact same error message that I got when trying to install to stock, so I can confirm this particular thing operates the same between the xt912 and the xt910.

Krauzaa, if the steps mentioned by [MENTION=3313632]ChungHung.Chen[/MENTION] do indeed work for getting CM to install on stock, that would be awesome. That issue still bugs me, even after moving on to a different device (guess that's the tech support in me coming through ;))
[Motorola Droid RAZR] neoramasay:
[MENTION=4245858]Ohmster[/MENTION]

Wiping stock /system, /data, /cache, and /dalvik doesn't interfere with the SafeStrap recovery system, once it is installed. Just as one can uninstall the SafeStrap APK to re-install a new APK for it, you could, in theory, leave the SafeStrap APK out completely, and the installed recovery would continue to work. (Otherwise one wouldn't be able to even reboot your phone successfully after wiping the stock system at all!)
[Motorola Droid RAZR] Ohmster:
That is true. Once recovery is installed, you can uninstall Safe Strap apk and still have recovery. It would be best to install it on the stock partition once you wipe it and install a new system so you have some way to manage it. Like reinstall the safestrap apk in stock once a new system is in place and the app is no longer there. If you install the same version of safestrap as you had before, it should be able to remove recovery, uninstall safestrap, reinstall recovery if you wanted to.

What I was concerned about are the safe strap files. These screenshots were taken from slot 1. I should recheck to make sure they are still there in the same location in stock mode. See attached screenshots.

I was actually going to try this tonight to get to the bottom of it, but I do not feel I am prepared for it yet. I want to be sure that I have all current apps and data backed up in Titanium Backup (I do) but also be able to restore ONLY the apps and data that are on the phone right now. I do not want to restore every app I ever backed up. Many of them are not installed but are backed up because I am not using them at this time. There is a batch mode in Titanium Backup to restore all missing apps and data, but does that restore what is on the phone right now or every app that I ever backed up? I have to find a way to make a profile or "some way" of restoring ONLY the current set of apps on the device right now. :(

Because I am restoring apps to the very same rom and build that I backed them up from, I am pretty sure it would be safe to restore all data with the apps, including system data.

EDIT:

I just sent an email to Titanium Backup tech, they are pretty good about answering emails within 24 hours. Maybe they can tell me if it is possible to make a list of installed apps and then restore ONLY that list of apps.
[Motorola Droid RAZR] neoramasay:
[MENTION=4245858]Ohmster[/MENTION]

It would be awesome if someone who has successfully installed CM11 in their Stock Slot could provide some screenshots for comparison!

Also, I will try doing the factory reset on my Razr (in it's current state without re-loading Stock JB+rerooting) to see IF that gets around this error when installing in stock. If it will allow me to install to stock without having to reload VZW JB on there, then that's definitely a win. (Plus I don't want to reload stock on there now, as i've found out that Stock VZW JB won't let the phone stay turned on unless it detects an active SIM card installed! x.x)
[Motorola Droid RAZR] ChungHung.Chen:
Hi, sorry that I forgot the GApps install. Here is the revised steps.

Flash stock JB rom and boot into stock to install SuperSU / SafeStrap 3.75.

Install custom recovery from SafeStrap.

[Optional] Install TiBu and backup your apps(if any) and data to internal or external SD.

Reboot to recovery, make a backup of your stock rom for fast recovery.

Do a factory reset to wipe your /data. (internal SD will keep.) Factory reset will erase whole /data(including dalvik-cache) and /cache.

Wipe /system and flash CM zip, now you should be able to install without error.

Once CM zip flashed, flash GApps / SuperSU

Reboot and configure your new CM system, reinstall and launch SafeStrap to make sure Recovery status is "Installed" (no need to re-install).

[Optional] Restore apps from TiBu.

Enjoy your CM system.

"Factory reset" option is in "Wipe" menu from TWRP recovery. When you enter wipe menu (but not enter "advanced wipe"), look at the slide bar in the bottom and you will find it. Factory reset will format/erase whole /data, but not including /data/media if simulated storage exists (for example: my nexus 7 2012), and /cache, .android_secure in your SD. It will clear ALL personal data to reset your system to a fresh new status, which you need to reconfigure from the beginning again. Why I didn't mention wipe cache/dalvik-cache because a factory reset already do the job.

Back to the SafeStrap, do you remember that I mentioned before no mater what zip you flashed into your system, you need to wait and see a "Updating partition details....." message in TWRP console? That's SafeStrap doing "self-injection" to your system to make sure the custom recovery work in next boot. As [MENTION=3315635]neoramasay[/MENTION] said, SafeStrap can be uninstalled AFTER recovery installed.
[Motorola Droid RAZR] Bobcus Leper:
!No no no no no! Once you have installed a ROM to the stock slot, there is no way to remove safestrap without a SBF. The stock slot will function just like a normal ROM slot (the only difference is that it has fixed partition sizes). Even if you can't get to the safestrap splash screen, you can still get to it in BP tools by the manual button combination. It is impossible to corrupt safestrap by installing to a stock slot.

Once a ROM is installed on the stock slot, DO NOT INSTALL THE SAFESTRAP APK WITH THE INTENT OF UNINSTALLING SAFESTRAP VIA THE UNINSTALL MENU IN THE SAFESTRAP APP! THIS WILL SOFT BRICK YOUR PHONE!
[Motorola Droid RAZR] d.casper.b:
Hmm. OK guys.

I've been running off stock for close to a year now. This is what I know:

The way I install a ROM to stock is exactly the way I install to a rom-slot (my procedure a few posts back). The issue being experienced here seems to be rare. Many people have flashed to stock already, and so we should have seen a lot more issues like this. So, perhaps the cause is not in the procedure.

Safestrap will not be removed or corrupted when a ROM is installed to stock.

I have installed the safestrap apk again with no issue once a new ROM was on stock - I use to do that when I was still new to working on the stock slot. Not too long ago I had to install the apk again so that I could uninstall the recovery and update it to version 3.75. No issues.

Bad Advice...

This is something you could probably ignore regarding Titanium Backup...

I backup some apps and their data and I use these backups in newly installed ROMs. I have been doing this whenever I've tried or switched to new ROMs. I tell you, I have never once had an issue. And I even restored apps to MIUI with no problems.

I backup simple things that I don't want to have to sign-in to again or setup again (Solid Explorer, WhatsApp...).

I don't do batch restores though, just choose the app I want to restore and restore one by one. But I just wanted to let you know.

All I really wanted to say here is that I have not once ever done anything special to install to stock. We do need to see what is causing this so as to be equipped for it though.

This post was created on a Motorola RAZR Maxx (XT910).
[Motorola Droid RAZR] sherri:
Batch restore in TiBu opens a list of all apps you have backups for. By default, they are all checked. Also, by default, it is set to restore app & data. I tap "uncheck all", then choose the ones I need app and data for (Light Flow, Tapatalk, Phone Weaver, any games that I earned "points" in...) I only check about 20 at a time, as it can sometimes freeze. I repeat til all apps that need data restored are there, then I repeat using batch mode, selecting only the apps I want, and using "restore app only"... TiBu is ALWAYS the first app I install.
[Motorola Droid RAZR] sShadowSs:
This is what I do to restore ONLY currently installed apps using TB:

make a TB backup of your current apps.

when you are ready to restore go to Batch Actions -> Hit RUN on 'Restore missing apps with data' -> Deselect all. Then on the bottom of the screen there is an option: Order by: switch that to Backup Date. It will re-order your apps and the ones on the top will be the ones you made the latest backup of. Just start selecting down the list and I'm sure you will know when you start seeing apps that you have not used and will know when to stop your selections. After you are done with your selections - restore.
[Motorola Droid RAZR] d.casper.b:
This is off topic, but razr related.

At the back of my phone by the camera/earphone jack, there is a crack right through the border. It is a little loose and if I touch it, it moves. Maybe I can glue it down, but I don't think that's a very good idea. I could maybe just stick a bit of tape on to protect it, but the tape will just come of and look silly.

My fear is that my casing is slowly falling apart.

I'm not going to get a new phone anytime soon, so perhaps I can get a casing? I can go to one of these "cell-phone repair shops" perhaps to fit it for me, because it's not the easiest of tasks. But these shops are run by foreigners, and I don't think I trust their quality of work.

But anyways, any ideas on the path I should take?

Edit: the first shop I asked said "No". Clearly they aren't capable and don't have proper equipment. Just as I thought.

Anyways, this is not something I can sort out anytime soon - just waiting for a shell/case takes forever since our post office is useless.

It looks like this will be a task that if I want it done, I will have to do it. Perhaps I could just replace the battery door/cover. This is probably also the safer option (I guess).

It solves the crack issue, but there are other parts in the housing that aren't looking too hot.. but maybe it holds until the time I'm able to get a new phone (Maxx / Nexus if lucky).

This post was created on a Motorola RAZR Maxx (XT910).
[Motorola Droid RAZR] sShadowSs:
[MENTION=4245858]Ohmster[/MENTION], I also just noticed that the TiBu menu button is not there.... weird... but you can still get to the menu if you are in the main TiBu screen and hit the Menu button on your phone. Is that what you are looking for?
[Motorola Droid RAZR] Krauzaa:
[MENTION=3313632]ChungHung.Chen[/MENTION] I've try again flash CM into stock today with yours little guide and everything works!

Now it's time for restore apps and configure rom.
[Motorola Droid RAZR] OldBaldy:
If you have a working, up to date cm11 on a slot, why not cheat a little and just back it up, then after you install cm11 to the stock slot and get it booting, go back into TWRP and restore the data partition from the backup, wipe cache and dalvik and reboot. You'll have your whole setup, sms and all.

Sent from my XT1060DE
[Motorola Droid RAZR] d.casper.b:
That's what I do!

Hey [MENTION=4245858]Ohmster[/MENTION], I'm so glad you're now on stock - finally!

This post was created on a Motorola RAZR Maxx (XT910).
[Motorola Droid RAZR] bladehu2:
not 100%? :D don't kiddin me. this article is completely bulls**t.
[Motorola Droid RAZR] h0324879:
Even the bluetooth is not functioning as well.

You can turn them on but none the device can get get connected.
[Motorola Droid RAZR] andray:
yeah, i was misled by news about razr update from another source. i'm sure, razr hd is meant.
[Motorola Droid RAZR] DR650SE:
Score! :p
[Motorola Droid RAZR] Brantuck84:
I'm using viperfx and I still get the sound drop but it doesn't seem to happen as often with it installed so I wouldn't say that it fixes it
[Motorola Droid RAZR] 1droidmod:
https://motorola-global-portal.custhelp.com/app/software-upgrade-news/g_id/1949#gs=

XT912 RaZR SpYdEr CDMA

hit ThAnKs if I was helpful!!!
[Motorola Droid RAZR] jmmcglothin:
I have been using bluetooth with no issues whatsoever. Been talking all morning on my Jeep's Bluetooth.
[Motorola Droid RAZR] eazha:
Do you use jbx or still using kexec...my bluetooth not working...
[Motorola Droid RAZR] Drunkula:
Yeah I saw that ibtimes article yesterday. I was wondering if Moto changed their mind about the xt912. Would certainly have been surprised if they did.
[Motorola Droid RAZR] drewski_1:
I have no issues with WiFi turning off.

Did you change any Advanced Settings like "Keep Wi-Fi on during sleep"? All my Wi-Fi settings are on the defaults
[Motorola Droid RAZR] archie1988:
I changed it to: wifi on only when connected to charger. To save battery. But it wont connect again after turning the screen on. It have to connect automatically.
[Motorola Droid RAZR] jmmcglothin:
I'm using the latest JBX Kernel. I didn't install any of the tweaks... instead I used Pimp My Rom app to install tweaks and my ROM runs really smooth & snappy. I use ART also... not Dalvik. Only issue I have run into has been the google voice to text app FCing every now and then. Only a minor annoyance.

I didn't install the kernel tweaks directly due to I was trying to isolate any issues the ROM might have without tweaks. I might re-flash with tweaks at a later date, but for now I'm pretty satisfied with performance. Works well as a daily driver for me.
[Motorola Droid RAZR] saintanthony:
I'm not having any bluetooth issues after the 12/5 release, are you on the JBX kernel by chance? I haven't taken the plunge yet.

Edit: sorry, didn't see your recent post, using the mobile app.
[Motorola Droid RAZR] jmmcglothin:
Below is my current setup and it's been super reliable, super snappy, and the battery life is fantastic. I use less than 1% battery per hour. I think it's a very good balance of performance and battery life. My 3G works as well... can't force 3G to work... but it does transition from LTE > 3G > LTE all on it's own. Really weird if you ask me.

Current ROM Set:

SS1 ROM: CDMA, CM11 12/07 EXPERIMENTAL

Kernel: JBX 12/09 4.4.1 Compatible

Gapps: 12/06 no_set_meta_data (latest gapps weren't available at the time of my flash)

--Kernel Tweaks set via Trickster MOD--

General Tab:

I/O Control

Read Ahead Buffer Size: 2048

Scheduler: VR (fastest scheduler)

Frequency Lock: ON

Min Freq: 300,000 (going below 300,000 often causes the phone to crash)

Max Freq: 1,300,000

Max Screen Off: 300,000

Min Screen On: 800,000

CPU Governor Control: InteractiveX (MAX battery saving with this profile description below)

--Set On Boot - APP settings--

Kernel Settings: Check

Delay (sec): 25 (this will delay the app setting kernel settings for 25s after reboot)
[Motorola Droid RAZR] andray:
oh, new java machine. surprise.) calendar and news app crashes. Does ART really consume less battery?
[Motorola Droid RAZR] ins5736:
I'm confused. Are we getting official build or not? There's only the one experimental...

OG RAZR XT912 got 4.4 before S4!
[Motorola Droid RAZR] saintanthony:
I am considering taking the plunge with JBX, any other feedback with how it functions with this ROM versus other roms?
[Motorola Droid RAZR] r4zrm4xxx:
hey

Im trying to get better performance out of this rom...how did you set your max to 130000? mine stops at 12000
[Motorola Droid RAZR] jmmcglothin:
AOKP 4.3: Worked very well

Carbon4.3.1: Couldn't get out of boot loop

Slimbean 4.3.1: Worked great save for Bluetooth kept crashing my phone.

CM11: Works flawlessly and I have tried pretty much everything.

Bluetooth: Working

3G: Working / Transitions on it's own but can't force 3G

APN Settings: FC / Not functioning as intended

WiFi: Working

WiFi Tether: Haven't personally tested yet

MMS/SMS: Working for me but I use Go SMS NOT stock

---------- Post added at 12:54 AM ---------- Previous post was at 12:48 AM ----------

Did you install JBX kernel? If so, did you click the max frequency and scroll all the way down?
[Motorola Droid RAZR] r4zrm4xxx:
I did not flash aby kernel perhaps I should look for one I seem to be lacking in performance and battery life is really bad and my phone gets really hot
[Motorola Droid RAZR] Ohmster:
Yeah me too. I cannot believe the whole thing took less than a day. It was a real treat to TRIM the sdcard, too!

About restoring the Data partition to the new cm11, you cannot restore partitions across slots or from slot 1 to stock, AFAIK. If I were to restore my previous data partition to the new stock cm11, I would end up with old Jellybean data and not the data from my original cm11 on slot 1.

[MENTION=1472623]d.casper.b[/MENTION] if you did not have cm11 on Stock Slot previously, but did have it on a rom slot, say slot 1. How could you possibly restore Data from slot 1 in Safe Strap to Stock? It is not possible. If you previously had cm11 setup on Stock, DID make a backup, then yes you could restore the Data partition to where it came from. Even with a completely setup CM11 install on slot 1, performing a fresh install of cm11 on stock, you cannot "restore the Data from slot 1 to Sock. So what the heck are you and [MENTION=3305649]OldBaldy[/MENTION] talking about? :confused:

Titanium Backup was the workhorse that got my system done, SMS & call history, and all. How did you guys restore a data partition from slot 1 to the newly installed cm11 on stock slot? :confused:

[MENTION=3313632]ChungHung.Chen[/MENTION] I would like to use your updated install to stock mini-guide in my Online Guide with your permission, of course. You will get full credit for the "Install CM11 to Stock" section. Would you mind?

I will add another section on migrating to stock from another partition and preserving your apps and data. :)

---------- Post added at 06:18 PM ---------- Previous post was at 06:05 PM ----------

[MENTION=2662249]sShadowSs[/MENTION] now the MENU item is where it should be, top right corner. It was like the top bar in Titanium Backup "was cut off" at the very right side so the word MENU got cut off. It is working properly now, the menu item is back in the top bar. I knew this would be a rom that might have to settle in for a while, what will all the data I was restoring. Maybe that is it. Menu is now back.

But thanks for the tip, it did help a lot. :D

---------- Post added at 06:25 PM ---------- Previous post was at 06:18 PM ----------

[MENTION=6303356]Krauzaa[/MENTION] if you have and use Titanium Backup, sShadowSs gave an excellent suggestion to restore all apps and app data in this post here.

I got cm11 not only installed, but completely back to the way it was in less than one day! Restoring Trebuchet with data brought the entire desktop completely back! I did use the methods below to save my text messages and call history. You can also restore WiFi point access and Browser data but only for the stock browser. I used the link below to get my call and MMS history back, it worked great!

This will help with some of the more elaborate data backup/restore for sms/text, calls, WiFi, & Browser History:

How to Backup and Restore SMS, Call Logs, Wi-Fi Settings using Titanium Backup
[Motorola Droid RAZR] neoramasay:
[MENTION=4245858]Ohmster[/MENTION]

How do you feel CM11 runs on Stock now that you've put it in? Any performance improvements you can point out in comparison with operating off of Slot1?