yashsingh1/xdaforums huggingface dataset:
[Motorola Droid RAZR] woonaval:
Wow, it worked this way (rebooting right after erasing cid, and then flashing kernel), thanks!

Edit: seems like it will work (booting with droid bootanimation atm), but am I the only getting an horrible message written in the initial M screen? Something including the scary words: customerid error contact dealer - boot to suspend/tcmd mode - numbers including the word dead, etc. I just pissed my pants.
[Motorola Droid RAZR] artur0588:
not working for me. Have you done this commands directly in BMM recovery mode?
[Motorola Droid RAZR] woonaval:
lukas, which nandroid have you used exactly? I picked one from dtrail (which already included md5) and I get bootloops. I think I should be more patient... not skilled enough... :crying:
[Motorola Droid RAZR] sevenup30:
do you think to wipe data & cache before running this? since there is no data.img into the nandroid, it wont be wiped you have to do it on your own.
[Motorola Droid RAZR] lukas77:
I don't remember but it's not deodexed, I think 2nd nandroid from this thread.

I can make nandroid of mine system but it's gonna take a while cause I finishing work and I can do it when I'll be back at home.
[Motorola Droid RAZR] IcHgUcK:
with the how to on the firstpage i end up in fastboot mode that says flash failure. at the moment i'm trying to unbrick the phone...i reflashed the cid.img and i try to flash the ics system with rsdlite

edit: end up in fastboot again... invalid cg otv....what does it mean? can anyone help me?
[Motorola Droid RAZR] sevenup30:
you uploaded odexed file not deodexed :D
[Motorola Droid RAZR] Sisqo:
First you must be in fastboot mode.

Second, the comand is 'fastboot flash..' and not 'adb shell fastboot..'

Its a different app, you have fastboot.exe in that directory:)
[Motorola Droid RAZR] sevenup30:
well if you would tell us more and be precise about your error, we may help you to resolve it
[Motorola Droid RAZR] IcHgUcK:
similar to this: http://www.droidforums.net/forum/dr...boot-boot-failure-invalid-cg-errors-help.html

I also have bootloader 0.6...

I'm really in trouble...

"AP Fastboot Flash Mode (S) (Boot failure)

0A.6C

To returun to normal mode....

Device is LOCKED. Status Code: 0

Battery OK

OK to Program

Transfer Mode:

USB Connected

Invalid CG OTV (CG:webtop): Invalid SP Data

Invalid CG Version (CG: webtop)

Invalid CG OTV (CG: webtop)
[Motorola Droid RAZR] artur0588:
yes, I have fastboot.exe, what I should do after boot in fastboot?
[Motorola Droid RAZR] woonaval:
Thanks, I am doing the whole process as stated in the OP (gunzip, md5...), so I can't go wrong, or at least I hope so!

Edit: whoa it worked, THANKS, i've been suffering for almost 2 hours :D
[Motorola Droid RAZR] artur0588:
in fastboot mode i got this:

C:\Android\platform-tools>fastboot flash mbm allow-mbmloader-flashing-mbm.bin

error: cannot load 'allow-mbmloader-flashing-mbm.bin'

C:\Android\platform-tools>fastboot erase cid

erasing 'cid'...

(bootloader) Command restricted

FAILED (remote: )

finished. total time: 0.011s

C:\Android\platform-tools>fastboot flash boot boot_jb.img

sending 'boot' (8192 KB)...

OKAY [ 0.383s]

writing 'boot'...

(bootloader) Preflash validation failure

FAILED (remote: )

finished. total time: 0.853s

C:\Android\platform-tools>
[Motorola Droid RAZR] sevenup30:
Wow, those invalid error... i got it when i wanted to upgrade from GB to ICS lol, it's long time ago, if i recall i fixed it by fastboot webtop webtop.img from webtop Gingerbread since ics dont have one.

But i dont remember exactly.

if you can't erase cid (like me) just reboot to recovery, select the right system,

download attached fake cid

adb shell
cat fake_cid > /dev/block/mmcblk1p18
exit

