can we get the htc news widget on the phone? - Droid Incredible General

i pushed it on with adb, it shows up in root explorer now, but not in the widgets list. anyway to make this work?

can you send me the file? i would like to try some attempts...

i jsut copied the file to my sdcard and installed it via root explorer...worked like a charm...is the file you have themed?
EDIT: My bad for some reason (it must be late) i thought i read Google News widget...I do want to get the HTC news widget on my phone also...

ejlax said:
can you send me the file? i would like to try some attempts...
Click to expand...
Click to collapse
sure, PM me your email and i'll email it to you
ejlax said:
i jsut copied the file to my sdcard and installed it via root explorer...worked like a charm...is the file you have themed?
Click to expand...
Click to collapse
you installed the HTC news widget right on the phone? the one i tried wouldn't install.

i got the NewsReader.apk installed and opened...now trying to figure out how to get the widget...

anywho, i successfully modified and then pushed the modified News and Weather (GenieWidget) onto the phone. i themed it to match my FeedR widget.
tried to post a screen cap but it's not letting me. something about being a new member.

i have the widget.apk, but not the NewsReader.apk. maybe that's why it's not working. we need to share files. lol

here is the link for the newsreader.apk
http://www.mediafire.com/?xuzn5r0yzze

the app itself does nothing but force close for me. are you getting the same result?
do we maybe also need the odex file?

i was just going to say that....i am going to check...but the rom that i have is deodexed...do you have odex files?

ejlax said:
i was just going to say that....i am going to check...but the rom that i have is deodexed...do you have odex files?
Click to expand...
Click to collapse
i do not have the odex files. i'm giving up for now. lol hopefully somebody can figure it out. i'm good with my skinned geniewidget for now.

You say your rom is deodexed... you're running a fully deodexed rom on DI? Did you build this yourself, or...?
I have some ideas for the news widget, but I'd like to see newsreader working first.
Thanks!

