yashsingh1/xdaforums huggingface dataset:
[Motorola Triumph] b_randon14:
Yeah I will on the cm7 kernel. As of right now I'm gonna try to get a stock froyo kernel booting off code Aurora sources then go ffrom there.
[Motorola Triumph] b_randon14:
I've got my Linux mint 13 up and running so I'm going to try to get my build environment setup to build kernels either tonight or tomorrow and start pulling in source.

By the way, Linux mint 13 is pretty nice distro so far. I like it alot better than Ubuntu!
[Motorola Triumph] g60madman:
Also you don't need to download the pumpkin branch simple download the kernel

git clone git://codeaurora.org/kernel/msm.git

git reset --hard M7630AABBQMLZA2030

The M7630AABBQMLZA2030 is the pumpkin branch and that should take us back to the vanilla kernel
[Motorola Triumph] b_randon14:
Here is the pastebin link for the warning I was getting from the linker during the build of the code Aurora kernel.

http://pastebin.com/GLMBSz26

You can look at the kernel source on my github. Its the froyo pumpkin kernel repo.

The warnings cone from the gcc linker saying that it's trying to link a non executible section in built-in.o

I'm not sure where to start looking for the issue at. If anyone can lend any insight I would be grateful!
[Motorola Triumph] b_randon14:
I switched to the gcc 4.3.1 toolchain included with the cm7 source and it booted up. Worked just as good as the stock kernel. I'm gonna have to see why the newer toolchains are not compiling it right. I use linaro 4.6 on bKernel froyo which is based off motos source. So I don't see why it wont build this code right. But at least I got one to boot! !!
[Motorola Triumph] g60madman:
Good work brother!
[Motorola Triumph] b_randon14:
Thanks. Now lets try to move on up to 2.6.35. My idea is to make a different patch between 2.6.32.9 and 2.6.35.7 and maybe that will simplify updating it. I'm not sure which gingerbread branch I'm gonna use for the 2.6.35 kernel!
[Motorola Triumph] g60madman:
I would think the gingerbread branch, and use the M7630AABBQMLZA404025I.xml version. That is where I snagged the keyboard updates.
[Motorola Triumph] elol:
you can use source kernal .35 for device fih-fbo..we are the same drive only need to change touch driver..
[Motorola Triumph] b_randon14:
Yeah I would use the fih kernels but we has issues with them rebooting on us.
[Motorola Triumph] elol:
yes you need get a logcat and new baseband for this kernal...I have a file to solve the rendom reboot..but I can't help to get you for the baseband...
[Motorola Triumph] b_randon14:
The kernel shouldn't have nothing to do with the baseband. Which file is it?
[Motorola Triumph] elol:
yes I know,I mean in rom library need these file,I will give you file when I go back home
[Motorola Triumph] b_randon14:
Anyone got any ideas to fix the issues with newer toolchains when building from the code Aurora source?
[Motorola Triumph] g60madman:
Have you tried downloading one of the gingerbread repo's from code Aurora? I am not sure if they have a different version of the tool chain or not?
[Motorola Atrix 2] jimbridgman:
Hey, so lkranser and I have made a great discovery tonight.

lkranser's recovery partition was erased due to some of my advice to him.

So I cat'd my recovery partition (/dev/block/mmcblk1p16) into a recovery.img file, and he was able to cat that recovery image file that I created into his recovery partition.

So now the question is how can we use this to our advantage and get CWM on /dev/block/mmcblk1p16, and get it to come up with holding both volume buttons and the power button, as this is the way it works on every other phone.

Idea guys, this thread is a place to throw out some serious ideas to get this to work. Please don't ask for any how-to's for this here.
[Motorola Atrix 2] lkrasner:
a few things.

1. it was not anything you did that made me wipe recovery, it was just me being a complete idiot

2. basically I think we need to figure out how to modify what you cat'd over. then we can pull an image from a similar device that has a true cwm recovery and edit what we need to like the specific partitions in order for it to work on our phone. then we can just cat it over and bingo! working full cwm.

3. why is it that stupid things I do always end up leading to great discoveries on here. this is like the 3rd time it has happened.

so any ideas on how to mount that file in a way we can actually look at it.

---------- Post added at 09:39 PM ---------- Previous post was at 09:22 PM ----------

Some more stuff I found: http://www.clockworkmod.com/rommanager

