Droid X2 ideas - Motorola Droid X2

Here are a few ideas of things to investigate. These are ideas that work on the Atrix with Android 2.2.2.
1. 2nd-init, I am highly confident this will work for the Droid X2.
2. /preinstall, is it mounted nosuid? If not, easier root. I can help with a hacked copy of su, that just works.

Moved to general as not andorid development.

Related

Best/Safest way to Root Bell Motorola Atrix

Hey guys,
I'm extremely nervous about rooting since I can't really afford to replace my phone with anything at the moment.
The reason I really want to root is for screenshots and a full hdmi mirroring without the dumb 60 dollar dock.
I've read all the threads about rooting on and etc, but I'm still confused.
If possible, can someone give me a simple answer of which way of rooting is best for me, possible side effects, and what I can do with it?
I'm pretty tech savvy, thing is, is that I've never had an android phone, and really want to make sure I don't kill such a nice phone
Sorry about this, I just REALLY don't want my phone to get bricked.
Phone Information: Bell Motorola Atrix
System Version: Blur_Version.0.37.23.MB860.BellMobility.en.CA
Model Number: MB860
Android Version: 2.2.2
Baseband version: n_01.77.15p
Motorola webtop version:OSHWT_U1_5.32.13
Kernel Version: 2.6.32.9
I think that's all that could matter.
I have not tried to mod the phone as of yet. Only things I've done is install snes and psx emulators
Any help is GREATLY appreciated.
shaimedio said:
Hey guys,
I'm extremely nervous about rooting since I can't really afford to replace my phone with anything at the moment.
The reason I really want to root is for screenshots and a full hdmi mirroring without the dumb 60 dollar dock.
I've read all the threads about rooting on and etc, but I'm still confused.
If possible, can someone give me a simple answer of which way of rooting is best for me, possible side effects, and what I can do with it?
I'm pretty tech savvy, thing is, is that I've never had an android phone, and really want to make sure I don't kill such a nice phone
Sorry about this, I just REALLY don't want my phone to get bricked.
Phone Information: Bell Motorola Atrix
System Version: Blur_Version.0.37.23.MB860.BellMobility.en.CA
Model Number: MB860
Android Version: 2.2.2
Baseband version: n_01.77.15p
Motorola webtop version:OSHWT_U1_5.32.13
Kernel Version: 2.6.32.9
I think that's all that could matter.
I have not tried to mod the phone as of yet. Only things I've done is install snes and psx emulators
Any help is GREATLY appreciated.
Click to expand...
Click to collapse
If you search for gingerbreak, its a downloadable apk file that you install on your phone. Make sure you have an sd card installed, and then just open the application and click root. It's very simple, i've used that program many times on my bell atrix. I will see if i can find the link
You can find the app here
Will I need to reformat my SD card?
Also, is there some sort of backup I can make just in case it fails or something?
Not entirely sure what my options are in case it fails.
Same situation as OP. Really new to this Android stuff! Been doing tons of reading on this forum before I attempt anything and I have to say all this weird naming convention and such is throwing me off lol (whats with pudding and fruitcakes??).
Anyways thanks nate for the link! I've read about Gingerbreak but there is also GladRoot. Any differences b/w the two? Pro's/Con's?
Also to OP or any new people to android just in case you haven't seen this thread: http://forum.xda-developers.com/showthread.php?t=1154600. Its really helpful. Answers your question about what root allows you to do briefly and some of the problems you may run into.
edit: Just re-read the GladRoot thread and it looks like that method is a no go for Bell users after the OTA (0.37.23).
@Bump: Can someone help me in regards to my second post?
Thanks again!
Best way is to download the Gingerbreak apk like the first guy said and just push that to your phone, or if you're a lazy bum (like me!) and you have a PC, then use this. Also, I've run this on my phone with no problems to any of my SD cards (both internal and external), but since it does touch that area, BACK UP BOTH. If anything, it's a bit more time but so much more worth it. Besides, don't you want a backup of those embarrassing videos you took of your friends? *cough cough* >.>
Also, know that if it doesn't work or something, pull the battery and try again. It took me a few tries, but i finally got it to work. =] Let me know how it goes.
Happy rooting!
~jojojohnson7410~
"When attempting this on my bell phone
(same stats as shaimedio) I get the error from gingerbreak "could not extract assets !" this is a freshly purchased phone.
I've followed steps from various threads on how to do this (being I've managed to use adb and get gingerbreak onto my phone i figured that was a start.) Any tips?"
Fixed my own problem
"adb shell rm /data/local/tmp/*
adb shell rmdir /data/local/tmp
adb shell mkdir /data/local/tmp"
Looks like the temp cache prevented access
+1 for the gingerbreak. I've used it a few times without any issues.
I always plug my phone in, mount my internal memory and copy it over to the computer, then take out my SD card. Install & run gingerbreak, then put the sd card back in and copy all my data back over to the phone from the computer.
Can't really say what your options are if it fails as I've never had that happen with mine the 3-4 times I've used it.
Hope that helps a bit.

