yashsingh1/xdaforums huggingface dataset:
[Atrix 4G General] CaelanT:
That's where I pointed you to with added instructions. Click thanks...............that will take less time than I took to post instructions.

Also, good rule of thumb when flashing a ROM is:

Wipe Dalvik

Wipe cache

Factory/data reset

Flash ROM

Wipe Dalvik

Wipe cache

Factory data/reset

Reboot

For Kernels:

Wipe Dalvik

Wipe cache

Flash kernel

Wipe Dalvik

Wipe cache

Reboot

It may not be needed all the time, but it takes a couple of minutes, and can save you many headaches along the way!

Cheers!

<edit> It really pays to read the dev posts more than once, and follow any links, reading those posts more than once. All the info 99% of us need is already on the forums. It is just not read and/or followed in the rush to balk phones up most of the time. I have done pretty much every mod on the Atrix forums multiple times. Only once have I had a panic, and that was actually last night flashing back to Aura from CM7 when I got stuck in a boot loop. I found the resolution which was to fastboot -w, and then flashed the boot.img from Aura and was good to go. Found all the help I needed in these forums.
[Atrix 4G General] live4nyy:
Actually, I pointed him there first, I win! So thank me too. jk :D
[Atrix 4G General] CaelanT:
<edit> post deleted......wtf ever.....next time I'll let you write the instructions for someone who obviously was struggling.
[Galaxy S I9000 Themes and Apps] JazonX:
On the default Launcher (Not TW) - The one with just 3 options in the front homescreen dock, Phone, Menu, Browser,

Can I change the Default browser to Opera (Along with its icon) ?

Ok, Further pointing out what I meant -> (Screen Grabbed rom Google images - Not Mine)

Also, are there any other custom docks with custom backgrounds and icons fr this launcher ? So far I haven't seen a single mod for this launcher. :-(
[Galaxy S I9000 Themes and Apps] TettZor:
Google "ud launcher". Best modded stock launcher ever.
[Atrix 4G Q&A, Help & Troubleshooting] EclipseX:
now he have all libraries off htc sense ....because htc launch OpenSense with DevHtc and ProHtc sense

Can We port all "sense" to all android devices?!
[Atrix 4G Q&A, Help & Troubleshooting] ssmr2t:
Thats what Im talking about! I want me some 3D action!!
[Desire Q&A, Help & Troubleshooting] ferencz1:
For me it's not working for 2 weeks now :confused::confused:

Only this message is on: "text is available under the creative commons attribution-shareAlike license"

Anybody help?

Thank you
[Milestone 2 Android Development] r2beta0:
Thanks to dangpzanco for the GREAT IDEA.

I finally got my Rooted GB working here. I can't provide a download link now but I'm going to do it later for sure.

Apparently there was a final signature check that was done somewhere after mounting the cache partition, preventing me from booting with a pure update.zip on top of froyo /system. Thanks to dangpzanco I could bypass it and get root.

Quick Guide (requires froyo, root and Droid2bootstrapper):

1. Download fixed SBF bellow. It's made from the CH leak containing ONLY: CG35.smg (boot) CG47.smg (recovery) CG61.smg (devtree) firmware.hmg (header) RAMDLD.smg (flash updater).

2. Download root_and_recovery.zip and copy it to SD Card.

3. Download full leaked SBF from General Forum (CH, signed) and use MotoAndroidDepacker to extract all images.

4. Copy the CG39.smg to /sdcard/

5. Boot into CWM

6. From CWM open adb shell and use this command: dd if=/sdcard/cg39.sm of=/dev/block/system

7. Still on CWM apply root_and_recovery.zip

8. Still on CWM wiped everything

9. Boot on bootloader and flash fixed SBF

10. Reboot
[Milestone 2 Android Development] w0ndersp00n:
I actually did the same thing! I read it somewhere in one of the topics. I installed Defy BootMenu instead of CWM. Works great! Right now I've almost removed all the Chinese crap and got the GApps working (from CM7).

