yashsingh1/xdaforums huggingface dataset:
[EVO 4G General] lrandolph:
Really, I've prior to this rooted mine and hubby's Heros, installed multiple custom ROMS, have the android SDK installed, have compiled and installed programs. I just don't get on the forums much, apparently...other than to read thru them occasionally.
[EVO 4G General] lrandolph:
I've even tried to answer people's problems, but that 10 post thing has kept me from doing so.
[EVO 4G General] lrandolph:
So, I'm going to make sure that doesn't happen again!!!
[EVO 4G General] lrandolph:
sigh, it still won't let me post on the dev forum. :(
[EVO 4G General] rushco:
You're doing it wrong.

Also, that's why XDA has a "Thanks" button to prevent people from having to open threads / posting saying thanks.
[EVO 4G General] skylar.sutton:
:mad: :( :mad:

Use the THANKS button
[T-Mobile LG G2x] Smallsmx3:
Can anyone list what apps can be removed safely? What is the best method for removal? Tibu to delete?
[T-Mobile LG G2x] hanged_man:
you need to know that if you remove any of the apps then you wont be able to upgrade to gingerbread once tmobile releases it. I suggest you freeze them.
[T-Mobile LG G2x] c_brown93:
You could always remove what you don't want now & when the gingerbread update releases do a factory reset & then you will be able to update (:
[T-Mobile LG G2x] Smallsmx3:
Factory reset does not bring back deleted apps. Don't we have factory firmware for this phone?
[T-Mobile LG G2x] stefan.buddle:
Yes we so have a factory image
[T-Mobile LG G2x] player911:
I posted this almost a week ago.

http://xdaforums.com/showpost.php?p=13077500&postcount=4

There are a ton of them. Root. Root Explorer. Delete Spree.
[T-Mobile LG G2x] pettigrew95:
I removed some bloat apk's from /system/app so now I can't do the official Gingerbread update once T-Mo releases it?
[T-Mobile LG G2x] player911:
Removing applications has nothing to do with upgrading to Gingerbread. Trust me, I've already upgrade to Gingerbread on my N1.

Official Upgrades require = Stock Rom

So unless you created a special custom rom that you are hiding, I think you are fine.
[T-Mobile LG G2x] pettigrew95:
Thanks for verifying, hanged_man had me worried there because i didnt cp them before rm'ing i just straight up deleted lol
[T-Mobile LG G2x] player911:
Thats what I did. A hard reset should restore them.
[T-Mobile LG G2x] hanged_man:
what do you mean by hard reset ? how do you do it ?
[T-Mobile LG G2x] crazythunder:
a hard reset won't restore them. i've done it. deleted apps are still missing.
[T-Mobile LG G2x] fcisco13:
Even if you removed apps (tmo apps, games) you will be able to update, when update starts to hit, unroot and update...

G2X
[Epic 4G Q&A, Help & Troubleshooting] ezio:
Hi I want to buy new phone and I've decided that it will be Samsung galaxy epic.

I leave in Europe and the phone is not available here.

I've found an interesting announcement on ebay. But there is written that the phone is flashed to cricket. I do not know what cricket is.

If I buy it I will be able to reflash it and use it in Europe?

I'm new to Android devices. Please help.
[Epic 4G Q&A, Help & Troubleshooting] 063_XOBX:
No, Europe is GSM (uses SIM cards) the Samsung EPIC (and any other Sprint/Verizon Phone) does not use a SIM card.
[Epic 4G Q&A, Help & Troubleshooting] ezio:
thanks a lot for your answer.

So I can't use Epic in Europe ?
[Epic 4G Q&A, Help & Troubleshooting] 063_XOBX:
That's pretty much exactly what I said...
[Epic 4G Q&A, Help & Troubleshooting] IAmSixNine:
NO.

ONLY phone you can get is a device with GSM in it. The EPIC is CDMA.

IF you dont need a keyboard and can unlock it try the Vibrant or Captivate.
[Desire Android Development] iinga:
Talk in the CM7 threads has revealed that many people remove apps from CM7 before flashing/after flashing/using an update zip. This thread has a quick and easy method to remove apps (and other things) from CM7 on boot using an init.d script.

This method requires s-off (as the system is mounted as rw) and requires a little knowledge of android, however I will produce a 1 time only flash zip if people need it.

The following script is used and I will explain it below and what to modify;

If using Windows, don't use Notepad. I suggest Notepad++

/system/etc/init.d/50rm

#!/system/bin/sh

#mount system rw
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system;

#apps to delete
#send installed apps to /data/packages
pm list packages -f > /data/packages

for i in CarHomeLauncher LiveWallpapers LiveWallpapersPicker Protips;
do
if [ -e /system/app/$i.apk ];
then
rm -f /system/app/$i.apk;
grep $i.apk /data/packages > /data/pname;
pname2=$(sed 's/\(.*=\)\(.*\)/\2/' /data/pname);
pm uninstall $pname2;
fi;
done;
rm -f /data/packages
rm -f /data/pname

#delete camera_click sound
if [ -e /system/media/audio/ui/camera_click.ogg ];
then
rm -f /system/media/audio/ui/camera_click.ogg;
fi;

#mount system ro
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system;

Save the script as /system/etc/init.d/50rm (adb push 50rm /system/etc/init.d/50rm) and change permissions to 750 (adb shell chmod 750 /system/etc/init.d/50rm).

Next, so that this script is kept through flashes of new CM7 versions, we add it to the custom_backup_list.txt found in /system/etc/ (if you don't have one, create one).

/system/etc/custom_backup_list.txt

etc/init.d/50rm

There are two situations to show how things can be deleted:

1)#apps to delete

The line to change here is the for i in ... line (10) where there is a list of app names to uninstall.

Change names to what you want to be deleted from /system/app. Do not include .apk in the name.

2)#delete camera click sound

