yashsingh1/xdaforums huggingface dataset:
[RAZR i Android Development] ReeSilva:
Well, just in case, there's my log.

Starting recovery on Tue Nov 6 04:24:51 2012

Starting recovery on Tue Nov 6 04:24:57 2012

Starting recovery on Tue Nov 6 04:25:02 2012

Starting recovery on Tue Nov 6 04:25:07 2012

Starting recovery on Tue Nov 6 04:25:12 2012

/tmp # cat recovery.log

Starting recovery on Tue Nov 6 04:24:51 2012

Starting recovery on Tue Nov 6 04:24:57 2012

Starting recovery on Tue Nov 6 04:25:02 2012

Starting recovery on Tue Nov 6 04:25:07 2012

Starting recovery on Tue Nov 6 04:25:12 2012

Starting recovery on Tue Nov 6 04:25:17 2012

Starting recovery on Tue Nov 6 04:25:22 2012

Starting recovery on Tue Nov 6 04:25:27 2012

Starting recovery on Tue Nov 6 04:25:32 2012

/tmp # cat recovery.log

Starting recovery on Tue Nov 6 04:24:51 2012

Starting recovery on Tue Nov 6 04:24:57 2012

Starting recovery on Tue Nov 6 04:25:02 2012

Starting recovery on Tue Nov 6 04:25:07 2012

Starting recovery on Tue Nov 6 04:25:12 2012

Starting recovery on Tue Nov 6 04:25:17 2012

Starting recovery on Tue Nov 6 04:25:22 2012

Starting recovery on Tue Nov 6 04:25:27 2012

Starting recovery on Tue Nov 6 04:25:32 2012

/tmp # cat recovery.log

Starting recovery on Tue Nov 6 04:24:51 2012

Starting recovery on Tue Nov 6 04:24:57 2012

Starting recovery on Tue Nov 6 04:25:02 2012

Starting recovery on Tue Nov 6 04:25:07 2012

Starting recovery on Tue Nov 6 04:25:12 2012

Starting recovery on Tue Nov 6 04:25:17 2012

Starting recovery on Tue Nov 6 04:25:22 2012

Starting recovery on Tue Nov 6 04:25:27 2012

Starting recovery on Tue Nov 6 04:25:32 2012

Starting recovery on Tue Nov 6 04:25:37 2012

/tmp # cat recovery.log

Starting recovery on Tue Nov 6 04:24:51 2012

Starting recovery on Tue Nov 6 04:24:57 2012

Starting recovery on Tue Nov 6 04:25:02 2012

Starting recovery on Tue Nov 6 04:25:07 2012

Starting recovery on Tue Nov 6 04:25:12 2012

Starting recovery on Tue Nov 6 04:25:17 2012

Starting recovery on Tue Nov 6 04:25:22 2012

Starting recovery on Tue Nov 6 04:25:27 2012

Starting recovery on Tue Nov 6 04:25:32 2012

Starting recovery on Tue Nov 6 04:25:37 2012

Starting recovery on Tue Nov 6 04:25:42 2012

---------- Post added at 02:29 AM ---------- Previous post was at 02:27 AM ----------

Can u send to me the stock recovery img?
[RAZR i Android Development] mattlgroff:
Stock Recovery.
[RAZR i Android Development] ReeSilva:
Thank u, man
[RAZR i Android Development] batwingnz:
Yup cheers for that, I believed I had been doing that without result, so tried the other combinations too. Ah well no biggy :)

As an aside... why can't we go back from there instead of a reboot?
[RAZR i Android Development] HSD-Pilot:
AW: CWM for RAZR i

Don't ask me, i just crackflash this Phone, no development from my side.

I got no time to learn all this stuff, Full Time worker and in my Free time i'm Mod here in Germany. Beside this i still need time for my Girlfriend and Beer :D

Gesendet von meinem XT890 mit Tapatalk 2
[RAZR i Android Development] batwingnz:
Oh that question was more directionless than aimed at you. I should just be grateful for the recovery we have ;)
[RAZR i Android Development] Omar-Avelar:
I haven't had any problem with update files, I wrote some of the edify scripts by hand and reused some others -- what kind of zip files are you having trouble with?