[REF] AOSP Boot on X2 part 4

Welcome back...
For those that havnt been following along here is the background...
Part 1 http://forum.xda-developers.com/showthread.php?t=1366627
Part 2 http://forum.xda-developers.com/showthread.php?t=1373026
Part 3 http://forum.xda-developers.com/showthread.php?t=1380605
And this is where questions/speculations etc.. should go.
http://forum.xda-developers.com/showthread.php?t=1372293
I have been real busy working on this trying to get some progress down.
There is a new alpha package for this @
http://iswarm.net/x2boot-alpha2.tgz
PLEASE DO NOT DISTRIBUTE THIS
It will be changing often and i dont want older versions floating around.
If you download your own and keep it to yourself people will always have the
newest version.
Please only mess with this if you know what you are doing.
I can and WILL NOT support it here in this thread.
Most of the action has been going down on IRC.
I have set up a new channel for this is in
#X2-AOSP on freenode
This thread is for the discussion of where to go next.. tricks, techniques to debugging a foreign ROM on our 2nd-init boot.
@ this point i have had varying success in booting cm7, still allot of bugs in logcat, and still getting a bootloop.
Please only chime in if you have any ideas or thoughts related to this.
You may be able to find support for the test package on IRC.
This thread is NOT for speculation, or questions.
This is NOT about replacing our kernel.
We really could use the help of some experienced dev's in this en-devour.
Thanks again for all the support and encouragement.
Hit the thanks button if ya like.. its free
It takes a good amount of knowledge to set up.
The more i have to help people with the basics the less time i have to work on this.
If you've got some skillz and can answer questions for folks then your help is needed and appreciated on IRC
To be honest if ya cant @ least get this setup without ALLOT of questions then you will be more of a hindrance then help in this process. Thats not to say we dont need testers.. just that the need for testers cant take all my time as then we will have no progress.
Starting to feel pretty alone in this. Are there no others out there with an x2 with some linux experience who knows their way around an adb shell, that can help?
mastafunk said:
Starting to feel pretty alone in this. Are there no others out there with an x2 with some linux experience who knows their way around an adb shell, that can help?
Click to expand...
Click to collapse
Hey I'm back in business here! You and I can start working on something
I'm cool with running commands in adb and collecting logs.
dragonzkiller said:
Hey I'm back in business here! You and I can start working on something
Click to expand...
Click to collapse
Hope you aced those exams I keep missing ya on irc will be around most of tonight.
Im comfortable with adb if someone could get me up to speed on what I'd be doing I'd be more than happy to help.
Im a bit of a Linux newb but I learn fast.
Sent from my Eclipsed and ICS themed X2.
I am considering getting rid of my x2 (1mos old) and getting something different. Do y'all think there is a pretty good chance we may see CM on the x2? This will really influence my decision whether I keep this phone. Im really dissapointed with the stock rom and available roms.
Sent from my DROID X2 using XDA App
adb/terminal
let me know what I can do
Hey, I'd like to help abit. However - I don't actually get the point - What is the problem? I can't clearly figure it out from first 10 posts of all threads linked, I don't have X2 unfortunately, and don't feel like reading 300+posts from all threads. I can only guess you're on similiar point as we are with Badadroid.
For me running custom ROM (own kernel build+platform) looks like:
- compile kernel with needed changes (or own ARMLinux port based on CodeAurora or AOSP kernel and stock released sources)
- compile AOSP or manufacturer based platform
- adjust initramfs to match device layout, loading proprietary libraries if needed, consider using AOSP init or manufacturer init binary
- put it together and boot
Correct me if you need to and tell me try to tell me where are you stuck.Try to explain current problem in one of the threads and post all logs you can get. What about UART logs? These are very, very helpful (if not mandatory, unless you're freakin development master) in early kernel/bootloader development.
I'll pay a visit to your IRC soon.
//edit:
Okay, guys on IRC explained me abit, still counting on some logs.
Can't, gotta use motos kernel.
Sent from my DROID X2 using xda premium
Hey, how are you guys!?
So there's a few roadways you guys should explore. First and foremost work on some sort of bootstrap cwm. So you guys can gain access to pseudo-roms.
Quickly as possible begin looking into kexec or 2nd init.
and for the long term look into bootloader unlocks from the test servers. me if you need help!
samcripp said:
So there's a few roadways you guys should explore. First and foremost work on some sort of bootstrap cwm. So you guys can gain access to pseudo-roms.
Quickly as possible begin looking into kexec or 2nd init.
and for the long term look into bootloader unlocks from the test servers. me if you need help!
Click to expand...
Click to collapse
We have had a bootstrap for many months and already have pseudo-roms, and they've already got a working 2nd-init.
Now they're working on getting an AOSP/CM7 ROM to boot.
Bsr's? Kexec? 2nd init?!! Guys! Why haven't we tried this?! Rofl. We could totally get some blur based roms going . We could make up some cool names like "Eclipse", or "Liberty" or something!
Sent from my DROID X2 using xda premium
Not sure if you guys heard yet, but I just got offered a job and when I start I will be getting a bit more active again.
aceoyame said:
Not sure if you guys heard yet, but I just got offered a job and when I start I will be getting a bit more active again.
Click to expand...
Click to collapse
That's awesome new ace!!! Good luck at your job!
Sent from my DROID X2
Not doing it unless there's some cool rom named something hot like molten or something.
Sent from my DROID X2 using XDA App
Is this realty a different cwr? Could it help you guys?
From my post:
Snip
I noticed after uninstalling system recovery that it still worked w/ a battery pull. I remember now where the /preinstall files must have come from: I was fooling w/ rom manager as I was going to sbf anyway and I downloaded and booted as many recoveries as I could until I crashed. I crashed on the Atrix but think it was the Dx regular (not 2nd init) that loaded.
Snip
1)paste to /preinstall: the 5 files and set perms to rwxrwxrwx but adbd: rw-rw-rw-.
2)Change charge_only_mode ( your original in system/bin) to .bak. Then paste the 2 /bin files (less the .not file) set perms to rwxrwxrwx.
3)Then .recovery_mode goes in /data perms to rw-rw-rw-. Power off. Pull battery and put it back in. Plug in. CWR!
*****
Edit: this is the regular cwr not the Tenfar's edition, it there is a difference IDNK.
*****
http://forum.xda-developers.com/showthread.php?t=1408546
skwoodwiva said:
Is this realty a different cwr? Could it help you guys?
From my post:
Snip
I noticed after uninstalling system recovery that it still worked w/ a battery pull. I remember now where the /preinstall files must have come from: I was fooling w/ rom manager as I was going to sbf anyway and I downloaded and booted as many recoveries as I could until I crashed. I crashed on the Atrix but think it was the Dx regular (not 2nd init) that loaded.
Snip
1)paste to /preinstall: the 5 files and set perms to rwxrwxrwx but adbd: rw-rw-rw-.
2)Change charge_only_mode ( your original in system/bin) to .bak. Then paste the 2 /bin files (less the .not file) set perms to rwxrwxrwx.
3)Then .recovery_mode goes in /data perms to rw-rw-rw-. Power off. Pull battery and put it back in. Plug in. CWR!
*****
Edit: this is the regular cwr not the Tenfar's edition, it there is a difference IDNK.
*****
http://forum.xda-developers.com/showthread.php?t=1408546
Click to expand...
Click to collapse
That very well could help. The eventual goal is to change USB Early Enum to boot into CWR and then normal boot (2nd init) into your rom. The current one is sorta working with it but we do not have adb in it.
aceoyame 787,756 bytes both files: "recovery" from unzipped update-recovery.zip in PI or our apk.
hey guys i know this is probably a stupid question but couldnt there be a way to port the xoom ics rom to droid x2 they basicly have the same processor dont they

