yashsingh1/xdaforums huggingface dataset:
[MDA II, XDA II, 2060 General] faisal:
Phone Plus did work once I installed eVB

http://www.microsoft.com/windowsmobile/resources/downloads/developer/evb.mspx

Like D9, it searches within the first name; is a bit slower than Finger Clix but unlike Finger Clix, it gives a phone type interface and numbers can be dialed directly as well

For some reason it silenced the keypad sound in the default phone application (and in Finger Clix too? I am not sure if it had this to begin with). Once Phone Plus and eVB are removed, the phone keys regain their nice soft beep when pressed.

Hope this helps.

Anyone using Finger Clix ? Please tell me if pressing keys gives a soft beep since I seem to think I have lost this while trying the above experiment.
[Motorola Atrix 2] Ravikirancg:
Original thread by hashcode for RAZR http://xdaforums.com/showthread.php?t=2181971

Here is a copy paste.

Currently, there is one kexec based rom for Atrix 2 CM10.1 by wanggjghost here.

Source Code for Atrix 2 http://sourceforge.net/projects/atrix2.motorola/files/

and http://sourceforge.net/projects/me865.motorola/files/ME865/

Other source code that can help you wanggjghost's github https://github.com/SunRain/android_device_motorola_edison

ISSUES TO BE SOLVED

The current major issue regarding Kexec is that some devices get a black screen once kexec is executed.

This thread to discuss and develop a solution for it. And once that is solved, to discuss custom kernels.
[Motorola Atrix 2] alteredlikeness:
Here's another panic log: http://pastebin.com/TdU31ERU

Regarding the "PVR_K: (Error): BridgedDispatchKM: Initialisation failed. Driver unusable." error that Ravi pointed out... and for my curiosity..

Can someone who has the kexec build running run these from a command line, please? (and post the output here):

adb shell
cat /proc/pvr/version

strings vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so | grep build
[Motorola Atrix 2] jaymccoubrey:
$ adb shell

* daemon not running. starting it now on port 5038 *

* daemon started successfully *

error: device not found

$ cat /proc/pvr/version

Version SGX_DDK_Android sgxddk 19 1.9@2166536 (release) omap4430_android

System Version String: SGX revision = 1.2.0

_POWERVR_SGX540_120.so | grep build <

OpenGL ES GLSL ES 1.00 build 1.9@2166536

OpenGL ES 2.0 build 1.9@2166536

$

---------- Post added at 04:41 PM ---------- Previous post was at 04:35 PM ----------

Is that what u need?
[Motorola Atrix 2] alteredlikeness:
Yup, thanks.. I was just chasing wild geese again..

[Edited to reduce clutter, etc.. :p]

So, yea, wild goose chase...

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

Also, @Ravi - this is my current device BoardConfig:

# inherit from common
-include device/motorola/omap4-kexec-common/BoardConfigCommon.mk

# inherit from the proprietary version
-include vendor/motorola/edison/BoardConfigVendor.mk

# Processor
TARGET_BOOTLOADER_BOARD_NAME := edison

# Kernel
BOARD_KERNEL_CMDLINE := root=/dev/ram0 rw mem=1024M@0x80000000 console=null vram=10300K omapfb.vram=0:8256K,1:4K,2:2040K init=/init ip=off mmcparts=mmcblk1:p7(pds),p15(boot),p16(recovery),p17(cdrom),p18(misc),p19(cid),p20(kpanic),p21(system),p22(cache),p23(preinstall),p24(webtop),p25(userdata),p26(emstorage) mot_sst=1 androidboot.bootloader=0x0A72
BOARD_KERNEL_BASE := 0x80000000
BOARD_PAGE_SIZE := 0x4096

# Kernel Build
TARGET_KERNEL_SOURCE := kernel/motorola/omap4-kexec-common
TARGET_KERNEL_CONFIG := mapphone_1GB_defconfig

And I have the same BOARD_KERNEL_CMDLINE in the mapphone_1GB_defconfig.. but pretty sure I have other issues as well. Here's a kmsg from an attempt at booting mine: http://pastebin.com/VZzg0ALD - containing my favorite debug message ever: Bad BP 0[ID: 0x0], Is this a Phone ??

One more thing, take a look at the atags with a hex editor...
[Motorola Atrix 2] jaymccoubrey:
Im kimda limited on what i no how to do.. Tell me what to do and how ill do it.

---------- Post added at 06:32 PM ---------- Previous post was at 06:26 PM ----------

