yashsingh1/xdaforums huggingface dataset:
[Motorola Droid X2] mastafunk:
We are starting a new thread as we enter a new phase of development.

We are beyond confident @ this point that we are where we need to be. We are now working on new init.rc and init.mapphone_cdma.rc that will be able to boot a cm7 atrix nightly.

As of now we only have aceoyame working on these and wish to solicit ideas from those who may be more experienced or who have a keen eye for the obvious.

We will be test flashing this first run shortly. Lets keep this thread clean. We are expecting only comments relating to the new .rc's or pointing out obvious shortcomings of our method.

Expect a test flash to be posted here shortly so others can try along.

So without further ado... here are the initial versions of the inits as modified by aceoyame..

init.mapphone_cdma.rc http://pastebin.com/N3CFNrBX

init.rc http://pastebin.com/KdpL6eKC

Help and comments are welcome...

If you apprecieate our work please hit THANKS on the appropriate post to let us know you guys care and to keep the thread un-cluttered. So far with the other threads it seems we only have about 20 or so users who are looking forward to this.

There is an excellent thread here.. http://xdaforums.com/showthread.php?t=1372293 started by ashclepdia that can be used for speculation, thanks, etc...

Thanks again to the many users here for helping during the sbf flashing phase.. we may need your help again soon.

And last but not least thanks again to dragonzkiller for taking the time from his busy schedule to get us past the last hurtle.
[Motorola Droid X2] Jeffmeister:
So fu$king excited! Thanks guys!
[Motorola Droid X2] balltongue:
While reading init.mapphone_cdma.rc i noticed like 3 mount points referencing yaffs2. From what I understood, yaffs2 isn't supported by the X2. That was the only glaring thing I saw so far.

Keep up the great work

Edit: Everyone, Please lets keep on topic. If you have any questions or you want to say thanks please use this thread http://xdaforums.com/showthread.php?t=1372293

We need to keep this topic clean for the sake of development.

Thanks
[Motorola Droid X2] raclimja:
can someone explain whats this for and what it does?

Does it improve something?

Makes my phone faster?

Last longer?

Took better photo and video?

Better sound quality?

Tnx
[Motorola Droid X2] kpkacts238:
Well in an EXTREMELY broad overview, all this work that these fine gentleman are doing will take the lid off the jar of the x2. And when they are finished we will finally be able to port over miui and cm7 and many other roms for the x2. I super excited for miui... love u ace
[Motorola Droid X2] raclimja:
:confused:
[Motorola Droid X2] mastafunk:
STATUS UPDATE

Well after numerous tries with variations on those inits we still have no sucessfull boot. Gonna try again tomorrow with some new inits.

Gonna keep @ this till we get somewhere..
[Motorola Droid X2] T3CH9ICIAN:
Put the phone down and back away! Haha I'm extremely excited about this I'm desiring to see a cyan droid spinning on my boot screen I only wish I knew more so I could be of some help top make this happen like yesterday. Im very thankful to all that are making this happen this forum will explode once this comes out LIKE :eek: BOOM
[Motorola Droid X2] michael7168:
To the ones who like to clutter the thread (over half of this thread isn't relevant) and you know who you are please just only hit the thanks button. Even the OP has a link for people who can't stay on topic. This is necessary
[Motorola Droid X2] aceoyame:
This is me asking for all of the x2 devs to pitch in and help with CM now that we have 2nd init going. The thing holding us back atm is our init scripts, the one were using bombs out shortly before boot animation (before adb runs) any help would be awesome!
[Motorola Droid X2] hpark21:
Do you have link to CM7 including 2nd init you are testing with?

I want to push it into my phone when I get a chance this weekend and see whether I can help.

Thanks.
[Motorola Droid X2] mastafunk:
Well its a new day.. and i begin my holliday break.. Gonna spend a good bit of it working on this. I have some new approaches I am going to try today. Hopfully we can get some good information from the upcoming tests.

We intend to release a testing package shortly, once it is logging some sort of usefull data for us. In its current conditions it is not very informative. Rather then spending time getting people up to speed on it.. i am gonna try to get it to a point that it is more useful and self explanatory.

Ideally someone with more experience booting on second init devices will come along and give us a nudge to speed things up ;)

In the meantime i have re-written our hijack to work along side our current X2 bootstap so that will save us some sbf time.

Hang in there.. We are getting close. Thanks for everyones support.
[Motorola Droid X2] fortune82:
Probably should've posted this earlier, but I have a fairly powerful system. I could compile for you guys.