I posted progress..
I posted progress on the same thread in the apps section. I rooted and pulled de-odexed files from an evo build and pushed them to the system/app/ directory, i then cleared the data in HTC Sense app and the widget and icon showed up. The problem is that they force close. You need 3 files
RSS.apk
NewsReader.apk
com.htc.NewsReaderWidget.apk
I don't think it will make any difference to use odex'd files. Usually it is better to have de-odex'd files to install. The files must be on /system/app/ directory in order to even show up and launch. I hope that a dev is able to take a better look at the androidmanifest.xml in the app or use logcat to see what the hell is going on.
If you want to write to the /system/app/ directory,
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mv /sdcard/RSS.apk /system/app/RSS.apk
(etc...)
then applications-->manage-->HTC Sense -->clear data...
But again, FC's will occur until someone is able to look at the manifest and alter it. I looked at the MinSDK for this app and it is the same as the DInc, otherwise I would've changed that part with a Hex editor myself.
Hope someone is able to do this, we would all be one step closer to a smaller Evo, lol. (I really don't like holding a "kindle" to my ear anyways, lol!)
Red.

what errors do you get that cause the force closures? (logcat from adb)
Updating the manifest files isn't hard, but requires resigning... did you need to resign the evo files after deodexing?

vilord said:
what errors do you get that cause the force closures? (logcat from adb)
Updating the manifest files isn't hard, but requires resigning... did you need to resign the evo files after deodexing?
Click to expand...
Click to collapse
I didn't need to resign because the .apk files I pulled were from a build that was de-odex'd in the "Evo Android Development" Section. Root Explorer recognizes the files right away, but because they need to be system files, they can't be installed like other apps. I don't have a logcat because I really don't dev too much, but would be thrilled if others tried this.
Red

Related

Prevent erasure of application after wiping?

I recently started using the new Mobile Defense app (mobiledefense.com) and I'm trying to make it survive a wipe. I moved it to /system/app and the APK stays after a wipe, but it is not recognized as an installed program. Can anybody give me some direction as to how to fix this?
Thanks,
Chris
Anyone? Maybe better in the dev. forum?
grokdesigns said:
Anyone? Maybe better in the dev. forum?
Click to expand...
Click to collapse
can you not cook it into the ROM, i think if you open up the flash and put the APK file into the framework-res.apk in the framework/apps folder
then sign the update.zip and flash it
and with any luck the app should now be integrated into the OS.
EDIT: Ignore this post and read my second one below Daveid's this explains what I meant better than this post does.
I think you were on the right path trying to place the file into the /system/app directory, however.. I believe you want to do it a little differently. I think the command you want to use is:
adb install xxx.apk /system/app
I think that installs it into the specified directory, instead of just copying it there. I could be wrong, but I think that may do it. If not, it may need to be signed with the test-keys in order to be installed in /system.
I am not sure what you tried to copy it (I am assuming you did "adb push xxx.apk /system/app"), but I would try my method out. Don't listen to warrmr, judging by what they wrote, I doubt they really know what they are talking about. The framework-res.apk file is an application in and of itself, that is mainly responsible for the layout and design of the operating system. and there is no framework/apps folder, nor do you put any apks into the framework-res-apk file. So his entire post is pretty bad advice (no offense intended, just if you don't know what you are talking about, maybe you should tell people that to start off with).
EDIT - I guess you can't specify the target using adb install. Let me try to figure this one out real quick.
In fact, I believe I will attempt to install an app using the adb install command listed above, and post back in a few moments to see if it works out ok.
Alright, so I pushed an APK into the /system/app directory, and it worked just fine for me. Showing in the list and all, one thought. Is the program you are trying to do this with a copy-protected program? If so, you may need to be a little underhanded in your actions. Let me try moving one real quick from /data/app and /data/app-private over to /system/app and see what happens, though I doubt it will work.
Nah, doesn't work like that, if this is indeed a copy-protected app, I don't think there is much you can do about it. Sorry.
I am able to copy to /system/app and run it with no problems. The problem is after wiping, the APK is still in the directory, but doesn't show up in my applications.
daveid said:
I think you were on the right path trying to place the file into the /system/app directory, however.. I believe you want to do it a little differently. I think the command you want to use is:
adb install xxx.apk /system/app
I think that installs it into the specified directory, instead of just copying it there. I could be wrong, but I think that may do it. If not, it may need to be signed with the test-keys in order to be installed in /system.
I am not sure what you tried to copy it (I am assuming you did "adb push xxx.apk /system/app"), but I would try my method out. Don't listen to warrmr, judging by what they wrote, I doubt they really know what they are talking about. The framework-res.apk file is an application in and of itself, that is mainly responsible for the layout and design of the operating system. and there is no framework/apps folder, nor do you put any apks into the framework-res-apk file. So his entire post is pretty bad advice (no offense intended, just if you don't know what you are talking about, maybe you should tell people that to start off with).
EDIT - I guess you can't specify the target using adb install. Let me try to figure this one out real quick.
In fact, I believe I will attempt to install an app using the adb install command listed above, and post back in a few moments to see if it works out ok.
Alright, so I pushed an APK into the /system/app directory, and it worked just fine for me. Showing in the list and all, one thought. Is the program you are trying to do this with a copy-protected program? If so, you may need to be a little underhanded in your actions. Let me try moving one real quick from /data/app and /data/app-private over to /system/app and see what happens, though I doubt it will work.
Nah, doesn't work like that, if this is indeed a copy-protected app, I don't think there is much you can do about it. Sorry.
Click to expand...
Click to collapse
It was a suggestion, and as nobody had replied to the thread i thought i would give it a bash with my limited knowlage.
Mabe i should explain what i meant a bit better than i did in my last post and then you can tell me of im talking utter balls so to speak.
Ignore what i said about the framework-res.apk I was being slightly stupid. I was getting confused with where the App folder in the flash.
If you take the update.zip and look in system/app you will see lots of the "core" APK files along with any other ones that the "chef" has decided to cook into it.
If you were to take your APK file and inject it into the update.zip and then sign it, put the update.zip on your phone and then flash that zip file you will have the app pre-installed thus if you do a factory wipe then it will still be there.
It was badly explained and there was no real need to just brush my post off and say it was a useless waste of time. Isnt the ethos of this forum for learning and development, If I was talking utter balls then fine. I also should have bothered to check the content of an update.zip file rather than just relying that i saw the folder somewhere.
warrmr said:
It was a suggestion, and as nobody had replied to the thread i thought i would give it a bash with my limited knowlage.
Mabe i should explain what i meant a bit better than i did in my last post and then you can tell me of im talking utter balls so to speak.
Ignore what i said about the framework-res.apk I was being slightly stupid. I was getting confused with where the App folder in the flash.
If you take the update.zip and look in system/app you will see lots of the "core" APK files along with any other ones that the "chef" has decided to cook into it.
If you were to take your APK file and inject it into the update.zip and then sign it, put the update.zip on your phone and then flash that zip file you will have the app pre-installed thus if you do a factory wipe then it will still be there.
It was badly explained and there was no real need to just brush my post off and say it was a useless waste of time. Isnt the ethos of this forum for learning and development, If I was talking utter balls then fine. I also should have bothered to check the content of an update.zip file rather than just relying that i saw the folder somewhere.
Click to expand...
Click to collapse
I personally understood what you meant the first time and agree. For example, having SuperUser permissions, Spare Parts, and Term emulator "cooked" into JesusFreke's build. Should be able to simply decompile an update.zip, plug in those programs, and resign.