I also removed the Blur items for the Chinese SN's. I'll see if I can get Twitter and Facebook working with it.

2nd-init would be nice too actually. Does the method provided in the other thread work with this ROM?

Edit: the instructions were indeed from dangpzanco!
[Milestone 2 Android Development] w0ndersp00n:
And right now I found a possible bug. My camera doesn't work. Everything is black and stays black. Photo's are take as they should however.

Can you check whether you have the same issue?
[Milestone 2 Android Development] r2beta0:
Here it works fine. Have you tried to edit /system/build.prop?

Change device from ME722 to A953.
[Milestone 2 Android Development] w0ndersp00n:
Yes, I changed it to A953...

Maybe I have deleted something that was necessary for the viewfinder... But what xD

Edit: Allright, nevermind. Somehow a reboot fixed it :-D On to the next step :D
[Milestone 2 Android Development] r2beta0:
Something bad happened when I tried to apply 2nd-init on this. The phone rebooted just after 2nd M logo not allowing me to get into CWM. Wierd, since CWM should take place before 2nd-init. Will need to raflash froyo and start over. We should find a way to root Gingerbread without CWM to make things faster.
[Milestone 2 Android Development] w0ndersp00n:
That's odd indeed. I have to say, I think the CWM method of rooting is actually quite easy. For SuperOneClick I need to get my PC/laptop out every time and with the update.zip I can do it as I please.

I really hope you'll succeed wit 2nd-init. If you need help, just shout! Today and tomorrow I have enough time.

I'll make a nandroid of my current setup, so I can continue trying out stuff.
[Milestone 2 Android Development] r2beta0:
Yeps, it is easy indeed, but to do it I need to SBF froyo before installing GB again. In other words if I mess up the phone I will need to flash 2 versions instead of one. That's why it would be easier to flash just GB.
[Milestone 2 Android Development] dangpzanco:
Hey there, nice I could help.

I think you could copy the /dev/block/system back after rooting and build the SBF with it.

@Milestone 2 (Finnaly on Gingerbread!)
[Milestone 2 Android Development] r2beta0:
I tried that with froyo but it didn't work.
[Milestone 2 Android Development] walter79:
you can try also this defy leaked gb rooted nandroid backup.

http://www.multiupload.com/SPZ8SIEC60

version 4.5.1-134 multilanguage.

use fixedsbf from new leaked milestone2 rom and milestone2patch from MS2Ginger thread.

In this rom /system/app/kpilogger.apk cause battery drain so delete it after install.
[Milestone 2 Android Development] w0ndersp00n:
Something is seriously wrong... My backlight never shuts down. It's black, but when it's dark you'll see it's still on!

I actually can't change the brightness from settings. So I did a complete reinstall and the problem persists!

I'm using brightcontrol app now to adjust the brightness, but does anyone else has this issue? Or is it something I did?
[Milestone 2 Android Development] julianlatasa:
r2beta0 can you please upload the nandroid of your system?

I try to get adb in CWM but it didn't recognize it.
[Milestone 2 Android Development] r2beta0:
My system is messed. I still need to get 2nd-init to work. I'm having a lot of trouble trying to compile my custom version of logwrapper hijack. As I don't have experience in compiling stuff to ARM/Android it is being a pain in the a**. I'd appreciate some help here :)
[Milestone 2 Android Development] dangpzanco:
Try setting up a QEMU environment with the GB leak kernel's zImage.

Edit: Now we can port CM7!!! Devtree.img is now signed.

@Milestone 2 (Finnaly on Gingerbread!)
[Milestone 2 Android Development] r2beta0:
And how do I do that?

I tried some ways till this point:

