help with modifying cm roms - G2 and Desire Z General

i really like cyanogen, but i dont like a lot of the bloat that comes with it (adw launcher especially) but when i try and remove it from the .zip and put launcher2 in, sometime cwr wont install it, but sometimes it does, is there a specific method to create the .zips? ive also tried to install launcher2 through adb, but it always fails

After you install the rom remove it with titanium backup. Easy. I wouldn't muck around with zip files.

Root uninstaller works well to
Sent from my 'SilverBullet' HTCDesireZ running CM7

Mine is in terminal/adb
I get LP installed and go into adb shell
Remount the systen
Then do rm /system/app/adwlauncher.apk
And I go on my merry way,
Can do this in terminal too

This is what I have been using. Removes adw and themes and add stock launcher.
http://forum.xda-developers.com/showthread.php?t=933517

Are you unzipping the ROM or just opening it? If you unzip it then yes, you will run into some huge issues unless you know what you're doing.

Related

Busybox update.zip for incredible?

Does an update.zip exist for the incredible to add busybox to a stock rooted Rom? Or is there anyone willing to make one? I found one for the hero where they stripped down a rom and just left busybox, apps2sd, and Su. It would be greatly appreciated by many noobs like myself.
Sent from my ADR6300 using XDA App
I believe Stericson has an app out that installs busy box for you with a single click. Just search "Busy box" in the market and it should come up. Not sure as to whether or not it works on the Incredible, as I've an Evo, but it should.
I tried that but it failed saying either I it couldn't remount or I wasn't rooted.
Sent from my ADR6300 using XDA App
bradatz said:
Does an update.zip exist for the incredible to add busybox to a stock rooted Rom? Or is there anyone willing to make one? I found one for the hero where they stripped down a rom and just left busybox, apps2sd, and Su. It would be greatly appreciated by many noobs like myself.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
I think the unrevoked tool installs it for you.
I'll try that again, but I used 3.0 to root it. Maybe 3.1 will install it, I thought that was only windows fixes from 3.0
maybe
kind of a rookie here, but couldn't you just install titanium backup and then click the problems button. I think it downloads and install busybox??
Nice call!!! Worked like a charm. Thx.
NO
ejkeebler said:
kind of a rookie here, but couldn't you just install titanium backup and then click the problems button. I think it downloads and install busybox??
Click to expand...
Click to collapse
Wouldn't be permenant since NAND is still locked. Would lose it after reboot and have to do same thing over and over after every reboot.
http://www.unrevoked.com/incredible/payload-update.zip
Apply this payload-update.zip and it will install busybox. Just go to recovery and choose install zip from SD card and then choose this one
Then to test
go to cmd prompt
type adb shell
then when in shell type
busybox and you will see its now installed.
If you want the latest busybox, I've attached 1.16.2 freshly compiled.
One issue I ran into was that all the info on the forums has busybox being installed in /system/xbin. The PATH variable has /system/bin before /system/xbin, so that means the original symlinks to "toolbox" are getting picked up first - I don't know if I'm the only one who was annoyed by ls -al returning "-al: No such file or directory"
I guess "toolbox" didn't support this, so you can either install busybox to /system/bin, or leave it in /system/xbin and create a symlink called toolbox in /system/bin that points to busybox in /system/xbin.
As usual, backup your "toolbox" binary first before removing it from /system/bin.
Now ls -al returns a correct listing and I see no app breakage by the symlink method - Ti Backup runs just fine without needing to install its own busybox.
*edit - I guess this doesn't really answer the OP, but I figured I would share this anyway.
ok so I found a side effect - WiFi doesnt work after this. There seems to be a problem with dhcpcd and the new busybox, even though external dhcp support was compiled in...guess I've got some digging to do...
http://codehydra.com/Dinc/RootStock/roto-rooter.zip
that is a busybox install I ripped out of a N1 froyo root update.zip Cyanogen did, modded for the D-Inc.
Seems to work well for me.
the easy way is just to install titanium backup from the market and then click problems and it will install busybox for you in like 5 seconds
Not Really
... but it does NOT install the newest busybox; just one which is compatible with Titanium Backup.
Busybox.net shows v1.17 is the latest (unstable) release, and v1.16.2 is the latest stable. Titanium Backup pushes something in the v1.15 area.
http://www.busybox.net/
Also when I did it through titanium and went to busybox to install latest it said my system had none.
I have a busybox 1.16.2 version that I ripped from one of the posted ROMs that I can attach. It works on the Inc, and I think the whole DHCP / resolv.conf thing works too. At least it's the only version I tried where I can get wget working properly. You may need to create /system/etc/resolv.conf with some valid nameservers first though. Let me know if you want me to post it.
Hmm, nevermind. I tried with the busybox version I have, and WiFi does not get an IP address. Seems to be the same problem.
If you track it down, when you compile your version check if wget works properly also. There were some issues with that and DNS lookups. Don't forget you may need a valid resolv.conf.
Joe92T said:
the easy way is just to install titanium backup from the market and then click problems and it will install busybox for you in like 5 seconds
Click to expand...
Click to collapse
I second this , I used ones off the rooting forums and it never quite worked right until I let titanium backup install it for me. Also its much easier than pushing files to your device if you are unfamiliar with doing it, because you can download tb from market and it does the work for you
Sent from my ADR6300 using Tapatalk
Easiest way to stay current is to install the Stericson app. It can't install it for you due to the NAND lock, but
1) It's trivial to extract it and install manually from the .apk file.
2) It will give you an easy notification via the marketplace that a new version is available.