If you are building a full ROM you can take my edify script inside as a reference -- http://xdaforums.com/showthread.php?t=2174731.

But to me the exit codes could be some unsupported commands or it even sounds like could be a problem with the block device it is trying to mount or something that was not properly adapted in your edify scripts for our specific device. For example here is the block devices corresponding to each partition for the RazR i (thanks to Turl).

#mount point fstype device
/system ext4 /dev/block/mmcblk0p16
/cache ext4 /dev/block/mmcblk0p14
/boot emmc /dev/block/mmcblk0p5
/recovery emmc /dev/block/mmcblk0p6
/panic raw /dev/block/mmcblk0p9
/data ext4 /dev/block/mmcblk0p17 length=-16384
/pds ext4 /dev/block/mmcblk0p12
/sdcard datamedia /dev/null
/external_sd vfat /dev/block/mmcblk1p1
/misc emmc /dev/block/mmcblk0p13
[RAZR i Android Development] duck from space:
Think I made a huge mistake, I thought this process was to install CWM, so I "fastboot flash boot CWM.img"

But I think I should have "flash recovery cwm.img"

Now my phone only boot on CWM... How can I solve this ?...

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

aaaaah damn, what have I done. Any help appreciated :crying:
[RAZR i Android Development] HSD-Pilot:
Fastboot flash boot boot.img

Just find the right boot. img 4 your current Rom.

Follow the Link in my signature (XT890)

There you'll find an Thread for CWM. Download it, connect your I with USB debugging enabled and run the bat (CWM or CWMblack.bat)

Gesendet von meinem XT890 mit Tapatalk 2
[RAZR i Android Development] duck from space:
I hope I can do this with CWM as it is the only tool I can access as I apparently messed up fastboot. I used to access fastboot with phone on, can't anymore. Right know I can only boot and reboot on CWM.

Anyway thanks, will try to flash boot.img with CWM

Edit: found access to fastboot ! things are getting brighter !

Sorry for hectic editing, I'm a bit stressed right know
[RAZR i Android Development] HSD-Pilot:
Serious, you can't access the regular Fastboot Menu? I never flashed CWM as boot img, strange that it passes.

To flash an boot. img with CWM hit the same link in my signature and navigate to Kernel / Custom Kernel by Omar. Download the zip (If you're on EU the Stock EU Kernel. zip) and use it to flash the JB Kernel.

You can replace the boot.img in the Zip with every Boot.img or Boot_signed.

Just make sure it's named as boot.img!

Gesendet von meinem XT890 mit Tapatalk 2

---------- Post added at 07:22 PM ---------- Previous post was at 07:18 PM ----------

Crackflash Rule #1: Keep Cool :cool: :D

Gesendet von meinem XT890 mit Tapatalk 2
[RAZR i Android Development] duck from space:
Sorry again for editing my post over and over as I progress, that's just dumb.

So I managed to get access to fastboot, my rom was stock JB EU (I presume) with bootloader unlocked.

-> easiest way would be to find the adequate boot.img and flash it via cmd right ?

haha right ! :)
[RAZR i Android Development] HSD-Pilot:
http://www.mediafire.com/download.php?m7bovl2iawt4e5n

The zip contains the EU JB Boot. img. You can flash it in CWM (Not sure about that in your current constellation :confused: ) or extract it and flash with fastboot.

Gesendet von meinem XT890 mit Tapatalk 2
[RAZR i Android Development] duck from space:
Phone resurected ! I love you man ! Spamming the thanks button right know :laugh::laugh::laugh:
[RAZR i Android Development] Omar-Avelar:
Hey Turl, I was wondering if we could optimize the current CWM images, at the moment the phone get's very hot because the CPU is always ramping up at 2 GHz and because the backlight is at the maximum setting.

At the moment I am doing the following and it does get less warmer and it takes the same to execute.