This is an example of how to delete other files that are wanted to be deleted. As an example, I have put the camera click sound. The full directory of the file will be needed.

What the script does:

The script will check if these files are there and then delete them. With the system apps, I have put in a script that should uninstall the files using the package manager (which I think is working, but am currently testing it because I'm not sure package manager can be run whilst booting, but post-boot my pm list packages -f reveals none of the packages)

Requests:

If anyone has a better, more efficient way of using the pm to uninstall the apps, please mention it. I am a novice when it comes to shell scripting and can only go by what I have done so far.

Changelog:

25/04/2011 - initial release

26/04/2011 - changed some strings
[Desire Android Development] iinga:
Script - http://bit.ly/golKIb (right click - save link as - check there is no file extension) - adb push 50rm /system/etc/init.d/50rm; adb shell chmod 750 /system/etc/init.d/50rm

How to use the custom_backup_list.txt in more ways - (by freerunner @ CM Forums)

Any problems, post here or add me to gtalk
[Desire Android Development] str355:
subscribed, thanks mate.

i'll look into this when i get the time :cool:
[Desire Android Development] JDima:
Could anyone write a procedure that checks /system/build.prop, finds the line "ro.sf.lcd_density=240" and swapps it for "ro.sf.lcd_density=210"?
[Desire Android Development] iinga:
Already done that. Once again, its not the cleanest way of doing things, but its as much as I know.

Change LCD Density on Boot

#!/system/bin/sh

#change lcd_density and reboot if new install
density=$(grep ro.sf.lcd_density=240 /system/build.prop);
if [ $density = "ro.sf.lcd_density=240" ];
then
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system;
sed -i 's/ro.sf.lcd_density=240/ro.sf.lcd_density=210/g' /system/build.prop;
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system;
reboot;
fi;

What the script does:

Checks the LCD Density and if it is 240, it will change it to 210 (or whatever value people want by changing ro.sf.lcd_density=210 to the denisty they want). It then reboots immediately (whilst still on splash screen) so that the new density is loaded when you boot the phone.

Why is this needed when there are apps on the market?:

Many of the apps on the market need to be re-run on new rom flashes or are not permanent. This can be made permanent by adding to the custom_backup_list.txt and will be done every new flash in CM7.
[Desire Android Development] expl0de:
Is this way better than deleting apps/sounds before flashing, or is it just alternative?

Personally I find it more easy to delete apps and other stuff via adb when the rom is instaled.
[Desire Android Development] iinga:
Its an alternative way that does it for you. All you have to do is put the script on your phone, add it to the custom_backup_list.txt and let the script work for you.
[Desire Android Development] JDima:
iinga, thanks!

Why? Because https://market.android.com/details?id=lv.n3o.lcddensity (for example) doesn't seem to work after reboot, and it has slightly different behavior (check out the keyboard for instance). The build.prop method is the "cleanest" one.
[Desire Android Development] iinga:
Agreed, which is why I wrote that script in the first place :)
[Desire Android Development] JDima:
Problem. The script does exactly nothing.