I download a hex Editor. Where do i look?
[Motorola Atrix 2] alteredlikeness:
Lol.. My ramblings weren't directed at you specifically.. It's just for general (possibly cluttered and useless) info.. And that last note was for Ravi actually - on the topic of board kernel command lines..
[Motorola Atrix 2] jaymccoubrey:
So do u need anything else. Ill help cause ur roms kick ass
[Motorola Atrix 2] alteredlikeness:
Thanks.. But I'll post if I need/want to see something else from kexec running..

And this kexec and kernel stuff is new territory for me (well, android is relatively new to me still also..) - so I am just trying to learn/do what I can.. The more getting involved, the merrier.
[Motorola Atrix 2] alteredlikeness:
Nice :D (I was kinda hoping/guessing it was you).

Will be very glad to see you digging into this phone also. Let me (or any of us) know if you need any assistance..

And thanks again for your major efforts and contributions in general.
[Motorola Atrix 2] Ravikirancg:
Sir, the moto guys at China have done that. They mount /data/media as internal sd. i.e., the stock me865 roms have it. I will upload the ramdisk, vold.fstab, vold.fstab.swap and the build.prop when I get to my comp. I tried using 2nd init with the changes in ramdisk, included the fstab files and made the changes in build.prop but that did help me.. let me know if anything else is required.. for bmm, we just mount data for int and the virtual systems are stored there.

And thanks again for all the work you have done..
[Motorola Atrix 2] Hashcode:
Ah, yep, the /data/media mount is managed via the fuse daemon as a simulated VFAT partition, and needs to have FUSE support in the kernel (easily done in kexec).

Any idea why there are GB kexec modules trying to execute in that log?
[Motorola Atrix 2] Ravikirancg:
ah! It requires a modified kernel as well! Thank you. That was the missing piece when I tried it some months ago. Well any way, the good news is that I have managed to emulate internal sdcard on stock searet. I just need to make out all the necessary changes that need to be made in the build.prop. For now, I just used miui build.prop. So that issue is more or less solved except for att users may have to erase cid to flash the hktw boot.img

EDIT: Well a little more work needs to be done I guess.. just some fc..

regarding the GB modules, maybe I was just experimenting.. since its happening after phone is overclocked, its my doing I guess. I will try loading on stock rom again and will let you know..

and take a look at this. defy having kinda the same issue. http://mcbawse177.appspot.com/pastebin.com/31VLSvyJ

quarx might have an idea on how to solve this.. look at line 1046
[Motorola Atrix 2] Ravikirancg:
that was interesting.. well, among the currently supported phones, all have that partition table except XT875. Only that has lbl and lbl_backup like our phone but it has an emstorage at p26 and p27 is sgpt. here (also take a look at the other models listed there.) I was once just trying kexec with all the devtrees and there was one devtree using which, my keypad got lighted up after kexec was executed. with all others, the keypad would turn off and stay as such. I will try them again. Oh and just for fun (if you have moto drivers software installed on comp), download the devtrees for all the devices, replace one of them, turn off phone, turn it back on with kexec enabled, connect the phone to comp and take a look at the drivers that windows install. change the devtree and do it again..
[Motorola Atrix 2] alteredlikeness:
Well, about the devtree - I found that wang added this to the finalize_release script that initializes the cmdefy bootmenu recovery (courtesy of Hashcode, apparently):

#!/sbin/sh

PATH="/system/xbin:/system/bin:/sbin:${PATH}"

DEVTREE_PARTITION=/dev/block/mmcblk1p12
KEXEC_DEVTREE=/system/etc/kexec/devtree

#For kexec boot, we need a special devtree from each phone model
#So dump a devtree
#Note /dev/block/mmcblk1p12 is the devtree partition for edison
#And 65K is enough
#Credits for Hashcode for this info
[ -f $KEXEC_DEVTREE ] && rm -r $KEXEC_DEVTREE
busybox dd if=$DEVTREE_PARTITION of=$KEXEC_DEVTREE bs=1 count=65000

I made it as a stand-alone script that I was running with my attempts at booting my kexec builds with BMM... no luck - but like I said, my current kexec build has other issues as well I think..
[Motorola Atrix 2] smgulsby:
Ditto hash, great to see you grabbing a seat on A2train.

ALL ABOARD. NEXT STOP KEXEC. Please raise your trays. Lock your seat back to comfortable position, and enjoy the ride!

Any help I can bring, I am but a humble servant.
[Motorola Atrix 2] Ravikirancg:
Hmm.. take a look at the tombstone.

http://pastebin.com/4jrTaAbF