#!/bin/bash
#
# This are commands directed to the phone while in CWM to not let the
# phone heat up that much.
#
sudo adb shell "echo 1 > /sys/class/backlight/psb-bl/brightness"
sudo adb shell "echo interactive > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
sudo adb shell "echo 1400000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"
sudo adb shell "echo 1400000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq"

Of course we could probably choose 50 instead (a value that is also used for the backlight in the ramdisk when the phone is on charge only mode, still plenty of bright) -- then on the CPU governor side maybe we can change the rampup rampdown behaivours and try to let the phone not heat up that much when developing/backing it up.

I see that CWM has a "postrecoveryboot.sh" file that at the moment probably calls the x86 watchdog but we could hopefuly put some device tweaks there like the brightness + CPU scaling, I have never made a cwmrecovery.img but I can probably write some phone tested/validated bash lines to include on "postrecoveryboot.sh" on a newer version? :angel:
[RAZR i Android Development] ryanraven:
Any changes ? We need a better CWM
[RAZR i Android Development] Prowler:
I want take a look to cwm code for our moto i, is there any github turl?

Enviado desde mi XT890 usando Tapatalk 4
[RAZR i Android Development] Hazou:
The source for cwm recoverys are in the CyanogenMod github, under bootable_recovery .
[RAZR i Android Development] mattlgroff:
I think he meant the device tree.
[RAZR i Android Development] Hazou:
Than I miss understood his question or his question is wrong sentenced. Butt either way, still the source for the recovery is at cyanogenmods recovery. The device tree u need can be obtained at github/turl or github/oxavelar. Mine is not ready ATM. Did something wrong.
[RAZR i Android Development] bthoven:
...problem solved.
[RAZR i Android Development] Cyrus_pc:
Help:Port CWM to Yolo

I need help in porting CWM to another x86 device, Intel Yolo ..

The device is rooted with Exploit therefore it can be flashed with only DD or cat > method..

However i am gonna give it a shot anyway..

Could you help us developing it ?

Thanks in advance..
[RAZR i Android Development] raol.xh:
sorry for the noob question.how to install:o?
[RAZR i Android Development] xtr3m3:
After you boot into the bootloader,

fastboot flash recovery recovery-razri-tryAtouch.img

Updated ones are here and here.
[RAZR i Android Development] turl1:
Okay, so I cleaned the fstab up a bit and tested on the x86 android emulator (with the emulator kernel) and it worked fine; give it a try and let me know if it's still failing

Link: https://dl.dropbox.com/u/553461/recovery-razri-try3.img

I'll start cleaning up the fixes I have done to the source and upload them to gerrit soonish, people from the ZTE phone with intel inside forum have been asking for it too :)
[RAZR i Android Development] mattlgroff:
http://pastebin.com/K6qi3LTD

No go again sadly :(
[RAZR i Android Development] turl1:
:(

How skilled are you debugging? Do you know how to use gdb? Can you use gdb and find out what's wrong?

If you cannot debug it yourself, the best I can offer you guys is try to debug it myself via SSH to someone's box running ubuntu or some other distro with adb and a razr i connected to it in recovery mode (with the nonworking image of course).
[RAZR i Android Development] mattlgroff:
Feel free to SSH in or Team Viewer in to my lappy and RAZR i. :)
[RAZR i Android Development] turl1:
Okay, first post updated :)
[RAZR i Android Development] Le_Poilu:
well done.

I'll try it tomorrow :D
[RAZR i Android Development] ReeSilva:
Wow guys. I'll try it now, so much thank u :D
[RAZR i Android Development] lebobo:
B-R-A-V-O !!!

Yessss, it works fine. Now I can do a backup Nandroid !!! It's perfect !

;)

Here is a small tutorial for newbies...