[Q] Webtop2SD aborts during image copy portion of process

Hey, apparently I can't post in the dev forums yet so here is my question. I have after a week of experimentation gotten webtop2sd to work with a few different set ups on my Atrix with lapdock. However, here is the issue:
I have the latest and greatest Aura ROM Debloated version installed on my (obviously) rooted and unlocked Atrix. I have the webtopmod installed. I have busybox in the correct location. I have a working webtop with working configurator and lxterminal and all that goodness. Problem is when I run the webtop2sd program so I can move the image to the sdcard, the program does the partition part just fine, but consistently fails the file copy portion of the process and aborts. I have no idea what to do. Is it possible to manually copy the webtop image to the section of the sdcard set up for it and if so how?
Thanks ahead guys. Oh and Kudos to Sogarth for making this possible!
well the problem seems to have fixed itself. Though I have no idea why. I kept rebooting and trying and eventually the copying worked. Now have an unlocked jauntu desktop Thanks so much to everyone who posts in this forum regularly. now off to figure out the next part...

Different SBF **UPDATE** Bootable SBF CD -Hit A Roadbloack

Update 1-21-12
Ok, 1KDS ran into a small, well maybe not small, issue. The way the whole process works would require a large amount of RAM for the process to run properly. It's in the order of 6+ gigs because the scripts set up and run the operation in RAM. Since most people don't have that much RAM the project is on hold until a solution presents itself. I would like to thank 1KDS for looking into this. If anyone has ideas, feel free to post up.
Previous Info:
Ok, guys here's the deal. The dev is aware of what I'm asking and is looking into possibly doing this for us. Remember these simple requests:
1) Don't ask for ETA's. Enough said.
2) If a question is asked that needs your answers/input, please give it.
3) If he is successful, and I have to stress "IF', he will need testers. Please do, I know I definitely will.
And Finally
4) If you can, donate/support, he's doing this for YOU!
Previous Post:
Ok Here's an update. I pm'd the creator over at DXF and he has said it's pretty involved. He has said:
" It's pretty involved, it may be easier to make one myself. If you can link me the SBF file, instructions to get into the bootloader or wherever you flash from, instructions to factory reset afterward, and what root method is used for the MoPho I can work on one."
So I'm going to provide the info. My question to my fellow MoPho users is "Would you be willing to support and/or donate to him for his work on this?" If he's going to be nice enough to do this we should be nice enough to support him for his efforts. I'll update this as I find more info.
Mike
Original Post:
Have a question, how would one go about creating an automated Linux bootable CD with all the scripts and files to make it easier to SBF a MoPho?
I came from the Droid X and there was a file I downloaded that was in a word - awesome. Insert CD, boot from it, plug in phone, choose option 1, and viola!!! In a few minutes your device was flashed back to stock, no fuss no mess.
I'm a MoPho-er
I wish I could help, but IDK how to do that bub, try making a post in the Droid X Forums, ask for a dev to remake the files to boot on a CD and use this SBF file ---- use this link to download it.
See if that helps, someone may be able to make that CD.
Just thought I'd ask. It's been a few years since I dabbled with linux, Red-Hat was my last venture (10-12 years ago). I'll look at how the cd and the scripts are set up. I can probably figure it out.
I'm a MoPho-er
Let me know if you or someone can get it to work, I'd be very interested.
I think I can get it to work, just have to get the scripts right. Gonna take a fews days. I'm gonna post over at DXF and ask the person who creates them for some input.
I'm a MoPho-er
I'm linking this thread here as it has all the tools and info needed (hopefully) to create a bootable SBF CD.
http://forum.xda-developers.com/showthread.php?t=1393519
I'm a MoPho-er
Alright guys, I'll be working on a new image for the MoPho (I like that name!)
One question, anyone use the ZergRush root method on the MoPho? I have a nice script for that already as well as the Droid 3 method.
1KDS to the rescue!!!!!!!!
Thanks, your work is awesome!!!!!!
I'm a MoPho-er
I used Shabby's one click
I'm a MoPho-er
I looked at Shabby's script, looks pretty much like the Droid 3 method, I can use his script though, there may be a piece I'm not seeing that affects the MoPho. Does it work on the newest SBF/firmware?
I used it to root mine. Took it out of the box and it updated to the latest as soon as I activated it. I rooted about three days later and had success on the first try.
Edit: I don't know about the latest SBF, but (uneducated guess here) I would imagine it should.
I'm a MoPho-er
Alright guys, been busy but I'm ready to start on this new image, couple questions...
There was an SBF file posted on page 1, is that one preferred? I see there is a newer one out there.
Can someone post some clear instructions on getting into the bootloader or RSD mode and instructions for stock recovery to factory reset?
Is there a preferred bootstrap/clockwork? If one is preferred and offered free from the dev I can add a script to install it for you after rooting.
I hope I can give good info here, no one else is stepping up and I'm not fully "up to speed" on my MoPho yet. There's much I haven't tried because I'm "RSD skiddish". When I had my Droid X RSD and I just wouldn't "get along", so I'm not familiar with it. Hence the reason I loved the bootable CD.
For SBF files I think 198_6 is the latest official release. From what I understand 198_7 is out, but it's a leaked package as Sprint never released it.
As for CWM, there is one available, a thread is devoted to it. I think the version is 5.. dot something and it was made specifically for the Photon. It requires the bootloader to be unlocked as well, I believe. Thread here:
http://forum.xda-developers.com/showthread.php?t=1218417
For all the other steps there is a thread by qbking77 that has videos instructing how to root, flash, unlock, install CWM, etc. here:
http://forum.xda-developers.com/showthread.php?t=1250697
Hope this helps.
I'm a MoPho-er
Keep me posted. Can someone PM me the link to this thread when this is done, for some reason, I'm not getting updates on this thread...
Sent from my Motorola Photon 4G (MoPho) on Sprint, the Now Network using XDA Premium.
I had a couple bad downloads of the SBF file, I've got a good one now and unzipped it, the file (uncompressed) is 2.44GB! SliTaz (the Linux distro I use for these images) boots into RAM and my machine simply doesn't have enough RAM to unzip the file and stay stable, if I had more RAM I could make the iso but very few people would be able to use it as they would need 6+ gigs of RAM to run it. For now I'm putting this project on hold until I think of something else or a smaller SBF file is released. Sorry guys.
Ouch!!!!
Bummer 1KDS
Thanks for looking into it, though. I was curious why one didn't exist yet. I guess that would be a good reason why. I guess I'm just gonna have to break down and make RSD and me get along so I can do some modding to my MoPho.
I'm a MoPho-er
Question. Would a "virtual" environment work or is something like that just way to involved to work?
Edit:
Don't know if "virtual" is the right thought or not. I may have been thinking "RAM Disk" setup.
I'm a MoPho-er
Yeah, I use VirtualBox to build the images, my laptop has 4 gigs of RAM and I allocate around 2.5GB to the virtual machine so the machine stays stable and I can't even unzip it within that amount of memory. Like I said, even if I can build the image only a few people would be able to use it since it is so massive.

Request help undeleting pictures; motorola droid turbo2, ver 6.0, kinzie

Greetings,
I am a newbie, fairly competent with computers, well maybe not this time since I accidentally deleted the camera folder on my droid turbo 2 while moving them to my pc. Have been googling and learning as much as possible, and realize i need to root the phone for an undelete program to see a drive and recover files. Learning that 6.0 is very new and cannot find a root method. Really, all I want are the pictures. Not planning on changing or modifying any phone apps... phone is droid turbo 2, XT1585, android 6.0, sys version kinzie, build mck24.78-13.16.
Advice?
Thanks in advance,
gilligan11

Categories

Resources