[MOD] Default Froyo Launcher - myTouch 4G Android Development

This will allow you to use the default Froyo Launcher instead of using the HTC Sense Launcher included with the MT4G for those that prefer it!
This was compiled through the generic AOSP 2.2r1 source with 5 screens. I will make one with 7 screens if anyone would like it.
First of all, you will need root(VISIONary) and adb.
Second, you will need this file: http://www.4shared.com/file/Cd9kUAqL/Launcher2.html
Third, make sure your phone is in "Charge Only" mode when you connect it to your computer.
Next:
1. adb push Launcher2.apk /sdcard/
2. adb shell
Now in shell:
3. su (Superuser might pop up on your device, make sure to press "Allow")
4. stop
5. mount -o remount,rw /dev/block/mmcblk0p25 /system
6. cp /sdcard/Launcher2.apk /system/app/
7. start
8. Wait for the phone to do a "soft boot"
9. Once you pull down the Lockscreen, select Launcher instead of HTC Sense
Now, of course, this will go away once you reboot the phone, but you could use visionary.sh, a file that loads on boot if VISIONary roots your phone on every boot, and make it do these commands.
This was a simple idea I had after seeing Cyanogen's LED Notification Light Mod for the G2: http://forum.xda-developers.com/showthread.php?t=797867&page=4
UPDATE: You might want to re-download the Launcher2.apk. The phone hotseat button now loads the HTC Phone app instead of not working.
UPDATE 2: This also includes the default AOSP wallpapers under Wallpaper > Wallpapers.

thank you very much. i was really looking for this. now all we need is perm root so this doesnt go away on reboot

Greatly appreciated!
Not to seem like I am spitting in your face, but I think I'll stick with LauncherPro if I want to get the stock look. Until persistent root is obtained I don't want to mess with anything that may go away.

JWhipple said:
Greatly appreciated!
Not to seem like I am spitting in your face, but I think I'll stick with LauncherPro if I want to get the stock look. Until persistent root is obtained I don't want to mess with anything that may go away.
Click to expand...
Click to collapse
Ha I understand. I was using LauncherPro before I did this.

Updated Launcher2.apk so that the phone hotseat button now loads the HTC Phone app instead of not working.

travisjames said:
This will allow you to use the default Froyo Launcher instead of using the HTC Sense Launcher included with the MT4G for those that prefer it!
This was compiled through the generic AOSP 2.2r1 source with 5 screens. I will make one with 7 screens if anyone would like it.
First of all, you will need root(VISIONary) and adb.
Second, you will need this file: http://www.4shared.com/file/Cd9kUAqL/Launcher2.html
Third, make sure your phone is in "Charge Only" mode when you connect it to your computer.
Next:
1. adb push Launcher2.apk /sdcard/
2. adb shell
Now in shell:
3. su (Superuser might pop up on your device, make sure to press "Allow")
4. stop
5. mount -o remount,rw /dev/block/mmcblk0p25 /system
6. cp /sdcard/Launcher2.apk /system/app/
7. start
8. Wait for the phone to do a "soft boot"
9. Once you pull down the Lockscreen, select Launcher instead of HTC Sense
Now, of course, this will go away once you reboot the phone, but you could use visionary.sh, a file that loads on boot if VISIONary roots your phone on every boot, and make it do these commands.
This was a simple idea I had after seeing Cyanogen's LED Notification Light Mod for the G2: http://forum.xda-developers.com/showthread.php?t=797867&page=4
UPDATE: You might want to re-download the Launcher2.apk. The phone hotseat button now loads the HTC Phone app instead of not working.
UPDATE 2: This also includes the default AOSP wallpapers under Wallpaper > Wallpapers.
Click to expand...
Click to collapse
Dude is there anyway you can do this with the traditional sense launcher instead to replace the ugly espresso crap?

Omeer said:
Dude is there anyway you can do this with the traditional sense launcher instead to replace the ugly espresso crap?
Click to expand...
Click to collapse
Since Rosie.apk already exist within /system/app, it would just throw an error when trying to copy it from the SD card to the system cache.

Lol yeah I found that out the hard way after semi bricking my phone last night. My question now is can rosie.apk that exists within the system cache be replaced by a custom one? I'm assuming no since the .apk being replaced would be in use atm...
Sent from my HTC Glacier using XDA App

Ooh here's another idea. I saw a thread over at the Desire HD forums and someone ported/modded the themes into .apk files. The installation instructions are very straight forward, just install as normal .apk files or move the files to /system/app. Needless to say that just simply installing it didn't work on the MyTouch 4G. My concern now is can we use this method or any other method to push these .apk files to the /system/app folder to see if it works? A way to theme our devices will hold us eager beavers off till we get a permanent root.
Sent from my HTC Glacier using XDA App

