Pushing modified apk files breaks them - Droid X Themes and Apps

I was trying to push a modified apk into /data/app but it broke the program and I had to re-install the original. All I did was modify the png files in the Pandora widget and some of the colors of Widgetlocker. I'm using terminal emulator as well. I've pushed framework, blur and swype files with no problem. Why is this happening?

Did you use 7zip? If not try it because it won't break it.
Sent from my DROIDX using Tapatalk

7zip isnt always the way to go, Sometimes it works in the data sometimes it doesnt. What string are you using to mount the data partition?
Have you tried pushing the same app to system/app? I have had that work when data wouldnt play well.

I'm using WinRAR to replace the res file and that worked with framework and blur. But I also tried putting a red background into Fancy Widgets and that broke the apk too. This is the string I'm using.
su
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/com.teslacoilsw.widgetlocker.apk /data/app
cp /sdcard/com.pandora.android.apk /data/app
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
Doesn't the modified apk have to overwrite the original installed one? If pandora and widgetlocker are both in /data/app how would pushing them to /system/app help? I'm not trying to sound like a jerk I have never messed with any type of Linux stuff literally just started Android hacking this week. I'm getting it for the most part. I've come back from the Dark Side of Windows Mobile.

Nah you dont sound like a jerk, always fun to learn. I only got heavy into changing pngs one I got my x. I hade the D1 for awhile but never did my own themes.
Winrar... not sure that might be your problem, I switched to 7zip since thats what everyone recommended.
Also that string is for mounting the system part, not the data.
for data use
su
mount -o rw,remount -t ext3 /dev/block/userdata /data
then push your file
mount -o ro,remount -t ext3 /dev/block/userdata /data
odds are it wont remount it will say busy
so type
reboot
sometime you have to push over the original, sometimes you have to uninstall the original, sometimes you have to uninstall the original and push the file to system/app instead, and the worst one I ran into.... left the original in data/app and had to push the modified one to system/app..... yeah that one sucked.... i was scratching my head for days!

i usually resign the app , uninstall the original and reinstall the modified one using astro or somethin.
xda has a autosign program in here somewhere that can resign the app

Link?
Sent from my DROIDX using Tapatalk

Hmm that killed the apps too. Any other ideas? This is the last bit of customizing I'm trying to do then my phone will have an awesome red theme which I'm sure you will appreciate bad.
Sent from my DROIDX using XDA App

Could you send me the modified and original apk? Ill see if I can finger it out. I'll pm you my email.
Sent via your mom and tapatalk

sorry took so long to reply
http://forum.xda-developers.com/showthread.php?t=473580
basically i have the .bat file in same folder as tools
so before i push an app back to sdcard or w/e i run the program real quick
then astro will install it successfully<sp>
sometimes even using 7z the app just breaks when you mess with it and the only way it will run is if you push it to /system or resign it
just my experience on this
good luck

Ehh I use Terminal Emulator, I haven't graduated to SDK yet...

not to be rude, but of course pushing modified files like that will cause them to not install. You HAVE to resign the app even if you are just messing with the res pics.

No worries, like I said, I started Androiding on Monday. I signed the apk using the method a couple posts ago, but I can't copy the file to the phone. It says the device has either stop responding or is disconnected. I can throw a regular apk like Fancy Widget on no problem. I tried pushing it to the phone but it says the phone isn't mounted, even when plugged in and I can explore it through windows. What am I doing wrong?

hmm make sure you have the proper drivers for the phone for pushing files.
also the phone has to be in pc mode for adb make sure you have debugging checked in applications > development in the phone settings.
or just plug in the phone and switch to mass storage and drop the file in the phone that way.
think if you dont have the proper drivers none of those will work, check motorola website for the drivers or somewhere in xda im sure theres a link.
edit: http://www.motorola.com/consumers/v/index.jsp?vgnextoid=bda09ec8009a0210VgnVCM1000008806b00aRCRD

explodee you get my reply email? All the images look the same. Double check those zips and get back to me.

yeah i sent it right back fixed
edit - I just sent another email