Is it possible to move/install any .apk to /system/app

sorry for the double post
Curious..........when we install .apks do they alreadly know where to install its self. some apks i can completely move to the /system/app/ and others go straight to /data/app where most apks go and cannot be moved without FCing
IS there a way to force all data that i want to system/app/
just wanted to know if this is possible...would be sweet
TIA
As far as I know if you install them manually you can install them wherever you want. System or data.
While rom building I've put non-standard apps into the system/app folder with no problem.
If you put them in the system/app folder you might need to make sure the permissions are set right.
bp328i said:
If you put them in the system/app folder you might need to make sure the permissions are set right.
Click to expand...
Click to collapse
Well here is my situation.........
i want to use the HTC_IME_lo.apk mod found here http://forum.xda-developers.com/showthread.php?t=624416
then I would like to Remove the stock HTC_IME.apk im sure everyone does this...
then i cook
bake and
flash but it doesnt install
how do i edit the permissions or maybe there is another solution ???????
TIA fellow chefs
DS36 said:
Well here is my situation.........
i want to use the HTC_IME_lo.apk mod found here http://forum.xda-developers.com/showthread.php?t=624416
then I would like to Remove the stock HTC_IME.apk im sure everyone does this...
then i cook
bake and
flash but it doesnt install
how do i edit the permissions or maybe there is another solution ???????
TIA fellow chefs
Click to expand...
Click to collapse
I'm probably out of my league here, but I would guess that you should be able to add in the new keyboard (to the SYSTEM folder), select the new keyboard as your default keyboard (using an SMS app or something), then once it's selected you're good to go. You may be able to even delete the old one at that point without any errors?
However, you mentioned cooking and baking so this is what's over my head. Sorry if this doesn't help you.
Also, like that other dude said... "other" apps like the ones installed from the Market usually go in DATA. I noticed that when some ROMs have Maps installed in SYSTEM and you go to update it, it will install the newer version in DATA. I remember seeing in the logcat during boot that the phone detects both versions and just ignores the older version in the SYSTEM folder.
DS36 said:
Well here is my situation.........
i want to use the HTC_IME_lo.apk mod found here http://forum.xda-developers.com/showthread.php?t=624416
then I would like to Remove the stock HTC_IME.apk im sure everyone does this...
then i cook
bake and
flash but it doesnt install
how do i edit the permissions or maybe there is another solution ???????
TIA fellow chefs
Click to expand...
Click to collapse
I have used that exact keyboard on ROMs in the past. I did a straight install from the SD card using a file explorer, Astro to be exact.
Maybe I'm missing what you are trying to accomplish, but that's how I installed it. I'm not up on the cooking and baking, but maybe it's different if you are trying to add it to the ROM prior to flashing?
To remove the standard HTC_IME.apk, I would install the new one first then go into adb shell and remove it that route.
The only way I know how to change permissions is by using the Root Explorer app. If you have that you mount r/w and navigate to the apk you wanna change. Then you long press it and go to permissions. It looks like all the ones in /system/app are "User: Read, Write; Group: Read; Others: Read". Hope this helped!
zwade01 said:
The only way I know how to change permissions is by using the Root Explorer app. If you have that you mount r/w and navigate to the apk you wanna change. Then you long press it and go to permissions. It looks like all the ones in /system/app are "User: Read, Write; Group: Read; Others: Read". Hope this helped!
Click to expand...
Click to collapse
Great info guys but actually im trying to build a Rom from scratch in the Rom Kitchen.......
when i flash the Rom to my Phone i want the keyboard i want and not the stock one built in at all....i actually remove it while in the kitchen....
so basically if you were to flash this rom to you phone the stock is gone and the custom will be there.....
P.S. I already know about removing the htc ime_mod via ADB after i flash but i want it gone before
TIA everyone great info
ANYBODY ??????