i cant remove adwlauncher on cm7

Hi there;
I'm using cm7 #5 with launcherpro and i want to delete adwlauncher.
On terminal emulator typing
$ su
# mount -o remount,rw /dev/block/mtdblock3 /system
# rm -r /system/app/ADWLauncher.apk
then write on emulator "cant remove app because folder is not empty"
What can i do?
Thanks in advanced
P.S sorry for my bad English.
Use titanium backup to uninstall or use adb, or wait for someone to make a .zip to remove it.
Sent from my HTC Wildfire using XDA App
Here you go, flash in recovery
@Michealtbh Thanks for the zip file. Just one question. If I already have ADWLauncher EX installed, and I flash this zip file, will it remove both the ADWLauncher that came with CM7 and the EX version?? Or will it only remove the one that came with CM7?
You can always use Titanium backup to delete it...
ddvniek12 said:
@Michealtbh Thanks for the zip file. Just one question. If I already have ADWLauncher EX installed, and I flash this zip file, will it remove both the ADWLauncher that came with CM7 and the EX version?? Or will it only remove the one that came with CM7?
Click to expand...
Click to collapse
Can you see both adw and adw ex launchers in your settings/applications/manage applications.
If you see both, then it removes adw only. And if you see only one, which means both are same. I think both will be same.
Little suggestion is donot attempt to flash that zip file without extra launcher ( like lpp) installed.
Sent from my HTC Wildfire using XDA App
why you wont to delete them? instal launcherPro and adw dont work ...
Markoleti said:
why you wont to delete them? instal launcherPro and adw dont work ...
Click to expand...
Click to collapse
Its because of people's obsession with "free space/free internal memory".

Still can't delete stock apps

Followed this guide to downgrade: http://android.modaco.com/content/h...-r4-htc-legend-rooting-guide-now-with-1-31-x/
And then loaded this ROM: http://android.modaco.com/content/h...o-rom-for-the-htc-legend-with-online-kitchen/
Looking for a free method to delete stock apps.
Taking a stab in the dark here and saying because you flashed a Sense UI ROM you won't be able to delete them as they're integrated into the system. Try another ROM which isn't Sense based. I suggest CM7 RC2, which you can find by exploring cyanogenmod.com.
segphault said:
Taking a stab in the dark here and saying because you flashed a Sense UI ROM you won't be able to delete them as they're integrated into the system. Try another ROM which isn't Sense based. I suggest CM7 RC2, which you can find by exploring cyanogenmod.com.
Click to expand...
Click to collapse
Oh... I'm loading CM6 just now.
Alrighty. Make sure you flash the gapps package from the cyanogenmod wiki too if you want google apps integrated into your system. Flash it right after you've flashed the CM6, while still in recovery.
segphault said:
Alrighty. Make sure you flash the gapps package from the cyanogenmod wiki too if you want google apps integrated into your system. Flash it right after you've flashed the CM6, while still in recovery.
Click to expand...
Click to collapse
Oh I was past that stage on my last post.
Anyway, I still can't remove things through adb shell - tried removing the Voice Dialer as a test, but it said "directory not empty".
In which case I'm stumped. Someone else will know.
As long as you have root access it doesn't really matter what ROM you're running, you should still be able to move and/or remove system apps, just keep in mind that some of them are essential for the system to run properly. Even if you are using a Sense based ROM, you can still removed many system apps such as widgets and things like friendstream, flickr, footprints, etc.
There are two (or probably more) simple ways of going about removing system apps. The easiest, if you have successfully flashed S-OFF, is to use Root Explorer and simply move or delete whatever app you want.
If you're not S-OFF, you can use adb shell to move a system app to data partition (or anywhere else you want to push it to), and to delete a system app if that's what you're looking to do.
To remove an app in adb, you must first mount /system partition, then you can use the command "ls /system/app" to show a list of all apps installed in the system partition. To remove an app, follow the syntax "rm /system/app/AppName.apk" (obviously replacing AppName.apk with whatever app it is you're trying to remove.
To move an app from /system/app to /data/app use the following syntax:
"mv /system/app/AppName.apk /data/app/AppName.apk"
I wasn't in recovery mode to do my deletes.
This should be stickied: http://android.modaco.com/content/h...apps-from-the-htc-desire-with-adb-in-windows/

An obvious method to backup and uninstall bloatware free...

hey guys, thanks to this forum i got my new mt4g rooted and customized in no time the perma root method with gfree was the one that finally worked for me after trying 2 others..
anyways to the point, root explorer and titanium backup pro are both paid apps as far as i see on the market with this method you can backup your bloat ware and uninstall it for free and reinstall in case you need to.
1) get titanium backup free version
2) you must be rooted and s-off
3) go to your terminal emulator and type su
4) cd /system/app
5) type ls, you will see all files in the directory
6) look for the .apk file you need to backup, (for example Monopoly_Classic.apk)
7) then type, cp Monopoly_Classic.apk /sdcard , this will copy the file to your sdcard root
8) repeat for everything you want to uninstall
9) uninstall the bloatware with titanium backup
10) done
i have tested by reinstalling monopoly and the game plays like it did before.
cheers
. . . or just download a new ROM and flash it. If you really like Sense, you can get a Sense ROM. If you're not particularly attached to Sense, you can get CyanogenMod or one of the other AOSP ROMs. It's much easier and faster than doing all this crap by hand, and it's probably better for your phone anyway.
true, i have read here that the video chat apps have some problems with the 3rd party roms thats why i have not installed any roms on my phone but if it works on a 3rd party rom plz tell me which, anyways i was going to write a script to backup all the safe to remove bloatware so ppl can do it in 1 command... i can post that up later
thanks for your post, plz comment hows the video chat compatibility on 3rd party roms