- Installed CodeSourcery G++ Lite toolchain (could compile, but android didn't run)

- Installed NDK and tried some commands I could find on blog posts (no luck)

- Now I just finished setting up an ubuntu 10 VM with all the steps described on developer.android.com. I think I am now able to compile android system, but I don't want to as it will take a LOOONG time.

Do you know how do I build a specific module into android source? For example:

system/core/toolbox

I'm a developer, and have compiled stuff to run on linux/unix many times. But this ARM stuff is way complicated. Writing the code isn't the problem, but compiling is. Lots of flags I haven't seem before, and so on.
[Milestone 2 Android Development] r2beta0:
I just uncovered this answer by myself.

A 'make toolbox' on root folder seems to work just fine. Now I need a way to define new targets on android build system.
[Milestone 2 Android Development] dangpzanco:
http://and-developers.com/

Has a page just for compiling the kernel from source. (I can't remember the link)

I also got stuck when trying to compile from AOSP... but I think you need to have ALL the files downloaded from source (specially the big prebuilt folder) even if you want to compile a single binary.

Well I'm not sure of anything...

Edit:Now I read what you wrote... so never mind you got it.

@Milestone 2 (Finnaly on Gingerbread!)
[Milestone 2 Android Development] r2beta0:
Yeps I've made a full repo sync. It took 3 hours and is worth 6GB disk space :)
[Milestone 2 Android Development] w0ndersp00n:
Great news! Can't wait to see a true custom ROM working :)

Just thought I'd share what I've learned: don't mess too much with your build.prop :P Somehow my modifications were the reason of my backlight not working right and making every app crash that wanted to use a sensor. But it's working again :D
[Milestone 2 Android Development] phoxy84:
To bad my sensors and backlight are not working on MS2Ginger. Can you sent me your buld.prop so I can see if I can fix it? Or I can sent you mine ;)
[Milestone 2 Android Development] w0ndersp00n:
Well here it is. It's now default, only changed product model in MotoA953 for it's identification and changed max_events_per_sec and the vm_heap.
[Milestone 2 Android Development] phoxy84:
Thanks, did not help for sensors and backlight. I will wait for the fix :)
[Milestone 2 Android Development] AragornPE:
Wrong thread =/
[Milestone 2 Android Development] dangpzanco:
Not working on stock GB leak:

Wifi Tether

@Milestone 2 (Finnaly on Gingerbread!)
[Milestone 2 Android Development] PetrusDLX:
it's working for me with the "Wireless Tether" App
[Milestone 2 Android Development] w0ndersp00n:
Google Maps Navigation doesn't work with Stock GB. Keeps FC'ing when GPS is enabled. Navigon works just fine however.

Anyone tried Google Maps Navigation?
[Milestone 2 Android Development] dangpzanco:
Excuse me, what does FC'ing mean?

@Milestone 2 (Finnaly on Gingerbread!)
[Milestone 2 Android Development] Liori:
One question, which exploit you use to root the CG from GB in CWM recovery?
[Milestone 2 Android Development] dangpzanco:
I did like this:

I was on froyo and with bootmenu 0.86 for A953 installed (download its update.zip), opened up Rom Manager -> Download Rom -> Extras -> subinary for gb 2.6.3 and subinary 3.0 beta.

Rebooted,ADB ON , nandroid backup, flash CG39 via adb, flash subinary and bootmenu, advanced wipe Dalvik Cache, flash fixed sbf.

Su binary 2.6.3 didn't work at first, so i flashed beta and done. No need to wipe data/factory reset, but i wiped cache just in case.

@Milestone 2 (Finnaly on Gingerbread!)
[Milestone 2 Android Development] Liori:
Nvm, I realized it's as easy as copying su and superuser to their corresponding position.:)
[Milestone 2 Android Development] w0ndersp00n:
Force Closing :(
[Milestone 2 Android Development] dangpzanco:
Yeah, I was gonna do that, before thinking of update.zips :)

@Milestone 2 (Finnaly on Gingerbread!)
[Milestone 2 Android Development] Liori:
So after obtaining root, custom roms would be the next goal.:)
[Milestone 2 Android Development] dangpzanco:
Yeah, CM7 would be great. Another thing: If you don't to bother with bugs don't flash the new GB cooked Rom from walter67 (something like that), I think he will fix that in a future release.

