yashsingh1/xdaforums huggingface dataset:
[Motorola Atrix 2] lkrasner:
Let's get like, 10 of us to call at the same time, with the same reason! :rolleyes:
[Motorola Atrix 2] duplissi:
damn this is depressing... i grabbed the atrix 2 when i had to switch from sprint to att because it was free and i assumed it was on par with my photon (which they had unlocked the bootloader) i assumed it would just be unlocked shortly...

well still nothing, if i cant install true custom roms then im afraid im going to have to jump ship... ); if only i had the skills myself.

oh well, ill still keep tabs on this but i fear i might just have to pony some cash up and just buy a gnex..
[Motorola Atrix 2] Chrisruns:
Be patient! haha
[Motorola Atrix 2] adelvillar:
Jumped ship but kept the A2 as a hand me down phone for my son in the hope that Googorola would grow a pair and let ATT know who is boss. Still waiting but happily running CM9 on my Samsung Galaxy SII.

Google, pretty please so something about this f-ed up carriers.
[Motorola Atrix 2] thekurrgan:
I jumped ship to the skyrocket a while back, but can say that all in all, with out LTE the A2 is still my favorite android phone for the money.

A device with such potential thus far wasted.. As to "googarola" telling AT&T who's boss, I dont think they really care that much.. Motorola would rather sell another device, and google REALLY doesnt give a ****.
[Motorola Atrix 2] lkrasner:
Does anyone no how to contact motodev? I have been able to chat online with regular moto, and I have made clear how stupid this is multiple times, but they always tell me to contact motodev as they cannot help me.
[Motorola Atrix 2] jimbridgman:
Bootloader bypass

Ok, this is something that I have been talking about on here for a while and, it was finally made available to the RAZR forum a few weeks ago, by kholk.

You can bypass the kernel and bootloader, with kexec. This is part of the process I used to brick my early A2 phones. It uses the same basic principal, that I did which is to keep the bootloader busy while redirecting and booting another kernel. But, kexec is just the bootloader "replacement" there are several scripts that do alot of dirty work.

Well, here it is, and now we really don't need to work on cheesecake for the bootloader any longer, we can can use it to get things like pre releases of ICS, etc.

kexec:

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

Now let the kernel building begin!!!

P.S. If you don't want to sign up for an account on the Eternity Project's website, here is a link, I uploaded the file to my dropbox.

http://dl.dropbox.com/u/45576654/EPRJRAZR_BLBYPASS_v0.99_CWM.zip

Oh, on last thing, your compiled kernels and ramdisk go into the /system/bypassme directory, you might want to make your own flashable zip with the kernel and kexec in it, to be complete.... just saying.

I am going to finish getting the CM7 kernel polished and work with some of the other devs on here, to get the ROM polished up too, and maybe we can get some non-moto stock style ROMs finally out.

Jim
[Motorola Atrix 2] lkrasner:
Great! is there still a risk of bricking from this? I don't care about softbricks/bootlooping, so as long as I could still get to fastboot, there is not much problem, but is there actually a risk of hardbricking, beyond restoration?
[Motorola Atrix 2] jimbridgman:
No, not with kexec. If it gets stuck while trying to boot the alternate kernel, you just hold the volume down button and power, and that should get you out of the hang. It will not hard brick the phone.

The ways that I hard bricked my early phones, were that I was permanently replacing the kernel tar.gz file on the device, and the bootloader checks the signature of ONLY that file before booting, so if you replace that file the phone is hard bricked.

Kexec uses a kernel file, that it loads into memory when you run the shell script, so there is no risk of a hard brick.

Jim
[Motorola Atrix 2] farshad525hou:
Jim,

When you were working on CM7 you said you had pretty much everything working until kexec was updated. That means you have a bootable CM7 kenel and ROM correct?

EDIT* Lol... Nevermind you answered my question after an edit. :)
[Motorola Atrix 2] jimbridgman:
Yes I do have a working CM7 build, but we can't just boot a non-stock kernel/ROM from this yet, it appears that I will have to work on a stock 2.3.5 kernel, since Moto still has not released 2.3.6 source code for the A2 yet. But 2.3.5 is better than nothing at this point, just so that we can play around and see what some others can also come up with as well.