now reboot to fastboot and run command again (exept erase cid it's already done)
[Motorola Droid RAZR] Sisqo:
arthur, read carefully the op instructions and the post above as it says it works for him.

i don't want to change the cid and flash the jb kernel, gonna wait for a official/leak release for gsm xt910 or another method.
[Motorola Droid RAZR] IcHgUcK:
found the same answer on the net...do you have this webtop image on your computer? i don't know which image is the rigth one...
[Motorola Droid RAZR] woonaval:
In order to fix wifi and root, I wanted to do this, but after pushing your attached "sh" to bin and xbin, I could not do "adb shell" anymore, it gives this error:

- exec '/system/bin/sh' failed: Permission denied (13) - I guess I need to do the chmods, but now how can I do it?

any help will be appreciated :)
[Motorola Droid RAZR] sevenup30:
do it from recovery ;)
[Motorola Droid RAZR] n3ptun3:
I just checked, you're right, that's my backup folder, uploading the right one atm

edit: so there's no confusion now, the contents:

I'll post the link when it's done

edit: here http://www.multiupload.nl/69392JYTX5
[Motorola Droid RAZR] woonaval:
Now wifi is working, but root doesnt :( busybox does not accept the --install command if adb is launched from recovery. If I do it from android itself, it says "no such file or directory" for a lot of files...
[Motorola Droid RAZR] sevenup30:
well go to recovery

"chmod 755 /system/xbin/sh

chmod 755 /system/bin/sh"

reboot then adb shell again
[Motorola Droid RAZR] Bavilo:
Now we just need someone to make a working deodexed nandroid :) would it be possible to make a nandroid which includes the ICS patch as well as the gsm patch to make things as easy as possible? Just wondering.
[Motorola Droid RAZR] Olao99:
Ok, I got lost in the thread updates and responses....

So is it ok to flash the JB kernel? Can I go back to ICS.

How do I do It?
[Motorola Droid RAZR] shiwuye12:
There are 2 ways to make the progress go forward:

1. Use the Kexec to load the jelly bean kernel .

2. Extract the kernel , find the drivers related to the camera , then load it by 2nd-init .
[Motorola Droid RAZR] HSD-Pilot:
OK, after having trouble to gain root access, I thought f... it. I only flashed the Kernel and after that this ROM

http://www.droidrzr.com/index.php?/topic/6188-[ROM][JB]-Fat-Free-Bean-(Beta)#entry156284

with the GSM Patch. Problem solved and I got an fully working, deodext JB on my Main System :thumbup:

I guess this will work without the Kernel, too. (ICS Patch)

But i've not tried it. Sometimes it's great to have an ****ed up CID :cool:

BTW: The ROM only boots with 2nd init DISABLED over BP Tools.

Sent from my XT910
[Motorola Droid RAZR] Olao99:
To flash the kernel, do I have to be in Recovery? Or where?

When I type this "fastboot flash mbm allow-mbmloader-flashing-mbm.bin" it gives me an error of "fastboot not found"
[Motorola Droid RAZR] HSD-Pilot:
If you don't know how to flash the Kernel you should better leave it like it is. Don't take it personal, but the Kernel is the easiest part. Maybe do some research about the CID / mmc1blk18 before you start messing around with it. There's an Thread here @ xda.

Sent from my XT910
[Motorola Droid RAZR] yoyurik:
whirleyes, this is important.

system.tgz contain a bug.

/system/bin/rm (ls ln etc) are hardlinked to /data/local/toolbox, but should be softlinked to toolbox (in same directory: /system/bin/).

I found this bug yesterday after factory reset.

So links are pointing to missing toolbox binary (that was gone due to /data being wiped).

Aftermath: some apps that are using su aren't working (FC).

And my WiFi started but was unable to connect properly.

Link to fixed system.ext3.tgz: http://d-h.st/fLh

Was unable to upload system.ext3.tar because it's larger than 512mb.
[Motorola Droid RAZR] woonaval:
Please could you point how to disable the 2nd init over BP Tools? I have disabled the option from slot settings in bootmenu manager, but still does not boot (black screen after motorola dualcore logo)