@Milestone 2 (Finnaly on Gingerbread!)
[Milestone 2 Android Development] sahilarora911:
I have the same problem though I'm using MS2Ginger Beta5 by Walter79. Did you get this resolved? You can clearly know in the dark that the phone's backlight is on. Though it is dim enough to escape you in the light.
[Milestone 2 Android Development] phoxy84:
Same problem here, fc on Navigon as well.....
[Milestone 2 Android Development] w0ndersp00n:
I installed the MS2GingerforMilestone.zip which fixed it. After that I started again from scratch :D Haven't got the issue anymore.

Navigon works here just fine. But I'm using my own cooked ROM, based on the latest leak.
[Milestone 2 Android Development] phoxy84:
Where to download that zip?
[Milestone 2 Android Development] w0ndersp00n:
The zip attached to the OP here: http://xdaforums.com/showthread.php?t=1169038

I got the filename wrong.
[Milestone 2 Android Development] r2beta0:
No exploit, just placing the files into the right locations with the right permissions.

When on CWM Recovery, before flashing CG39.smg with dd, copy the files needed:

- mount system in CMW

- adb pull /system/xbin/busybox

- adb pull /system/bin/su

- adb pull /system/app/SuperUser.apk

Then you flash CG39.smg with dd

After that you should adb push the files to the same place.

Open adb shell

- cd /system/xbin

- chmod 755 busybox

- ./busybox --install -s /system/xbin

- busybox chmod 06755 /system/bin/su

Boot into android and install bootstrapper normally.

All done.
[Milestone 2 Android Development] phoxy84:
After re-applying the zip, still FC on Navigon :(

Update, afeter re-applying with Defy bootmenu the light, gps and sensors are working
[Milestone 2 Android Development] w0ndersp00n:
Then I guess it's specific to MS2GingerBeta5... you might want to go there for more support.

You can also use my cooked ROM if you can live without the Social Integration that MS2Ginger has to offer (and all the kernel modules such as multitouch and overclock. I will bake them as soon as 2nd-init is working :)) ...Check out the thread at t.net and try it out ;)
[Milestone 2 Android Development] phoxy84:
I updated my post :)

edit: also Navigation (google) works
[Milestone 2 Android Development] w0ndersp00n:
Nice, great news. I will see if that will solve my Google Navigation issue as well.

Edit: Nops. Google Navigation keeps it up with it's FC's... Navigon still going strong. whatever :P
[Milestone 2 Android Development] phoxy84:
There is a new update:

http://xdaforums.com/showpost.php?p=16592911&postcount=377
[Milestone 2 Android Development] w0ndersp00n:
How did you apply with Defy bootmenu? I can only apply with CWM and it keeps aborting the installation because the update script is deprecated...
[Milestone 2 Android Development] walter79:
I can post rooted nandroid backup of new leak rom.

GoogleNavigation FC = missing tts.apk Fixed in MS2Ginger2.

For Problems with leaked china rom have a look to the MS2Ginger thread in defy section. http://xdaforums.com/showthread.php?t=1140839

!Changlogs!
[Milestone 2 Android Development] walter79:
first ms2patch is for CWM version > 3.xx new mspatch is for CWM version 2.xx
[Milestone 2 Android Development] phoxy84:
First gave an error too in CWM >3....
[Milestone 2 Android Development] walter79:
Could you post error?
[Milestone 2 Android Development] phoxy84:
Ok, wait. I am confused.

Milestone2patchforMS2Ginger.zip is for CWM 3 and working

ms2patchcwm2.zip for CWM 2?