(I'd need to know what to install, since I haven't compiled a ROM before)
[Motorola Droid X2] dragonzkiller:
So I take it the script I sent you over helped a lot? It's good to see that! If you're guys' init script works I can patch them into an actual CM7 build for the X2 (So that we can have a device config, and eventually nightlies for it).

Don't worry about trying to compile anything yet. For a few reasons:

They're only patching an ATRIX build, not compiling yet

We don't have a full device setup for the X2 (i'm working on that now)

My computer is more than powerful enough to start releasing office DX2-Dev-Team betas from the repo, so don't worry about compiling yet
[Motorola Droid X2] mastafunk:
I will be on irc @ #X2-AOSP all night for the specific discussion of this thread.
[Motorola Droid X2] mastafunk:
So after a late night in IRC we managed to past 1 of the 2 hurdles we were trying to solve. Thanks to all that helped.

We were able to get some logcat action going!!

One more hurdle to pass and we are going to be VERY CLOSE.

Thanks again for those that were up late night working on this..
[Motorola Droid X2] soocold:
Which hurdle?

Tapped from my tweaked out DX2
[Motorola Droid X2] mastafunk:
answered in the post above yours..
[Motorola Droid X2] soocold:
Duh moment lol,

Tapped from my tweaked out DX2
[Motorola Droid X2] raclimja:
is this the lockboot loader you guys are trying to crack?

If so, would this allow people to install or port ics? or copy the fix for blue tint on camera on droid 3?

Tnx
[Motorola Droid X2] mastafunk:
EUREKA

Another piece of the puzzle has fallen into place.

We can now 2nd-init boot and kill-off the previous first init services allowing full manipulation via the second init.

Thanks again goes to dragonzkiller for a great dialog last night in IRC, allowing me to push forward into the late night till final success...

Where do we go from here? Well we have several options. We can jump directly into booting a foreign ROM, or we can work on a recovery that launches via second init. The recovery will be important as it will speed up work on foreign roms.

Anyhow.. The linux work portion of this is done! We now need some serious AOSP based ROM devs to bring us some AOSP ROM love.

Working on this has sparked my interest in the AOSP side of things so i am going to begin educating myself on that, but it will be no match to an experienced dev.

Things are gonna move fast from this point and i wouldnt be surprised if this gets forked into several different projects. We are gonna need more testers.

Thanks again for all the support and "thanks"
[Motorola Droid X2] soocold:
AWESOME! now we just need custom kernels to load

Tapped from my tweaked out X2

Eclipse v1.3
[Motorola Droid X2] mastafunk:
This has nothing to do with custom kernels.
[Motorola Droid X2] soocold:
Kexec combined with 2nd init will give us almost everything we want from this phone.

Tapped from my tweaked out X2

Eclipse v1.3
[Motorola Droid X2] kaliblazin707:
Kexec next, then boom goes the bootloader issues.
[Motorola Droid X2] dragonzkiller:
Glad I could help masta! I knew we could work it out. Speaking of recovery 2nd-init stuff, I've been trying to get that to work but couldn't kill things off properly due to the issues you and I worked out last night. If you could contact me later, I might actually be able to work out the tweaks and get CWMR working the way I want it to.

kexec is not exactly working the way it's supposed to. It "works" causing a crash, etc and letting us get into the kernel, but we'd have to know how to inject a new kernel and make that one start. So until then, we're kinda stuck with kexec (aka, no way it's going to work for now).
[Motorola Droid X2] 0vermind:
Kexec will come later.. much later. It's an entirely new thing in itself, which will be a lot of backtracking and what not, it's better to stick with what we have for now, since our kernel really isn't that bad. I'm almost positive that CVPCS would have ported it for the Droid X if it was possible.
[Motorola Droid X2] aceoyame:
We could kexec right now but what kernel would we run on it? We don't have any drivers for our phone and to top it off we are running on .32 patched for GB right now.... So this phone is going to likely not be updated to ICS is my best guess since it will involve a complete kernel rewrite
[Motorola Droid X2] aceoyame:
Let me clarify myself. We will give ourselves ICS but it will be 2nd init through our own making
[Motorola Droid X2] Kevin3328:
Great work guys
[Motorola Droid X2] soocold:
I mainly want to accelerate the GPU, and by the time I have an upgrade there will be tegra 3 phones.

Tapped from my tweaked out X2

Eclipse v1.3
[Motorola Droid X2] Staggo:
GPU overclocking is very difficult to do. I think there's a way (at least for the Atrix) someone can increase the clock of the CPU, but as far as I've researched, voltage/clock values for the GPU remain static. I know on the DX they were able to do it, but that's also an older SGX 530.