Oh **** I just got it! I've been schooling myself in SDK for the last day and got ADB goin on it with the resigner from the other post. First I sign the app I want to install and then in adb just to the adb install command. But... I couldn't get the modified Pandora to install. Check it out.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Just got Pandora working too. I un-installed and renamed to pandora.apk and just pushed it to \system\app in terminal emulator.

Explodee said:
Just got Pandora working too. I un-installed and renamed to pandora.apk and just pushed it to \system\app in terminal emulator.
Click to expand...
Click to collapse
was the new one signed? I just pushed my themed handcent and themed laucher pro to system, still have yet to sign anything.
Come to think of it the pandora i had to push to system/app was only named pandora...

Pandora was not signed. I uninstalled the official pandora and renamed the com.pandora.android.apk to just pandora.apk, then pushed it to \system\app. So now all that is left is to theme the google search widget and I might be done for a while...

Related

Drawer Fix for Haykuro's 6.0r1 / **ADB**

Please delete this thread.
works a treat a-la;
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
link is down..
Can someone please re-upload or is there an updated link?
there isn't the full link in the startpost
full link
edit: works great, no reboot needed - thank you
Download link is ok all works fine for me, have the launcher back working correctly.
you can extract Launcher.apk from the Dude's or JF's build.
all you need to to is actually:
adb remount
adb shell rm /system/app/HTCLauncher.apk
adb push Launcher.apk /system/app
the os will find the new launcher aotumatically, so there's no need to install it.
billc.cn said:
you can extract Launcher.apk from the Dude's or JF's build.
all you need to to is actually:
adb remount
adb shell rm /system/app/HTCLauncher.apk
adb push Launcher.apk /system/app
the os will find the new launcher aotumatically, so there's no need to install it.
Click to expand...
Click to collapse
Doing this broke my clock widget...
I managed to get mine working (as my post shows) by using ADB via;
Putting Launcher.apk onto the root of the SD card (drag and drop)
adb devices
adb remount
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /sdcard
install Launcher.apk /system/app/Launcher.apk
reboot
so basically instead of downloading terminal emulator i just quickly did it through ADB and Boom!! it works!
Dantehman said:
I managed to get mine working (as my post shows) by using ADB via;
Putting Launcher.apk onto the root of the SD card (drag and drop)
adb devices
adb remount
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /sdcard
install Launcher.apk /system/app/Launcher.apk
reboot
so basically instead of downloading terminal emulator i just quickly did it through ADB and Boom!! it works!
Click to expand...
Click to collapse
Hey thanks Dantehman! Worked like a charm!
zombierockstar said:
Hey thanks Dantehman! Worked like a charm!
Click to expand...
Click to collapse
Its what I do
Noticed an interesting (and very welcomed) side effect to fixing this issue today...
In order to fix the tab orientation issue, i used the only other Launcher.apk file i had at the time, which happened to be from the Aero15 Theme designed for TheDudes cupcake build. Turns out, not only do i now have the slick Aero styled Launcher, but it gave me 5 desktops in Haykuro's new build as well!
Figured it was worth a mention
Download link is this : http://www.4shared.com/account/file/.../Launcher.html
With the ellipsis in it.
Here's the correct link:
http://www.4shared.com/account/file/100449173/70db245/Launcher.html
oxeneers said:
Download link is this : http://www.4shared.com/account/file/.../Launcher.html
With the ellipsis in it.
Here's the correct link:
http://www.4shared.com/account/file/100449173/70db245/Launcher.html
Click to expand...
Click to collapse
im assuming this (the second link) is for 5 screens desktop??
Dantehman said:
im assuming this (the second link) is for 5 screens desktop??
Click to expand...
Click to collapse
No, it's just a fixed link from the first post. It didn't parse correctly, I guess.
Anyways, here's another annoying bug (or feature?) that is prevalent in 6.0r1 and not there in JF1.5. Take a look at the difference between the two screens, left is JF1.5 and right is Haykuro's 6.0r1:
It seems as though all the "bold" fonts in the browser actually are blurry, and seem to be rendered twice, or something similar. ****.
Oh, and of course we all know about the broken-as-**** location API for the browser and weather widget (among other receivers)..
Interesting
On mine Location is working fine?? im starting to think 6.0h1 is especially different for everyone
Possibly. It worked the first time I tried it, but then after that it doesn't work anymore. I saw another thread where 2 people were claiming the same.
Do you notice that bold font issue? For example, look at twidroid, anything "bold" in there looks like crap.
oxeneers said:
Possibly. It worked the first time I tried it, but then after that it doesn't work anymore. I saw another thread where 2 people were claiming the same.
Do you notice that bold font issue? For example, look at twidroid, anything "bold" in there looks like crap.
Click to expand...
Click to collapse
i can see what you mean about the fuzzy/bluryness but it only looks bad when blown up on a PC screen a-la screenshots,, on the G1 itself i can hearly notice any problems
jgrose said:
Doing this broke my clock widget...
Click to expand...
Click to collapse
The two Launchers store widget information differently, so you'll have to remove your old widget and add them back.
Hmm, great post. But I actually just realized (opening my phone on the home screen for the first time for this build) that the tab GOES to the bottom...I actually think thats really neat. The bug is correct, the screen seems to get off-centered, but, I like the tab at the bottom. It seems more like common sense, thats how your looking at it when its closed (tab at the bottom) when its open, tab should be at the bottom (I think anyway).
So anyone know how to fix that off-center but keep the tab down there?
Thanks