1. Download Android SDK and install it on your PC (http://developer.android.com/sdk/index.html)

2. Download the recovery file from the firts post of this thread (http://xdaforums.com/showthread.php?t=1974097)

3. Plug your USB cable into your RAZRi and into your computer

4. Reboot your RAZRi with (volume -) and (power) buttons simultaneously pressed to go to "Fastboot Mode"

5. Go to directory "C:\Program Files\Android\android-sdk\platform-tools" and launch "fastboot.exe" in a command prompt with the following command : "fastboot.exe flash recovery name_of_the_recovery_file.img"

6. Done !!! Reboot your RAZRi in "Fastboot Mode" and choice "Recovery"... Now you can do a nandroid backup ! (it is slow, slooooooow, veryyyyyy slooooooow... about 30 minutes to make a full backup).

7. FYI, backup files are stored on your internal phone memory into a directory "clockworkmod/backups"

8. Please click on the "Thanks" button if this tutorial was helpfull for you ! And if you don't know Dropbox yet, fell free to test it via this link to get 3GB for free : DROPBOX

LeBobo
[RAZR i Android Development] lucky58:
is rooted enough of do one have to bootloader unlocked?
[RAZR i Android Development] mattlgroff:
You must be bootloader unlocked.

Thanks very much to turl, he spent a long time SSH'd into my laptop and dealing with crashes to get this working. He deserves your thanks and donations if you can, very hard work!
[RAZR i Android Development] PELLET Nolwenn:
Before, I want say thank you so much for Turl1! :good:

I've flash the recovery but when I go into the recovery I have just:

" reboot system now

apply update from external storage

wipe data/factory reset

wipe cache partition

apply update from cache"

So I can't make a backup.. :/
[RAZR i Android Development] :
Thanks so much!

Now we can finally do custom ROMS :D
[RAZR i Android Development] mattlgroff:
What that tells us is you didn't flash the cwm recovery. You still have stock recovery.
[RAZR i Android Development] fabulous69:
thx!

its not only slow, but you can't go down choice by choice, if you press a + or - volume key, it goes up or down 2 times with one press.

so some options cant be selected :(

Anyway, thats a fantastic news, were are going to have a working custom recovery soon.:good:
[RAZR i Android Development] mattlgroff:
A nice trick is scrolling all the way up or down the whole list, on some menus it means being able to access the other half lol Doesn't work on backup/restore though, so you can make a backup but not restore ;)
[RAZR i Android Development] hiemanshu:
We could easily fix this with a touch recovery. I'll making one when I get time.
[RAZR i Android Development] fabulous69:
it's almost unusable at the moment, as some fonctions cant be selected.

Pretty slow also, but that's not the main problem.

Waiting for something easier to manage and it's going to be awesome :)

Thx!
[RAZR i Android Development] ReeSilva:
For those who can't select some option. The selection doesn't down, but "in invisible" it does, so put down (or up) and press camera button to select and it will work as the same if u have selected the option that isn't selected
[RAZR i Android Development] turl1:
I have cleaned the code fixes a bit to merge them on CM, can you guys try this one and see if it works as well as the one on the first post?

https://dl.dropbox.com/u/553461/recovery-razri-try5.img

I also built a CWM touch recovery if you fancy testing :)

https://dl.dropbox.com/u/553461/recovery-razri-try6touch.img
[RAZR i Android Development] ReeSilva:
I'll test the try5 then the touch ;)

The try5 keep the same problem, use the volume button twice to works. And the touchscreen doesn't work on try6
[RAZR i Android Development] HSD-Pilot:
I got my i today and still have to unlock my Bootloader. But that won't take so long anymore, after i successful tried flashing sbf's and root with locked bootloader. Now it's time to get some nice stuff to play :D

I'm glad to see CWM on Board, thanks for that! I'll test this stuff after i unlocked this Phone :cool:

Gesendet von meinem XT890 mit Tapatalk 2
[RAZR i Android Development] HSD-Pilot:
Ok, flashed succesfull, but it's strange to navigate. Like lurking through the dark :eek:

But keep it up dude :good:
[RAZR i Android Development] Robbilie:
touch version has no...well, touch :D

try 4 as well as try 5 dont work correctly, i havent tried making backups and restoring them yet (because i am not sure if this will work...) but moving through the menu responds visualy only for every second move (menu entry only highlited when pressing 2 times, but then its highliting the correct one, lthe after next...)

anybody also experiencing these issues?

and anybody made and restored backups?

//Robert
[RAZR i Android Development] ZeuBug:
Just flashed but stay on a green android image for 2-3 min and nothing happening. Then rebbot in normal mode... :rolleyes:
[RAZR i Android Development] mattlgroff:
I don't think you flashed it then :P

That's the stock recovery you have on there. Maybe I should make a flasher for it...
[RAZR i Android Development] ZeuBug:
I have tried to flash with your flasher! ;) stay on android green image...

adb kill-server

adb start-server

pause

cls

echo. Have drivers installed, phone connected, and USB Debugging enabled in Developer Options.

pause

echo. Waiting for device to be seen to reboot...

adb wait-for-device reboot bootloader

echo. Flashing CWM...

fastboot flash recovery-razri-try4.img

echo. Rebooting...

fastboot reboot

echo. Done!

pause
[RAZR i Android Development] mattlgroff:
I didn't make this one that's why ;)