Also I used Root Explorer to get the files from ms2patchcwm2 in the /system folder, after that, lights and GPS stopped working.... :(
[Milestone 2 Android Development] walter79:
CWM 3 = defy bootmenu

CWM 2 = droidbootstrap
[Milestone 2 Android Development] walter79:
Could you sent me working setup (files from /system/lib/hw) so i can make working update.

Did you copied build.prop?
[Milestone 2 Android Development] phoxy84:
Sorry, can't help since mine is messed up

Yes, I did copy.

Are the files in your patch the only files that need to be in HW folder?
[Milestone 2 Android Development] w0ndersp00n:
All right! That TTS stuff was the magic key to having Google Navigation working. Now off to bed. I have to work in about 6 hours...

I can sent /system/lib/hw from my build tomorrow if you want to.
[Milestone 2 Android Development] phoxy84:
Great, I can wait

For the record, here is mine

Edit:

Advanced restore /system and re-applied patch. Attached the new hw folder with working ligths and sensors.
[Milestone 2 Android Development] r2beta0:
Just updated main post. Uploaded 2 new files. Hope this make your lifes easier :)
[Milestone 2 Android Development] walter79:
If you like deblur this rom.

Check this:

http://xdaforums.com/showthread.php?t=1215798

disable motoblur account via build.prop
[Milestone 2 Android Development] r2beta0:
Thanks, will take a look into that after I finish my custom hijack. Also, blur on GB appears to be lighter. the phone is much faster now.
[Milestone 2 Android Development] walter79:
Try gb without motoblur account. Better.
[Milestone 2 Android Development] PetrusDLX:
there are any bugs?
[Milestone 2 Android Development] r2beta0:
I skipped the Motoblur setup, no account here.
[Milestone 2 Android Development] Liori:
Thx for that! After deleting loads of bloatware, there is one thing I need to solve. It seems that the messaging apps (both stock and gosms) can't recognize number starting with a country code (with a plus sign) (ie showing number instead of name). Any ideas?
[Milestone 2 Android Development] phoxy84:
Strange. I have country codes before the numbers and stock messaging recognize the names....
[Milestone 2 Android Development] Liori:
I saved my contacts without country code, but since incoming messages come with country code, the sms program can't recognize the corresponding contact.
[Milestone 2 Android Development] walter79:
Why not use this way to root new rom?

http://xdaforums.com/showpost.php?p=14483676&postcount=241
[Milestone 2 Android Development] r2beta0:
I'll try it, but I don't think it's going to work...

Defy method of creating custom CG39.smg and flash via sbf_flash or RSD Lite didn't work on my tests with froyo.

Edit: Sorry, now that I've read it more carefully I see that this is in fact a nandroid backup of /system and not a custom CG39.smg. For sure it's going to work, but we will still need to rely on froyo if we mess the system too much. Still it cuts some steps in order of getting rooted GB.
[Milestone 2 Android Development] julianlatasa:
Hey guys, specially r2beta0, I'm having a problem, I succesfully extract the last GB ROM signed from China... but when I insert the nandroid It stay in bootloop...

The problem I think is something with yaffs... basically I unyaffs the nandroid, insert root, modify some thing, yaffs again, but when I insert it, and after that put the sbf fixed, it stay in bootloop, is not the first time that this happen to me, I try before with froyo but I have the same problem... anyone try this before? or have a tutorial that works? I found some thing in the forum how to cook rooms, but it doesn't work.

If anyone can help please it will be great, if this work, somehow, I maybe will be able to try start porting CM7.

Thanks
[Milestone 2 Android Development] dangpzanco:
Not if you have bootmenu installed via update.zip