[THEME] Red Dynamite - 2.1 only

I've been working in this for about a week and a half now and am about 95% done. I still need to skin some random things here and there and finish the boot animation I'm making. If enough people want this I can start putting up the files.
I AM NOT RESPONSIBLE FOR ANYTHING BAD HAPPENING TO YOUR PHONE. USE AT YOUR OWN RISK!!!
DOWNLOAD HERE
http://rapidshare.com/files/415564117/Dynamite.zip.html
Requirements:
Root of course
2.1 ONLY - Haven't tried Froyo
SDK with ADB
ADB Re-signer http://forum.xda-developers.com/showthread.php?t=473580
Terminal Emulator
So far the following things are skinned:
Music
Pandora
Battery Indicator
3G Status
BlurHome
Youtube
Power Widget
Fancy Widget
Facebook
Google Search
Widgetlocker
Settings
Random Notification Icons (Wifi, BT, Airplane Mode, Silent Mode, Voicemail etc)
The Notification bar is based off of teenfaces thread here:
http://forum.xda-developers.com/showthread.php?t=733966
Thanks to bad4u6669 for the music skin, settings, power, and skinned Swype
http://forum.xda-developers.com/showthread.php?t=746729&highlight=music
http://forum.xda-developers.com/showthread.php?t=746280&highlight=settings
http://forum.xda-developers.com/showthread.php?t=747505&highlight=settings
This is my first theme I'm trying to put together so take it easy. And if I'm forgetting anyone to give credit to let me know and I'll give credit where credit is due. Also I can't post the apk's for the commercial apps like Widgetlocker and Pandora so I can give you the res file to manually insert into the apk.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Directions
Unzip the contents of Dynamite.zip and put them on the root of your SD card (excluding fancywidget.apk and the Widgetlocker res folder)
Open Terminal Emulator and input the following commands exactly
su
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/Music.apk /system/app
cp /sdcard/Settings.apk /system/app
cp /sdcard/services.jar /system/framework
cp /sdcard/BlurHome.apk /system/app
cp /sdcard/framework-res.apk /system/framework
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
Your phone might reboot a couple times and/or take a while to boot. Don't freak out just let it do its thing. After that you should be DY-NO-MITE!!
For Widgetlocker and Fancy Widget it's a little more tricky
Replace the Widgetlocker res file with the one I uploaded
Put the Widgetlocker apk and fancywidget.apk in the tools folder inside android-sdk-windows folder
Re-sign them using the above mentioned method
Open a command prompt and navigate to your /android-sdk-windows/tools folder
and adb install them and that should be it
I don't see a download link, and also, what is auto signer for? You don't to sign an packages with Koush's recovery.
If I
m wrong about anything please let me know.
Files to come soon. I gotta sign up for Megaupload or something. The autosigner is for re installing themed Widgetlocker and fancy widget. The only way I could get them to install was to resign them and then adb install. Otherwise I would get the application could not be installed error.
Sent from my Droid X using psychic powers
This is amazin!!....too bad im on froyo lol
psh 2.1 sooooo yesterday!
that looks sweet!
I think posting pandora is ok, its a free app.....
Im throwing my 2.2 together, get ready to learn how to mess with .9.pngs when you hop on the wagon
Imma do a write up for it, ive found a few but they all were to vague...
can I "borrow" some images? I think i want more simplistic for the 2.2 version... still undecided
bad4u6669 said:
psh 2.1 sooooo yesterday!
that looks sweet!
I think posting pandora is ok, its a free app.....
Im throwing my 2.2 together, get ready to learn how to mess with .9.pngs when you hop on the wagon
Imma do a write up for it, ive found a few but they all were to vague...
can I "borrow" some images? I think i want more simplistic for the 2.2 version... still undecided
Click to expand...
Click to collapse
Yeah I'm gonna hop in that 2.2 bandwagon when there is a more stable version. I've seen a slew of problems arising from the previously released version. What images did you want?
Explodee said:
Yeah I'm gonna hop in that 2.2 bandwagon when there is a more stable version. I've seen a slew of problems arising from the previously released version. What images did you want?
Click to expand...
Click to collapse
im on the 2.2 deodexed version. no problems here. Its mainly user error...
Images... dunno yet, can poke around your insides till you put up a d/l
Files are up, ENJOY!
Aw man! We need this for 2.2! I would totally rock this bad boy.
!
Dat shz it clean!!!!!! good tihng i got 2.1!
can u post up some more specific instructins on hos to apply the widget locker?
and is the widget locker the one dat adds the extra settings ot the lock screen?
You have had to buy Widgetlocker in the first place. I am not posting the Widgetlocker.apk file. Just the res file that contains the modified png files. Add my modified res folder to com.teslacoilsw.widgetlocker.apk and put that into \android-sdk-windows\tools folder. Then resign the apk file. And then adb install. The End.
ok 2 things.
1. can i use some of your pandora for UPgrade 2.2, I say some because im changing the app widget png to be more gloss black.
2.Also in pandora you didnt change the hdpi-land app widget png
3. got a new swype, wayyyyyy better than the other one, should work on 2.1 still
Trying to get music done then will do a new thread for 2.2. When are you coming to the dark side?
I'm probably going to 2.2 this week. Just not sure how to go about it. When I tried to do it last time it gave me some error about blur so I gave up. So for the deodexed version I have to have the other 2.2 installed first right? So that means I have to SBF-root-2.2 upgrade-deodex 2.2 upgrade?
Sent from my Droid X using psychic powers
Explodee said:
I'm probably going to 2.2 this week. Just not sure how to go about it. When I tried to do it last time it gave me some error about blur so I gave up. So for the deodexed version I have to have the other 2.2 installed first right? So that means I have to SBF-root-2.2 upgrade-deodex 2.2 upgrade?
Sent from my Droid X using psychic powers
Click to expand...
Click to collapse
thats how I did it, im sure there are many more ways but i went for the full proof method...