Its just an issue with graphics driver? But it did boot up a couple of times.. and how does it boot up on some a2s?
[Motorola Atrix 2] Hashcode:
Actually we were talking about this and it doesn't work. The devtree needs to be chopped off right at the last null in the file (where it starts turning to all "FF" in a hex editor.

I think it would be a great idea to modify this tho so that it does work.
[Motorola Atrix 2] Hashcode:
This error reminds me more of when there is no gralloc.omap4.so symlink in /system/vendor/lib/hw. Doesn't look exactly kexec related.
[Motorola Atrix 2] Ravikirancg:
Well, I have tried the cm10.1 kexec roms on my phone that were meant for razr. If it was just the rom related, That was supposed to work.. at least the boot animation should show up.. but I had the same issue with them as well.. booted up once or twice though..
[Motorola Atrix 2] atrix2man:
It says that it needs a special dev tree from each phone model. Could it be that the script isnt getting the devtree properly and causing problems 3 out of 4 times booting?
[Motorola Atrix 2] alteredlikeness:
How would one go about chopping at the right spot by script? Or does it need to be done manually for each device group?

And, in theory, would it be able to run at install and work on any device? If so, that would be ideal..
[Motorola Atrix 2] jimbridgman:
This is how to grab and chop in one command at the same time:

http://xdaforums.com/showthread.php?p=39424742

Give hashcode a thanks for highlighting this for everyone in here.

Oh and as I mention two posts down from the link I just posted, our devtree is on mmcblk1p12 and the back up is on mmcblk1p13.

;)
[Motorola Atrix 2] Hashcode:
Yeah, but i hadnt really tested it much. And it looks like that method doesnt like to work. So ill have to come up with something better.

Today has been fairly productive w/ the Atrix 2 that was sent to me.

Fastbooted, rooted, and did a sim unlocked for my TMo prepaid that I use for GSM.

Then I opened it up and fixed the power button, and now I'm re-setting up the device in our unified gits.

Wang has been less than helpful to say the least. There is no recent public source for his build. And he has never submitted any of his A2 work back to us.

So I get to do it from scratch.

Apparently he fixed (or found the commit to revert) to fix the i2c error in the accelerometer device probe?

Anyway, the new build should be testable/buildable with a nice public manifest in another few days I hope.
[Motorola Atrix 2] jimbridgman:
As always, I am at your disposal.
[Motorola Atrix 2] Ravikirancg:
And I am in for testing and providing any debugging information and logs.

My phone is the international ATRIX 2

ICS stock max clock is 1.2GHz
[Motorola Atrix 2] jaymccoubrey:
Im bored ill test for u. At&t clocked at 1200
[Motorola Atrix 2] mtnlion:
My At&t A2 is sitting in my desk catching dust. It's always available to test anything from you gentlemen.
[Motorola Atrix 2] amynjimmy:
Got it booted again....I'm doing backflips

Atrix 2/ ATT /Bmm

1. Stock 4.0.4

2. Miui

3. PA 310 4.2.2

4. CMPA 4.1.2

5. kexec 4.2.2
[Motorola Atrix 2] jaymccoubrey:
How did u get it on bmm?
[Motorola Atrix 2] dumgum89:
http://xdaforums.com/showthread.php?p=39914694

Here is how to modify the rom to be able to run on BMM . I havent gotten it to boot yet though
[Motorola Atrix 2] amynjimmy:
Ya there is a converted file. I'm gonna converted or at least try to convert newest release tomorrow. I didn't do it first but gonna jump on band wagon. Was gonna boot strap it but imma bmm fan.

Atrix 2/ ATT /Bmm

1. Stock 4.0.4

2. Miui

3. PA 310 4.2.2

4. CMPA 4.1.2

5. kexec 4.2.2
[Motorola Atrix 2] Ravikirancg:
Ppl this thread is not for 'how did you get it working on bmm questions'. If you have ideas or thoughts about solving the black screen issue, post here. This is a development thread.
[Motorola Atrix 2] lkrasner:
So I am pretty sure that out black screen issue is device related, not previous software. I tried to get mine to get it, but it works every fricking time.

(wow, why am I complaining)