[SYSTEM_DUMP] True Stock up to JH7

The last time I looked, the only dump for the Captivate on xda was a JF6 version, posted a few weeks ago, and the OP had taken out a few AT&T apps prior to doing it, making it not a true stock. This morning I decided to rip out the content out of the factoryrfs.rfs files from each of the three firmwares we have. I am planning to poke around in these a bit and try my hand at some deodexing, but I have also uploaded them for anyone else to play with them, or to restore any files they might have inadvertently deleted:
Here are the links:
JF6
JH2
JH3
JH7
rajendra82 said:
The last time I looked, the only dump for the Captivate on xda was a JF6 version, posted a few weeks ago, and the OP had taken out a few AT&T apps prior to doing it, making it not a true stock. This morning I decided to rip out the content out of the factoryrfs.rfs files from each of the three firmwares we have. I am planning to poke around in these a bit and try my hand at some deodexing, but I have also uploaded them for anyone else to play with them, or to restore any files they might have inadvertantly deleted:
Here are the links:
JF6
JH2
JH3
Click to expand...
Click to collapse
What do JF and JH stand for?
freedonkey said:
What do JF and JH stand for?
Click to expand...
Click to collapse
They relate to the month in which they were built. F means june, h is august. Both of the jh roms are test roms and unfinished, but functional and snappier than the stock jf6 rom.
Sent from my Samsung SGH-i987
Thanks for this.
Aye... Thanx for the system dumps.
Anyone seen these for the i9000?
alphadog00 said:
Anyone seen these for the i9000?
Click to expand...
Click to collapse
Easy to get the files out yourself. Extract the factoryrfs.rfs file out of the firmware tar file, boot into linux and do:
sudo mount -o loop factoryrfs.rfs <any_directory_of_your_choice>
Then copy the files from the mounted location to another, and you have the raw system dump.
Pardon my ignorance but what do these dumps do/provide? How are they different from the firmware from Samsung Firmware?
glio1337 said:
Pardon my ignorance but what do these dumps do/provide? How are they different from the firmware from Samsung Firmware?
Click to expand...
Click to collapse
The firmware from Samsung Firmware contains the applications and default configuration settings packed into a factoryrfs.rfs (which itself is then inside a .tar file). That format is suitable for Odin to flash onto the phone, but you can't access the individual files inside the .rfs. What I did was to unpack the .rfs file, so that the individual files inside are available for whatever you want to do with them. These are not suitable for flashing on the phone as a whole, but someone could take something, modify it and push it to their phone, or make a custom ROM out of it. A simple example is the circle battery indicator mod, where someone modified the framework-res.apk to show percentage, and then made a custom ROM update.zip with it. Without access to the original file, this would not have been possible. Everyone has these files on the phone in one version or another (unless they manually edit or delete them). I just wanted all versions of the files ever released or leaked.
I dont know if this is the place to ask but how we can extract particular app to be able to install it as .apk
here is what i need
http://forum.xda-developers.com/showthread.php?t=776739
zagorka said:
I dont know if this is the place to ask but how we can extract particular app to be able to install it as .apk
here is what i need
http://forum.xda-developers.com/showthread.php?t=776739
Click to expand...
Click to collapse
All the apks are inside the zip files, stored the same way they would normally reside on your phone. I am pretty sure the stock Clock widget is a touchwiz widget, and will not work on your wife's Aria. Hell it won't even work on our own phone if you switch to a different launcher.
rajendra82 said:
All the apks are inside the zip files, stored the same way they would normally reside on your phone. I am pretty sure the stock Clock widget is a touchwiz widget, and will not work on your wife's Aria. Hell it won't even work on our own phone if you switch to a different launcher.
Click to expand...
Click to collapse
I am talking about ClockPackage not SamsungWidget_CalendarClock or SamsungWidget_StockClock. It's the one in applications not the widgets.
zagorka said:
I am talking about ClockPackage not SamsungWidget_CalendarClock or SamsungWidget_StockClock. It's the one in applications not the widgets.
Click to expand...
Click to collapse
Clockpackage is in the zip files. Here is the JH3 version for you. Not sure if it'll install. When I try to push to the Android 2.1 Emulator, I get:
adb install ClockPackage.apk
1404 KB/s (0 bytes in 2921292.002s)
pkg: /data/local/tmp/ClockPackage.apk
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]
Which tells me that the package is probably dependant on TouchWiz 3.0 or some other library already installed on the phone.
rajendra82 said:
Clockpackage is in the zip files. Here is the JH3 version for you. Not sure if it'll install. When I try to push to the Android 2.1 Emulator, I get:
adb install ClockPackage.apk
1404 KB/s (0 bytes in 2921292.002s)
pkg: /data/local/tmp/ClockPackage.apk
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]
Which tells me that the package is probably dependant on TouchWiz 3.0 or some other library already installed on the phone.
Click to expand...
Click to collapse
Yes, I was able to extract the .apk and .odex files but couldnt install them.
Probably you are right it is too much trouble. I'll look for some alternative.
Thank you
I think he zipaligned the system apk's too
designgears said:
I think he zipaligned the system apk's too
Click to expand...
Click to collapse
I am very new to android, so I am not sure of the implications of this. After further investigation, there is a newer version of the bat files (Auto_Deodexer_2.3), but that version does not do any zipaligning. I added my own bat file to do this after the deodexing, but is what the older version did (zip align every apk in the app directory) bad, and why? If that is the case, which of the apk files should I not zipalign?
On a similar note, the newer bat file asks me to give a bootclasspath. When I give it the values in the init.rc, it skipped deodexing few of the apks in the app directory. When I added twframework.jar to the bootclasspath ahead of framework.jar, it skipped fewer files. I am sure that the older version was buggy, and made mistakes. What should the proper bootclasspath be to not skip deodexing the following files, and to properly deodex the others:
BluetoothOPP.apk+odex
Camera.apk.odex
FactoryTest.apk+odex
MiniDIary.apk+odex
TouchwizCalendar.apk+odex
Figured out the bootclasspath to use. OP and the JH3 file updated. If you downloaded the deodexed JH3 version yesterday, please replace it with the newer version.
What exactly does deodexing and zipaligning do? I understand it makes it faster but how so?
Sent from my SAMSUNG-SGH-I897 using XDA App
frenchtoasted said:
What exactly does deodexing and zipaligning do? I understand it makes it faster but how so?
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
All this is highly theoretical knowlege on my part, so if anyone has better information, feel free to correct me:
Deodexing:
Some of the apks and jar files on the default stock ROM have their code split between apk/odex and jar/odex pairs instead of in a single file. This is done by the developers to supposedly save space, and memory usuage, and to speed up the booting process. Unforunately having separate odex files means that replacing any part of the whole system is much harder. Deodexing the ROM puts the code from the odex files back into the apk and jar files so that every application and jar is self contained and could be replaced with an equivalent.
Zipaligning:
Zipaligning is an optimization of apk files to align all uncompressed data within them on 4-byte boundaries to reduce the memory usage. Since deodexing rebuilt the apks with the code from the odex files, they would have become unaligned. I realigned them to make them optimized again.
This is not necessarily a performance tweak at first, but once you are able to replace the slower parts of the system as a result of it, you should start to get more benefits out of it.
would it be possible to get the allshare package from the deodexed rom? will it work with any other device?