[THEME] Froyo Dynamite

All right kiddies here is the ported version of my Red Dynamite. This is about 99% done and is fully functional. Updated with more red that was missing from original Dynamite.
12/24/10
340 Updated version HERE
-Of course you still need to be deodexed and rooted
-Boot into Koush's recovery and apply Dynamite 340.zip
EDIT:
Put stock sliders back in until I fix the .9png's
Fixed the notification text color to white in the framework xml files
Changed BlurHome Menu buttons to red with white highlights when pressed
I AM NOT RESPONSIBLE FOR ANYTHING BAD HAPPENING TO YOUR PHONE. USE AT YOUR OWN RISK!!!
Update.zip HERE
Download
Requirements
Root (duh!)
Deodexed 2.2
ADB/Terminal Emulator
So far the following things are skinned:
Music
Pandora
Battery Indicator
3G Status
BlurHome
Youtube
Power Widget
Fancy Widget
Facebook
Google Search
Widgetlocker
Lockscreen
Settings
Random Notification Icons (Wifi, BT, Airplane Mode, Silent Mode, Voicemail etc)
The Notification bar is based off of teenfaces thread here:
http://forum.xda-developers.com/showthread.php?t=733966
Thanks to bad4u6669 for the settings, power, and skinned Swype
Swype
Power and Settings
I'm gradually getting the hang of Androiding so take it easy. And if I'm forgetting anyone to give credit to let me know and I'll give credit where credit is due. Also I can't post the apk's for the commercial apps like Widgetlocker and Pandora so I can give you the res file to manually insert into the apk.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Directions
Unzip the contents of Froyo Dynamite.zip and put them on the root of your SD card
Open ADB or Terminal Emulator and input the following commands exactly
su
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/Music.apk /system/app
cp /sdcard/pandora.apk /system/app
cp /sdcard/Vvm.apk /system/app
cp /sdcard/com.facebook.katana.apk /system/app
cp /sdcard/GoogleQuickSearchBox.apk /system/app
cp /sdcard/BlurHome.apk /system/app
cp /sdcard/Swype.apk /system/app
cp /sdcard/Settings.apk /system/app
cp /sdcard/YouTube.apk /system/app
cp /sdcard/services.jar /system/framework
cp /sdcard/framework-res.apk /system/framework
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
The Fancywidget.apk is a little more tricky. Check My original Red Dynamite post for instructions.
Your phone might reboot a couple times and/or take a while to boot. Don't freak out just let it do its thing. After that you should be DY-NO-MITE!!
Your using my new swype with the red tracer right?
You know you want me to make an update.zip for this I can hook you up tomorrow or something. or take mine and mod it. I would recommend using 7zip open the zip in and archive then open the apks in an archive and replace the drawable folders with yours. Thats the only way i was able to get it work.
Looks good man. I'm working on my own personal theme (not releasing it) and this gives me a few ideas.
Keep up the good work.
Updated with some stuff that was messed up. If anyone wants to make an update.zip feel free and I will put it in the OP.
that live wallpaper look amazing. can you post the apk for that
Explodee said:
Updated with some stuff that was messed up. If anyone wants to make an update.zip feel free and I will put it in the OP.
Click to expand...
Click to collapse
Here is a link to a blank update.zip. Just download it and drop your updated files in the correct folders and you should be good to go. As mentioned I'd use 7-zip to open it and then just drag and drop your modified *.apks
http://alldroid.org/default.aspx?g=posts&t=855
Update.zip added!!
holy crap your phone is busy looking.
Umm...can we get better links than rapidshare? It keeps falsely telling me that i've used too many free downloads from my IP...and I even tried over 3g...
man I wish this would come to fission.
Explodee said:
Directions
Unzip the contents of Froyo Dynamite.zip and put them on the root of your SD card
Open ADB or Terminal Emulator and input the following commands exactly
su
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/Music.apk /system/app
cp /sdcard/pandora.apk /system/app
cp /sdcard/Vvm.apk /system/app
cp /sdcard/com.facebook.katana.apk /system/app
cp /sdcard/GoogleQuickSearchBox.apk /system/app
cp /sdcard/BlurHome.apk /system/app
cp /sdcard/Swype.apk /system/app
cp /sdcard/Settings.apk /system/app
cp /sdcard/YouTube.apk /system/app
cp /sdcard/services.jar /system/framework
cp /sdcard/framework-res.apk /system/framework
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
The Fancywidget.apk is a little more tricky. Check My original Red Dynamite post for instructions.
Your phone might reboot a couple times and/or take a while to boot. Don't freak out just let it do its thing. After that you should be DY-NO-MITE!!
Click to expand...
Click to collapse
+++++++++++++++++++++
How do you un-do the prompts that you put in? I cant seem to get the colors to return back to normal (not red). I'm assuming you have to type in more code to get it that way, what do I do?
Does anyone know if this will work with the new .340 OTA?
*Coming soon to Fission
All I did was replace .png files so if you are unsure about whether or not it will work, you can add my png's to your apk's or framework and do it manually.
Explodee said:
*Coming soon to Fission
All I did was replace .png files so if you are unsure about whether or not it will work, you can add my png's to your apk's or framework and do it manually.
Click to expand...
Click to collapse
Hey do you know if this theme will work with the .340 OTA?
Working on that now actually. I don't know if I like Fission
Explodee said:
Working on that now actually. I don't know if I like Fission
Click to expand...
Click to collapse
Thanks! Can't wait!!!!
Any new on when this will be available for the new OTA?
koentopp5 said:
+++++++++++++++++++++
How do you un-do the prompts that you put in? I cant seem to get the colors to return back to normal (not red). I'm assuming you have to type in more code to get it that way, what do I do?
Click to expand...
Click to collapse
Not really sure what you mean. If you want to get rid of this theme you need to replace these Dynamite files with your original files. The code is only copying over your stock stuff, not actually making the changes.
Updated for the 340 OTA! Check the OP. Happy Festivus everyone!!!