@Milestone 2 (Finnaly on Gingerbread!)
[Milestone 2 Android Development] dangpzanco:
I tried that with froyo too. When you mkyaffs2image the system.img becomes corrupted (just try to extract it and you'll see). Use the method used some posts above.

@Milestone 2 (Finnaly on Gingerbread!)
[Milestone 2 Android Development] r2beta0:
Yeps, I faced that too. You can't change specific parts of /system if you want to avoid Moto protection. So far I've discovered that there is a protection linked to /system/bin, but there should be other protected folders.
[Milestone 2 Android Development] julianlatasa:
Is extrange... I try this... I unyaffs an image, without touch anything mkyaffs again, and the checksum is not the same, so something must be changed in the process.

I have another idea, use dsixda Kitchen, but instead of format SYSTEM change it for recursive-delete on each folder. Any one try this?

Also there is a post about huge update.zip because it wont be easy to run such an update.zip.

Anyway, if I can do this my idea is to just copy the all lib directory into CM7 for Defy, maybe check one or other file, and again generate the update.zip, but first check if this work and maybe we can have CM7 in our devices.
[Milestone 2 Android Development] dangpzanco:
I already tried it that way when we had only froyo, it may work if you try. But make sure you delete /system/etc/motorola/bp_nvm_default/pds_init from CM7 or you'll face GSM not working even after SBFing.

@Milestone 2 (Finnaly on Gingerbread!)
[Milestone 2 Android Development] julianlatasa:
Thanks for your replys dangpzanco... and for the advice. I keep thinking that if i include cwm and bootmenu i wont need to reflash everything all the time y just can restore the previous nandroid and will be easy.

Anyways... what was your experience when you do that with CM7?

Also you can modify from linux the 2nd init and hijack
[Milestone 2 Android Development] dangpzanco:
I was doing some tests with the CM7_update.zip:

The first time I flashed, I fixed the baseband before flashing, so I got stuck and flashed SBF. The second time I didn't, and when I flashed back to froyo the GSM connection was not working (calls and data). I tried that everything and after days without internet (and using a Nokia 1100 =P) I found the solution in the forum (it's a chinese apk)...

Well if you extract the update.zip you'll notice boot.img and devtree.img included and commands to flash it. The question is:

How do they flash it if the system checks if the signature on boot and devtree is the same on ctd.bin?

There's some useful info here:

http://and-andevelopers.com/cdt:partitions

@Milestone 2 (Finnaly on Gingerbread!)
[Milestone 2 Android Development] r2beta0:
My guess is: They flash signed official boot.img and devtree.img extracted from SBF and just rename the CG*.smg to the friendly names.
[Milestone 2 Android Development] will5:
We can try that?
[Milestone 2 Android Development] dangpzanco:
Hm... if that is the case we just need to exchange the images with ours (and other files) to get it booting.

@Milestone 2 (Finnaly on Gingerbread!)
[Milestone 2 Android Development] will5:
Defy's cm7 need froyo base to boot? Or it can be flashed on top of GB ROM?

If we flash GB boot.img on a defy running cm7, it will stop booting?

Maybe we need to adapt defy froyo on m2 replacing .smg files and then flash cm7?
[Milestone 2 Android Development] dangpzanco:
I think the base must be froyo and they flash the GB boot and devtree, but the only way to be sure is either testing or comparing the MD5 Hash with Defy's SBF GB leaks CGs (one by one from newer to older).

@Milestone 2 (Finnaly on Gingerbread!)
[Milestone 2 Android Development] Endless7:
I search on http://defy.tanguy.tk/kernel/ and it seems that the latest defy CM7 use the 179-002 kernel. So I google it and found this rom JRDNEM_U3_3.4.2_179-002_DEBLUR_SIGN_SIGNED_UCAJRDNEMARAB1B80AA03A.0R_PDS03C_USAJRDNFRYORTCEE_P016_A016_HWp3_Service1FF.sbf

It`s central Europe 2.2.2 and download here http://www.multiupload.com/0YCOXFJ1IJ
[Milestone 2 Android Development] dangpzanco:
Have you checked the md5 hash between boot.img/devtree.img and CG35.smg/CG61.smg from that SBF?

http://and-developers.com/partitions:cdt

Edit: thanks wallter.

@Milestone 2 (Finnaly on Gingerbread!)
[Milestone 2 Android Development] walter79:
CG61.smg = devtree