That has official cwm recovery builds for all supported devices. many have images, I think all the ones with unlocked bootloaders. those images would be flashed with fastboot, or probably could be cat'd over like we did.

others have flashable zips (all the moto devices) and i think those are all the ones with lockked bootloaders. I don't have tie to dig into what they really do right now, but i appears that they just copy some files for recovery to /etc and other places suggesting those devices have a different recovery method

I still think the biggest priority is figuring out how to see the contents of the images with our recovery stuff and those for other devices.
[Motorola Atrix 2] JRW 28:
I can tell you what happened to me the other day, I was getting ready to to use RSD as I was bootlooped and went to boot into fastboot but accidentally booted into BP tools and when it booted it booted to CWM. So I tried it a couple of times with the same exact results. Fluke, IDK ??? Havent been in trouble since to try it again!
[Motorola Atrix 2] lkrasner:
what is BP tools even
[Motorola Atrix 2] JRW 28:
I've wondered the same thing????
[Motorola Atrix 2] lkrasner:
it never does anything for me. it just boots normally into the os. that is why it is going to cwm if you have it set on boot. it did that for me too
[Motorola Atrix 2] JRW 28:
Yea but even on a normal boot I could never get past the red moto screen, tried several times hopi g to get into CWM and not have to RSD back.

Just wierd that normal boot wouldn't work but BP tools did?
[Motorola Atrix 2] shardul1994:
The only difference I could see is an app called CQATest in the drawer. Has many different tests available. About 50+
[Motorola Atrix 2] lkrasner:
made a major breakthrough. my internet is down though so I can't really keep working on it or post details, but I should by tomorrow. stay tuned. stupid Comcast.

EDIT: I'm back up. So basically I figured out how to separate the kernel and ramdisk of both our boot and recovery images. it did not work to re-combine them, but it may still be useful for building cyanogenmod to be able to have our straight kernel. PM me if you wan't more detail.

That said, it did not do exactly what I wanted, but I think at this point we should be able to simply build cwm according to the guides for it. I am doing it right now, and it is in the final build process, so I will let you know how it all turns out.
[Motorola Atrix 2] lkrasner:
So, I got it built successfully, but i won't boot. it seems to be the same problem I had before with the stock one. it is way smaller when It is all put back together. around 5 MB instead of 9.

Any ideas why? it appears motorola does not use the standard recovery stuff
[Motorola Atrix 2] jimbridgman:
Yeah I already have a perl script to do all the separation, but it still puts the kernel into several files, and not just single kernel file with a few separate .ko files.... If you found something that I haven't, then that is awesome.

Here is the script that I use to pull it out of the boot.img:

https://dl.dropbox.com/u/45576654/unpack-bootimg.pl
[Motorola Atrix 2] jimbridgman:
I suspected that might be the case.
[Motorola Atrix 2] lkrasner:
any ideas why.
[Motorola Atrix 2] lkrasner:
mine gave me a ramdisk.cpio.gz and a kernel.gz, I didn't extract that. it was also a pearl script, so probably the same one.
[Motorola Atrix 2] lkrasner:
I know I have posted here way to many times. But I want to get this to work.

It seems motorola has done more weird **** to their recovery partitions. Normally you can use certain scripts and binaries to separate a boot or recovery image (they follow the same format) into the ramdisk and kernel. That SHOULD be all that is in them. you can then modify the ramdisk to your liking, or use the kernel with cwm or the like to make it work. However it seems there is more to our image than just the ramdisk and kernel. when I extract them and repack them it seems to work fine, but the result is 5.5MB instead of 9.4MB with no modifications.

Does anyone have any idea what the deal is with that? I think if we can figure out that part we should be able to get a true custom recovery.

P.S. are you sure we cannot replace our boot.img with this same copying method? That is if we could even figure out how to modify it. Is there a hardbrick risk in trying? if so, Any volunteers? :p

EDIT: so our boot image will unpack and repack to the same exact size, so I think that means we could theoretically edit the ramdisk if that would do any good. the question still remains whether the phone checks its signature on boot or only upon flash
[Motorola Atrix 2] Harrison85:
Anyway to test if it checks on boot or flash?
[Motorola Atrix 2] lkrasner:
I can make a small change that would make it un verified then someone could copy it over and see if it boots. the problem is I am not 100% sure we would be able to restore to the original if it would not boot. I am 99% sure we would be fine, but I don't want to risk bricking completely. My guess is jim will know if it is safe to test or even worth trying, but if you want to be the guinea pig just tell me and I'll send you instructions.
[Motorola Atrix 2] Harrison85:
By all means throw Me instructions and I will give it a shot right now
[Motorola Atrix 2] lkrasner:
Nevermind. I was sort of wrong. Both images separate just fine and can be recombined, but extracting the ramdisk seems to not extract the whole thing, it is much smaller when it is repacked. therefor you cannot really edit it at all.