Youtube gigngerbread edition on X10

http://forum.xda-developers.com/showthread.php?t=817528
It works fine. Rename it from signed_YouTube.apk to YouTube.apk and replace with one in /system/app. Make sure that permissions are set when overwriting.
Works like a charm and looks quite good, thanks for this!
qwer23
Sent from my rooted X10i using XDA App
yep great mod
widget works great also.
Is it actually working for you ??
I am getting network error 400, both on GSM/3G and on WiFi...
There's some sort of Log-In bug, basically don't sign into your youtube account while using this mod and you should be fine. Hopefully there will be a fix for that soon.
Thanks, looks much better...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
...and had no trouble signing in. Did those that have uninstall the old app first?
Yeah looks great!
Thanks 4 share
Sent from my X10i using XDA App
XperiaX10iUser said:
Thanks, looks much better...
...and had no trouble signing in. Did those that have uninstall the old app first?
Click to expand...
Click to collapse
XperiaX10iUser: how'd you go about installing it? I'm still a noob when it comes to ADB and such (and yes, I did read your guide ), and want to make sure I'm not going to mess anything up installing this.
also, google geniewidget.apk (news and weather) also works. this one you can install it thru any file manager.
saltorio said:
XperiaX10iUser: how'd you go about installing it? I'm still a noob when it comes to ADB and such (and yes, I did read your guide ), and want to make sure I'm not going to mess anything up installing this.
Click to expand...
Click to collapse
Ok its easy:
Get to adb (shell):
$su
#mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
#rm /system/app/YouTube.apk
Then go to settings -> applications -> find com.android.youtube.apk and uninstall it
Reboot your phone
Then get to adb (shell):
$su
#mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
Install /sdcard/(where the modded .apk is)/signed_youtube.apk /system/app
Reboot phone
I did the permissions with root explorer (rw-r--r--)
How to do that with adb... idk sry
Sent from my X10i using XDA App
saltorio said:
XperiaX10iUser: how'd you go about installing it?
Click to expand...
Click to collapse
This is how I did it, in a command window on the laptop...
cd C:\android-sdk-windows\tools
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb shell rm system/app/YouTube.apk
adb uninstall com.google.android.youtube
adb push Youtube.apk /sdcard/Youtube.apk
adb shell dd if=/sdcard/Youtube.apk of=/system/app/Youtube.apk
...but if your Tools folder is elsewhere just change the first line.
PoTi_96 said:
Ok its easy:
I did the permissions with root explorer (rw-r--r--)
Click to expand...
Click to collapse
That should be:
# busybox chmod 644 <file>
XperiaX10iUser said:
This is how I did it, in a command window on the laptop...
cd C:\android-sdk-windows\tools
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb shell rm system/app/YouTube.apk
adb uninstall com.google.android.youtube
adb push Youtube.apk /sdcard/Youtube.apk
adb shell dd if=/sdcard/Youtube.apk of=/system/app/Youtube.apk
...but if your Tools folder is elsewhere just change the first line.
Click to expand...
Click to collapse
Wonderful. Worked beautifully, and I was able to login to my profile OK as well.
Thanks!
it didnt worked for me, failed to install.
fogozito said:
it didnt worked for me, failed to install.
Click to expand...
Click to collapse
Make sure to put the .apk in C:\android-sdk-windows\tools, and that it's named "YouTube.apk"
saltorio said:
Make sure to put the .apk in C:\android-sdk-windows\tools, and that it's named "YouTube.apk"
Click to expand...
Click to collapse
Thanks for that I didn't think I need them in both places.
Strange, after it worked perfectly for several hours it now force closes on start every time. Any suggestions?
Btw. I installed with root explorer. I just renamed the apk to YouTube.apk, then did overwrite the old one and set the same permissions that were set in the original youtube app. I was able to log in, too.
Sent from my rooted X10i using XDA App
Edit: reinstall did solve the problem for now. Let's see if it'll last
I also installed it successfully and it was running fine for a bit then suddenly now it is force closing a lot. I had to reboot the phone because it was stuck in a FC loop when I used the search function on the widget.
Wiping the data and resigning in seems to fix it. I guess there could be something wrong with account handling.
qwer23 said:
Strange, after it worked perfectly for several hours it now force closes on start every time. Any suggestions?
Btw. I installed with root explorer. I just renamed the apk to YouTube.apk, then did overwrite the old one and set the same permissions that were set in the original youtube app. I was able to log in, too.
Sent from my rooted X10i using XDA App
Edit: reinstall did solve the problem for now. Let's see if it'll last
Click to expand...
Click to collapse
sierratango88 said:
I also installed it successfully and it was running fine for a bit then suddenly now it is force closing a lot. I had to reboot the phone because it was stuck in a FC loop when I used the search function on the widget.
Wiping the data and resigning in seems to fix it. I guess there could be something wrong with account handling.
Click to expand...
Click to collapse
Did you guys sign in to your YouTube profile in the app? I know there is a problem being reported in the original thread related to signing in.
I did sign in, and it was worked fine initially, but now I'm seeing the same issue as you guys are reporting.