[Q] editing framework-res.apk

Hey guys I need a bit of help..... I was trying to edit the drawables on my gf 's Eris in the framework-res.apk and when I recompiled the Rom and tried to flash my changes recovery tells me that the update script couldn't be verified due to framework-res.apk and aborts the installation.... what am I doing wrong? Do I need to sign this apk or something to make it work correctly? I did this on my Droid incredible the other day with no problem. I know there was another thread on this further down in Dec but unfortunately it didn't give me the answers I need...
Sent from my ADR6300 using XDA App
elixir911911 said:
Hey guys I need a bit of help..... I was trying to edit the drawables on my gf 's Eris in the framework-res.apk and when I recompiled the Rom and tried to flash my changes recovery tells me that the update script couldn't be verified due to framework-res.apk and aborts the installation.... what am I doing wrong? Do I need to sign this apk or something to make it work correctly? I did this on my Droid incredible the other day with no problem. I know there was another thread on this further down in Dec but unfortunately it didn't give me the answers I need...
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
I assume from reading your post that you updated the framework png's inside a Rom Zip package... You don't need to sign the framework, but you do have to resign the Rom Zip file. Try re-signing the rom file, that should get it working...
Macrodroid said:
I assume from reading your post that you updated the framework png's inside a Rom Zip package... You don't need to sign the framework, but you do have to resign the Rom Zip file. Try re-signing the rom file, that should get it working...
Click to expand...
Click to collapse
Any input on how to sign Rom files? I've never signed anything before
elixir911911 said:
Any input on how to sign Rom files? I've never signed anything before
Click to expand...
Click to collapse
You can sign it using gnarlycs kitchen.
Edit: another thing you could have done is just pushed your modded frameworkres to its folder and rebooted the phone.
Sent from my Incredible using Tapatalk
elixir911911 said:
Any input on how to sign Rom files? I've never signed anything before
Click to expand...
Click to collapse
find zip signer i believe its called u can use that
tazzpatriot said:
find zip signer i believe its called u can use that
Click to expand...
Click to collapse
Sterricson Zip Signer, or get SignApkTool from the market and sign it on your phone... Just make sure you use the test-keys for the rom file...
I used zip signer from the market.... is there anyway I can use this to sign apk 's like HTC messaging and HTC IME so that I can edit drawables in those apps?
Sent from my ADR6300 using XDA App
elixir911911 said:
I used zip signer from the market.... is there anyway I can use this to sign apk 's like HTC messaging and HTC IME so that I can edit drawables in those apps?
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Y don't u just download the kitchen so u can do it easier and do a bunch together...I think someone said this already I forget lol I need to look haha
Well I know how to sign sips I just want to know if I can sign apps like HTC messaging so they'll install on my device.... if I unzip and rezip afile it won't install on my device... will signing it fix this?
Sent from my ADR6300 using XDA App
i could never get that **** to recompile correctly. i gave up.
I use apk manager to decompile, compile, and sign apks. Unless I'm adding pngs I'm which case I use apktool. If your just editing or replacing what already exists apk manager is the easiest way in my opinion.
Sent from my ERIS using XDA App
elixir911911 said:
Well I know how to sign sips I just want to know if I can sign apps like HTC messaging so they'll install on my device.... if I unzip and rezip afile it won't install on my device... will signing it fix this?
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Those won't install...you need to push them to system/app and reboot. No need to sign them unless you resign a whole rom.zip
Conap said:
Those won't install...you need to push them to system/app and reboot. No need to sign them unless you resign a whole rom.zip
Click to expand...
Click to collapse
That's right.. thanks for adding that Conap. Also I was re-reading and just wanted to add as well that you don't want to unzip an apk to modify it and then zip it.. Use one of the other tools mentioned.. apktool or apkmanager
CondemnedSoul said:
That's right.. thanks for adding that Conap. Also I was re-reading and just wanted to add as well that you don't want to unzip an apk to modify it and then zip it.. Use one of the other tools mentioned.. apktool or apkmanager
Click to expand...
Click to collapse
Also for pc 7zip works good also. Just right click the file 7zip open archive drop your png where you want it. Close the apk and push it to system/app or where ever it came from.
If your on ubuntu just click your apk and drop your pngs. You don't even need an apk tool.
dinc¦rockin' the stock root
wildstang83 said:
Also for pc 7zip works good also. Just right click the file 7zip open archive drop your png where you want it. Close the apk and push it to system/app or where ever it came from.
If your on ubuntu just click your apk and drop your pngs. You don't even need an apk tool.
dinc¦rockin' the stock root
Click to expand...
Click to collapse
That does work as well but doing it that way you will need to optimize the .9's if you change them also. xultimate works great for that.
CondemnedSoul said:
That does work as well but doing it that way you will need to optimize the .9's if you change them also. xultimate works great for that.
Click to expand...
Click to collapse
Oh cool. I never really optimized any of them. What does that do?
dinc¦rockin' the stock root
ok big time mess up...I downloaded apk manager....I used the command prompt to adb pull Browser.apk. I put this in the modding folder and used the script.bat file to extract the apk....I edited my files annd hit re zip apk and chose the option to retain signature for system apps. Then when I adb push back it seems to work fine but when I reboot browser doesnt show up in my app list!!!!! help please!!! where did I mess up? I even tried to zip align to see if that would fix it.....If I try to use coommand prompt to adb push the original browser.apk back into place it says error read only file system.....I'm locked out! ah!
elixir911911 said:
ok big time mess up...I downloaded apk manager....I used the command prompt to adb pull Browser.apk. I put this in the modding folder and used the script.bat file to extract the apk....I edited my files annd hit re zip apk and chose the option to retain signature for system apps. Then when I adb push back it seems to work fine but when I reboot browser doesnt show up in my app list!!!!! help please!!! where did I mess up? I even tried to zip align to see if that would fix it.....If I try to use coommand prompt to adb push the original browser.apk back into place it says error read only file system.....I'm locked out! ah!
Click to expand...
Click to collapse
To push the original browser, /system needs to be mounted as r/w which can be done with the command "adb remount"
As for the problem with the modded browser not showing up, try this:
Code:
adb shell chmod 644 /system/app/Browser.apk
adb shell chown 0:0 /system/app/Browser.apk
#now reboot into recovery, wipe cache and dalvik-cache, and reboot
the string you typed for the modded browser....i type that into a normal command prompt not into apk manager correct? I tried to put my normal browser back with adb remount and it still doesnt show in my app list but if i look with a file explorer the apk is in the right place....why wont it show up?
OK i actually pushed my old browser successfully and it wouldnt show in my app list....I then followed your instructions and did adb shell chmod and chown and reboot wipe dalvik and cache and it still wouldnt show up. I really dont wanna have to flash a recovery image....
edit: If it has any importance this is actually on a droid incredible i was testing for my gf's eris. So idk if it changes anything that this is actually an inc.