Calling all C gurus out there..... I am a kernel monster myself, and I am working on some stuff right now, but the more people that try this, the more "flavors" we will get, so.... If you are up for the task and know a thing or two about C and kernels PM me. We can most likely be spitting out kernels in a week or two with a couple experienced C developers out there.... We will need to split up some tasks to get it done that fast, otherwise, if it is just me with all that code, it could be a month... It took me 6-8 weeks to get the CM7 kernel working right, and I have been doing this for 20+ years.
[Motorola Atrix 2] :
Ok, first and only question about this. Once i flash the kexec, Is it a permanent stick or will i have to flash it after every rom flash like bootstrap? By the way thanks for working on this for all of us. :)
[Motorola Atrix 2] jimbridgman:
It will need to be flashed as part / after any ROM flashing, this stores the Kernel and the kexec executable and .sh script in the /system/bypassme directory. Everything is contained on the filesystem itself, and the new kernel is loaded into memory once the bypasseme.sh script is run. It can run either at boot time with init.d or with the init.goldfish.sh file. Or you run it from the teminal app yourself once you are booted up, then the bypassme.sh will load the kernel into memory and reboot with the new kernel in place and running.

So this should be a part of ANY new or current ROMS, especially if we want to start cooking kernels and using them with any ROMs we want, that is our next step and hurdle at this point, is to get to that level.

Jim
[Motorola Atrix 2] :
Thanks for the reply. Getting ready to do some copy n pasting to my roms. :)
[Motorola Atrix 2] lkrasner:
good. vol down and power did not work for me, but pulling the battery did, then i could just turn it on again.

---------- Post added at 02:45 PM ---------- Previous post was at 02:39 PM ----------

I can't find the MB865 source anywhere, but here it is for the ME865, which I think has the same hardware, correct? http://sourceforge.net/projects/me865.motorola/files/ME865/
[Motorola Atrix 2] :
Vol down + pwr didn't work for me either. Battery pull is my last resort because of the case i have on my phone. It's a pain to take off and put back on.
[Motorola Atrix 2] Jimmy273:
I'll update the first post with this new method as soon as we get the CM7 kernel up and running.
[Motorola Atrix 2] sugwacee:
just had a try, but with no luck, flash it and try it report sig err.

maybe something wrong with my zImage or ramdisk.
[Motorola Atrix 2] gvsukids:
Where would we find different kernels to replace the stock one?
[Motorola Atrix 2] birdisthewordfella:
yessssssss

AWESOMENESS! First, let me answer some questions. The kernel building is now SCHEDULED to begin. So maybe there aren't any kernels. Or maybe someone built one and can now release it. But this is new, so probably no kernels AS OF YET.. Secondly, the dude about the battery pull cause his case is too hard to get off... TAKE OFF YOUR CASE, when flashing, just pull it off, that battery shouldn't come out on its own, the atrix 2 battery is hell to get out anyway, thought it would take my fingernail off trying to pull it.

THIRDLY~! THANKS!!!!! KFJHJKSDKDUERY!!!! i'm so excited now. I can actually use this! root's nice and all, but that bootloader and no custom kernel really sucks. I don't want ATT crap drivers they have to do from scratch. Rather would have some pirated version of something that works or a GPL release driver. Proprietary sucks most of the time.

And just for the record, I lost my atrix 1, ATT offered to track it. My mom lost her phone, ATT could NOT track it, they said they didn't even have that capability. Both are androids. I have not rooted my Atrix 2 and when It was pure stock ATT is pulling information as well as the advertising agencies (like admob and all them) and now I'm getting coupons in the mail for products I bought like 2 weeks prior. I don't own a computer (using a friends now) so the only way they would know is through my phone. (Paying cash for everything). So please, PLEASE, please lets rip those drivers from this phone and do new ones (kernel = system drivers). With linux you can build the drivers in, or install them after the fact (like windows). Obviously if the drivers are built in, they can be compiled which moves faster.

And they all lived happily ever after. The End. (fin):D
[Motorola Atrix 2] :
There isn't any custom kernels posted yet. With kexec just released this will give kernel devs the ability to get some built for future roms.
[Motorola Atrix 2] :
To the dude who just rambled a novel of nonsense. My phone, My case. Worry about your own battery pulls. :)
[Motorola Atrix 2] jimbridgman:
Who what when and where is kernel building SCHEDULED to begin?