The GeForce ULP found in Tegra2 is more than capable of performing most android tasks thrown at it, it's much more of a utilization thing we need (like ICS's Hardware Rendering which I have not looked into how it works in the code).
[Motorola Droid X2] soocold:
I haven't checked lately but the xoom was working on it, I play games on here a lot, I want high fps

Tapped from my tweaked out X2

Eclipse v1.3
[Motorola Droid X2] TransX2:
This thread isn't about overclocking the gpu or custom kernels, It's about 2nd init or aosp roms for the x2, if you dont have anything to contribute, don't post...
[Motorola Droid X2] soocold:
Ya we got a little off topic with the good news, anywho I vote custom recovery

Tapped from my tweaked out X2

Eclipse v1.3
[Motorola Droid X2] aceoyame:
I think the other devs should work on custom recovery. I will play around with CM atm.
[Motorola Droid X2] roland0fgilead:
Pick your poison, ace. Whatever you decide to work on, we'll be cheering you on.
[Motorola Droid X2] dadi41:
Great news. This will make me root my phone again. Need a tester, I am here.
[Motorola Droid X2] aceoyame:
Yep, divide and conquer. I am good at porting now that 2nd init is fully working and they are good at 2nd init\recovery stuff. Just sucks that ill likely be sbf'ing many times atm lol.
[Motorola Droid X2] 03civicdx:
Pm me once you get a stable-ish build you need tested. I don't mind doing a couple sbf. (This is mrudisill7 from irc btw)
[Motorola Droid X2] Tweek900:
What irc are you guys using? I wouldn't mind stopping buy and learning some more about this.