but I flashed back too stock, put old versions on, etc, but it still fricking works every time. it always hangs for about 5-10 seconds, but that is just the normal kexec load, and it always comes back.
[Motorola Atrix 2] DemosZevasa:
Same here. Only sometimes it restarts moto logo on kexec load then boots CM.
[Motorola Atrix 2] dumgum89:
It seems like my phone is trying to do this but since I am running it on BMM it won't work
[Motorola Atrix 2] Ravikirancg:
AAAND out of nowhere it boots up again. No idea how or why this time. BTW, its a fresh install in bmm slot 3. Took logs of last_kmsg, kmsg and dmseg. Any one wants anything else before the phone reboots and this rom may or may not come up?
[Motorola Atrix 2] amynjimmy:
Something that I noticed about the black screen. is that as long as I power down through power off. And I do not reboot. CM will boot every time. Fast reboot as well works just fine. I have confirmed this on my phone now numerous times. Also when I do this, all my other rooms boot fine. If I go and reboot the Kexec, and I get the black screen. It also complicates the other ROM. I also believe that there have been a few others that have had this work as well.

Atrix 2/ATT/BMM

1. STOCK 4.0.4

2. MIUI

3. PA 315 4.2.2

4. CMPA 4.1.2

6. KEXEC 4.2.2
[Motorola Atrix 2] Ravikirancg:
Nope.. Didn't work. It dosent boot up again..

@Hashcode any updates sir?
[Motorola Atrix 2] nishant203:
It never worked for me. Always a black screen.
[Motorola Atrix 2] Ravikirancg:
I have compared the kernels of razr and a2 (ME865), and also both with kexec kernel. observed that the entire pvr folder under drivers/gpu is missing and the make file modified to not include the folder of course.. if any one is interested, the following folders have considerable differences

kernel/drivers/gpu/pvr

kernel/drivers/video/omap2/omaplfb

kernel/drivers/video/omap2/misc
[Motorola Atrix 2] Hashcode:
The modules are external for sgx now, and the driver removed from "misc" was a dssmgr which swapped modes for Moto's webtop. While nice for Motorola, it was wrecking the main framebuffer for a more AOSP-based ROM. So I removed it.

Question: Is the lis3dh accel still broken in the kexec builds for A2?
[Motorola Atrix 2] Maeur1:
If that question is about the accelerometer and not acceleration, Then no, it does rotate properly and is fully functional. I have been on the kexec for a month now, just reverted last week, and didnt notice it, but there is quite a bit of lag on the kexec, it is quite minute, but i hadnt changed for ages, and so didnt realise it. Now im on the latest CM10 that isnt kexec, and there is a nice boost.
[Motorola Atrix 2] shubham412302:
I think we can have good roms with stock modified kernel as kexec.

we will not need init.d tweaks to oc.
[Motorola Atrix 2] dickluo:
What files should I choice for kexec my atrix2(ME865 with official ICE 4.0.4)

Can I use windows 7 command to kexec it？
[Motorola Atrix 2] ashindnile:
A funny observation... I have noticed that all 1.2 GHz devices seem to work perfect on kexec. Where as my 1 GHz MB doesn't. Does that make sense? Can anyone correct me?
[Motorola Atrix 2] iamezio:
Mine is 1GHz and it works as it should .
[Motorola Atrix 2] Ravikirancg:
Nope.. It's got nothing to do with the cpu frequency.. Mine is 1.2 but it doesn't work. This was the first thing we thought of. The reason it doesn't boot for some of is because of some 'esd' effect on dinara cg.
[Motorola Atrix 2] amynjimmy:
I agree... 1.2 stock and I don't work all the time either.

MB865/ATT/BMM

1. Stock 4.0.4

2. Miui 4.0.4

3. Alterbean 4.2.2 (5/14)

4. Pac man 4.2.2 (5/17)
[Motorola Atrix 2] MDMonster:
I'm running a 1GHz model and never have issues on any kexecs.