Any ideas why?? I think it is just Moto being a pain in the ass as usual.
[Motorola Atrix 2] jimbridgman:
That is it in a nutshell. They pack their boot image in a different way from all other phone manufacturers, and not in a standard way for android. That is why Moto has their own "special" non-standard bootloader. They use a bitblast to package the boot image files, on top of the standard tgz, so the important files are "zip blasted" on top of the others in "superbit blocks", so there is not much we can do, unless we can de-a-line them, but that is not something I even want to start poking at.
[Motorola Atrix 2] jimbridgman:
You can give it a try the FXZ SHOULD replace the boot.img if you muck it up.

The one thing to remember though, is that you should not be able to boot, unless you sign it with Moto's RSA cryptographic signature. If it does boot, then we learned something very important, but my hopes are not high, since I have attempted this sort of thing before. The only thing you can not do is attempt an AOSP kernel load, if you do it will HARD BRICK the phone.
[Motorola Atrix 2] lkrasner:
Wow, I really hate them now. I don't want to give up on something like this again.

---------- Post added at 12:59 PM ---------- Previous post was at 12:54 PM ----------

thats good to know. My guess is you found that out the hard way :eek:
[Motorola Atrix 2] jimbridgman:
I know it is so frustrating to constantly get so close with everything, just to hit a brick wall. I haven't given up on it fully, yet. there are still things we can do, to attempt these things.

Lets keep trying the CWM stuff. I am trying to cook up something and see what I can do.... I might ask for your help to package it in the kitchen, I so hate that thing... I have so much trouble getting anything to flash properly... that is why lfaber06 started to make his ROMS by a single flash to HIS phone, then make a backup once it was right.

This one is on the back burner this week for me though, since I am working on the one script, I decided to let the windows users in on it too, so I am also converting it to batch as well. Just don't tell anyone I know anything about DOS or windows it is kind of embarrassing, that and I have not been asked a "support" question in many years. ;)
[Motorola Atrix 2] jimbridgman:
Yeah 4 phone exchanges now, in trying different ways to boot an AOSP or crack the bootloader, to allow it.
[Motorola Atrix 2] lkrasner:
I've had kitchen trouble too, it can get frustrating. I think it works better with update-script format (not updater-script edify that newer phones use.

My only other thought with this cwm is the hot swap method that many phones use. I am not really sure how it works, but that is one way people have gotten around locked bootloaders.

Do you know how to do that same thing motorola does with the weird boot files? if so, we should be fine, because we can get the kernel and generate the normal CWM ramdisk (I have done it) then we just have to do whatever to make it boot.

I was successfully able to build CWM up from cm7 source using a boot.img I pulled from my phone, so if it weren't for the moto stuff we would be fine.

Let me know if you need help with the batch stuff. I have worked with it in the past, but I haven't booted into windows in about a month now, so who knows what I remember. ;) It is actually simpler than linux shell but more different than you'd think. it basically shares "cd" and that's it.
[Motorola Atrix 2] jimbridgman:
Yeah I ALWAYS use the update-script instead of updater, since that is really what the kitchen likes, it just fails more times than not. I have built some pretty great scripts, and they always seem to work, but then the phone either never boots, or the update did not apply as it should have. I am thinking now that the issues are more with how locked this phone is, since I never had this issue with the kitchen and other phones.

Yeah I have also successfully compiled CWM from the CM7 source before for our phone, but lfaber06 and I could never get it to boot.

Yeah I understand how to do the boot hijack, if that is what you are referring to, but we already have that with the Atrix2 bootstrap and J.Y.daddy's CWM on boot. I am hoping we can figure the whole "true" CWM recovery replacement.