Great work, thanks a ton for this. One question though, is there any advantage of using stock launcher insteat of ADW or LP? I myself love ADW, especially with 3D look that AnderWeb is trying go implement but if there's performance gain with the stock - I'm all for it.

Omeer said:
Lol yeah I found that out the hard way after semi bricking my phone last night. My question now is can rosie.apk that exists within the system cache be replaced by a custom one? I'm assuming no since the .apk being replaced would be in use atm...
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
Even when using Launcher2.apk instead of Rosie, it failed to replace. I tried it last night after I saw your suggestion.
Omeer said:
Ooh here's another idea. I saw a thread over at the Desire HD forums and someone ported/modded the themes into .apk files. The installation instructions are very straight forward, just install as normal .apk files or move the files to /system/app. Needless to say that just simply installing it didn't work on the MyTouch 4G. My concern now is can we use this method or any other method to push these .apk files to the /system/app folder to see if it works? A way to theme our devices will hold us eager beavers off till we get a permanent root.
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
You might be able to do that with this method. All I can say is, try and see if it works.
borodin1 said:
Great work, thanks a ton for this. One question though, is there any advantage of using stock launcher insteat of ADW or LP? I myself love ADW, especially with 3D look that AnderWeb is trying go implement but if there's performance gain with the stock - I'm all for it.
Click to expand...
Click to collapse
Personally, I haven't seen any advantage to using Launcher2 over ADW or LauncherPro. The only reason I made this was because I like vanilla Android over Sense. But, I don't really see any performance gain. I might do a little bit more testing and get back to you.

travisjames said:
Even when using Launcher2.apk instead of Rosie, it failed to replace. I tried it last night after I saw your suggestion.
You might be able to do that with this method. All I can say is, try and see if it works.
Click to expand...
Click to collapse
OK so I followed this guide exactly as outlined except I replaced the launcher2.apk files with the commonSense.apk file. Everything goes swimmingly until I pull down the lock screen when the screen just hangs for a good a while but ultimately results in no change. What I want to try now is to push .apk files onto the /system/app folder some how and that's not what this method does. I read somewhere that it's now possible to push .apk files to root folders, any ideas as to what that might be?

travisjames said:
1. adb push Launcher2.apk /sdcard/
2. adb shell
Now in shell:
3. su (Superuser might pop up on your device, make sure to press "Allow")
4. stop
5. mount -o remount,rw /dev/block/mmcblk0p25 /system
6. cp /sdcard/Launcher2.apk /system/app/
7. start
8. Wait for the phone to do a "soft boot"
9. Once you pull down the Lockscreen, select Launcher instead of HTC Sense
Now, of course, this will go away once you reboot the phone, but you could use visionary.sh, a file that loads on boot if VISIONary roots your phone on every boot, and make it do these commands.
Click to expand...
Click to collapse
I think if you replace step 6 with
"pm install /sdcard/Launcher2.apk"
it should install to /data/app which should still be fine after a reboot.

Phone doesn't work
Thanks for that!
The left button doesn't work on my desire.
Is the link on #1 up to date?

Related

Ok removed some built in app's