Right now I am probably the ONLY kernel dev in here, and I am one of the OG, in fact I am the OG dev in here, but I had to get away from here for a little while for my own sanity. I am back, and I do have a CM7 kernel already built, but it does not work with the version of kexec that we have. We can ONLY build stock kernels at the moment, until I figure out how to re-engineer kexec to allow use of "other" kernels.

Unless there are other kernel devs that have showed up since I made myself scarce around here since March, then it will be at least 6-8 weeks before I have a kernel even fully planned out. Do you know how many lines of code, and how many modules, drivers, config files there are to a UNIX/Linux/Android kernel?

I think one thing that others on here, that have been around the A2 forum for a while, will tell you, I take a while to get things done, but when I do get things done, it is what it should be, and usually works right.

Next time please only speak for yourself, or ask, or check you facts before you post something like this.

I will do my best to get a kernel out as fast as my fingers can type and edit code, or figure out how to re-engineer kexec to boot non-standard kernels again. Which ever comes first.

Oh, and there is NO source code the MB865, only the ME865, and yes there are differences, I tried to compile the ME865 source and make it work for the MB865, with way too many issues, so that is why I worked on a truly open source kernel for CM7 which I was able to use with this until the latest updates with kexec, which is the same version Kholk has posted and we are using now.
[Motorola Atrix 2] lkrasner:
Thanks for making this clear to people, I am not much of a programmer, but I do know some stuff, so, yeah, it takes for ever no matter how good you are. Everyone here has to realize this and not get angry when the major devs can't get things to work fast. There are probably millions of lines of code that go into a kernel like this. Download the source and see for yourself just how many files there are and how many lines are in them. This is why it takes for ever. It is hard to understand, especially when you are doing it in your free time and you are the only one, so give people some time and if you are at all able, ask to see what you can do to help, even if that is just testing some stuff that is easy but takes time, it allows the developers to keep working on the harder stuff. you may not always be needed, but it doesn't hurt to ask. I would much rater be flooded with people asking how they can help than not having anyone that is willing.

That said, I am here to help you in any way I can. I know very little about kernel development, but am great with computers and usually able to pick things up pretty quick. I know c++ fairly well, mostly from Arduino programming, and a little java that I have started with android in mind. I would like to get more involved in this stuff, especially seeing how few devs there are for our phone. I am gonna have it for another year and a half until I get my next upgrade so I might as well take advantage of that time to to something good for it.

I am starting to teach my self more about android development, so I can help out more with these kernels with the help of Google. If anyone has some good resources, that would be appreciated.

I am also about to totally re install Ubuntu, as it didn't install right for a reason i cannot remember in the fist place, and every update since seems to have more and more problems. Would you all recommend 32 bit or 64 bit. I have been going with 32 for compatibility reasons, but some have said I should do 64 for android stuff. Also should I just go with whatever the newest version is right now (12.something I think) or is there a reason to go with something older.

Let me know if there is anything I can do to help out with stuff, I am always willing to learn more if needed.

I would also recommend starting a thread and hopefully getting it stickied for some of this kernel development stuff.
[Motorola Atrix 2] jimbridgman:
Ok, wow a lot to cover here.

For Ubuntu the version does not matter so much, I am running on 11.10 right now, because I usually wait 90 or more days before I upgrade, I usually wait until after the first major kernel update to upgrade, but that is just me, and my UNIX engineer/Architect coming out, since that is my main job.

You will ONLY install 64 bit if you have a 64 bit capable CPU and have more than 4GB of memory.

You will install the 32 bit support and dev libraries.

I will create a post in the dev section similar to my [WIP] Info for ROM building, for the kernel how to as well.

If you want to learn more about adroid programming, grab one of the ROMs on here, that has some AOSP stuff in it, like the supercharged rom does, and unzip it in linux and decompile the apks, and see what makes them tick. that is what I have had to do, but there were no ROMs for me to look at and we did not even have the fxz yet, so I cat'd our system partition on the phone and imported it into the rom kitchen and tore it apart, and I created our first skeleton ROM, then lfaber06 did a release with the stock stuff, so I started work on CM7, and the other hacks that I have out there.

Jim
[Motorola Atrix 2] duplissi:
damn!!! i think i might love you!!! no homo lol
[Motorola Atrix 2] :
I would edit that post with different wording. It makes you look weird.
[Motorola Atrix 2] duplissi:
lol.. kinda pointless now isnt it? considering you quoted my original post.