Sent from Atrix 2 via Tapatalk 4 Beta
[Motorola Atrix 2] devilhunter47:
I have 1.2ghz device and kexec doesnt work for me
[Motorola Atrix 2] Ravikirancg:
All right. We already know that stock max clock speed has got nothing to do with kexec kernel not booting. So please post here if you have any things else. Now, there is configuration for a touchscreen called cyttsp3_ESD. The Razr doesn't have that. Razr only has the cyttsp3. The esd version has some esd effect. So some extra code is required in the kernel that puts it out of it. The file board-mapphone.c has "When the DinaraCG has the ESD effect.. (I will post the complete one later..)" in short, it needs to reset something. I have tried adding that code and compiling the kernel. The problem is that the kernel cannot acquire the reset pin from the devtree.. That leads to the screen not being initialized and leading to the driver being unusable which leads to other failures.. I have tried with different devtrees with no use.. Now if any of you know about any of this or you know anything else that can actually help, post here. Else, please don't. A few pages back some started discussing on bmm. No bmm. No clock speed. Keep the thread clean. It's really irritating to get a notification that there's a new post in the thread, me hurriedly opening it to see if someone has cracked it, and then just to see that it's about clock speed which was already discussed a lot of times. Or worse about bmm.
[Motorola Atrix 2] jm2k7:
by no means all roms with the same problem. Black screen with green led. :(
[Motorola Atrix 2] deveshmanish:
Do you guys have the capability to read and understand or just choose not to???

He just made a point and look at the response he gets.It's funny actually it doesn't even make sense.

I mean seriously dude(@Ravi) doesn't it make you wonder sometimes about the time spend doing these works and sharing it with an audience who doesn't even have the etiquette to be civilized enough to honour a request???

Whoo..kinda lost it there didn't I??

But really guys do try not to spam the forums with information that is redundant or in some cases just mockery.I know you maybe trying to help(atleast I hope that's what the reason is)but atleast you can spare such topics as to the working of which may not be clear to you.
[Motorola Atrix 2] ashindnile:
But wait. I can't seem to understand. If you can tell me why you can't properly access the devtree, I can fix our problem!

I mean we have the source code. Does it have anything to do with permissions(file system)?
[Motorola Atrix 2] shubham412302:
The black screen is not a problem with different LCD but may be with unstable kexec nature or script.

Because those gets kexec booted also face black screen problem and some gets its booted at least once

---------- Post added at 10:50 AM ---------- Previous post was at 10:46 AM ----------

Some body should contact frankwang to get certificates to sign and directly flash the kernel
[Motorola Atrix 2] Ravikirancg:
If you know that much, why don't you do that yourself? Have you seen the logs? Or the last kmsg? FrankWang was already asked about it. Read the post by our Chinese friend who posted in the general section under "newest jb leak by moto employees ". Seriously. Either solve it and post the solution or just shut up.
[Motorola Atrix 2] jimbridgman:
OMG!!!

Guys you can not sign and run a real compiled native kernel on this phone. The bootloader will not allow it. You MUST have the 2 factor signature that the bootloader uses, to run a native kernel. That or unlock the BL.

For those talking about signing a kexec kernel.... All I can say is that you need to do a little research on what kexec does.
[Motorola Atrix 2] Ravikirancg:
Well some of our Chinese friends got in contact with an ex moto employee named FrankWang. He is the who built and released the JB for ME. There is a thread in general section. The idea is to request him to give us the signature. That way, we can just flash the signed kernel. But unfortunately he isn't willing to give the signatures..
[Motorola Atrix 2] atrix2man:
It was worth a try though.
[Motorola Atrix 2] amynjimmy:
Darn. Well its there anyway we can take the pool of money that everyone pledged for the bootloader unlock and maybe sway him with a monetary donation or something similar? I mean I understand loyalty and I know that other cultures stick to it allot more than mine does but maybe if people they willing to donate back then they would now. Or maybe to his favorite charity if he won't take a bribe.

MB865/ATT/BMM

1. Stock 4.0.4

2. Miui 4.0.4

3. Alterbean 4.2.2 (5/14)

4. Pac man 4.2.2 (5/17)
[Motorola Atrix 2] deveshmanish:
Again guys keep this sort of discussions out of the dev forum atleast.There's a thread in general section about kexec better carry this over there or a new thread.

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

May the -Mass times Acceleration-be with You...
[Motorola Atrix 2] jimbridgman:
That is wanggjghost (frankwang).... He can't give you or I or anyone the signature. It is a 2 factor signed signature, so unless you know of a way to get the company who actually signs their signature or certs (usually someone like RSA), plus then the actual moto signature, then there is no way to do it.

We are much better off just using kexec, that is what it was made for (avoiding the BL signatures).

This phone will NEVER have a native custom kernel, unless we unlock the bootloader, or someone knows someone at moto (other than wang, as he is an ex moto employee now), and someone at RSA, or whoever is signing their key... just look at the BL in a hex editor, and you can see the 2 keys (2 factor), one is self signed by moto, the other is not, and appears to be an RSA key.

Come one... this is supposed to be the dev area guys.. it took me like 15 min. to find this stuff, when I first started looking.

Also, all this about the signatures and trying native kernels, is a whole other subject from the OP here, so let's get back on to the subject in the OP.
[Motorola Atrix 2] atrix2man:
Yea kexec would be our best bet. Kexec seem cooler anyways.. Getting motos signatures would be a waste of time.