[HACK]LCD Density Changer That Doesn't Mess With Market

Hello All. Its me again. This time I bring you a long awaited solution. I'm sure you can remember changing your LCD density and then going to install an app which has always worked only to find that the market says its incompatible with your device. Well wait no more, This little hack will make you able to set any density and not be limited in the market.
EDIT: NOW A FLASHABLE ZIP
Process:
Download the zip and flash in recovery. (MOUNT SYSTEM FIRST)
Code:
/system/bin/density (YOUR DESIRED DENSITY)
reboot
Thats it. With every boot, the init.d script spawns the marketdensity script and it waits 45 seconds for boot to complete... Then it swaps the build.props so the market sees the correct one.
Have fun changing your density and not being limited.
Wanna help pay my bills???? Consider Donating
http://goo.gl/qQVRs
atc3030
Edited OP with new zip. Now flashable.
It didn't take when I flashed it. I'm using twrp recovery. does this support edify?
I could just put those files in there place with root explorer, right? What permissions do they need?
EDIT: I just realized I forgot to mount system. Will try again
Yes you can do root explorer. Idk the perms they need through that but if you use chmod in terminal, the perms are 775
Sent from my DROID2 GLOBAL using Tapatalk
It worked this time mounting system like I should have, lol.
But where do I enter the density? In place of the $1?
No. You run the script in terminal
Sent from my DROID2 GLOBAL using Tapatalk
I'm surprised more people aren't taking an interest in this. I understood this was a problem
Sent from my DROID2 GLOBAL using Tapatalk
atc3030 said:
I'm surprised more people aren't taking an interest in this. I understood this was a problem
Sent from my DROID2 GLOBAL using Tapatalk
Click to expand...
Click to collapse
I'm interested This has been a thorn in my side for a while now...
Gonna try this out
m.
No Joy.
Out of the box, the density script wasn't running, failing on the mount command.
I made a few changes to get it to run:
Code:
#!/system/bin/sh
echo "Setting Density to $1"
# mount only runs as root, so execute 'su' before 'mount'
su
# mount was failing without specifying the device
mount -o remount,rw /dev/block/mmcblk0p24 /system
sed "s/^ro\.sf\.lcd_density=.*/ro.sf.lcd_density=$1/" /system/build.prop > /system/.build.prop.hack
# not sure if this next mount is needed, but it makes sense to me to remount as ro once we've made the changes
mount -o remount,ro /dev/block/mmcblk0p24 /system
exit
After those changes, I was finally able to run density, and it does everything its supposed to, ie it creates /system/.build.prop.hack and the density is set to what I want there.
However, when I reboot, the changes are not applied. I'm guessing that the 98density init.d script is not being called.
I'm running a Telus SGH-T989 with Juggernaut 4.1 ROM.
Any thoughts on how to get this last piece to fall into place?
Clever idea btw, we really need something like this
m.
It works for me. I will work on it when I get home
Sent from my DROID2 GLOBAL using Tapatalk
I wanna try this out when I get home. awesome awesome awesome
Question: the 98density file in init.d is it suppose to be 755? cause all the other files in init.d are like so
I'm getting an sed:command not found. To fix it I had to write:
Busybox sed etc ....
this also needs needs SU
--EDIT-- just noticed a user above me had similar tweaks I wrote below (now striked out).
BTW for the mounting.. I think it will have to depend on your device..I got mine to mount by
mount -o rw,remount /dev/block/mmcblk0p24 /system
which I believe is different per device. I'll try the script again by changing that part of the code
After all the changes and no error. after reboot nothing changed.
very excited though
I am going to work on the scripts when I get home. They are on that computer.
Sent from my DROID2 GLOBAL using Tapatalk
emmdub said:
No Joy.
Out of the box, the density script wasn't running, failing on the mount command.
I made a few changes to get it to run:
Code:
#!/system/bin/sh
echo "Setting Density to $1"
# mount only runs as root, so execute 'su' before 'mount'
su
# mount was failing without specifying the device
mount -o remount,rw /dev/block/mmcblk0p24 /system
sed "s/^ro\.sf\.lcd_density=.*/ro.sf.lcd_density=$1/" /system/build.prop > /system/.build.prop.hack
# not sure if this next mount is needed, but it makes sense to me to remount as ro once we've made the changes
mount -o remount,ro /dev/block/mmcblk0p24 /system
exit
After those changes, I was finally able to run density, and it does everything its supposed to, ie it creates /system/.build.prop.hack and the density is set to what I want there.
However, when I reboot, the changes are not applied. I'm guessing that the 98density init.d script is not being called.
I'm running a Telus SGH-T989 with Juggernaut 4.1 ROM.
Any thoughts on how to get this last piece to fall into place?
Clever idea btw, we really need something like this
m.
Click to expand...
Click to collapse
Not all devices use the same memory block as your devices. therefore, the way you are mounting system will not work. I am working on fixing this now
Great idea but the hacked market works great.
Sent from my Incredible 2 using Tapatalk
Yeah, my setting wasn't applied after I ran it either but im not sure if it's the same problem as emmdub. I do see that it creates the .buildprop hack file. But i'm not sure why the setting isn't sticking.
I noticed that even with the hacked market sometimes I have to clear data/ cache because sometimes it kind of reverts itself.
Sent from my Incredible 2 using Tapatalk
I would like this to work, but I don't think this solution is permanent for a few reasons:
1. The market does not read the build.prop file directly. It uses the prop values that are stored in memory, and retrieved by the DisplayMetrics class. That is why after changing your density you have to reboot to get the market to recognize your new density.
2. The market does not use your device density to check compatibility. The check is server side. The market sends your density to their servers along with other info about your device when you accept their terms and services (and sometimes periodically, but not every time you use it). It registers your device info with your deviceID, and determines compatibility that way. Its how the website market knows which devices you have and if they are compatible.
Note that I am not an expert, but I have written an app to change lcd density, as well as decompiled the market and studied it a bit, so i am pretty knowledgeable in the subject.
disconnecktie said:
I noticed that even with the hacked market sometimes I have to clear data/ cache because sometimes it kind of reverts itself.
Sent from my Incredible 2 using Tapatalk
Click to expand...
Click to collapse
got a link for the hacked market?
edit: i got it, thanks
http://forum.xda-developers.com/showpost.php?p=20623581&postcount=10
http://forum.xda-developers.com/showthread.php?t=1434037
Here ya go. Just copy the original vending apk from data app to somewhere safe take the new market put in the data/app folder and rename it to vending and change the permissions to
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Did not think of that. I'm going too look into the memory thing right now.
Sent from my DROID2 GLOBAL using Tapatalk

Categories

Resources