You can't forget that echo also works in batch as well, and that it is \ not /...
[Motorola Atrix 2] JRW 28:
Jim I have had great success with the kitchen once I modified it to recognize our phones by adding your file to it that cogeary posted a while back. It just took me a lot of figuring out that certain apks verify signatures when modified and if the signature check doesn't match then the modified apk doesn't run .....I beat my head with Lithium until v1.3......such aggravation!!! But the kitchen can do some great things once you get it figured out :)

Guys any way I can help I will.....
[Motorola Atrix 2] lkrasner:
yes the slashes. that always throws me off.
[Motorola Atrix 2] PRichardson:
Red herrings // The Cathedral and the Bazaar

Hi Jim, lkrasner, JRW 28, & Others

This might be WAAAaay out in left field, but I have a hunch that the BP Tools could be (at least partially), a clue to the linchpin holding us back from a proper Boot from cold powered-off into true CWM (as an option, not all in our all out, eg., J.Y. daddy's solution of always booting into it).

There are quite a few interesting threads discussing the strategies that the DEV's were considering, when they were still trying to get around the locked bootloader on the Atrix 4G. :rolleyes: For instance, take a look at this:

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

and then... take a look at this one:

http://www.droidforums.net/forum/droid-3-hacks/178454-recovery-bootstrap.html

I sent a Tweet to Kouch today (he's the guy that created CWM, Rom Mgr, etc.) asking him to explain the BP Tools to me, or else point me in the right direction. (I know, it's like a blind man asking for directions across the Himalayas).

Don't worry though, I'm the only fool in this conversation (I didn't imply I'm "working with" anyone else, lol). He's a busy guy, I know, but I might start reading up on Hash's old posts as well --- unless this is an obvious Red herring.

==================================================

One last thing, I'll just post some links here, to the most recent compiled versions of the Clockwork Mod Compiler, in case anyone here would rather just throw it up onto a Debian VM to see what they can build from CM source as well?

https://code.launchpad.net/~lithid/...s/cmcompiler-daily_0.5-0~12~oneiric1_i386.deb

https://code.launchpad.net/~lithid/.../cmcompiler-daily_0.5-0~12~oneiric1_amd64.deb

And for those who don't mind dabbling into the "Bazaar Version Control System", I'll just state that if I can grab the code from the git repository, then probably ANYONE can. And there really doesn't seem to be all that many files and lines of code to this thing anyhow...(see the below directory structure, that I was able to explore from within the Bazaar GUI)

==================================================

This is sort of a long shot, perhaps, but I'd rather be embarrassed :o, and still know I left no stone unturned ;-)

Best Regards,

Paul
[Motorola Atrix 2] jimbridgman:
Thanks, there is some good reading here.

Yeah myself an lfaber06 as well as a couple others have all been in contact with kouch back in Nov. last year about getting cwm working on this phone. He told us good luck without an unlocked bootloader. He said a boot hijack is the only way... but with our new findings and the fact that, the bootloader may not be at play, I figured a new look and approach needs to be looked at.
[Motorola Atrix 2] lkrasner:
Good read, thanks. What we have discovered is that we can replace recovery without unlocking the bootloader. The problem is that Moto uses a weird format for the recoveries that makes it impossible at this point to modify or recreate them. You always end up with a file smaller than the original, and it won't boot.

I built CWM from the cm7 source, but once again it will not boot because of what they have done.
[Motorola Atrix 2] DusThis:
This may be a pointless post, but I was reading this thread and noticed y'all talking about BP Tools. I'm not sure exactly what it is used for either, but I did notice that when I connected it to my computer after booting the phone it installed a USB modem, a LTE BP modem, a QC BP modem, a QC Diag Port, a USB network driver, and a MOT Composite ADB Interface.

Also I have the Atrix 4g, and when I unlocked it I did some research on the bandwidths found that the phone can actually pick up CDMA and GSM bands if configured to do so using RadioComm while in BP Tools....

Food for thought I guess.
[Motorola Atrix 2] mtnlion:
http://xdaforums.com/showthread.php?t=1289254
[Motorola Atrix 2] Deliberate:
So idk if this was asked previously because i didnt read through this whole post yet. If this was achieved what would be the difference from bootstrap to this? Obviously itd be awesome to not have to fxz anymore. But would we be able to do anything else by using an actual recovery?
[Motorola Atrix 2] jimbridgman:
You might have found the key. I will contact hashcode. I may try to install this after my sgs 3 arrives.
[Motorola Atrix 2] mtnlion:
Offtopic but look at this

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

Edit: works
[Motorola Atrix 2] cornflaku:
anyone take a shot at this yet?
[Nook Touch General] patsissons:
Hey i just rooted a NTG and i was playing around with it to see how everything works so when i give it to someone else i can explain things a little. In order to do that i needed to use my own google account to get things going. Now that i'm done learning i want to remove the google account so that i can help my gf set her account up on the device. I can't seem to find anything that will allow me to remove the account. Youtube will allow me to add another account, but not delete an existing account. I figure i can probably dereg and factory restore then start from scratch, but i'd rather not go to that length if at all possible.

Any thoughts?
[Nook Touch General] wired57:
just reset the device, it will be simpler.
[Android Q&A, Help & Troubleshooting] snoopgoat:
I havent really seen anyone do or suggest this, but for those making roms for the HTC One series, could you re-re-map the hardware buttons so that the recent apps button pulls up the recent apps (normal ics behavior), and then a long press on the recent apps button maps to the menu button?

My reasoning, is eventually, the "menu" button is something that will get obsoleted, so mapping it as a secondary action (i.e. long press) is a better approach than the current mapping on some of the Roms out there (like cm9). Personally, I'm not a fan of long-presses, so I prefer it for functions I hardly use (like menu).

As for the Gs3, I recommend mapping the 'menu' button to the 'recent apps', and a long press to the menu function (instead of long pressing the home button for recent apps). Again, my reasoning is, when the menu button, eventually gets obsoleted, it becomes pointless having the physical menu button do nothing.

Anyway, just my 2 cents...
[Android Q&A, Help & Troubleshooting] ajlunis:
Bump.
[Android Q&A, Help & Troubleshooting] lokeshsaini94:
What I know is that single click functionality of any button can be changed by editing system/usr/keylayout/something_keypad.kl

But long press is not related to button remapping... So it needs to be changed from somewhere else and about that I have no idea..
[Android Apps and Games] wangxing:
Hi,guys,

When you say "baby i love you", the mobile will show your lovely baby's

pictures or your girl friend's pictures.

When you say "my dog", the mobile will show your cute dog's pictures.

It is amazing and magic.

Please install Speak Pics and Click to speak, and make everything simple.

First of all, please press Menu to add some pictures,

First of all, please press Menu to add some pictures,and when you play the pictures slides, pay attention to select the interval and photo frames.

enjoy it.

Thanks.
[General Questions and Answers] thebeastglasser:
Hey guys, I have yet to get the Evo V 4G, but in about a week's time, chances are I'll have it up and running.

The thing is though, it's been officially out (it unofficially came out before June 10) for about 6 days now, and I have yet to see a new thred made for it.

I'm just wondering if there's going to be a new thread made for it, because I remember back when there was the ICS leak for the 3D and and since it had actually been for the V 4G it completely screwed up the 3D's that got it, so it only makes me wonder what happens if I get it and go wandering into the 3D section and accidently brick my shiny new phone.

Even if it's just another section of the 3D thread, like what they did with the Optimus 500 and the Optimus V that would work fine too. I'm merely wondering... (and hoping it happens)
[General Questions and Answers] Ostrich Egg:
I'd be interested in an Evo V 4G section as well :)
[Sprint HTC EVO 4G LTE] bmtdan:
So since I've rooted and started flashing roms sms has been going crazy. Around midnight every night I have to reboot my phone because no phone calls will come in and no sms will come in outgoing works fine.

And the. When they do work I get each message about six times or more.

I use the stock sms and popup 7 and am running pkmn ROM any suggestions?
[Sprint HTC EVO 4G LTE] xirin:
I had similar issues, and narrowed them down to my Airave. When I turn it off, the problem goes away (but reception gets worse, obviously).

Do you have an Airave in your house by chance?
[Sprint HTC EVO 4G LTE] mtg981:
This happened to me earlier this week. I had to exchange phones. Something must be going on!. Sprint could not fix it. I had to call my voice mail to get all my texts and calls to come in.!
[Sprint HTC EVO 4G LTE] wuestsider:
I also had this issue, but it looks like it's my airave. Right now I can get text, but can't send any out while within range of my airave, unless I send it through Google voice. I think the signal emitted by the airave conflicts with the EVOLTEs antenna.

WUESTSIDER X!
[Sprint HTC EVO 4G LTE] bmtdan:
Glad to see I'm not the only one...its to late for me to exchange though :o