Dual Boot CM7/CM9 App Access

I have Racks' dual boot CM7/CM9 SD running on my NC. I have downloaded all of my apps using CM7. I don't have access to them when I boot to CM9. Is there a quick/easy way to use the apps in CM9? Do I have to DL them all again after booting to CM9 or is there another trick?
thanks
~mike
What you could do is download a file explorer with root permissions (e.g. Root Explorer) on the cm9 system then follow the below directions:
1-Open up Root Explorer and browse to /mnt
2-Now create a new folder called cm7data
3-now open up terminal emulator and enter the following commands
Code:
$ su
# busybox mount /dev/block/mmcblk1p3 /mnt/cm7data
4-Now go back to Root Explorer via the recent apps menu
5-Browse to /mnt/cm7data/app
6- In there you will find all the apps you have downloaded to the CM7 from.
7-You can install the apps from here
8-I'm not sure how apps with license check will react towards this, but give it a try I guess.
9-After you're done make sure you go back to Terminal Emulator via the recent apps menu and perform the following commands:
Code:
# busybox umount /mnt/cm7data
# exit
$
10-That's it!
Or you can just redownload all the apps for CM9 because some apps might be tablet specific. Why run phone apps on a tablet when you can run tablet apps.
-Racks
Sent from my NookColor using Tapatalk
A quick coda to Racks' excellent suggestions. I keep copies of all my critical apps in a file on my SD (uploaded via Wifi File Explorer from DB on computer). That way they're available for reloading any time I choose from either boot. And if card gets wiped, I can re-upload them. Been doing this since waaaay back for CM7. Still a useful habit.
Duplicate Apps
I used Titanium Backup to backup all the apps I loaded in one OS and re-install them in the second OS.
Hmmm, Ramsay64. I had trouble trying that with Titanium. Save and restore covered CM7 fine, but when I tried to re-install apps in CM9 TBU wouldn't recognize my files, either from normal bu on SD card or from uploaded zip file. How'd you get it to work?
Titanium Backup has a list of all your apps backed up or not. After switching to Cm9, open TB, look at the bottom of the list and any apps installed on cm7 but not cm9 will be listed with a line through the name. click on it and hit restore. I just tried it again to make sure I wasn't crazy and it works like a charm. It was aggravating to download for both boots and this made it simple. I can backup an app in cm7 and load just the data in cm9 to keep them up to date when I switch back and forth. My setup is the original dual boot cm7/cm9 from Racks.
BTW, Thank you Racks. I enjoy reading everyone's posts on new ideas, unfortunately my coding skills barely get me through making spreadsheets do what I want.
monkeymike19 said:
I have Racks' dual boot CM7/CM9 SD running on my NC. I have downloaded all of my apps using CM7. I don't have access to them when I boot to CM9. Is there a quick/easy way to use the apps in CM9? Do I have to DL them all again after booting to CM9 or is there another trick?
thanks
~mike
Click to expand...
Click to collapse
I store all my apps in a folder on the emmc. Since you're booting from the SD, the emmc is available from either CM7 or CM9

Categories

Resources