So I took the plunge and have removed peep and learn more from the phone, all working well so far. don't want to push my luck and remove more.
How did you managed it? I'm guessing you have root access or something?
yes rooted and booted loads of bits i want to remove but not sure what effect they would have on the system.
adb shell rm /system/app/Learn*
adb shell rm /system/app/com.htc.Twitt*
I managed to remove learnmore and the Stocks app and its widget. No discernable bad effects. I used Root Explorer successfully to do this, thought I havent managed to get Root Explorer to Copy and paste either to or from the device (Yup I know its read only, but Root Explorer, when working correctly, allows you to toggle R/w and R/0 ).
Daisy xxx
Dayzee said:
I managed to remove learnmore and the Stocks app and its widget. No discernable bad effects. I used Root Explorer successfully to do this, thought I havent managed to get Root Explorer to Copy and paste either to or from the device (Yup I know its read only, but Root Explorer, when working correctly, allows you to toggle R/w and R/0 ).
Daisy xxx
Click to expand...
Click to collapse
Daisy! Quick question?? how did you manage to get root explorer to work. It seems to for-close on me all the time!
Dayzee said:
I havent managed to get Root Explorer to Copy and paste either to or from the device
Click to expand...
Click to collapse
It's now working here. I used the update.zip mentioned here to gain "adb remount" ability for an unrelated issue and a side-effect is that Root Explorer now copies/pastes as expected.
Maybe a little tutorial on how to uninstall apps ??
I remove "rosie" to get back old style android look : its blazing fast and all htc's applications still works.
I used the Update.zip from Pauls Method at MoDaCo (Should go in the wiki if Paul says its OK?) and then was able to copy from /data/app/ to my SD Card using Linda File Manager whilst in "adb remount" (link via usb, then use command prompt to get to the adb directory and type "adb remount" then use the Linda File manager to do the bizz.)
Haven't tried removing anything or putting anything in yet, cos I really don't know whayt I'm doing. I just want to know HOW it can be done really. :0)
Dayzee
minogue said:
Daisy! Quick question?? how did you manage to get root explorer to work. It seems to for-close on me all the time!
Click to expand...
Click to collapse
I don't get force closes, but it certainly doesn't work for me as it should. Pressing the buttons to change from R/W to R/O usually says Busy: cannot remount - also any "copy" seems to go ok but the "paste" never works.
I've got Root Explorer 1.4 I think. Also tried it with adb remount but it didn't seem to work either.
Daisy xx
NisseGurra said:
I remove "rosie" to get back old style android look : its blazing fast and all htc's applications still works.
Click to expand...
Click to collapse
I want to do this but worried I might get the "force close error" when opening the peoples application when using the standard android UI. Its happened a few times when I set Home as my default application, reverted back to Touchflo and it been working great.
Removing Rosie completely will also remove the black look that HTC put in the ROM? Or is that something that is fixed by theming? (Like the top bar being black on the Hero, but white on the Magic)
Edit:
Well I went ahead and gave Rosie the boot, allong with some other HTC widget stuff (which becomes obsolete when you remove Rosie) I used Root Explorer to delete the files (adb shell rm wouldn't work :-\)
All I need now is the default white bar at the top instead of the HTC Black one

Deleting system apps after root?? (Root Explorer won't do it)

I used to use "Root Explorer" on my hero to delete system apps before..doesn't seem to work anymore..
solution??
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
did you mount /system in rw mode? (it's ro by default)
U dont have write access to system partition in normal use if i read the tutorial right. U have to do it with an update.zip (editing the update script) or with adb both u have to do in recovery menu from modaco i think. Tell me if i am wrong.
Sry for my bad english
@cezarL yes I did
@xtcislove I wish u were wrong..seems like pain.. anyway to do it without a pc?
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Damn, you're right. Previously, I had deleted an .apk just to check if it's working, then reinstalled the app right away.
But I just tested now, it looks like after a reboot, the .apk magically reappears, and the application is running as usual
Damn, you're right. Previously, I had deleted an .apk just to check if it's working, then reinstalled the app right away.
But I just tested now, it looks like after a reboot, the .apk magically reappears, and the application is running as usual
Click to expand...
Click to collapse
ye..I'm sure it has something to do with the root limitations Paul mentioned in his rooting guide. hope it'll be fixed soon.
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Try this: Boot in recovery menu and try the following commands:
adb remount
adb shell rm /system/app/APP.apk
adb shell rm /data/app/APP.apk
where APP.apk is the filename of the apk with the .apk extention, remember case-sensitive!
for example:
adb remount
adb shell rm /system/app/FriendStream.apk
adb shell rm /system/app/FriendStream.odex
take a look before if your app has a odex or try this: (here u need only one command)
adb remount
adb shell rm /system/app/*FriendStream*
Good luck and have fun =)
Edit: Just find a topic =)
hxxp://android.modaco.com/content/htc-hero-hero-modaco-com/297207/removal-of-apps-via-adb/#entry1124362
(replace hxxp with http)
I'm trying to do these things in windows at the moment. No issues getting in the recovery with the windows scripts. But when I try to open a ADB Shell after I've gone to recovery I can't really do anything with it and the recovery hangs (not controllable with the track pad).
Anyone can tell me what I'm doing wrong?
You're not doing anything wrong, from what I've seen opening a new adb instance on Windows will kill the server created by the .bat file used for recovery... which means the connection to the device is lost. I haven't looked into it further, but it might be fixeable somehow.
Ah I see, so basicly you undo the patched recovery by opening a new session. It does work properly under Linux then? I run ubuntu on my netbook so It's not a big issue anyway. Thanks for the tip, gonna try under linux now!
I'm having the same problems as:
http://android.modaco.com/content/h...co-com/307401/removing-sys-apps/#entry1256015
I removed a load of HTC widgets but I get strange entries on the widget menu. Anyone know how to get rid of these?
Also, I removed Stocks (.apk and .odex), now I get a force close on 'Accounts & sync'. Anyone know how to remove Stocks properly?
Cheers.
After running the bat file to get into recovery, start a new cmd prompt in windows and use again adb-nilezon for shell commands instead of ordinary adb, and it wont be killed.
This has worked for me atleast
blackadder1000 said:
Anyone know how to remove Stocks properly?
Click to expand...
Click to collapse
The best, foolproof, failsafe way is to remove them from the rom before installing it... and remember that some services are still required, weather you use them or not.
But, if a system app is already installed you need to remove:
the apk from /system/app
the data from /data/data/appname
the cache from /cache/dalvik-cache
Do not remove Accounts & Sync...
Thanks for the answer.
I guess now is a good time to bake my own ROM!
blackadder1000 said:
Thanks for the answer.
I guess now is a good time to bake my own ROM!
Click to expand...
Click to collapse
Yep, that's what I do... see my sig...

Remove ALL Sprint Crapware? (Q from an ex-WinMo Poweruser)

I moved from an HD2 to the Evo this week (no more TMobile, woot!). I am very familiar with custom WMO ROMS, Hard SPL, blah blah...
I have nearly zero Android development, custom ROM knowledge, etc, however.
I'd like to flash a custom ROM based on the factory, without all the Sprint programs preloaded.
Clearly I need to root; I am on steady ground with that knowledge. After that? Not so clear. There doesn't seem to be a thread with the steps I need to proceed.
Any info would be invaluable, thanks!
(PS - side question: why does Android launch all sort of processes in the background seemingly at random?)
ifiweresolucky said:
I moved from an HD2 to the Evo this week (no more TMobile, woot!). I am very familiar with custom WMO ROMS, Hard SPL, blah blah...
I have nearly zero Android development, custom ROM knowledge, etc, however.
I'd like to flash a custom ROM based on the factory, without all the Sprint programs preloaded.
Clearly I need to root; I am on steady ground with that knowledge. After that? Not so clear. There doesn't seem to be a thread with the steps I need to proceed.
Any info would be invaluable, thanks!
(PS - side question: why does Android launch all sort of processes in the background seemingly at random?)
Click to expand...
Click to collapse
This should be in Q & A.. But unless someone creates a rom with the apps removed. Its easier to just do it yourself.
If you did toasts method of rooting. Boot into recovery and type this
adb remount
adb shell
cd /system/app
ls
This displays all apps on the phone. Do this to delete them.
rm NameOfApp.apk
rm NameOfApp.odex
It is caps sensitive and make sure you type the apk exactly as its written.
Jus10o said:
This should be in Q & A.. But unless someone creates a rom with the apps removed. Its easier to just do it yourself.
If you did toasts method of rooting. Boot into recovery and type this
adb remount
adb shell
cd /system/app
ls
This displays all apps on the phone. Do this to delete them.
rm NameOfApp.apk
rm NameOfApp.odex
It is caps sensitive and make sure you type the apk exactly as its written.
Click to expand...
Click to collapse
any reason adb remount isn't working for me? I do adb devices and my devices is there but when i type adb remount i get "remount faild: Invalid argument"
I started Toasts root directions, placing PC36IMG.zip on the base directory of the SD card. Shut down, loaded with the Vol Down and Power buttons. The bootloader checked the file on the SD card but then stopped on the white screen.
It seems it was supposed to proceed automatically? But I am dropped off with options on the white screen: FASTBOOT, RECOVERY, CLEAR STORAGE, SIMLOCK, and HBOOT USB.
Directions show Vol Up and Down for previous and next and Power for select.
Alright, I resolved this issue. I recopied the file to the SD card and made sure to eject drive before shutting the device down. Seemed to make all the difference! Proceeding with the remainder of Toast's directions now...
p-slim said:
any reason adb remount isn't working for me? I do adb devices and my devices is there but when i type adb remount i get "remount faild: Invalid argument"
Click to expand...
Click to collapse
I'm running in to the same issue...
rgordon3091 said:
I'm running in to the same issue...
Click to expand...
Click to collapse
i fixed it. you have to do this.
adb shell
mount /dev/block/mtdblock4 /system
cd /system/app
ls
Getting error trying to remove nascar..
Code:
rm Sprint_NASCAR.apk
rm failed for Sprint_NASCAR.apk, Directory not empty
Any ideas?
That's Linux trying to protect you. Essentially the rm command by default just removes one file at a time.
Try...
rm -r NameOfFolder
...to delete recursively.
Sent from my EVO 4G using Tapatalk
Go see the thread in the apps sub-forum about this. I have a post (#28, I believe) with the exact code to remove the bloatware. You can just copy any paste.
-------------
Sent from my HTC EVO 4G using Tapatalk Pro.
nick325i said:
Getting error trying to remove nascar..
Code:
rm Sprint_NASCAR.apk
rm failed for Sprint_NASCAR.apk, Directory not empty
Any ideas?
Click to expand...
Click to collapse
you shouldn't have a problem deleting the apk, because an apk is not a directory.
i deleted it without the same message.
p-slim said:
i fixed it. you have to do this.
adb shell
mount /dev/block/mtdblock4 /system
cd /system/app
ls
Click to expand...
Click to collapse
'
hmmm i put im adb shell then i got a "#" so i put in "mount /dev/block/mtdblock4 /system"
and i got mount:mounting /dev/block/mtdblock4 /system failed: No such file or directory
so what did i do wrong?
Found the issue. Thanks all
Jus10o said:
This should be in Q & A.. But unless someone creates a rom with the apps removed. Its easier to just do it yourself.
If you did toasts method of rooting. Boot into recovery and type this
adb remount
adb shell
cd /system/app
ls
This displays all apps on the phone. Do this to delete them.
rm NameOfApp.apk
rm NameOfApp.odex
It is caps sensitive and make sure you type the apk exactly as its written.
Click to expand...
Click to collapse
By the way, when I "cd /system/app" and then "ls" I see only NamesOfApps.apk. There are displayed no *.odex files. Is that normal?
thread dead?
IDK if this threads still monitored by anyone, but here's my question: I don't use adb, but I just rused root explorer to locate sprint crap, and added a .bak to the end of all of them to essentially 'disable' them. Is this a safe method? Will Android system waste energy looking for them anymore (they no longer show in app tray, but are they still using resources) ? Thanks much.
scottspa74 said:
IDK if this threads still monitored by anyone, but here's my question: I don't use adb, but I just rused root explorer to locate sprint crap, and added a .bak to the end of all of them to essentially 'disable' them. Is this a safe method? Will Android system waste energy looking for them anymore (they no longer show in app tray, but are they still using resources) ? Thanks much.
Click to expand...
Click to collapse
I was just about to say something similar. I had uninstalled Nascar using Titanium Backup, and the found out that I cant do the 2.2 OTA unless its there. TB didn't have the ability to restore it for some reason, so I got an APK from XDA, and put it in the system/app folder via Root Explorer. Then, I had to reset the permissions to match the other APK's, and it showed up and launched perfectly. Even did an update. Much easier than all that adb stuff, I think.
I used system app uninstaller for a buck on the market.. Easy and all there with the icons for easy to find and delete sprint and gapps.
Sent from my PC36100 using XDA App
scottspa74 said:
IDK if this threads still monitored by anyone, but here's my question: I don't use adb, but I just rused root explorer to locate sprint crap, and added a .bak to the end of all of them to essentially 'disable' them. Is this a safe method? Will Android system waste energy looking for them anymore (they no longer show in app tray, but are they still using resources) ? Thanks much.
Click to expand...
Click to collapse
Thats a good way.. If something goes wrong just have to rename.
Sent from my PC36100 using XDA App
Flash this zip and it should remove most of the Sprint apps. It will back them up to /sdx on your SD card so if anything is removed that you want, it will still be there. It's signed to work with RA.
http://grathwohl.me/uploads/android/evo/Sprint-Apps-Remover-signed.zip
I've seen a few people reference my post, but my post was really just trying to ask if anyone knew if, now that I've renamed them, and they don't run, they shouldn't be using up resources? Right, is that correct, or am I wrong in thinkin this?
And thanks cosine83, that's a really helpful post for a lot of people.

[Q] Hulu working on EVO stock-rooted Froyo 2.2?

Isn't Hulu supposed to be playable on Froyo? Doesn't seem to work on the Evo with netarchy's Froyo stock-rooted ROM. I've been researching this topic for a fix, and I've seen something done for Nexus One and CM6 users but I don't want to loose 4G. I thought being able to watch Hulu was one of the most hyped about features of having Froyo.
You need a hacked version of Flash, and to change your UAString to Desktop. Search in the Nexus One forum for details.
Engadget has a walkthrough for the Nexus One. All but actually playing a video worked great on my Evo running CM6 :/. maybe you will have more luck on the Sense browser..
Here's another link I found for the Nexus One: forum.xda-developers.com/showthread.php?t=688054
I tried installing the apk but it would not not install.
XevoX said:
Here's another link I found for the Nexus One: forum.xda-developers.com/showthread.php?t=688054
I tried installing the apk but it would not not install.
Click to expand...
Click to collapse
Did you by chance already have flash installed? If yes, you need to uninstall it first.... If no, what was the error? Did you use adb to install? or? I have that version installed on my phone (running cm6)...
Hairongreenfire said:
Engadget has a walkthrough for the Nexus One. All but actually playing a video worked great on my Evo running CM6 :/. maybe you will have more luck on the Sense browser..
Click to expand...
Click to collapse
I have Hulu working just fine via the default browser on CM6 nightly and RC1. Read the instructions and try again.
I appreciate the help fellas, but I'm looking for a stock-rooted Froyo solution. With the CM6 ROM you have to give up 4G, FM Radio, etc.
[QUOTE=spiicytuna;7455905]Did you by chance already have flash installed? If yes, you need to uninstall it first.... If no, what was the error? Did you use adb to install? or? I have that version installed on my phone (running cm6)...[/QUOTE]
How do I go about uninstalling Flash? I tried installing the apk straight up with estrong.
XevoX said:
I appreciate the help fellas, but I'm looking for a stock-rooted Froyo solution. With the CM6 ROM you have to give up 4G, FM Radio, etc.
spiicytuna said:
Did you by chance already have flash installed? If yes, you need to uninstall it first.... If no, what was the error? Did you use adb to install? or? I have that version installed on my phone (running cm6)...
Click to expand...
Click to collapse
How do I go about uninstalling Flash? I tried installing the apk straight up with estrong.
Click to expand...
Click to collapse
1) Uninstall Flash from the Settings>Applications>Manage Applications>All menu.
2) Install the hacked Nexus One version of Flash with Hulu support, via ADB.
3) Open any page in your browser then go to the url "about:debug" (without the quotes) and then go to Menu>Settings. Scroll all the way down to the bottom, select UAString, and change from Android to Desktop.
4) Go to http://www.hulu.com/
5) Enjoy.
drmacinyasha said:
1) Uninstall Flash from the Settings>Applications>Manage Applications>All menu.
2) Install the hacked Nexus One version of Flash with Hulu support, via ADB.
3) Open any page in your browser then go to the url "about:debug" (without the quotes) and then go to Menu>Settings. Scroll all the way down to the bottom, select UAString, and change from Android to Desktop.
4) Go to http://www.hulu.com/
5) Enjoy.
Click to expand...
Click to collapse
doesnt seem to uninstall that way...
mrloserpunk said:
doesnt seem to uninstall that way...
Click to expand...
Click to collapse
The leaked Sense 2.2 ROM has Flash 10.1 installed from the get-go, so you can't uninstall it in a traditional way. If you go into /system/app/ there is install_flash_player.apk. I renamed it "install_flash_player.apkz" (this makes it so Android doesn't recognize it, pretty much the same as just deleting it) so I could see what that would change. It doesn't remove Flash 10.1 from Menu > Settings > Applications, but it did stop Flash from loading in the browser. You could try that, but I don't know how far it'd get you.
cloud858rk said:
The leaked Sense 2.2 ROM has Flash 10.1 installed from the get-go, so you can't uninstall it in a traditional way. If you go into /system/app/ there is install_flash_player.apk. I renamed it "install_flash_player.apkz" (this makes it so Android doesn't recognize it, pretty much the same as just deleting it) so I could see what that would change. It doesn't remove Flash 10.1 from Menu > Settings > Applications, but it did stop Flash from loading in the browser. You could try that, but I don't know how far it'd get you.
Click to expand...
Click to collapse
I tried that way. Still get the can't install error. Flash
Uninstall is greyed out in stock 2.2 with root.
if you're rooted, use adb, shell in, navigate to where the apk is in system/app, rm it, then navigate to the data/data/ folder that the data is stored, rm that too. reboot. install the modified flash apk.
if you know part of the file name (adobe, or flash, or whatever), use adb shell, then
find -name "*partofthenameyouknow*.*"
it'll spit out the locations of the apk, data, and cache. then just rm -rf all those files. reboot. install the modified flash apk
timothydonohue said:
if you're rooted, use adb, shell in, navigate to where the apk is in system/app, rm it, then navigate to the data/data/ folder that the data is stored, rm that too. reboot. install the modified flash apk.
if you know part of the file name (adobe, or flash, or whatever), use adb shell, then
find -name "*partofthenameyouknow*.*"
it'll spit out the locations of the apk, data, and cache. then just rm -rf all those files. reboot. install the modified flash apk
Click to expand...
Click to collapse
Im getting closer. I did what you said. Was able to get the Flash 10.1 from the Nexus forum installed. When I got to Hulu, it still gives me "not available on your platform" error.
Edit: I forgot the about:debug command. Although, I did that, it still didnt work. I then downloaded the Hulu app made by someone, and
whala, Hulu is working.
Thanks
what hulu app? I could not locate it.... man this looks like a pain in the rear.... no way to simply change the way hulu see's my EVO? like a useragent string or is flash giving me away?
Owell, at least southparkstudios is working fine
mrloserpunk said:
what hulu app? I could not locate it.... man this looks like a pain in the rear.... no way to simply change the way hulu see's my EVO? like a useragent string or is flash giving me away?
Owell, at least southparkstudios is working fine
Click to expand...
Click to collapse
Actually, not a PIA at all.
Just fyi, I didnt use any ADB commands, just did it all on the phone using SUFBS.
1> Simply what was mentioned above. Remove the Adobe Flash stuff from the System/app and Data/Data area.
- I did this by renaming the directories using SUFBS on my phone.
2> Reboot Phone.
3> Install the Modified Flash (Found in the Nexus Thread)
- Once again, I just downloaded on the phone and used SUFBS to install.
4> Reboot Phone
5> Go to Browser, type about:debug and GO. Then go to Settings and down at the bottom, change the UAString to Desktop.
6> Whala.
This thread helped me out alot: (Widget here too).
http://forum.xda-developers.com/showthread.php?t=686765&highlight=hulu
AWESOME! Huge help, I got it done using winSCP. Incredibly easy. Thanks alot! Today has been a great day for my Evo... it got 2.2, SSH, Flash w/hulu... whats next a gold back cover? Thanks again!!
This fix (manually deleting the apk's) requires a full root, right?
dallashigh said:
This fix (manually deleting the apk's) requires a full root, right?
Click to expand...
Click to collapse
Yep.
Is Hulu still working for you guys? I get "The requested video cannot be displayed in your region" message now. I read that this will happen after you reboot....
mrloserpunk said:
doesnt seem to uninstall that way...
Click to expand...
Click to collapse
If you still havent got it to work,grab Android Mate from the market and use that to install the hacked flash version.It will ask if you want to replace the original flash so there is no need to uninstall it first.Then do the about:bug from your browser and you'll be good to go.
tsunami0ne said:
Yep.
Click to expand...
Click to collapse
Thanks. I was 99% sure, but I wanted confirmation before I wasted any of my time.
I am an Unrevoked3 user (I know, I know. No lectures please), and was pretty pissed about this. Then I discovered that NAND is unlocked when I'm in the ClockworkMod recovery. So I booted into recovery and did the following on my PC:
Code:
adb shell
mount -o rw -t yaffs2 /dev/block/mtdblock4 /system
mount -o rw -t yaffs2 /dev/block/mtdblock6 /data
cd /system
mv install_flash_player.apk install_flash_player.ap_
cd lib
mv libflashplayer.so libflashplayer.s_
cd /data/data
rm -r com.adobe.flashplayer
cd com.android.browser/app_plugins/
rm -r com.adobe.flashplayer
umount /system
umount /data
exit
adb reboot
Then I installed the hacked APK, did the UA fix and was rockin and rollin.
Note the remount flag is not necessary above, because the partitions are not already mounted. In fact, if you try to use the remount flag, it will fail. I have .tar backups of the two directories deleted, if anyone by chance needs them to restore.
tsunami0ne said:
Is Hulu still working for you guys? I get "The requested video cannot be displayed in your region" message now. I read that this will happen after you reboot....
Click to expand...
Click to collapse
When you reboot, the UA reverts to default and you have to change it back to Desktop again.

[Q]How to restore Sense lockscreen?

This is going to be one of those things where some people cry out "Blasphemy!" But I will ask anyways.
I loaded up a ROM on my Evo that contains Sense everything, except the lockscreen. The ROM is perfect other than this problem. Despite my best efforts all I see is people asking how to remove the Sense lockscreen (wut?) and none trying to add it to a ROM after the fact. So I'm wondering if anyone would be kind enough to aid me in restoring the Sense lockscreen. I'd greatly appreciate the help.
Licht_ said:
This is going to be one of those things where some people cry out "Blasphemy!" But I will ask anyways.
I loaded up a ROM on my Evo that contains Sense everything, except the lockscreen. The ROM is perfect other than this problem. Despite my best efforts all I see is people asking how to remove the Sense lockscreen (wut?) and none trying to add it to a ROM after the fact. So I'm wondering if anyone would be kind enough to aid me in restoring the Sense lockscreen. I'd greatly appreciate the help.
Click to expand...
Click to collapse
Restore nandroid
Find the HtcLockscreen.apk and use adb to push it to /system/app/
bcarter2000 said:
Find the HtcLockscreen.apk and use adb to push it to /system/app/
Click to expand...
Click to collapse
If you're not good with adb, you can also use root explorer.
I've placed htclockscreen.apk into system/app but it doesn't enable the lock screen. Possible the APK I downloaded is misnamed.
Licht_ said:
I've placed htclockscreen.apk into system/app but it doesn't enable the lock screen. Possible the APK I downloaded is misnamed.
Click to expand...
Click to collapse
Did you install it?
Sent from my HTC EVO 4G with Tapatalk
Widget locker works well
A drop of Chuck Norris's semen was placed on Android OS. We now have CyanogenMod.
kd0axs said:
Did you install it?
Sent from my HTC EVO 4G with Tapatalk
Click to expand...
Click to collapse
I tried but it says "Application not installed." I assumed that meant that I couldn't install system APKs or something of the like. I'll look for another source for the file. I'm sure this one is just bad. (Random Mediafire link.)
Edit : I downloaded from a better source. But this file also will not install. Placed it into the correct folder and am now rebooting to see if it works.
Edit 2 : Definitely not working. Am I missing something? I just place it in the folder... then nothing happens.
You have to install it after it's place in the folder. Use your favorite file manager and click on the apk file.
Licht_ said:
I tried but it says "Application not installed." I assumed that meant that I couldn't install system APKs or something of the like. I'll look for another source for the file. I'm sure this one is just bad. (Random Mediafire link.)
Edit : I downloaded from a better source. But this file also will not install. Placed it into the correct folder and am now rebooting to see if it works.
Edit 2 : Definitely not working. Am I missing something? I just place it in the folder... then nothing happens.
Click to expand...
Click to collapse
Okay. Take your htclockscreen.apk, using Root Explorer preferably, and place it in /system/app. There is no need to install anything now. What is needed, is that you need to long press on the htclockscreen.apk after you copy it to the system/app folder, and press permissions. You must make sure that the "user" permissions are set "read" and "write". Make sure they're both checked. Once that is complete, reboot your Evo. You'll have the htc lockscreen, every time.
you can also use adb. If you don't have it all set up, there's an easy way around that. Download 'wireless adb' or 'adb over wifi' from the market. Activate that app (you have to have your wifi on), open up a command prompt and connect to your phone, by typing 'adb connect 192.sss.s.ss:8000' (it'd be your IP address and port, which the app will provide to you). Once connected, navigate to where you downloaded the htc lockscreen apk. (say it was in the folder C:\android, you'd type cd C:\android, then hit enter). Then do this. adb remount (hit enter).
adb push HtcLockscreen.apk /system/app (hit enter). Then type adb reboot (hit enter). That would be all you need to do. Either one of those two methods, with adb or the file explorer should solve your problem.
k2buckley said:
Okay. Take your htclockscreen.apk, using Root Explorer preferably, and place it in /system/app. There is no need to install anything now. What is needed, is that you need to long press on the htclockscreen.apk after you copy it to the system/app folder, and press permissions. You must make sure that the "user" permissions are set "read" and "write". Make sure they're both checked. Once that is complete, reboot your Evo. You'll have the htc lockscreen, every time.
you can also use adb. If you don't have it all set up, there's an easy way around that. Download 'wireless adb' or 'adb over wifi' from the market. Activate that app (you have to have your wifi on), open up a command prompt and connect to your phone, by typing 'adb connect 192.sss.s.ss:8000' (it'd be your IP address and port, which the app will provide to you). Once connected, navigate to where you downloaded the htc lockscreen apk. (say it was in the folder C:\android, you'd type cd C:\android, then hit enter). Then do this. adb remount (hit enter).
adb push HtcLockscreen.apk /system/app (hit enter). Then type adb reboot (hit enter). That would be all you need to do. Either one of those two methods, with adb or the file explorer should solve your problem.
Click to expand...
Click to collapse
I've added the permissions as per your instructions and rebooted twice but I still have the stock lockscreen.
Licht_ said:
I've added the permissions as per your instructions and rebooted twice but I still have the stock lockscreen.
Click to expand...
Click to collapse
What ROM are you running? I was under the assumption (for some reason) that it was a nonsense rom (sense based, but most sense elements removed). Are you on an AOSP rom? If you are, I don't believe you can use a sense htc lockscreen at all, and I apologize for the mis information. If you are actually using a sense based ROM, then I'm not sure why it's not working. What file explorer are you using? Root Explorer?
Edit: I re read your OP. I see you are on a Sense based rom. What rom is it? Maybe I'll flash it and see if I can get the htc lockscreen working. I feel like flashing something....
k2buckley said:
What ROM are you running? I was under the assumption (for some reason) that it was a nonsense rom (sense based, but most sense elements removed). Are you on an AOSP rom? If you are, I don't believe you can use a sense htc lockscreen at all, and I apologize for the mis information. If you are actually using a sense based ROM, then I'm not sure why it's not working. What file explorer are you using? Root Explorer?
Edit: I re read your OP. I see you are on a Sense based rom. What rom is it? Maybe I'll flash it and see if I can get the htc lockscreen working. I feel like flashing something....
Click to expand...
Click to collapse
Eternal Prophecy 4.2
It has most Sense elements but just not the lockscreen.
Sent from my Evo 4G using XDA App

Categories

Resources