Enomther's TMO US ROM & Cytown phone.apk .22 - G1 Q&A, Help & Troubleshooting

I am using the TMO US rom, non ADP. I want just 3 screens. I can't seem to get it to work. I used to use it fine with CM 4.1.11.1 but not with the one from ENOM...
I want a stock rom with some tweaks and I'm testing out E's rom now. Works great, just can't get the phone.apk to work.
I'm trying to install it via the phone, at work and no comp to use as a go between. is that the problem? I did it with CM's and figured it should work on this one but nuttin.
anyone know what I'm doing wrong?
I followed the steps that are under cytowns thread. I couldn't mount it, kept giving me some sort of error, remount not found, or /system not a valid file etc...

Remount is not a valid command, you need to use ADB
Why don't you just use update.zip that Wysie provides?
Otherwise, use
Code:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
to remount system rw
Good luck

Related

Delete old userinit or no?

So I have an old file left over that I never got rid of when I set up swap on Cyan 3.6.8.1 or whatever.
Since if I remember correctly swap/compcache is set up by default on the newer versions should I get rid of that old userinit file? If so how would I go about doing that from the console in recovery?
if you have no userinit.sh then compache is done by default in his newer builds
try
Code:
su
mount -o rw /dev/block/mmcblk0p2 /system/sd
rm /system/sd/userinit.sh
reboot
though just on general principle of the app i would get root explorer from the market bc you can access /system/sd from it and delete whatever you want while not having to do any terminal commands
Thanks!
Yaboiaj said:
Thanks!
Click to expand...
Click to collapse
your are welcome

google maps 3.2 not 3.1.2 [faster loading]

anyways im against piracy but on another forums someone got the map apk from 2.0 built eclair. and it works. heres the link to the 2.0 built downloa it and pull it and just install on your fone.
http://forum.xda-developers.com/showthread.php?t=567821
its in system/app
so this works with cupcake/donut builds?
Chedderknight said:
so this works with cupcake/donut builds?
Click to expand...
Click to collapse
Ya, working fantabuously on Cm 4.99999999999999999999999999999999999999 or whatever the latest CM is.
no dice on 4.0.4
Chedderknight said:
no dice on 4.0.4
Click to expand...
Click to collapse
Installation method? Did you get errors somewhere along the way? ect..
It would make sense, 4.0.4 is on the 1.5 kernal not 1.6.
I'm running Cyan 4.1.9999 and getting "Google Maps could not be installed on this phone" is there anything you did to get past this?
AdrianK said:
Installation method? Did you get errors somewhere along the way? ect..
Click to expand...
Click to collapse
Through terminal and the general file manager way.
Code:
cp /system/app/Maps.apk /sdcard/Maps.bak
mount -o rw,remount /system
cp /sdcard/Maps.apk /system/app/Maps.apk
gracias...seems a little slow on mine
Lemme take that back...locked up on first use...now working very nicely. just seems like a "pretty-fied" maps with layers...still nice though
So what is the real difference between 3.1.2 and 3.2?
It seems faster overall and includes layers so you can have multiple map modes active at the same time, ie: sat+traffic+locale.
sacrifice a few lambs and it should work fine.
Works Great on TheOfficial AOSP1.6_r1.2......
i think it only works on 1.6 only and not 1.5. its just a minor update, but ive notice gps works when on edge and 3g i get pin point acuarrcy .
its a great upgrade..
Sorry for the noob question but how do I do this through terminal?
re
Post #8 contains your answer.
Chedderknight said:
Through terminal and the general file manager way.
Code:
cp /system/app/Maps.apk /sdcard/Maps.bak
mount -o rw,remount /system
cp /sdcard/Maps.apk /system/app/Maps.apk
Click to expand...
Click to collapse
I tried that and it said "cannot stat '/system/app/Maps.apk': no such file or directory
Well if you extract the file from the Build, then get it on your sdcard... it would probably look like this:
cp /system/app/GoogleMaps.apk /sdcard/GoogleMaps.bak
mount -o rw,remount /system
cp /sdcard/Maps.apk /system/app/GoogleMaps.apk
Click to expand...
Click to collapse
Then Remember that the GoogleMaps.bak on your sdcard, is a backup.. and to put it back if your phone cant handle it, would be:
cp /sdcard/GoogleMaps.bak /system/app/GoogleMaps.apk
give it a try and post back
Well try Adb, make sure you: mount -o rw,remount /system....

remove stock apps