anyway im just incredibly excited, after all it was just a few days ago that i posted that i was disappointed that no progress has been made and that i would most likely switch to a different device.
[Motorola Atrix 2] Jimmy273:
Everyone keep checking cheesecake as well... The Droid 4 ICS was just leaked... And while they probably prioritize that device over our own, it at least means they have started working on updates for previously GB devices.
[Motorola Atrix 2] jimbridgman:
Yes, exactly what he said ^^... as well as this is what I mentioned in my post about kexec.... this is exactly what we should be using cheesecake for now. Not looking for an unlock, we might find one, and I am not giving up the ghost, just saying we need focus the efforts to find these pre releases and getting them in the hands of us devs.

Keep checking cheesecake! And I think I have said this 100 times before don't install what you find with it.

Jim
[Motorola Atrix 2] moofree:
This.

With motorola pulling more stuff like this, that leaked update might be the last update from motorola you ever install!

I've been one to install these leaked updates in the past, but definitely not nowadays with a fledgeling bootloader bypass.
[Motorola Atrix 2] :
This is xda. The devs will find a fix.
[Motorola Atrix 2] FluffyCow:
Looks like I need to save my pennies a d get a sgs2 skyrocket.

Bit ridiculous that they won't allow their phones to be rooted or unlocked. Motofail.
[Motorola Atrix 2] Preggy:
You might want to try VolUp + Power, if I remember correctly this once did the trick for me... ;)
[Motorola Atrix 2] :
I did. Nothing happened. I'm not worried about it at the moment. Thanks though.
[Motorola Atrix 2] jimbridgman:
Yeah, but they like HTC, now have a way to track if you root or unlock the bootloader, and guess what, you will get NO support, or warranty once you go down that path.... at least Motorola will honor your warranty no matter what. I have had 5 replacements do to my hacking of the bootloader, and originally figuring out how to blow this thing up in the original days before we had the fxz.
[Motorola Atrix 2] lkrasner:
It is still easier to just kill it if you are under warranty than flash the fxz, mostly more fun. if it bootloops take it to the store and act like a totally moron and seem really pissed, they will replace it for you
[Motorola Atrix 2] jimbridgman:
That is exactly what I always do, and I have a new phone in hand before I leave the store. :D

But the fxz if we had it, would have been easier I do have to admit.... but we did not have it for at least 3 months.

Jim
[Motorola Atrix 2] Deliberate:
Its true i had quite a number of replacements myself!
[Motorola Atrix 2] birdisthewordfella:
Ok... Wow. I just read the two responds. First off, my bad, I guess I misunderstood your original post. Novel nonsense? You might want to take a longer break. You seem angry, i'm not sure how my post meant as optimistic angered you so much.

Yes, I know how much coding is involved. Time effort and such. But you know screw this cause i'm developing my own stuff. I thought maybe some one would have some help cause I can't seem to get GPS to work. And some other stuff too. But okay fella. I think i'm just going to chop this current one up and stick with stock. The atrix 2 kinda sucks. Got as a replacement when I lost my first one, atrix 1... This one doesn't do the cool stuff the other one, the atrix 1, did.

you obviously can't push this thing like is needed and your anger makes me want to stay as far away from anything you might drivel out. I bid you a good day.
[Motorola Atrix 2] farshad525hou:
I seriously hate people like you who bash our devs and pretend to know what the hell they're talking about. Seriously do you know how to compile a kernel. If so do it yourself and shut the hell up. Don't bash our Dev and complain about a it that you don't understand. Jim, has been with since the phone came out giving us awesome hacks and mods. Honestly without his dedication to this community from the start all of us would still be running the stock moto rom. So if you don't like the way things run around here please shut up and get off this forum.

That is all.
[Motorola Atrix 2] LordGeek:
@jimbridgman:

Believe me, I am FULLY AWARE of the risks of doing any of this .. definately not my first time here. But this is when I can hammer a device to see what it is capable of doing while I am still within the 30 day limit of obtaining the phone.

So .. I have until 11/30/2011 to screw this phone up as many times as I can .. return it for another .. until we/I have an excellent working unlock, root, ROM etc etc etc .. after the 30th .. then I have to behave .. LOL
[Motorola Atrix 2] jimbridgman:
It wasn't aimed directly to you LordGeek.