And seeing as I'm still rather new does this mean better roms with more options? Lol I have no clue what cm7 or any of that really is
[Motorola Droid X2] 03civicdx:
freenode server and #dx2 channel.
[Motorola Droid X2] kaliblazin707:
2nd init allows for foreign (cm7 miui) roms to run on our device. Although the bootloader and therefore the kernel is still locked up, our wonderful devs (ace, peppermint, and all the others I can't think of right now, we love u) and the customization of AOSP will allow them to run off our kernel, which in all fairness to moto isn't bad.
[Motorola Droid X2] Tweek900:
Ok that makes a bit of sense still not sure what cm7 or miui really is. So what's stopping out bootloader from being unlocked? I'm more of a computer guy so I have no clue about this stuff yet but I'm interested in getting involved and hope to help out =]
[Motorola Droid X2] motcher41:
Mainly its Verizon but it is encrypted heavily and dependng who you talk to pretty much impossible to crack. Verizon could give moto the ok to unlock but they never will.
[Motorola Droid X2] Tweek900:
So is the lock coded by motor or Verizon? Because I wouldn't mind messing around with this =P
[Motorola Droid X2] kaliblazin707:
Moto n good luck. That encryption is a beast.
[Motorola Droid X2] Tweek900:
Well not saying I can crack it but I wouldn't mind messing around and learning the dev side of my phone. Any clue on where to start? This 2int thing seems like a good place =P
[Motorola Droid X2] kaliblazin707:
Its also hard-FUSED in meaning a trace off the circut board needs to 'burn' before it can be unlocked.
[Motorola Droid X2] mastafunk:
Wow really... Almost 2 pages of off topic stuff. Still no actual help on this.

Might just go ahead and close this thread. :(
[Motorola Droid X2] kaliblazin707:
Miui and cm7 are custom operating systems based off the latest AOSP releases. Look at ur device like a bic lighter. The lighter, flint, spring, striker. All that is ur phones hardware. The butane is the bootloader/kernel, and the fire itself is MOTOBLUR, the os . All the devs have been able to do so far is edit how that flame looks. Essentially just skinning Moto blur. With 2nd init, we can light the lighter, blow out the flame, and put our own flame(custom os:cm7/miui) to burn using motos butane(kernel).

That's the best analogy I could come up with. And if anyone could crack that lock it would be 0vermind. Or get kexec (cool new tool to eventually load up our bics with our own butane, or mod motos butane aka kernel) to work.
[Motorola Droid X2] kaliblazin707:
All of this is on topic? AOSP and 2nd init stuff.
[Motorola Droid X2] kaliblazin707:
And look ace will be posting rcs for us to test in a day or so. Im even cooking up something juicy. Just need to get over to my bursts to compile. My poor lil Toshiba would melt lol
[Motorola Droid X2] Tweek900:
Oh really, so your saying even if someone finds a crack for this we will have to open each phone to apply it? If so can someone for sure confirm this because if that's the case I don't see many people doing it
[Motorola Droid X2] soocold:
Read this. Research is always best b4 asking

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

Tapped from my tweaked out X2

Eclipse v1.3
[Motorola Droid X2] kaliblazin707:
No. The fuse burns itself out with the right key
[Motorola Droid X2] Travisdroidx2:
Delete clutter
[Motorola Droid X2] mastafunk:
Indeed. I think I would know being the OP, but perhaps you know best.
[Motorola Droid X2] motcher41:
I know you wanna keep a clean thread masta but no one seems to read the op. On the same side if no one answers the questions they will keep popping up. I tell you what ill do for ya if I can. I will make a new thread tomorrow or over the next few days and combine all of the 2nd init relative posts in a new thread and if needed ill do it again after that until the init work is done. That way people can ask questions and the record will be maintained for future devs as you guys want. Ill start by friday at the latest...work is slow that day so plenty of time. If I can't help any other way ill do that for you guys. Fair enough?

Edit: would it be worth while even doing this considering most of the work was done over irc and not in these threads. From what I can tell a lot of the contents in all three threads is mostly updatish so nothing to "library"
[Motorola Droid X2] 0vermind:
Wow... how did you come up, with that one? lol
[Motorola Droid X2] mrf582:
He was probably engaged in an activity that depends heavily on the use of a lighter... ;)
[Motorola Droid X2] Tweek900:
I'm agreeing lol. And idk who was flipping out about this being off topic I was just trying to find info about what this is and what it means to the user. This is a question I'm sure others have so why not post it where they are all reading instead if each of us sending a pm.

This has told me cm7 and miui is going to replace MOTOBLUR and that tells me we are about to get a lot of new features and I'm very grateful for the people behind this project. As someone that use to code I hate to ask this but any rough timeline? Don't want to put work into a new rom if this is close
[Motorola Droid X2] Travisdroidx2:
If you would like to chat then go to the General forum and there is a thread for you called "thank the devs" for aosp. This is where you should post and try not to clutter this thread for the real developers.

Also it is not polite to ever ask for a ETA. You are lucky to enjoy their hard work and they are not getting paid for this. It is not hard to set up a rom. I have done 2 or 3 and then backed them up in one day. Now please no more clutter here.
[Motorola Droid X2] kaliblazin707:
Bingo.
[Motorola Droid X2] MikeChannon:
Guys at the OPs request I'm closing this thread as it's drifting off-topic.

I am told a new thread will be opened when the time comes.

Mike

Forum Admin
[Android Apps and Games] Wayland_ACE:
Does android has NES emulation apps? Cant find any :(
[Android Apps and Games] Ultro:
Try this: slideme.org/application/nesoid
[Desire Q&A, Help & Troubleshooting] sleekykenny:
What the difference between this two.i would like to know after rooting your phone with unrevoked 3 what do u get stock or cm7 hboot and what the necessity for switching them.
[Desire Q&A, Help & Troubleshooting] bortak:
MIND = BLOWN
[Desire Q&A, Help & Troubleshooting] sleekykenny:
Can explain to me what the system,cache and data means.and what do you think is the best,but the real question was which do u get when u root ur phone with unrevoked
[Desire Q&A, Help & Troubleshooting] bortak:
You don't get anything when you root your phone with unrevoked.. it doesn't change the Hboot. You need S-OFF for that..
[Desire Q&A, Help & Troubleshooting] nickabbott:
System = Your andorid OS files

Cache = Place to store OTA update and radio extractions but not necessary if you use a custom rom so modified HBoots will alter the partition layout so the cache is minimal.

Data = application files and cache / dalvik cache locations I believe.

Basically different roms use different sizes so the HBoot can be altered to accomodate the roms. But you need to be S-Off to change the HBoot partition tables.

Unrevoked = Root and recovery

Revolution = S-Off (Don't flash recovery if you are S-Off'ing - I didn't as I've read CWM (the recovery flashed in unrevoked) 2.5.0.7 is best.

Rooting your phone gives you the ability to change the roms via the custom recovery and also lets you run Apps that wouldn't work unless you're rooted, like Titanium backup, droidwall etc
[Desire Q&A, Help & Troubleshooting] djghostie:
I think I understand the tables and requirements but how do you tell which hboot is installed.

HTC Desire a8181

baseband 32.56.00.32u_5.17.05.23

Currently running ACESMOD007 v40 v40 cm7

-Revolutionary-

bravo pvt4 ship s-off

hboot-6.93.1002

microp-051d

touch panel synw0101

radio-5.17.05.23

aug 10 2010,17:52:18

HBOOT

VOL UP ECT

FASTBOOT

RECOVERY

CLEAR STORAGE

SIMLOCK

Recovery has following details

revolutionary cwm v4.0.1.4

Is the Revolutionary a version or updated version of Clockworkmod recovery? If I needed to go to CM7 r2 can I just flash over the revolutionary or can I change partitions safely within revolutionarys recovery?

Sorry to jump on your thread, all these names and phrases are confusing even after reading the faq's and noob infos but think I'm slowly getting it. As I havent rooted this phone myself I wish I knew what I had and what I can do with it so i have a starting point for further reading.
[Desire Q&A, Help & Troubleshooting] bortak:
you've got stock, when you flash any hboot from alpharev, the name will be on top instead of revolutionary
[Desire Q&A, Help & Troubleshooting] EvertorN:
Also note that when you flash the CM7r2 hboot, you have to flash the correct version of a ROM (CM7r2 one). Most of the times you can download a Rom for stock hboot and CM7r2 hboot
[Desire Q&A, Help & Troubleshooting] djghostie:
Thank you. This helps me understand why some of the Roms are not working. I need to download the correct one for my stock boot. The wrong one and I either run out of app space quickly or it doesnt boot.

I'm all sdcard gparted correctly... Thanks to a link in your sig. Nandroid backup done. Titanium installed and full backup done. So I feel a little safer to play.:D

Now for the really noob question.. I'm guessing this phone is rooted as well as S-OFF because it has busybox and superuser installed.
[Desire Q&A, Help & Troubleshooting] bortak:
All custom ROM's have superuser access (therefore they are rooted)
[Desire Q&A, Help & Troubleshooting] blackhawk_LA:
Can someone explain me what is a smartphone? Can I send messages with it as with my old homing pigeon?

What is Android? Is like having a small c3po? What is root? What means flashing? What is a kernel? What is a ROM? And a radio? What the **** is a n00b? Who am I? What do you say about that.. ehmm using my... what? brain? that strange burn-like smell form my head?

I WANT ANSWERS AND I WANT THEM RIGHT NOW!
[Desire Q&A, Help & Troubleshooting] djghostie:
Thanks for putting me on the right track bortak,

Swapped the Acesmod rom and now running Miui 1.12 with the apps I need, 1700 contacts back on, emails back.

Thanks again.
[Nexus S Android Development] gavingreystone@gmail.com:
Thanks! Will give it a go. Looks good :)
[Nexus S Android Development] eiabea:
looks very great, saw this ROM in the GN forum...arrgh i just have edge at my place now -.- will download when i am back at home! :-) thanks!
[Nexus S Android Development] liorry:
Seems awesome... Thank you!

just to make sure - logcat enabled right?
[Nexus S Android Development] kevinngck1:
Will the video playback lag in this rom??
[Nexus S Android Development] syntax_gosong:
Wow... again, a new ICS rom. Will definitely try this. Seems promising :)
[Nexus S Android Development] Coentje44:
yep its enabled
[Nexus S Android Development] zeeraf:
any chance we could get this for the NS4G ???
[Nexus S Android Development] nickmv:
This looks like a nice ROM. I'll give it a shot once the SW buttons are out. I dont like sacrificing any screen space :p
[Nexus S Android Development] Coentje44:
They will stay there m8 :)
[Nexus S Android Development] Coentje44:
Maybe soon.
[Nexus S Android Development] zeeraf:
thanks alot
[Nexus S Android Development] HAKA:
no maps in this too? :(

Also a thing to notice...with onscreen buttons, with generally get a grid of 4x4, howcome there is a grid of 4x5. :) *GREAT*
[Nexus S Android Development] Abaddon:
how to disable onscreen buttons? :D
[Nexus S Android Development] Yoz182:
Thanks for this Rom, will try it !
[Nexus S Android Development] Coentje44:
edit framework-res.apk
[Nexus S Android Development] awryter:
Thank you for the ROM, but the custom DPI makes it impossible to download a significant portion of my favourite apps from the Marketplace. Any way to reset the DPI to stock settings?
[Nexus S Android Development] Coentje44:
download a density changer from the market, or change density in build.prop from 230 to 240.

v1.1 will have Gmaps 6.0
[Nexus S Android Development] Abaddon:
hehe! just being sarcastic :D

thanks for this. great job. any chance you could tell us when will you post a quick update?
[Nexus S Android Development] Coentje44:
I will post new Builds daily