--------- beginning of /dev/log/main

I/cm ( 79): Welcome to Android 2.3.3 / CyanogenMod-7.0.2.1-Desire

I/cm ( 80): _

I/cm ( 81): __ __ _ ___ _ _ __ ___ __ _ _ _ _ __ __))

I/cm ( 82): ((_ \(/'((_( ((\( ((_)((_( (('((\( ((`1( ((_)((_(

I/cm ( 83): )) _))

I/cm ( 84):

I/mountsd ( 98): Checking filesystems..

I//system/xbin/run-parts( 74): e2fsck 1.41.10 (10-Feb-2009)

I//system/xbin/run-parts( 74): /dev/block/mmcblk0p2: recovering journal

I//system/xbin/run-parts( 74): /dev/block/mmcblk0p2: clean, 133/438272 files, 260021/875449 blocks

I/logwrapper( 104): busybox terminated by exit(0)

I/logwrapper( 109): busybox terminated by exit(0)

I/logwrapper( 111): busybox terminated by exit(0)

I/mountsd ( 113): /sd-ext successfully mounted

I/busybox ( 127): S2E: Initialization...

I/busybox ( 127): S2E: /sd-ext/app mount as /data/app

I/busybox ( 127): S2E: /sd-ext/app-private mount as /data/app-private

I/busybox ( 127): S2E: /sd-ext/download mount as /cache/download

I/busybox ( 127): S2E: Done!

I/logwrapper( 127): busybox terminated by exit(0)

[B]I//system/xbin/run-parts( 74): run-parts: /system/etc/init.d/50rm exited with code 111[/B]

I/logwrapper( 74): /system/xbin/run-parts terminated by exit(1)

The permissions are correct.

Here's my 50rm:

#!/system/bin/sh

#mount system rw
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system;

if [ -e /system/media/audio/ui/camera_click.ogg ];
then
rm -f /system/media/audio/ui/camera_click.ogg;
fi;

#change lcd_density and reboot if new install
density=$(grep ro.sf.lcd_density=240 /system/build.prop);
if [ $density = "ro.sf.lcd_density=240" ];
then
sed -i 's/ro.sf.lcd_density=240/ro.sf.lcd_density=210/g' /system/build.prop;
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system;
reboot;
fi;

#mount system ro
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system;
[Desire Android Development] iinga:
Try removing the "mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system;" in the lcd density if section (before reboot).
[Desire Android Development] JDima:
Predictably, it didn't help.

No way would mounting /system as RO be performed twice - because the script terminates after any of them one way or another.
[Desire Android Development] iinga:
I know it wouldn't perform twice, however I was wondering why it fails to run the script.

It has been working for me, but now trying to work out what is different is difficult.
[Desire Android Development] JDima:
Could you post the whole script you're using yourself (if it includes changing density)?
[Desire Android Development] iinga:
#!/system/bin/sh

#mount system rw
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system;

#change lcd_density and reboot if new install
density=$(grep ro.sf.lcd_density=240 /system/build.prop);
if [ $density = "ro.sf.lcd_density=240" ];
then
sed -i 's/ro.sf.lcd_density=240/ro.sf.lcd_density=220/g' /system/build.prop;
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system;
reboot;
fi;

#apps to delete
pm list packages -f > /system/packages

for i in CarHomeLauncher LiveWallpapers LiveWallpapersPicker Protips DSPManager GenieWidget FileManager;
do
if [ -e /system/app/$i.apk ];
then
rm -f /system/app/$i.apk;
grep $i.apk /system/packages > /system/pname;
pname2=$(sed 's/\(.*=\)\(.*\)/\2/' /system/pname);
pm uninstall $pname2;
fi;

done;
rm /system/packages;
rm /system/pname;

#delete camera_click sound
if [ -e /system/media/audio/ui/camera_click.ogg ];
then
rm -f /system/media/audio/ui/camera_click.ogg;
fi;

#mount system ro
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system;

http://www.iinga.net/desire/50rmlcd
[Desire Android Development] JDima:
Nope. Same thing with your script. I even tried granting the script maximum permissions - useless.

Can anyone else verify the script actually works?
[Desire Android Development] iinga:
Are you s-off?
[Desire Android Development] JDima:
Off course :)

A detailed reproduction of my steps:

1) Place 50rm into /system/etc/init.d via Root Explorer (shouldn't make any difference)

2) Change permissions on 50rm.

3) Doublecheck the permissions.

4) Create and configure custom_backup_list.txt

5) Reflash the same ROM (I'm using custom MTD - however, that also shouldn't change anything)

6) Verify visually that the script didn't work.

7) Verify that 50rm is in place with correct permissions.

8) Reboot and adb logcat...
[Desire Android Development] iinga:
I just did step 5 and my phone goes to splash screen, reboots from splash screen, fully boots in density 220.

adb shell grep ro.sf.lcd_density /system/build.prop
ro.sf.lcd_density=220

How did you create your script? When I just created it using notepad for windows, I get the Exit Code 111 and no LCD Density change.

Creating with notepad ++, script runs fine and LCD density gets changed correctly.
[Desire Android Development] JDima:
Dammit...

Thanks, mate, it worked :)
[Thunderbolt General] DrPepperLives23:
Hey everyone,

I have the opportunity to trade my 32gb iPod 4g plus cash for a Thunderbolt. Right now I have an Incredible, which I love, but the Thunderbolt looks SICK. How much cash do you think I should be willing to throw out there to get a Thunderbolt? I mean, it's worth it, right?
[Thunderbolt General] Taykiin:
Yes Absolutely!!
[Thunderbolt General] SubliminalME:
I bought my thunderbolt from Verizon for $200 with a new 2 year contact and sold my 3g iPod Touch 32GB for $150.

Don't know how much that helps you, but there it is. The Thunderbolt is a pretty decent media player, although the output isn't quite as nice as the iPod.
[Thunderbolt General] esabasard:
I wouldn't think there should need to be much cash involved. I would totally trade in an iphone for a thunderbolt but not for a lot of money. It won't be the coolest phone for too long.
[Thunderbolt General] DrPepperLives23:
Turns out the guy wasn't really motivated to sell it. Wanted like close to retail price. Offered me $125 for my iPod. Yeah right!

And so my search continues. Back to my Incredible for now I guess! :) Darn 2 year contracts.
[G2 and Desire Z Q&A, Help & Troubleshooting] xsteven77x:
I just have to comment on the purple smileys all over nice touch lol!
[G2 and Desire Z Q&A, Help & Troubleshooting] popokrew:
Yep, I fixed that with the code box. LOL
[G2 and Desire Z Q&A, Help & Troubleshooting] 1wayjonny:
Can you use fastboot to boot the newest recovery?

"fastboot boot recovery recovery.img"

It sounds like the paritions are formatted in way the recovery is having a hard time with. The best thing to do would be to flash the older CWR from the 2 series then format and wipe all over the place. The try booting a froyo based rom and you should be good.

Then you can try to go back to CWR 3 series.
[G2 and Desire Z Q&A, Help & Troubleshooting] popokrew:
Yep I tried this. I booted into the CWM 2.5.1.3 and tried to wipe and format /boot and /system but I get errors just like in CWM3.
[G2 and Desire Z Q&A, Help & Troubleshooting] 1wayjonny:
I had this same issue one time and thought my phone was shot, just take the original shipping rom and flast it via fastboot boot as the PC10IMG.zip to fix this issue.

I know you have tried already, I have been at this stage just keep trying the PC10IMG.zip from a different source but that is the correct way to fix your issue if you tried previous CWR's.
[G2 and Desire Z Q&A, Help & Troubleshooting] amazinglarry311:
try manually mounting the partition:

e2fsck -p /dev/block/mmcblk0p27

mount /dev/block/mmcblk0p27 /cache
[G2 and Desire Z Q&A, Help & Troubleshooting] popokrew:
Can you recommend a particular file to use? Im looking at a list here:

http://shipped-roms.com/index.php?category=android&model=Vision
[G2 and Desire Z Q&A, Help & Troubleshooting] 1wayjonny:
I would try these:

http://shipped-roms.com/download.php?category=android&model=Vision&file=PC10IMG_Vision_TMOUS_1.12.531.0_Radio_12.18.60.05P_26.01.00.17_M2_test_144460.zip

If that doesn't work try this one

http://shipped-roms.com/download.ph....09b_26.02.01.15_M2_release_149459_signed.zip

If these dont work I would be surprised and yes something more may be messed up.
[G2 and Desire Z Q&A, Help & Troubleshooting] theSpam:
I'm glad that this issue is getting more attention today. It has been occurring with more and more frequency since the release of the new CWM Recovery and CM7...
[G2 and Desire Z Q&A, Help & Troubleshooting] 1wayjonny:
Well I thought I was the only one, this happened from using a specific build of the CWR 3 series.

Nice to know its wasn't just me but I def think its has to do with formatting of the partition but could be wrong.
[G2 and Desire Z Q&A, Help & Troubleshooting] popokrew:
Well, neither of those PC10IMG.zip worked. Im looking at another thread here to hopefully help out. Looks like a partition issue like I thought. Only thing is how to fix it?

http://forum.cyanogenmod.com/topic/6433-solved-messed-up-partitions-on-internal-storage/
[G2 and Desire Z Q&A, Help & Troubleshooting] open1your1eyes0:
Guys, I finally figured out how to fix this issue. It took me forever and I thought my recovery was lost but this fixed it.

Couple of things you have to do:

Download the latest ClockworkMod and rename it to recovery.img

adb reboot bootloader

fastboot erase cache

fastboot flash recovery recovery.img

fastboot erase cache

Try to restore again

Yes erase the cache twice from fastboot.
[G2 and Desire Z Q&A, Help & Troubleshooting] popokrew:
The problem is that i cant get it to do anything.

c:\download\android-sdk-windows\tools>fastboot erase cache
erasing 'cache'... FAILED (remote: erasing error!)
finished. total time: 2.829s

c:\download\android-sdk-windows\tools>adb reboot bootloader
error: device not found

c:\download\android-sdk-windows\tools>fastboot flash recovery recovery-clockwork
-3.0.2.4-vision.img
sending 'recovery' (4466 KB)... OKAY [ 0.765s]
writing 'recovery'... FAILED (remote: image update error)
finished. total time: 0.784s

c:\download\android-sdk-windows\tools>

In the thread i posted above, they talk about using "parted" to get the partitions back but I dont see where you can do thoe ADB commands. They suggest you can do them in recovery but I tried and there is no ADB device when in CWM.
[G2 and Desire Z Q&A, Help & Troubleshooting] dustrho:
Hopefully this isn't too off topic, but is there a tool that can be used to perform a health check of the internal and external storage of our phones? Everything on my phone is working just fine, but would love that guarantee that it's in good order.

Thanks.
[G2 and Desire Z Q&A, Help & Troubleshooting] popokrew:
Where can I issue these commands? I cannot get a shell.
[G2 and Desire Z Q&A, Help & Troubleshooting] 1wayjonny:
Stupid question about the PC10IMG.zip method...

It probally is but confirm the card is formatted as FAT32 for fastboot :confused:

Also is there any swap partitions etc..

If the SDCARD has partitions redo it as one FAT32 partition or use an alternate SDCARD with one FAT32 partition
[G2 and Desire Z Q&A, Help & Troubleshooting] open1your1eyes0:
Oh the issue appears to be the fact that adb cannot find your device. Go into device manager and see if you see any missing drivers with the exclamation mark (should be called ADB or something like that).

Force install these drivers I have uploaded: Link

Also after you do "adb reboot bootloader" command you need to install the drivers again because it reboots into another mode.

Make sure you select "Android ADB Interface" as the driver and if it asks you that its not compatible just click Yes anyways.
[G2 and Desire Z Q&A, Help & Troubleshooting] DON_58:
nvm found it. for those who might be following this thread and also need it you can find it here

http://mirrorbrain.cyanogenmod.com/cm/recoveries/recovery-clockwork-3.0.2.4-vision.img
[G2 and Desire Z Q&A, Help & Troubleshooting] popokrew:
I can't use adb because I can only get to fastboot and thus, I can only use the fastboot command. Unless I'm missing something? I do have the device in device manager with the driver loaded. I have loaded many radios through fastboot so I know the connection is working. The trick is to get an adb shell, but what state do you want the phone in? Right now I can only get to fastboot or recovery (can't do adb there either).
[G2 and Desire Z Q&A, Help & Troubleshooting] DON_58:
I think you have to be in recovery to be able to use adb. Give it a shot.

Tried doing this and ended up with this:

After doing all that and trying to access recovery I get a white screen with 3 androids on skateboards and it appears to just hang there until I pull the battery out. If im not mistaken the reason it wont let me flash the recovery is because I dont have the eng-hboot. Is there a way to flash that through adb or fastboot?
[G2 and Desire Z Q&A, Help & Troubleshooting] open1your1eyes0:
Link :)

In order to get into ADB mode you don't have to go into recovery or into fastboot all you do is this. Pull the battery, plug it back in. Hold the volume down button and press the power button briefly as soon as you see the HBOOT screen (skateboarding logo) you can let go of the volume down button and you will be able to use ADB. At that point you should plug in the phone and go into device manager and check to make sure you have no exclamation marked devices labeled ADB or Android Device something similar. If you do see a marked device, then force install those drivers I provided. If not then go to command prompt and do "adb devices". If you see your device then you are set to do that method I post below.

If that command does not find your device, then uninstall the Android ADB Device you find in your device manager somewhere and make sure to select the checkbox to uninstall the device drivers as well. After that, unplug and replug the device, then install the drivers I provided you. And try the "adb devices" command. At that point you should see your device in the list. Pull the battery, plug it back in. Hold the volume down button and press the power button briefly as soon as you see the HBOOT screen (skateboarding logo) you can let go of the volume down button and you will be able to use ADB and be ready to do the the following method.

Use This Method

type this command: adb reboot bootloader

wait till it reboots into Fastboot

type this command: fastboot erase cache

Reboot the device and go into recovery and try to restore a backup or flash a ROM
[G2 and Desire Z Q&A, Help & Troubleshooting] DON_58:
Yeah I ended up finding the recovery.img

Did you get a chance to look at my outcome?
[G2 and Desire Z Q&A, Help & Troubleshooting] open1your1eyes0:
I just remembered, please ignore the recovery part, I edited the above post to do it right. The key here is to be able to run "fastboot erase cache" successfully but that relies on a couple of things to work. Try to uninstall your old Android ADB Device drivers and reinstall the ones I linked for you. Also try removing your SD card (it could be causing a problem). Try the above post again exactly as I wrote it (not just the method but the device part before also).
[G2 and Desire Z Q&A, Help & Troubleshooting] DON_58:
How do I go about installing the drivers given that they're in a zip file and there is no setup.exe inside?