Pulling Some Apps? - Droid X General

Hi, I'm from the Droid Eris Development forum and I was wondering if I could ask if someone can pull all the .apk applications from the Droid X? I was wondering if I could implement them into a ROM. Nothing special just a quick backup.
This should work:
Code:
adb shell mkdir /sdcard/backup && adb shell cp /system/app/*.apk /sdcard/backup
If you could run that in adb that would be nice. I would just like to see if I can get some of these working on the Eris. All I need is a .zip of these uploaded on multi-upload or something.
Thank You!

can you pull apart a nand? http://www.droidxforums.com/forum/droid-x-roms/4087-clean-droid-x-nandroid.html
ive seen a sys dump some where, dunno if it was here or there. but its around

Yes, I can. Thank you. They should be in there...

bad4u6669 said:
can you pull apart a nand? http://www.droidxforums.com/forum/droid-x-roms/4087-clean-droid-x-nandroid.html
ive seen a sys dump some where, dunno if it was here or there. but its around
Click to expand...
Click to collapse
Droid X System Dump
http://forum.androidcentral.com/motorola-droid-x/19165-motorola-droid-x-system-dump.html

I knew i wasnt crazy!

Related

Replacing HTC apps with ANDROID ones

Hi,
After reading this thread and learning that you CAN replace HTC's apps with stock Android ones, I have started messing around to see what other apps I can / should change. I'll use this thread as kind of a log, so if I mess things up I can come back and see where I went wrong. Fellow noobs can surely use it too!
I am using SDK in Ubuntu, but the procedure should be pretty similar in Windows.
First, follow the Unlockr's method to root your phone.
Download a stock Android rom and extract its /system/apps folder inside /sdk/tools. I named the folder "Apps-stock
Check if Ubuntu recognises your phone:
Code:
./fastboot devices
Load the recovery image and mount the system:
Code:
./fastboot boot cm-hero-recovery.img
./adb shell mount /system
Replacing HTC's calendar:
Code:
./adb shell rm /system/app/Calendar.apk
./adb shell rm /system/app/Calendar.odex
./adb push Apps-stock/Calendar.apk /system/app/
I'll edit the thread, add details as I go on
Nice one!
Please keep us informed!
Thanks for this thread.
Post moved to a more appropriate topic :
http://forum.xda-developers.com/showthread.php?p=4477971#post4477971
Thanks for setting this thread up!
Firstly, you should probably say in the first post that everyone should do a Nandroid backup first - it's saved my bacon. Might be an idea to link to the files, too?
Second, I've got a problem trying to run this method. I removed the original calendar.apk and .odex without any problems, and copied the new one over, but on rebooting, it wasn't in the list of applications anywhere. I browsed there in Astro and opened the file, which gave me an option to install it - which then gave an error of "Calendar could not be installed on this device".
I'm running the MoDaCo 2.1 custom ROM and using the calendar.apk from this thread.
Thanks for your time!
fastboot
can you tell me where this fastboot command is located? I am using Ubuntu too, but can not find fastboot. What is it for by the way?
dragonflyFZX said:
can you tell me where this fastboot command is located? I am using Ubuntu too, but can not find fastboot. What is it for by the way?
Click to expand...
Click to collapse
fastboot and adb are executables you get from the Android SDK - see here.
This thread does require your phone to be rooted, though, which would require you to have already used adb at least once....
frandavid100 said:
........
Replacing HTC's calendar:
Code:
./adb shell rm /system/app/Calendar.apk
./adb shell rm /system/app/Calendar.odex
./adb push Apps-stock/Calendar.apk /system/app/
I'll edit the thread, add details as I go on
Click to expand...
Click to collapse
how about simply replacing those files using a file explorer (like linda)? possible, or would that screw up my system?

[Vendor Tree] Compile Cyanogenmod for Eris

here you guys go, a quick vendor tree i made for eris.
To make android, first follow the instructions over at source.android.com/source/download.html until you installed repo
from there you will do this
Code:
$repo init -u git://github.com/cyanogen/android.git -b eclair-ds
$repo sync
the sync should take a few hours, take a nap or have some coffee in the meantime
now youre going to need to remove the dream_sapphire vendor tree and replace it with this one
Code:
$rm -fr vendor/htc/dream_sapphire
$cp -r /path/to/my/vendor/ vendor/htc/dream_sapphire
after thats done you'll need to extract proprietary bits. plug your phone into your computer, make sure adb has proper
permissions, then
Code:
$pushd vendor/htc/dream_sapphire
$./extract-files.sh
$popd
from there source the envsetup.sh
Code:
$ . build/envsetup.sh
then lunch cyanogen_dream_sapphire-eng and build cyanogenmod with make
Code:
$lunch cyanogen_dream_sapphire-eng
$make otapackage -j4
make otapckage will give make you an update.zip named cyanogen_dream_sapphire-ota-eng.'$USER'.zip
github.com/darchstar/vendor_htc_desirec
darchstar said:
here you guys go, a quick vendor tree i made for eris.
Will post instructions as to how to compile cyanogenmod when i get back home
github.com/darchstar/vendor_htc_desirec
Click to expand...
Click to collapse
Good stuff.
im ready for some instructions to get my feet wet on compiling :-D
laxattack said:
im ready for some instructions to get my feet wet on compiling :-D
Click to expand...
Click to collapse
source.android.com I believe
oh this is gonna make things interesting....
gratzi!
This would be something worth learning. Can't wait, and thank you much bro.
-------------------------------------
Sent via the XDA Tapatalk App
updated first post with instructions. have fun everyone
Awesome, Great work bud !!
Cant wait to see/play with some stuff from this
if someone cud give me a better kernel binary that works for everyone, that'd be great. currently the vendor tree is using a hit or miss kernel that i compiled
Thanks!
Lawl, beat me to it
I wouldn't be surprised if I see some attempts using this guide for something...
darchstar said:
if someone cud give me a better kernel binary that works for everyone, that'd be great. currently the vendor tree is using a hit or miss kernel that i compiled
Click to expand...
Click to collapse
The one in my kernel thread at http://forum.xda-developers.com/showthread.php?t=688439
is the one that people have been having the best luck with.
Good stuff Darch!
Thank you! I have been playing with the eclair branch from the android git repository. It will be nice to take a look at your work.
darchstar said:
now youre going to need to remove the dream_sapphire vendor tree and replace it with this one
Code:
$rm -fr vendor/htc/dream_sapphire
$cp -r /path/to/my/vendor/ vendor/htc/dream_sapphire
Click to expand...
Click to collapse
Pardon my ignorance, but what directory does "/path/to/my/vendor/" correspond to?
hoban_eris said:
Pardon my ignorance, but what directory does "/path/to/my/vendor/" correspond to?
Click to expand...
Click to collapse
wherever you git clone'd my vendor tree to
I found an issue with your "vendor_htc_desirec/extract-files.sh" file. On my phone I have a couple of differences.
adb pull /system/xbin/echo3 ./
"echo3" can not be found. I have a file called "echo" on my phone.
adb pull /system/lib/hw/sensors.heroc.so ./
"sensors.heroc.so" is called "sensors.desirec.so" on my phone.
adb pull /system/etc/eri.xml ./
"eri.xml" can not be found.
adb pull /system/usr/keychars/heroc-keypad.kcm.bin ./
"heroc-keypad.kcm.bin" is called "desirec-keypad.kcm.bin" on my phone.
Other than those errors eveything is working as planned. Once again thanks for all the work getting this setup. I really appreciate it.
arockj said:
I found an issue with your "vendor_htc_desirec/extract-files.sh" file. On my phone I have a couple of differences.
adb pull /system/xbin/echo3 ./
"echo3" can not be found. I have a file called "echo" on my phone.
adb pull /system/lib/hw/sensors.heroc.so ./
"sensors.heroc.so" is called "sensors.desirec.so" on my phone.
adb pull /system/etc/eri.xml ./
"eri.xml" can not be found.
adb pull /system/usr/keychars/heroc-keypad.kcm.bin ./
"heroc-keypad.kcm.bin" is called "desirec-keypad.kcm.bin" on my phone.
Other than those errors eveything is working as planned. Once again thanks for all the work getting this setup. I really appreciate it.
Click to expand...
Click to collapse
oh, this extract-files.sh is most optimal to use against another aosp rom found in these forums
Understood. Thanks again for the work. I really just needed a push in the right direction and you have given me more than a push. Your work is much appreciated.
Thanks for this info...we need more posts like this in the Eris section. That being said I can't get repo to install. I'm getting error url malformed. I'm new to linux and can't figure out what this means..
Conap said:
Thanks for this info...we need more posts like this in the Eris section. That being said I can't get repo to install. I'm getting error url malformed. I'm new to linux and can't figure out what this means..
Click to expand...
Click to collapse
try this command to get the url
Code:
curl http://android.git.kernel.org/repo > ~/bin/repo
darchstar said:
try this command to get the url
Code:
curl http://android.git.kernel.org/repo > ~/bin/repo
Click to expand...
Click to collapse
Thank you so much that worked...the command I was using did not have the > in it. Maybe that should have been obvious but I'm still getting used to Linux.

ADB Push

I searched around and couldn't get a clear answer. I'm a noob at anything command prompt/terminal related.
I was screwing around with adb last night after figuring out that I can remove program .apks with the rm <com.whatever.program> command. I got a little trigger happy and removed things that I don't use, just to test it out. I made a nandroid backup before I started. The phone runs fine, but now the Market won't download anything. It just sits on the Starting download... screen.
One of the .apks I removed was GmailProvider.apk. Whether this is the problem or not, I'd like to reinstall it for practice. I can always nand restore later.
So my question is... How can I use adb push to reinstall an apk?
I tried:
Code:
adb push C:\GmailProvider.apk
adb install C:\GmailProvider.apk
adb install C:\GmailProvider.apk \system\app
And about every variation of the 3, in and out of the adb shell.
It didn't work, and I'm at a loss to do anything else. So does anyone have any suggestions?
EDIT: I think my "\" should be "/". I got this
Code:
BusyBox v1.15.2 <2009-12-02 TIME EST> multi-call binary
Usage: install [-cdDsp] [-o USER] [-g GRP] [-m MODE] [source] dest|directory
Copy files and set attributes
Options:
Then some usage stuff here.
Then I looked at the command prompt and made a face like .
Suggestions?
It might help to say that I'm using EvilEris 2.0.1, Windows 7.
Just reflash your ROM after doing a titanium backup. Easiest fix.
try this after putting GmailProvider.apk in your sdk\tools dir:
Code:
adb remount
adb push GmailProvider.apk /system/app
remount marks the system directory as read/write
silverramsrt said:
try this after putting GmailProvider.apk in your sdk\tools dir:
Code:
adb remount
adb push GmailProvider.apk /system/app
remount marks the system directory as read/write
Click to expand...
Click to collapse
Beat me to it. ADB is powerful and pretty cool if you know some good commands, but you can really mess up your phone if you know what I mean. Not mess up like brick (unless you really try) but more like phone won't load gmail now, phone won't get past the htc screen. As long as you have a nandroid backup you SHOULD be fine, the push, pull and rm commands are really the first step of rom building. If you know what files you pushed and rm'd you can make your dream rom.
CPCookieMan said:
Beat me to it. ADB is powerful and pretty cool if you know some good commands, but you can really mess up your phone if you know what I mean. Not mess up like brick (unless you really try) but more like phone won't load gmail now, phone won't get past the htc screen. As long as you have a nandroid backup you SHOULD be fine, the push, pull and rm commands are really the first step of rom building. If you know what files you pushed and rm'd you can make your dream rom.[/QUOTE
i am installing htc facebook.apk on a rom that has had all the Bloat removed.do i need to do something after i have pushed a apk file into system/app?? i have tried rebooting the phone and the program isnt there,ive tried going in the phone with root explorer and tried installing while having it in r/w and r/o and still cant get it to install.im not sure what im doing wrong.any help is apreciated
Click to expand...
Click to collapse
i am installing htc facebook.apk on a rom that has had all the Bloat removed.do i need to do something after i have pushed a apk file into system/app?? i have tried rebooting the phone and the program isnt there,ive tried going in the phone with root explorer and tried installing while having it in r/w and r/o and still cant get it to install.im not sure what im doing wrong.any help is apreciated
Click to expand...
Click to collapse
You do not have to do anything after an adb push.
What rom? Some roms have been modified to the point some htc apps will not work. Addionally a copy of the htcfacebook.apk from an eris build may not work on a sprint based or g1 based roms do to signature variations
Sent from my Eris using XDA App
zach.xtr said:
You do not have to do anything after an adb push.
What rom? Some roms have been modified to the point some htc apps will not work. Addionally a copy of the htcfacebook.apk from an eris build may not work on a sprint based or g1 based roms do to signature variations
Sent from my Eris using XDA App
Click to expand...
Click to collapse
im running xtrom 3.0.......i just went ahead and installed the social app flash and deleted what the ones i dont uses,but thanks for the help anyways.i was looking into pushing friendstream into it but found out its only works in sprint base builds

HowTo: Flash Any Ruu

First off, as always, if this causes any damage, or loss of anykind anyhow anyway I am not at fault, don't blame me.
So you rooted? But no longer want root? or want to downgrade to 1.5 with an ruu? or want to flash one of the PB00IMG like the root one with an engineering bootloader?
Tonight I made another custom misc.img, it is attached to this post. You will also need flash_image which can be found here. http://www.multiupload.com/KS2JCAMGBH
Run these commands as root:
Code:
adb push flash_image /data/local/flash_image
adb push misc.img /data/local/misc.img
adb shell chmod 777 /data/local/flash_image
adb shell /data/local/flash_image misc misc.img
Now you can flash any known (to me) ruu or PB00IMG
Cool beans and thx for your continued help even tho you don't have a Eris anymore.
korben dallas said:
Cool beans and thx for your continued help even tho you don't have a Eris anymore.
Click to expand...
Click to collapse
I have 1 motodroid, 1 eris w/ no service and 1 eris with service (Wife), I haven't been able to do dev work on the eris til recently, no root.
That has changed
Great job .thanks for working on the eris
jcase you are a god among eris user keep up the good dev'ing
jcase said:
I have 1 motodroid, 1 eris w/ no service and 1 eris with service (Wife), I haven't been able to do dev work on the eris til recently, no root.
That has changed
Click to expand...
Click to collapse
Oh my bad thought you said while back it had a bad radio and you got a Droid. I guess no more assuming lol
The hits keep on coming!
I suppose this should work equally well for PB00IMG.ZIP installs (from the corresponding RUUs), yes?
This should make life easier for "unrooters"; now if there just some way to convince them that there is really only 1 reason to unroot a phone
bftb0
my only reason for unrooting is sending my phone back ......which i will be doing this weekend..... refurb is suppose to be here today
thanks jcase ....thanks for the continued work on the eris .....
rvpartsguy said:
my only reason for unrooting is sending my phone back ......which i will be doing this weekend..... refurb is suppose to be here today
thanks jcase ....thanks for the continued work on the eris .....
Click to expand...
Click to collapse
Exactaly i just got my beautiful refurb
BTW EVERYONE,......,
if u have a custom boot screen u will want to take it off first or you will be locking it in
Sent from my Eris using XDA App
korben dallas said:
Oh my bad thought you said while back it had a bad radio and you got a Droid. I guess no more assuming lol
Click to expand...
Click to collapse
It did, the one I used. It was the only non leak one I had. Puit kinks in everything.
When I try it it just keeps saying push: not found.
The commands are the same thing for OSX, right? Drag tools to Terminal and then just copy and paste those lines of commands?
hackthis02 said:
When I try it it just keeps saying push: not found.
Click to expand...
Click to collapse
Yeah dude, those instructions didn't work for me either. This is what I did (and it worked):
Code:
adb push flash_image /data/local/flash_image
adb push misc.img /data/local/misc.img
adb shell chmod 777 /data/local/flash_image
adb shell flash_image misc /data/local/misc.img
do we put the two files into the SDK/Tools folder? or are we putting them on the SD card and running these commands while the phone is in recovery? Sorry I'm a little new to this.
derickmc said:
do we put the two files into the SDK/Tools folder? or are we putting them on the SD card and running these commands while the phone is in recovery? Sorry I'm a little new to this.
Click to expand...
Click to collapse
Tools folder.
hey guys, sorry but i'm really confused as to what to do here. i'm running evil eris and i want to downgrade to 2.1leak to get a refurb eris. i'm a complete noob with all the sdk stuff. i've gotten as far as putting the two files in the sdk/tools folder, lol. if someone could help me out with this, it'd be greatly appreciated...thanks a ton.
Just flash the pbooimg.zip back onto the phone. Out should be good from there.
Sent from my Eris using XDA App
niether worked for me. the original post reads.. error opening misc.img: no such file or directory...your method reads..error reading : /data/loca/misc.img headed : Is a directory
lil_dez said:
Yeah dude, those instructions didn't work for me either. This is what I did (and it worked):
Code:
adb push flash_image /data/local/flash_image
adb push misc.img /data/local/misc.img
adb shell chmod 777 /data/local/flash_image
adb shell flash_image misc /data/local/misc.img
Click to expand...
Click to collapse
Me! Me ! Me! too please
Hey I am not understanding what to do either. I have a rooted eris that the screen started flaking out so i Have to send it back.
I rooted alright and I have a basic understanding of the recovery stuff. But could you guys either tell me what to do from scratch on this one or point me in the right direction.
I've been searching the forum for 2 weeks trying to learn how. My kids are teasing me now cuz all I do at home try to learn about this stuff. Well anyway I would appreciate some help.
I have just opened a can of worms
Wow!!! I truly did not realize the full extent of what yous guys are doing on this website. You are smart people!!! hahahaha I opened a can of worms and can't get it shut again.
You guys are the ones writing and developing all kinds of programs.
i hope you guys arent taking this the wrong way!!!
I honestly didnt realize till I researched and found the HTC Developers center.
I have no buisness trying to do any of this stuff!
If some can help me out I would appreciate it!!!!!!

Backtrack 5 on Atrix

I didn't see anything about this on here, so I thought I'd post this:
http://www.backtrack-linux.org/xoom/photo.jpg
This was posted on the official backtrack twitter, and they claim they will be releasing an image on May 10. Don't know how many of you use backtrack, but this might be useful for some
What oz backtrack?
Sent from my MB860 using Tapatalk
Its a linux distro based off of ubuntu(I think) Its mainly used for pentesting, which usually requires custom wifi drivers. I use the drivers on my N900 and they're fantastic. Seeing as how the Atrix's bootloader is locked down, this is probably chrooted, so it probably will not be very fast
Looks intriguing. Interested on how they will be running it as its clearly not hacked into the webtop from the photo
Ahaha I love using Backtrack on my laptop. Was a pain to setup at first, however.
hmm, time for some hacking! xD
http://www.h-online.com/security/news/item/Security-distribution-BackTrack-5-released-1241332.html
Here's another article.
tehrules said:
http://www.h-online.com/security/news/item/Security-distribution-BackTrack-5-released-1241332.html
Here's another article.
Click to expand...
Click to collapse
Going to try and install it tonight. Since it runs through AndroidVNC I am assuming it is similar to the Ubuntu method posted before in the DEV. If I do get it running properly I will post the how to from BT site.
check forum link in my signature ...
it can be used with some twist's.
ye i saw that one too, didnt come to test it yet tho =/ im highly interested in it tho
any news?
It's been a couple of weeks, yet no one has proved that this works on the Atrix, other than the developers of Backtrack themselves. I'm willing to test this out sometime next week, when I won't have too much on my plate, but could someone post a video is they have successfully got this running?
I got it running on my N900 at decent speed(it is in chroot), so you can probably get it running on the Atrix. This is from the readme file(from the xoom):
1. Once you have downloaded the ARM BT package, save the files in a convenient location. The steps below assume they are in the platform-tools folder of the Android SDK.
2. Go to your platform-tools directory and proceed to make a directory on the device to store BT5:
./adb shell
mkdir /sdcard/BT5
exit
3. Copy over the busybox install files:
./adb push busybox /sdcard/
./adb push installbusybox.sh /sdcard
4. Install busybox on the device:
./adb shell
cd /sdcard/
sh installbusybox.sh
exit
5. Transfer the required BT5 files to the device:
./adb push fsrw /sdcard/BT5/
./adb push mountonly /sdcard/BT5/
./adb push bootbt /sdcard/BT5/
./adb push bt5.img.gz /sdcard/BT5/
./adb push unionfs /sdcard/BT5/
6. Uncompress the image and start BT5:
./adb shell
su
cd /sdcard/BT5
gunzip bt5.img.gz
sh bootbt
If all goes well, you'll be in the BT5 chroot:
# sh bootbt
net.ipv4.ip_forward = 1
[email protected]:/# ls /pentest/
backdoors database exploits passwords scanners stressing voip
cisco enumeration forensics python sniffers tunneling web
[email protected]:/#
Looks like you need busybox and a vnc client, and you have to change the resolution
paravorheim said:
It's been a couple of weeks, yet no one has proved that this works on the Atrix, other than the developers of Backtrack themselves. I'm willing to test this out sometime next week, when I won't have too much on my plate, but could someone post a video is they have successfully got this running?
Click to expand...
Click to collapse
I had it working the day BT5 was released.
https://picasaweb.google.com/barry99705/BackTrak5OnAtrix#
barry99705 said:
I had it working the day BT5 was released.
https://picasaweb.google.com/barry99705/BackTrak5OnAtrix#
Click to expand...
Click to collapse
mind sharing how you did it?
crnkoj said:
mind sharing how you did it?
Click to expand...
Click to collapse
This is probably the easiest way.
http://forum.xda-developers.com/showthread.php?t=1074169
So the performance isn't all that great?
barry99705 said:
This is probably the easiest way.
http://forum.xda-developers.com/showthread.php?t=1074169
Click to expand...
Click to collapse
yes but that is a tutorial for the x10, not the atrix, as much as i checked that out we have to change partitions in the files no? or did you install it like this?
ok i have it up and running but i cannot get the screen to recognize touch. i want to set it to touchpad but everything but No Pan; Trackball MOuse is greyed out. any ideas?
I do have BT on my Atrix and this info posted in here isnt new at all.. for more info about it check this thread: http://forum.xda-developers.com/showthread.php?t=1184161.
But as far as I know Android doesnt have monitor mode for wireless so forget about aircrack or sismet for now... maybe someone can help on this...maybe not...
fernandoavc said:
I do have BT on my Atrix and this info posted in here isnt new at all.. for more info about it check this thread: http://forum.xda-developers.com/showthread.php?t=1184161.
But as far as I know Android doesnt have monitor mode for wireless so forget about aircrack or sismet for now... maybe someone can help on this...maybe not...
Click to expand...
Click to collapse
It's a Broadcom radio, so most likely not. In theory, the Atrix has usb host capability, so if someone figures out how to build some atheros or rtl based usb dongles, that would work.

Categories

Resources