We just want everyone to realize what we are after here. The point is not to try these updates out, but to get these in the hands of those of us that can take these files apart and then, that can get the unlocked bootloader out of these updates, if it exists... that is what happened with the Bionic and what we are after. I am positive this won't happen in the first 30 days of this phone being out. I have seen a few try these updates rather than let us check them out first.

I have torn apart 5 different update files and all of them have either been "small" updates with no bootloader in them or larger updates with the stock bootloader.

We may not see much on this front for months.

Jim
[Motorola Atrix 2] moofree:
Or even worse- you could miss a lowered number version update with an unlocked bootloader!

I'll keep looking for updates to this test release, but it'd be prudent for the rest of y'all to remain at the lower versions hunting for international updates and such.

As far as getting root back goes, I'm guessing you just needed to delete sh and boomsh from the /data/local/tmp directory for zerg to rerun.
[Motorola Atrix 2] LordGeek:
Correct, I didn't figure that out until I had already installed the 2 OTA's. Before applying, yes, YOU MUST uninstall SuperUser & delete any trace of the SU binaries.

Don't know if anyone is aware of this though .. although you have upcoming OTA updates:

Blur_Version.55.11.16.MB865.ATT.en.US and Blur_Version.55.13.15.MB865.ATT.en.US

The ORIGINAL build for our phone when it was first released in October was:

Blur_Version.55.5.8.MB865.ATT.en.US and was Gingerbread 2.3.4
[Motorola Atrix 2] cheetablaze:
Trying to help out with this and the link for cheesecake is not working. Anybody else have a link for the apk?
[Motorola Atrix 2] Gadgetz:
I believe this project has been suspended for the time being
[Motorola Atrix 2] cheetablaze:
So the updates that we find on here will be future OTA updates for just our phone? I'm guessing it will be AT&T that has to look at them first and then funnel them down? I'm dying for some bug fixes on this device, they just seem to be piling up and up. Patience is a virtue I suppose.
[Motorola Atrix 2] Jimmy273:
Link fixed, sorry for the inconvenience!
[Motorola Atrix 2] LordGeek:
The 2 OTAs that are available here to me didn't fix sh1t. I have both in my phone now.. unrooted.. the same issues people are reporting on Motorolas Community Site in regards to memory.. apps.. bluetooth .. wifi.. etc etc etc .. are still being experienced on my end.
[Motorola Atrix 2] cheetablaze:
Oh crap, you gonna send that phone to hell and get a replacement?
[Motorola Atrix 2] Gadgetz:
I'll gladly deal with the issues I've been experiencing if that means we get ICS faster. Wishful thinking huh? :)
[Motorola Atrix 2] LordGeek:
Definately .. LOL
[Motorola Atrix 2] joe ferreira:
I was part of the original project cheesecake and would like to mention that you should get help from xda members @ #motoatrix in freenode irc.

you need more help.... and it is a continued process. everyone needs to check every server at least once a day.

as the moto devs try new ICS builds you may get one of them from blur also :D

dev ICS with a unlocked bootloader will probably be found. pure win.
[Motorola Atrix 2] dasfiend:
The chan is #moto-atrix fyi.

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

Hey I found the 55.13.15 on master-qa1.blurdev.com, but I error out on install. The contents of my /cache/recovery/last_log are below. Is there some other log file that would be more helpful?

I have the zip copied off now as well.

Installing update...
installing steflash extensions
blk: partition "userdata" size 4961730560 not a multiple of io_buffer_size 524288
Verifying current system...failed to stat "/system/app/AABSync.apk": No such file or directory
file "/system/app/AABSync.apk" doesn't have any of expected sha1 sums; checkingcache
failed to stat "/cache/saved.file": No such file or directory
failed to stat "/data/saved.file": No such file or directory
failed to load cache file
script aborted: assert failed: apply_patch_check("/system/app/AABSync.apk", "131c3b097ef3ecedc10f938ef420f3beb687217e", "7e642a35c18153501ad5c0c2e893f88ee7d2cc07")
assert failed: apply_patch_check("/system/app/AABSync.apk", "131c3b097ef3ecedc10f938ef420f3beb687217e", "7e642a35c18153501ad5c0c2e893f88ee7d2cc07")
E:Error in /cache/Blur_Version.55.11.16.MB865.ATT.en.US.zip(Status 7)
Installation aborted.