Edit: nevermind, I rolled back to GSM D-Wiz 2.0.4. I think this is too much for me (I got constant bootloops in latest yoyurik jb nandroid, besides yesterday's noobish problems...) and I don't want to nag you devs with basic questions. Thank you all :)
[Motorola Droid RAZR] leisures:
I know about this...but its nothing u cant fix by yourself(whas ez for me)

But i take it this way cause i dont like things given without some work.

So far everything works here(some times GSM radio dosent work and my Phone restart until it works).

Great find about the kernel allow downgrade:thumbup:

Enviado desde mi MOTOROLA RAZR usando Tapatalk 2
[Motorola Droid RAZR] artur0588:
This is new converted backup for BMM from yoyurik. Just unpack in clockworkmod/backup folder and restore system. http://d-h.st/uqA

Sure wipe need and patches.
[Motorola Droid RAZR] yoyurik:
Are you sure you get right file? I see 0 downloads for new backup (http://d-h.st/fLh) :)
[Motorola Droid RAZR] woonaval:
There should be a problem with d-h.st, I downloaded that file this morning and still shows 0 downloads...
[Motorola Droid RAZR] h0324879:
Okay, I follow well the guide made by whireley, and I stuck on the boot screen with CID erased.

I cannot use rsd to flash back the ics, it stop at devtree (the gsm sbf) and at preinstall (CDMA sbf).

[in fact, I also tried to use command line fastbooting, but it shows flash vaildation failed for gsm sbf and image larger than partition errors for preinstall...]

Now, I even cannot use stock recovery to update zip file. ( since I have tried flashing 2.3 system and ics boot, then back to ics using ota ics file)

I am really upset over this matter, can anyone lend a hand to me :crying: :crying: :crying:
[Motorola Droid RAZR] artur0588:
Yes, new one name is system.ext3.tgz and root work properly now.
[Motorola Droid RAZR] cvetican:
Witch patches useed for flash rom
[Motorola Droid RAZR] artur0588:
after restore backup just wipe cache and dalwik cache then install http://xdaforums.com/attachment.php?attachmentid=1595827&d=1356622999 and http://dtrailer.de/JB_GSM_PATCH.zip
[Motorola Droid RAZR] cvetican:
Ok I will try now.
[Motorola Droid RAZR] artur0588:
also not working for me. what I am doing wrong?

root@recovery:/ # cat fake_cid > /dev/block/mmcblk1p18

cat fake_cid > /dev/block/mmcblk1p18

sh: cat: fake_cid: No such file or directory

1|root@recovery:/ #
[Motorola Droid RAZR] Killer2k8:
do not follow mot a mot everything, first do a

cd /sdcard-ext/

or cd /wherever fake_id and after that run those lines.
[Motorola Droid RAZR] Sisqo:
don't execute commands without knowing what that might do:)

first find out what does that command, it overwrites the content of /dev/block/mmcblk1p18 with content of the file fake_cid, if fake_cid doesn't exist in your directory, of course it will give you that error :)
[Motorola Droid RAZR] whirleyes:
For me, I just kept 2 version of graphic lib in vendor folder.

/system/vendor/lib.jb & /system/vendor/lib.ics

then just I change /system/vendor/lib symlink when switching kernel.

Mostly I used ICS kernel for developing & use JB kernel once in a while to check if everything is still OK.

Don't bother with patching camera, it just a temporary solution. JB kernel is the way to move forward.

I'm just lazy to upload my own backup. I'll update OP with version uploaded by artur

You don't even know how to recover your device before jumping in?? That's an impressive decision.

This is not Q&A site, nobody have time to answer. There's already a bunch of similar problem like this.

When asking, you should specify which razr version you have. We have a lot of variant, it not just gsm vs cdma.

For start, I need to know from which region your phone is.

fastboot getvar cid

here's simpler method to erase cid

dd if=/dev/zero of=/dev/block/mmcblk1p18

----------------

Again, don't jump-in if your can't chew information from here.

This thread is just a temporary place to discuss JB leak, everything move fast here.

Just wait, I'm sure a lot of people is working on Custom ROM based on this leak.

I need some help from GSM user:

I get the impression that with this leak, GSM library patch is not really needed.

GSM data connection can be achieve by replacing few value in build.prop & apns-conf.xml

I hope somebody can test it. With this inforrmation, it's easier for NON umts_spyder developer to porting their CDMA ROM for you.
[Motorola Droid RAZR] artur0588:
I know what you mean, i have tried put in platform-tools directory, also in my int and ext. cd from ext and from int,mount everything is possible and all give me error.

EDIT: it seems hw decoding do not work with ics kernel, full hd video can not play with hw.
[Motorola Droid RAZR] Bavilo:
Hmm...The camera doesn't work with the latest nandroid backup :( Any ideas why it's not working? It just says "Cameria is unable to initilize"
[Motorola Droid RAZR] artur0588:
You need erase cid and flash JB kernel without graphic patch then camera should work.

---------- Post added at 02:51 PM ---------- Previous post was at 02:48 PM ----------

Finally it works! Thanks for this simple method. Only this work for me! Now I got camera and hw decoding.
[Motorola Droid RAZR] leisures:
I could test anything u drop At me :thumbup:

Enviado desde mi MOTOROLA RAZR usando Tapatalk 2
[Motorola Droid RAZR] whirleyes:
For start, can you test with clean JB backup, then just extract build.prop from dtrail's GSM patch.

Don't replace any ril library.
[Motorola Droid RAZR] n3ptun3:
That's exactly what I did. It works. Plus, I replaced the apn file. Then I went ahead and starded modding it for personal use.
[Motorola Droid RAZR] whirleyes:
Thanks. Now I can make Custom ROM for GSM too.

For me, I also just need to change few value line in build.prop for my CDMA carrier.

So I guess with JB, moto commonize RIL library.

Can you share your build.prop??
[Motorola Droid RAZR] h0324879:
Wirleys, i know it is my big fault to flash before knowing clearly how i can restore my device...

My original system is a hktw retail ics. I have already erased my cid. At present, i cannot use bp tool to boot my device, let alone booting it normally. I only have my cid backup, but since i cannot enter the android system, i cannot restore it back to my device.....

The only thing i can do is getting into the fastboot mode. However, if i flash things into different partition, i entered different errors.

If i flas the verizon .211 sbf file, it stops at flashing preinstall, saying that the image i flash excesses the partition size. I search out that some modified moto-fastboot claimed that can be used for flashing file size>250mb, but still, i cannot flash it.

Then, i switches into flashing asia retail ics, then when flashing the devtree, i encounter the other problems - flash validation failed.

Finally i tried flashing china retail sbf because i have erased my cid, so i thought i may give a try of it. However, again, i cannot flash the devtree with the same reasoning.

May you kindly provide some suggestions for me to unbrick my device?

Thank you so much!!!!!!
[Motorola Droid RAZR] Bavilo:
Ok...for some reason I am now getting a bootloop when using the latest backup running on JB kernel and the GSM Patch.
[Motorola Droid RAZR] whirleyes:
try this one. http://sbf.droid-developers.org/umt...26.0_SPD-IRD-21_SIGN_ASIA_RETAIL_HKTW.xml.zip

it's for HK & TW
[Motorola Droid RAZR] leisures:
For me with only build.prop my sim is not detected so i cant add apn.

Other weird thing Is if i leave my phone plugged to the wall when i turn on the phone the radio dosent work and phone restart by itself.

Enviado desde mi MOTOROLA RAZR usando Tapatalk 2
[Motorola Droid RAZR] whirleyes:
Try remove all Verizon app.
[Motorola Droid RAZR] leisures:
Nope..that didnt work ether.

Enviado desde mi MOTOROLA RAZR usando Tapatalk 2
[Motorola Droid RAZR] la121mo:
I have problems on my xt910:

i install the rom on first slot with BMM and JB kernel :

IF i flash the GSM patch my phone will get fc (related to com.phone. somthing like this ) after minutes

i used the build.prop provided in GSM patch and the result is same.

IF i restore the system link in op or flash the stock ROM provided by spc_hicks09 (not ota) it will lose antenna frequently and other problem is same as leisures problem.

also the Verizon app are removed but there is no difference.
[Motorola Droid RAZR] n3ptun3:
Sure, it's from his patch.

http://pastebin.com/G50AZpf9
[Motorola Droid RAZR] artur0588:
You need install gsm patch before first boot, otherwise get many fc.
[Motorola Droid RAZR] HSD-Pilot:
Anyone else noticed an huge Battery Drain with JB? I thought yeah, let it die and calibrate the battery. BUT BMM 3f won't charge the Phone when it's off, it always tried to boot but it won't stick to charge (reboot after reboot)

So now i flashed back ICS by using the Factory Adapter and flashed Hashcodes Zip on Main by using BMM 0.2.7. I only copied the GSM Build.prob into the zip, before i flashed it. My Sim get's recognized, but i can't set the APN to get mobile Data :eek:
[Motorola Droid RAZR] leisures:
Thats because its not properly detected..

I think every sim card has a id number and when it get detected it get the mnc and mcc number so u can set the apn..

Guess u have same problem then me....we had same problem before on ics til we used the GSM libs.

Enviado desde mi MOTOROLA RAZR usando Tapatalk 2
[Motorola Droid RAZR] elibaba:
A quick question I couldn't find answer for here:

I am running cm9 on rom slot 1 with ss3, where should I put the ext3 tgz to restore from ?

Can I restore to tom slot 2 ?
[Motorola Droid RAZR] woonaval:
For me battery life is really impressive (i'm using jb kernel + bdh rom + gsm patch), it reminds me the good old GB days. Anyway let's see how it evolves, I just had it installed for 4 hours now :D
[Motorola Droid RAZR] sevenup30:
when i did that, i had lot of random reboot,

i had to install lib from gsm patch too.
[Motorola Droid RAZR] n3ptun3:
That's weird. I'm running with jb kernel without any kind of patch other than build.prop changes. Later today I'll upload a nandroid for comparison.
[Motorola Droid RAZR] dtrail1:
I am mit sure about this... Could it be that the kexec kernel by STS was modified even to be bootable with kexec? I am asking because when I worked with the kernel for D-WiZ kexec I found some confusing stuff inside the kernel and Kholk confirmed this too. He also said that kexec cannot boot Moto kernel....? I really don't know just speculating. But it would be awesome to implement it in kexec. But why use another cam drivers when using jb kernel? Just include the extracted kernel in /system/etc/kexec together with the kexec files, and there must be some libs too.... Don't know which one...

XT910 - Stock System: D-WiZ 2.0.4 / 2nd System: Moto Jelly Bean
[Motorola Droid RAZR] sha_tan:
While trying to flash boot_jb.img on my XT910 after restoring JB system backup using BMM, I get this:

writing 'boot'...

(bootloader) Preflash validation failure

FAILED (remote: )

What could I be doing wrong?

Edit: Got out of this using: http://xdaforums.com/showthread.php?t=1634223
[Motorola Droid RAZR] Pinesal:
I am having this same error message and my phone will not boot. I just get a black screen.

I am thinking flashing the ICS kernal back but I can't find a download link to an ICS kernal I can use on a Razr Maxx, Any help?
[Motorola Droid RAZR] HSD-Pilot:
That tells you that the CID is erased. Grap you an boot_signed out of an ICS FW from your Region and flash it (or flash the whole FW). After that restore your CID backup. If you got no Backup, get used to this message. I see it since the first T-Mo EU ICS leak on every boot. I guess i would have sold my RazR already if there wouldn't be that damn Message :D

Sent from my XT910
[Motorola Droid RAZR] Pinesal:
Ok so the phone should still boot even though I get that error? The two problems aren't related?

I did make a backup up my CID but I can't access ADB to restore it since the phone won't boot properly.

I can fastboot and I can enter recovery but that's it.
[Motorola Droid RAZR] Bavilo:
For some reason, I keep on getting FCs on phone app now...I installed the fat free ROM using the gsm patch found in this thread.

It worked a few hours ago. But when flashing the ROM again after wiping the cache and installing the patch again. It just keeps on FCing.

If I don't flash the gsm patch, I get no data connection and the phone will reboot every 3 minutes...

Any ideas?
[Motorola Droid RAZR] Ramdanih:
Run JB ROM with JB kernel and succesfull..

but, I still have message CID error..

after this message BMM starter and booting normaly..

this is right??
[Motorola Droid RAZR] leisures:
Right... Without BMM u could only boot with bptool.

And usb sdcard sdcard-ext wont mount.

BMM its the best recovery out there for our Razr :).

We should be very thankful to whirleyes :thumbup:

This year i propose a toast for hem! Thx for your wonderful job buddie!

Enviado desde mi MOTOROLA RAZR usando Tapatalk 2
[Motorola Droid RAZR] Pinesal:
I am not seeing a boot_signed in any of the rom zip files. I assumed that's where I'd find one. Correct me if I am wrong.
[Motorola Droid RAZR] HSD-Pilot:
http://sbf.droid-developers.org/

Grap the right one for your Region! Beware, with an erased CID you can flash every Region, but you can't restore your CID with the wrong sbf for your Phone

Sent from my XT910
[Motorola Droid RAZR] Pinesal:
I did a full restore using RSDlite 5.6 and the phone still just boots to a black screen. The phone's Motocast partition mounts but no ADB and no mass storage.

I just don't know what else I can do.
[Motorola Droid RAZR] lukas77:
+1

I think everything what he touches becoming perfect. I wish he gonna start cook CM for RAZR, it's gonna be perfect.

BMM is my friend and I had SS only 2 hours, it brought me backward :)