[Q] Bootloop when trying to edit framework-res.apk

I know there have been tons of threads concerning this but I have never found a roper answer. so could someone please fix this apk for me? I have tried every thing but all the links are dead and I don't have a stable enough net connection to download JRE or android SDK I was barely able to download apkmultitool
all I did was make a really nice ice cream sandwich theme (by replacing a bunch of .9.pngs from another ics framework-res,apk) with no xml edits that should work for stock verizon 2.3.3, because that was my base apk.
I would gladly thank a bunch of your posts if someone could fix this apk for me
EDIT: just realized that i mismatched some images, give me a few minutes and see if I can get it to work.
EDIT: ok i successfully used adb push and it booted but there are no changes. It's in my "System/Framework" directory with a bunch of .jar files but there are no changes
uploaded apk
loismustdie555 said:
I know there have been tons of threads concerning this but I have never found a roper answer. so could someone please fix this apk for me? I have tried every thing but all the links are dead and I don't have a stable enough net connection to download JRE or android SDK I was barely able to download apkmultitool
all I did was make a really nice ice cream sandwich theme (by replacing a bunch of .9.pngs from another ics framework-res,apk) with no xml edits that should work for stock verizon 2.3.3, because that was my base apk.
I would gladly thank a bunch of your posts if someone could fix this apk for me
EDIT: just realized that i mismatched some images, give me a few minutes and see if I can get it to work.
EDIT: ok i successfully used adb push and it booted but there are no changes. It's in my "System/Framework" directory with a bunch of .jar files but there are no changes
uploaded apk
Click to expand...
Click to collapse
Did you change the permissions after pushing it?
AwaisKhan said:
Did you change the permissions after pushing it?
Click to expand...
Click to collapse
I forgot
what are they supposed to be again?
EDIT: ok now I'm starting to get p1$$ed off! i opened my apk with winrar only to find that all the files are in their apkmultitool projects directory that's the third time it has done that
any way to fix this?
EDIT2: YEAH!! I did it!
anyone who wants a (very slightly customized) ICS theme and is running Stock verizon 2.3.3 can have it in a few minutes in a flashable .zip when I've fully finished it.
Permissions are: rw- r-- r-- (or 644)
jacklebott said:
Permissions are: rw- r-- r-- (or 644)
Click to expand...
Click to collapse
OK, Darn, I was using 775

Categories

Resources