I am willing to pay someone if someone can figure out how to remove factory apps like
facebook
footprints
peep
quickoffice
stock
visual vm
stock massages
i never use them for some reason they run in the background
Just take a look at this thread from the android forums
http://androidforums.com/all-things-root-eris/53646-unwanted-apps.html
NOTE: you MUST have ROOT in order to remove those apps.
If the instructions in that thread about "adb" are too complicated for you, then go buy the Root Explorer app, navigate to the folders you were told to in the thread, click the "r/w" button at the top of the app, then long press on the files you are told to delete.
Deleting system apps is risky if you delete the wrong ones. As usual, you are responsible if anything happens.
As I see it, you must have root to modify system files on your ROM (anyone correct me if I'm wrong)
But I was able to use Titanium Back up (downloaded from the Android market, free) to see all installed programs and I successfully deleted Visual VM, Peep, and stock messages... I use the others...
now so far, my ROM that is installed [2.1 version .3] hasn't had any problems with the removal of these system programs, So I think it is a safe method.
I believe this is a good alternative to adb commands... since you know what you are deleting.
and of course, I am not responsible if you do happen to mess your phone up.
C:\Users\admin\Desktop>cd android-sdk-windows
C:\Users\admin\Desktop\android-sdk-windows>cd tools
C:\Users\admin\Desktop\android-sdk-windows\tools>adb shell
$ mount -0 rw,remoun /dev/block/mtdblock3 /system
mount -0 rw,remoun /dev/block/mtdblock3 /system
mount: invalid option -- '0'
BusyBox v1.15.0 (2009-08-25 15:17:43 BST) multi-call binary
Usage: mount [flags] DEVICE NODE [-o OPT,OPT]
Mount a filesystem. Filesystem autodetection requires /proc be mounted.
Options:
-a Mount all filesystems in fstab
-f Dry run
-r Read-only mount
-w Read-write mount (default)
-t FSTYPE Filesystem type
-O OPT Mount only filesystems with option OPT (-a only)
-o OPT:
loop Ignored (loop devices are autodetected)
[a]sync Writes are [a]synchronous
[no]atime Disable/enable updates to inode access times
[no]diratime Disable/enable atime updates to directories
[no]relatime Disable/enable atime updates relative to modification ti
me
[no]dev (Dis)allow use of special device files
[no]exec (Dis)allow use of executable files
[no]suid (Dis)allow set-user-id-root programs
[r]shared Convert [recursively] to a shared subtree
[r]slave Convert [recursively] to a slave subtree
[r]private Convert [recursively] to a private subtree
[un]bindable Make mount point [un]able to be bind mounted
bind Bind a directory to an additional location
move Relocate an existing mount point
remount Remount a mounted filesystem, changing its flags
ro/rw Read-only/read-write mount
There are EVEN MORE flags that are specific to each filesystem
You'll have to see the written documentation for those filesystems
$ cd /system/app
cd /system/app
$ 1s
1s
1s: permission denied
$
this is what i get am i doing something wrong here
Type adb shell than su and tell me what happens.
binny1007 said:
Type adb shell than su and tell me what happens.[/QUOTE
never mind i got it to work i used different method i bought the titanium backup. show all the installed apps easy to uninstall it works great now my phone is running much faster thanks for all the help
Click to expand...
Click to collapse
FYI, you were typing the commands wrong.
Right after you do "adb shell" you'll need to type "su" and the $ prompt should change to a # prompt. Check your phone as well after typing "su" as you should see a popup asking for permission.
$ mount -0 rw,remoun /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
should be: mount -o rw,remoun /dev/block/mtdblock3 /system
The -o is the letter o, not a zero.
$ 1s
Click to expand...
Click to collapse
Should be: ls
That's the letter l (lowercase L), not a one.
grdlock, I believe there is a "t" missing in your post:
mount -o rw,remount /dev/block/mtdblock3 /system
Ahh, ya, you're right. I just copied/pasted what he wrote and didn't catch that.
ampinc said:
binny1007 said:
Type adb shell than su and tell me what happens.[/QUOTE
never mind i got it to work i used different method i bought the titanium backup. show all the installed apps easy to uninstall it works great now my phone is running much faster thanks for all the help
Click to expand...
Click to collapse
Glad to know it works for someone else as well
Click to expand...
Click to collapse
I just downloaded Titanium Backup and deleted the "worldclock.apk" and I have to say it's a nice app, (Titanium that is)
So far, from the VanillaDroid ROM, I've deleted the following with no ill effects:
Stocks
Weather ( I use WBug)
Visual Voicemail
Browser ( I use Dolphin)
Quickoffice
MMS
Talk
Mail
Deskclock
I would like to delete the following but am having some difficulty finding the correct "apk"
Camcorder (I think it's built into the camera?)
Call History
People Search
Settings (just the app in the drawer, another NAND before I do this I guess)
Voice Dialer
Voice Search
Voice Record
NaviPanel ***Anyone know if this will mess with Maps?***
FACEBOOK !!!! I deleted the "Facebook.apk" but the FB app is still in the drawer and it still works fine. If anyone could help me with deleting this one I would be forever greatful! Trying to delete it using Titanium, it says: "cannot find Facebook.apk" But it's still friggin there......argh!
Edit: Woohoo! Facebook is gone.
Titanium tells me it needs root acess and that's out of question. Then again, I'm on the lg ally and it might be different... idk. Any other suggestions?

[Q] Removed apps come back - WHAT?

How do I avoid that built-in apps like Gallery re-appear after deletion??
When I try this on htc Hero with CM6 (and CM7) and my rooted Motorola Charm the removed apps don't re-appear - they nicely stay gone.
But in this case I run CM6.1 stable on my Wildfire and when remove apps Titanum says success but the apps still work and re-appear in Titanium after reboot. E.g. CMStats (CyanogenMod stats), Weather, Livewallpapers etc. My device is rooted but I simply can't get rid of any built-in app.
Titanum is in the SuperUser app and in Terminal su and id says I'm too allright. I've even tried
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3
chmod 777 /system
mount -o rw,remount -t rootfs /
chmod 777 /
But it still doesn't work even though filesystem says rw
Root Explorer says success when it deletes or renames APKs in /system/app - but the apps are still there later! VERY odd. But Root Explorer can't create dirs or copy files to system/app...
What am I missing here?
I got the same prob pal..both methods weren't working for me on CM 6.1 stable..try ADB it worked flawlessly..
Sent from my HTC Wildfire
read this thread will help u Creating your own Update Zip's
http://forum.xda-developers.com/showthread.php?t=917922
I think this is because wildfire doesn't have s-off. You could remove the apps from the rom before flashing, or remove using adb in recovery
boot into recovery
unmount /system (get r/w access )
adb shell rm /system/app/xxx.apk
ww231 said:
boot into recovery
unmount /system (get r/w access )
adb shell rm /system/app/xxx.apk
Click to expand...
Click to collapse
that takes for eva if u create a zip with all the files u wont gone u just flash and done no more apps very easy and simple no hazzle

[MOD] 4.1.57 deodexed framework and app files (AT&T Only)

Here are the App and Framework system files for 4.1.57 fully deodexed.
You must already have Root access in 4.1.57.
Typical disclaimer as always...
USE AT YOUR OWN RISK.
This is for experienced users only please.
Remember to make a backup of your existing framework and app folders BEFORE you do this.
Link: Atrix-1.57deodexed IGNORE the instructions in the zip. Updated ones below.
Feel free to mirror.
Note: Photoedit.apk was pulled form the 1.26 Adeo file as the 1.57 version would not deodex properly.
This file did not change from 1.26. to 1.57, so I see no issue with using it.
UPDATE: The instructions contained in the zip have an error... oops.
This is why I don't write scripts. I type to fast.
Hopefully some of you guys caught that before entering the commands.
Again, backup your original system/framework and system/app files BEFORE you do this in case you want to revert back to an odexed system.
Here is the correction:
Put your phone in USB Mass Storage Device mode.
Copy the app and framework directory and their contents from the zip file to the root of your sdcard.
***Verify the copy was successful before you continue.***
Set USB mode back to None.
Type the following commands via ADB.
Code:
adb shell
su
stop
mount -o rw,remount /dev/block/mmcblk0p12 /system
cp /sdcard/app/* /system/app/
cp /sdcard/framework/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount /dev/block/mmcblk0p12 /system
reboot
Thanks, you beat me to it!
lindsaytheflint said:
Thanks, you beat me to it!
Click to expand...
Click to collapse
I deodexed them last night, but wanted to run through some testing before I packaged them up.
Anyone feel like scripting this, go for it.
I must have done something wrong in shell... soft brick, certain it was my fault.
tl_bull said:
I must have done something wrong in shell... soft brick, certain it was my fault.
Click to expand...
Click to collapse
Not your fault... I found an error in my instructions.
cp /sdcard/frame/* /system/framework/
should be
cp /sdcard/framework/* /system/framework/
rjohnstone said:
Here are the App and Framework system files for 4.1.57 fully deodexed.
Typical disclaimer as always...
USE AT YOUR OWN RISK.
This is for experienced users only please.
Link: Atrix-1.57deodexed IGNORE the instructions in the zip. Updated ones below.
Feel free to mirror.
Note: Photoedit.apk was pulled form the 1.26 Adeo file as the 1.57 version would not deodex properly.
This file did not change from 1.26. to 1.57, so I see no issue with using it.
Been running all day with these files with no issues.
UPDATE: The instructions contained in the zip have an error... oops.
This is why I don't write scripts. I type to fast.
Hopefully some of you guys caught that before entering the commands.
Here is the correction.
Copy the app and framework directory to the root of your sdcard.
Type the following commands via ADB.
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/app/* /system/app/
cp /sdcard/framework/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
Click to expand...
Click to collapse
Another error with the commands
it should be the following for the mounts command:
mount -o rw,remount /dev/block/mmcblk0p12 /system
mount -o ro,remount /dev/block/mmcblk0p12 /system
lpsi2000 said:
Another error with the commands
it should be the following for the mounts command:
mount -o rw,remount /dev/block/mmcblk0p12 /system
mount -o ro,remount /dev/block/mmcblk0p12 /system
Click to expand...
Click to collapse
Thx. Updated OP.
The mount commands I originally posted did work for me without any issue though.
Sent from my MB860 using XDA App
It looks like this isn't complete. There are some files in framework that you did not deodex, installing this on any phone will very likely brick.
Ririal said:
It looks like this isn't complete. There are some files in framework that you did not deodex, installing this on any phone will very likely brick.
Click to expand...
Click to collapse
What is missing?
Running on mine without any issues at all.
EDIT:
I see what you're talking about and it's a non-issue if you follow the commands to load them.
The 4 files missing from the framework folder were not odexed to begin with, so the originals will remain.
Remember, I'm not having anyone delete the entire contents of the framework folder, only the .odex files AFTER they copy over the deodexed versions first.
rm /system/framework/*.odex
These files are not odexed to begin with, so they are not touched.
blur-res.apk
framework-res.apk
moto-res.apk
android.test.runner.jar
You will also notice that 19 files are missing from the app folder as well... again, I'm not deleting any .apk files in the instructions, only the .odex files.
The 19 .apk files that are not included in my zip file are already present on a 1.57 system in a deodexed state.
I saw no point in adding them.
Make sense now?
Sent from my MB860 using XDA App
I followed every step however when I attempt to run the following command
mount -o rw,remount /dev/block/mmcblk0p12 /system
I'm receiving Permission denied.
Edit:
Had to use usb port on the rear instead of the front when rooting.
zeyoner said:
I followed every step however when I attempt to run the following command
mount -o rw,remount /dev/block/mmcblk0p12 /system
I'm receiving Permission denied.
Click to expand...
Click to collapse
Sounds like you don't have root access.
Do you see a $ or a # in your command prompt?
i have $ in my root access... i'm getting permission denied at when i type 'su' but im pretty sure i rooted it earlier today
edit fixed i wasnt rooted
rjohnstone said:
What is missing?
Running on mine without any issues at all.
EDIT:
I see what you're talking about and it's a non-issue if you follow the commands to load them.
The 4 files missing from the framework folder were not odexed to begin with, so the originals will remain.
Remember, I'm not having anyone delete the entire contents of the framework folder, only the .odex files AFTER they copy over the deodexed versions first.
rm /system/framework/*.odex
These files are not odexed to begin with, so they are not touched.
blur-res.apk
framework-res.apk
moto-res.apk
android.test.runner.jar
You will also notice that 19 files are missing from the app folder as well... again, I'm not deleting any .apk files in the instructions, only the .odex files.
The 19 .apk files that are not included in my zip file are already present on a 1.57 system in a deodexed state.
I saw no point in adding them.
Make sense now?
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Yeah I looked it over again, should be fine.
EDIT: Nvm saw you updated.
I'm working on a new method to automate this, I'll post something when I have it working reliably.
looking for another way
Question, possibly a dumb one but anyway it is. . . I couldn't get the script for root on update to work so if I go this route is it the same as getting from moto and is it possible to still have root with it?
Very nice contribution!
Rad ryan said:
Question, possibly a dumb one but anyway it is. . . I couldn't get the script for root on update to work so if I go this route is it the same as getting from moto and is it possible to still have root with it?
Click to expand...
Click to collapse
This won't work without having root access first.
Sent from my MB860 using XDA App
I am still on 4.1.26 rooted and deodexed. Do I have to update my phone to 4.1.57 before copying the framework and apps folder? I know the script in OP won't work in my case but I can come up with another script. Thanks.
Immix said:
I am still on 4.1.26 rooted and deodexed. Do I have to update my phone to 4.1.57 before copying the framework and apps folder? I know the script in OP won't work in my case but I can come up with another script. Thanks.
Click to expand...
Click to collapse
Right - this is only for 4.1.57. If you do it on 4.1.26 you'll get a soft brick.
rjohnstone, its always best to do stuff like this under Early USB Enumeration mode. It is possible to get it to stop the automatic rebooting by typing "stop" into the console.
shawnbuck said:
Right - this is only for 4.1.57. If you do it on 4.1.26 you'll get a soft brick.
rjohnstone, its always best to do stuff like this under Early USB Enumeration mode. It is possible to get it to stop the automatic rebooting by typing "stop" into the console.
Click to expand...
Click to collapse
Thx for the tip.
I did use the stop command in my process and was able to prevent a reboot.
The process is so quick that I didn't see a single FC during the copy.
I think it should be mentioned in the OP that root is required.

Categories

Resources