This one I did :)

Download

This is for Windows only. Has the option to flash CWM, to flash stock recovery, and to reboot to recovery. No fastboot needed
[RAZR i Android Development] ZeuBug:
Oh yeah... I'm light years away from your expertise ... :o

Thanks mattlgroff! :D

A VRtheme version of my theme is approaching...

edit: I think I will wait for next version of CWM, it's a little bit hard to navigate between menus... :o
[RAZR i Android Development] Robbilie:
Is there a way to fix my problems or are you experiencing the same issues :(

What about a linux version mattle :)
[RAZR i Android Development] mattlgroff:
Its as easy as

adb push cwm.img /sdcard/
adb shell
su
dd if=/sdcard/cwm.img of=/dev/block/mmcblk0p6

Also can do this:

fastboot flash recovery cwm.img

I can't be bothered to remake it two more times when a new version is likely to come along later :(
[RAZR i Android Development] Robbilie:
yeah i did the latter but the responsiveness issues are annoying...
[RAZR i Android Development] TrippleT:
I lost root after fashing cwm...not able to restore or root again...root tools say succsessful but no app can obtain root...had to flash the original sbf and then the pre rooted Homemade...even the Homemade without sbf before don't worked...
[RAZR i Android Development] mattlgroff:
Hope I answered your many questions?
[RAZR i Android Development] HomerSimpson07:
I installed CWM successfully, but I don't only have the navigation issue but also cannot select anything in CWM, it simply does not react when pressing the power button.

Am I the only one having that issue?

And another thing, I can only access CWM when rebooting to recovery with matt's CWM flasher. When selecting Recovery in fastboot mode, I just get a black screen.

Is that normal?
[RAZR i Android Development] PELLET Nolwenn:
Select with the photo buton ;)
[RAZR i Android Development] HomerSimpson07:
Ah, I see. Should have tried that :)
[RAZR i Android Development] turl1:
I've made a new CWM touch build if anyone wants to try and let me know if it works

https://dl.dropbox.com/u/553461/recovery-razri-try7touch.img

If it doesn't, /tmp/recovery.log after pressing the screen and buttons would be appreciated :) You can get the file using adb pull
[RAZR i Android Development] free2live:
just tried it..it still has the same bugs

you have to press twice to highlight the option. if you need you can teamview my razr
[RAZR i Android Development] landeiro:
How I can install CWM? Thx. I have root(superuser) but my device is locked any problem?
[RAZR i Android Development] free2live:
IF YOU ALREADY UNLOCKED YOUR BOTLOADER use this tool and thank the developers turl1 and mattlgroff ..cheers

it's still in development stage so don't expect everything to be perfect
[RAZR i Android Development] PELLET Nolwenn:
To install CWM:

For the next time search just 2mn ;)

Envoyé depuis mon XT890
[RAZR i Android Development] mattlgroff:
If he is locked this will brick him.
[RAZR i Android Development] free2live:
post edited..hope it's not too late
[RAZR i Android Development] landeiro:
I dont want unlocked my bootloader because void the warranty. Its possible install only with root?
[RAZR i Android Development] mattlgroff:
Nope. I don't think you understand the bootloader.

Locked bootloader means all partitions are signature checked on boot and on flashing.