I'll drink for whirleys on new years eve : ]
[Motorola Droid RAZR] Olao99:
I am having the exact same error....

I flashed JB kernel, flashed "Triplecore" and then flashed the GSM patch. Everything went smoothly until I lost signal.... After that, I started getting infinite FC's on phone. Even when I got signal back, rebooted, reflashed GSM patch, it stil got the infinite FC's....

What could be causing this?
[Motorola Droid RAZR] la121mo:
try full wipe your device(data,cache,dalvik cache)

it solved my FC
[Motorola Droid RAZR] sha_tan:
I got to install JB on my XT910 using BMM by restoring JB system backup and flashing JB kernel (besides erasing CID as said in OP).

Now my phone boots but I keep getting random reboots. The phone reboots almost every 4-5 minutes :(. I used the JB backup in the OP. Any help anyone?
[Motorola Droid RAZR] FrAsErTaG:
I'm here!!! Finally have some time since Christmas and work...

Has anyone successfully got deodexed booting? I know sevenup and dtrail were having issues but not followed entire thread.
[Motorola Droid RAZR] PROGUERAM:
You were right whirleye, I cant understand a word.

I think I will wait for a "simple" patch. With other CDMA ROMs that could be flashed on GSM phones, all we had to do after it flashed the ROM is flash the GSM patch being in recovery.

This wiping C!D and all is Greek for me...

any easier way to flash the leak OTA on a GSM device?
[Motorola Droid RAZR] FrAsErTaG:
Me and Sevenup are working on it
[Motorola Droid RAZR] PROGUERAM:
Thank u FrAsErTaG...thanks a lot.

Sent from my RaZr on MIUI.
[Motorola Droid RAZR] artur0588:
You seems forgot gsm patch. Again clean install and patch resolve your problem.
[Motorola Droid RAZR] sha_tan:
You mean the JB_GSM patch by dtrail? Have tried that too. But it keeps throwing another message on booting saying the android phone process has stopped.
[Motorola Droid RAZR] therazrguy:
Someone tell me if I am right...

1. I backup my cid using terminal emulator.

2. I then transfer it to a safe place.

3. I then open bmm recovery and do jb restore system.

4. Once done I switch my phone off and then boot into ap fastboot mode.

5. Then I erase my cid and flash the jb kernel and then reboot.

6. Profit JB
[Motorola Droid RAZR] PROGUERAM:
U have a GSM phone right?

Sent from my RaZr on MIUI.
[Motorola Droid RAZR] sha_tan:
I did exactly the same thing on my XT910. The phone boots up fine but keeps on rebooting randomly. Replacing build.prop from dtrail's patch got rid of the random reboots but I now keep getting this: "Unfortunately, the process com.android.phone has stopped." Any ideas?