Custom recovery obviously doesn't have motorola's private signature and your phone will brick if locked.
[RAZR i Android Development] landeiro:
ok, but in the future how i can install custom rom with bootloader locked? The warranty is void(unlocked). Its possible to turn back lock if I need? In LG Phone I didnt have bootloader.. Its more simple. thx!! :good:
[RAZR i Android Development] mattlgroff:
In the future you will not be able to install custom roms. Only unlocked bootloaders. If you want developer you must void your motorola warranty.

You can lock the bootloader again but there is no point, once the code is sent to your email your warranty is null and void forever.

All phones have bootloaders. Yours probably was not locked. This isn't the place to discuss this.
[RAZR i Android Development] landeiro:
I understood. Some mobiles dont have bootloader locked then I used terminal with comands and boot image in the custom recovery. I will think about this possibilty in the future. I wiil go wait JB First. For me its ok in performance with ICS.
[RAZR i Android Development] ReeSilva:
Everytime that I try to make a backup it tooks something about 2~~3 hours and then my battery ends. On mattlgroff phone's it tooks some much time? Thank u. (I'm using the try5)
[RAZR i Android Development] mattlgroff:
1+ hours for me.

Not sure what causes it yet. I am testing a new touch version.. with working touch. Adding it to my flasher soon.

You can select with touch, but on scrolling menus pressing volume keys is a bit better since its a big laggy.

Thanks so much to turl1 for working on this! Donate to him :)
[RAZR i Android Development] turl1:
I have updated the first post with the improved version for those who might want to try it :)
[RAZR i Android Development] mattlgroff:
Updated the flasher to reflect the new changed cwm for those who don't know how to flash a recovery ;)

Batakang Download
[RAZR i Android Development] Pzyduck:
Woooww awasome turl and Matt

Enviado desde mi HTC Sensation XE with Beats Audio Z715e usando Tapatalk 2
[RAZR i Android Development] turl1:
First post updated with a fresh build, now your backups will take a couple of minutes at most :good:
[RAZR i Android Development] mattlgroff:
Added to the flasher link for Windows users who can't figure out how to flash cwm. It's a great build guys!

Batakang Download
[RAZR i Android Development] Le_Poilu:
Fantastic job :good:

Tried the last one.

Touch OK

A little bit slow but nothing very disturbing

Did a backup to external SD (YEAH !!), work fine in a few minutes

The only thing I didn't really understand:

When I hit the "reboot system" I had a warning about flashing stock ROM or something like that, asking me Yes or No. Since I didn't really know what it asked me I hit "No".

What was that ?
[RAZR i Android Development] PELLET Nolwenn:
You see this message for each reboot? Or just for the first reboot just after flash the recovery?

Envoyé depuis mon XT890
[RAZR i Android Development] Le_Poilu:
I tried again now.

Still have the message which is exactly this:

ROM may flash stock recovery on boo
THIS CAN NOT BE UNDONE"

no
no
no
Yes - Disable recovery Flash
no

I think it's for prevent CMW to be erase by a ROM flash ?
[RAZR i Android Development] wozn:
I get this also.
[RAZR i Android Development] HSD-Pilot:
But this CWM is flashed as Recovery.img. Im not sure, but i don't think, that it will be erased by an Rom Flash. I've to test it after work with an Rom over @ DroidRzR. But that would be the same, like erasing the Stock Recovery after an flash and that never happend to me on the OG RazR.

Gesendet von meinem XT890 mit Tapatalk 2
[RAZR i Android Development] Daniel 9999:
Good day mattlgroff, The latest CWM work great & backup fast in few minutes,1) so can we now restore should any thing go wrong? 2)I have keep system.img.ext4 from 'make_ext4fs -s -l 885768704 -a system /sdcard/system.img.ext4 /system' & can i put this(overwrite) in your homemade fastboot folder to fastboot flash ? 3) can i know how to take out ROM39002 radio BaseBand image & put them into 31002 rom which i am going to CWM your 1st custom rom? Sorry to ask you 3 at one go.Keep up your contribution,we appreciate & enjoy.Bye