Apktool errors - HTC Rezound

Anyone have experience with apktool?
I have just had one error after another and now I am stuck.
To test, I am trying to recompile an unmodified framework-res and I get this:
{
"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"
}
It is from CM9.
My goal is to change the carrier text, but if I can't get it to compile then it is a no-go. It did it before, but now I am getting this error.

Apktool always gives me issues. I use Apk Manager (well I did before I erased my Dev folder

AshtonTS said:
Apktool always gives me issues. I use Apk Manager (well I did before I erased my Dev folder
Click to expand...
Click to collapse
^lol noob
But yeah, apkmanager if you don't want to set up stuff.
Sent from my HTC Rezound

I think I found a way around it. Edit the Eri.XML file while decompiled and then paste it directly into the apk. Works, but now it won't connect to network and phone crashes. I just don't know which line to edit in eri to change the carrier text.

Sweet, utf-8.

AshtonTS said:
Apktool always gives me issues. I use Apk Manager (well I did before I erased my Dev folder
Click to expand...
Click to collapse
Noob.

GrayTheWolf said:
Anyone have experience with apktool?
I have just had one error after another and now I am stuck.
To test, I am trying to recompile an unmodified framework-res and I get this:
It is from CM9.
My goal is to change the carrier text, but if I can't get it to compile then it is a no-go. It did it before, but now I am getting this error.
Click to expand...
Click to collapse
did you remember to run this command first?
apktool if framework-res.apk

synisterwolf said:
did you remember to run this command first?
apktool if framework-res.apk
Click to expand...
Click to collapse
If I do that I get another error, "Exception in thread "main" brut... blah blah.... error in opening zip file".

GrayTheWolf said:
If I do that I get another error, "Exception in thread "main" brut... blah blah.... error in opening zip file".
Click to expand...
Click to collapse
LOL shouldnt be in a zip. just place framework-res.apk in the same place you are running the apk tool command

You may need a different apktool.jar
Sent from my ADR6425LVW using xda premium

cflo360 said:
You may need a different apktool.jar
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
I have the one directly from the code.google page.

Well from what I know using the one Google provides are no good for rezound most of the time you need to modify the apktool.jar to fix most problems
Sent from my ADR6425LVW using xda premium

cflo360 said:
Well from what I know using the one Google provides are no good for rezound most of the time you need to modify the apktool.jar to fix most problems
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
Not from google, from the project's page.

Well send you my apktools.jar so far no errors with them
Sent from my ADR6425LVW using xda premium

funny you should mention this as i was so frustrated with the same errors
I finally found this thread:
http://forum.xda-developers.com/showthread.php?t=1732635
It helped me to make my first mod ...
So i hope that helps out

I'll have to fire up the comp when I get home but. Use 3.21 i think it is to decompile. And then use the latest version to recompile. Then jus do the normal asec and res swap in the orig apk to keep orig signature.
And make sure your dependencys are setup like normal too.
Sent from my ADR6425LVW using xda premium

Related

Delete This

Oops wrong section. Kinda... Delete please
xGary said:
So I was doing a proximity sensor experiment cause mine wont work and I was playing around with Phonebook and Phone APKs. My Java is not working so I couldnt usb adb
Click to expand...
Click to collapse
Following from your other thread, I've updated my Java and can still use ADB, so not sure if it is a version issue or why it no longer works for you. In regards to this thread, I've done similar before and had to reflash in the end.
XperiaX10iUser said:
Following from your other thread, I've updated my Java and can still use ADB, so not sure if it is a version issue or why it no longer works for you. In regards to this thread, I've done similar before and had to reflash in the end.
Click to expand...
Click to collapse
Well that sucks... Cause my Java isnt working so I cant use the reg flash method which requires java for the deviceid part... Which of the new root or flash methods work without Java?
Regarding the Java issue, its because I installed the v21 Java. You probably installed the v20 Java and then upgraded. Ill try the Java again...
xGary said:
Which of the new root or flash methods work without Java?
Click to expand...
Click to collapse
The "One Click" method, which is what I used last.
xGary said:
Regarding the Java issue, its because I installed the v21 Java. You probably installed the v20 Java and then upgraded. Ill try the Java again...
Click to expand...
Click to collapse
I did yes, but again, don't see how it could be a version issue.
XperiaX10iUser said:
The "One Click" method, which is what I used last.
I did yes, but again, don't see how it could be a version issue.
Click to expand...
Click to collapse
Chewitt said:
ive not looked into what broke it in 21, chances are a slightly different location/naming.
Click to expand...
Click to collapse
Thats what the guide creator said. However, I am looking into it. Doesn`t seem to have a different path tho
It would be nice if you could help me take screen shots of your Java folder and the folder inside that Java folder or perhaps where the Java.exe is located
Thanks
xGary said:
Doesn`t seem to have a different path tho
Click to expand...
Click to collapse
That's what I thought, Javas Java at the end of the day. I've got a 6.0.160.70 installer here you could try, but no doubt it's just going to download the newer files...
xGary said:
It would be nice if you could help me take screen shots of your Java folder and the folder inside that Java folder or perhaps where the Java.exe is located
Click to expand...
Click to collapse
I took snips of both bin folders...
{
"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"
}
XperiaX10iUser said:
I took snips of both bin folders...
Click to expand...
Click to collapse
Thats exactly where my files are located too... It seems that the JRE installer on the website is still in v20 but once I install the JDK which is in v21 it updates the JRE as well...
Update
I was able to disable the JDK from updating the JRE to v21 as well but it still doesn't work. You do have Java in your taskbar or in your process list right?
Not quite sure what to suggest from here.
XperiaX10iUser said:
Not quite sure what to suggest from here.
Click to expand...
Click to collapse
I managed to find a v20 JDK from a file hosting site (not sure if its safe) I will try if it works.

[Sense][BatteryMOD]STOCK SENSE BAR WITH NO PERCENTAGE.

This is just a stock sense battery w/o the percentage. I only made this cause I worry about my phone battery A LOT and battery percentage makes it worse for me and I wondered if other people felt the same, so I'm sharing it here. It's really not much so don't criticize or talk crap about it. Just for those iffy people who HATE battery percentages. Enjoy!
Installation Process
- Unzip files into a folder called battery.
- Go into cmd enter " cd C:\AndroidSDK\tools "
- Then enter " adb pull /system/framework/framework-res.apk "
- Open the .apk file w/winRAR
- Go to res>drawable-hdpi
- Drag contents from the "Battery Folder" into drawable-hdpi
- Now, put framework-res.apk into SDK tools folder and " adb push framework-res.apk /system/framework "
- Enjoy
{
"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"
}
I tried it on fusion 1.18 and it deleted all my accounts and wouldn't let me resync them...is this only compatible with sense 2.1?
kirkcody said:
I tried it on fusion 1.18 and it deleted all my accounts and wouldn't let me resync them...is this only compatible with sense 2.1?
Click to expand...
Click to collapse
O.O weird... I'm running the same and mines fine. Let me check real quick..
Thanks I'd really appreciate it, I feel the same way about battery percentages...yeah I used root explorer moved the apk to...wait I think I just moved it to system/framework...and didn't follow the rest ill try it again....sorry please repost zip
kirkcody said:
Thanks I'd really appreciate it, I feel the same way about battery percentages...yeah I used root explorer moved the apk to...wait I think I just moved it to system/framework...and didn't follow the rest ill try it again....sorry please repost zip
Click to expand...
Click to collapse
lol. just extract those .png files INTO A FOLDER.(Very Important) then move them to /system/framework/drawable-hdpi/ and reboot. =)
I found it but root explorer won't allow me to access the framework-res.apk...it won't allow me to paste them there, only options available for the framework apk are install,view and cancel when pressed.
kirkcody said:
I found it but root explorer won't allow me to access the framework-res.apk...it won't allow me to paste them there, only options available for the framework apk are install,view and cancel when pressed.
Click to expand...
Click to collapse
Same with me
Sent from my HTC Glacier using XDA Premium App
kirkcody said:
I found it but root explorer won't allow me to access the framework-res.apk...it won't allow me to paste them there, only options available for the framework apk are install,view and cancel when pressed.
Click to expand...
Click to collapse
I will post a new method. lol. darn. too many fails..
kirkcody said:
I tried it on fusion 1.18 and it deleted all my accounts and wouldn't let me resync them...is this only compatible with sense 2.1?
Click to expand...
Click to collapse
just restart and itll be fine
kinnyswaggg said:
I will post a new method. lol. darn. too many fails..
Click to expand...
Click to collapse
Uh need to unzip it and do that thats why
Sent from my WhiteHTCMyTouch4G using XDA Premium App

Problems with Compilation of Framework-res.apk

Hey i am playing around with decompiling the framework and so i made some changes but i couldn't compile it then.
So i tried decompiling an app and then without making any changes compiling it but the command propt gives me these errors:
{
"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"
}
Click to expand...
Click to collapse
try this:
http://apkmultitool.com/node/2
Update your apkmanager. Btw, isnt this supposed to be in Q&A?
apk multitool doesnt work for me it always says that i should choose a project but i tried so much things but it says that everytime! ):
could you give me short instructions??
Sent from my GT-I9001 using XDA
apk manager 5.02
EternalFame said:
apk multitool doesnt work for me it always says that i should choose a project but i tried so much things but it says that everytime! ):
could you give me short instructions??
Sent from my GT-I9001 using XDA
Click to expand...
Click to collapse
- place the apk in /multi-tool/place-apk-here-for-modding/
- run Script.bat in /multi-tool
- type 22
- select apk by number
- type 9 to decompile
- make changes in the folder of your apk in /multi-tool/projects/
- type 11 to compile
- type "y" (yes) for first question and "n" for second question
- go into /multi-tool/place-apk-here-for-modding/
- open your new unsingedBLABLA.apk with winrar or something else
- delete "META-INF" and "AndroidManifest.xml"
add these files from the original ...
- rename like you want and have fun.
- if you getting errors, your modifying was wrong. you can see the error in /multi-tool/log.txt
- if you want to make more changes again in /multi-tool/projects/
you have to delete "build"-folder before recompiling...
this should work for every normal apk..
sure there are some other apk's like lidroid-res.apk. then it is not so easy, you will need another how-to... but if it is a difficult apk like this, you will get a error already while decompiling...
Moved to Android Q&A
texten said:
- place the apk in /multi-tool/place-apk-here-for-modding/
- run Script.bat in /multi-tool
- type 22
- select apk by number
- type 9 to decompile
- make changes in the folder of your apk in /multi-tool/projects/
- type 11 to compile
- type "y" (yes) for first question and "n" for second question
- go into /multi-tool/place-apk-here-for-modding/
- open your new unsingedBLABLA.apk with winrar or something else
- delete "META-INF" and "AndroidManifest.xml"
add these files from the original ...
- rename like you want and have fun.
- if you getting errors, your modifying was wrong. you can see the error in /multi-tool/log.txt
- if you want to make more changes again in /multi-tool/projects/
you have to delete "build"-folder before recompiling...
this should work for every normal apk..
sure there are some other apk's like lidroid-res.apk. then it is not so easy, you will need another how-to... but if it is a difficult apk like this, you will get a error already while decompiling...
Click to expand...
Click to collapse
with multitool 5.0.2?
what should i use to decomplie android.policy.jar?
Sent from my GT-I9001 using XDA
EternalFame said:
with multitool 5.0.2?
what should i use to decomplie android.policy.jar?
Sent from my GT-I9001 using XDA
Click to expand...
Click to collapse
look for backsmali and smali for decompile jar files.
there are many solutions.
Thank you guys it worked
I've made myself an extended powermenu for 2.3.3 (XXKG3)

Cant Install custom recovery on Mac

idk what im doing wrong. I know im a little rusty at this but i did root my nexus 1 couple yrs ago and i dont remember having any problems
i followed the steps in this thread http://forum.xda-developers.com/showthread.php?t=1426377
i unlocked the bootloader but i'm getting stuck at #3. (im on a Mac)
on page 4-5 of that thread some1 else was stating they were getting stuck also. i tried to do what they did but it still not working. they also said something about choosing the option "install from SD card"...but im not seeing that option anywhere (& i do have debugging enabled)
I've put the .zip file on my sd card but when I go to fastboot on my phone, it just says keep saying "no image or wrong image"
this is what it says when i try to fastboot
{
"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"
}
any help is greatly appreciated
Try this...
Download this- http://d-h.st/Vsy
then extract the folder within the zip to your home folder.
open a terminal (it should start up in your home folder)
type sudo chmod 777 Recovery_Flasher
then type cd ~/Recovery_Flasher
once there type ./Flash.sh
Let me know if you get errors... i will try to fix them for you. also, this will reboot your phone into recovery mode when its done to test if it worked. if 4ext recovery loads then it worked
thanks!!!
but could u elaborate on what or where exactly this "home" folder is? the android folder? or is it folder on my sd card?
and i tried to enter those commands in terminal and all i got was "no such file or directory'
acjei said:
thanks!!!
but could u elaborate on what or where exactly this "home" folder is? the android folder? or is it folder on my sd card?
and i tried to enter those commands in terminal and all i got was "no such file or directory'
Click to expand...
Click to collapse
Your home directory on your mac
Sent from.... wait! where am I?
oh ok.
the commands still arent working. still says no such file or directory
im about to call it quits
where can i get the HTC drivers that im supposed to install on my mac?
I have one more idea... Will type it when I get home from school
Sent from.... wait! where am I?
acjei said:
where can i get the HTC drivers that im supposed to install on my mac?
Click to expand...
Click to collapse
Shocking I know, but Google and perhaps HTC would solve your question
Sent from my HTC_Amaze_4G using xda app-developers app
Spastic909 said:
Shocking I know, but Google and perhaps HTC would solve your question
Sent from my HTC_Amaze_4G using xda app-developers app
Click to expand...
Click to collapse
already did that..im only seeing .exe files....i have a Mac
where can i get the link for this toolkit?
the link on his site is dead
http://forum.xda-developers.com/showthread.php?t=1493905
You need to find a recovery image. I think the command in fastboot is ./flash recovery.IMG. dont forget commands in mac are ./ then the command.
Sent from my HTC_Amaze_4G using xda app-developers app

HTC Fireball (HTC Incredible 4G LTE) Shipped Roms (RUUs)

{
"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"
}
No wait times
No subscriptions
No BS
Fireball​
Many thanks to the ORIGINAL guy, football. He carried this community far with all his releases
Also thanks to tmartin for helping me stay on top of all the RUUs
resoure from FootBall?
Fixed link
Malware??
jmz said:
Fixed link
Click to expand...
Click to collapse
I need to unroot my Incredible but IE won't let me download the file. Keeps saying it's malware. What's up with that??
miggawhat said:
I need to unroot my Incredible but IE won't let me download the file. Keeps saying it's malware. What's up with that??
Click to expand...
Click to collapse
Because you are using IE. Use another browser and it will be fine. There is some database and if IE doesn't see this specific file downloaded a certain number of times it calls it malware. Its a stupid feature.
@jmz
anyway you can make this a sticky so it wont find its way to the bottom?
i need to rename the file and place on root of sd right? what do i needto rename ruu as?
anyone? please help. i just got back from Afghanistan and my phone doesn't work. its stuck in gsm/wcdma and it wont connect to any other network. running cm 10.1 rc1
Linch89 said:
i need to rename the file and place on root of sd right? what do i needto rename ruu as?
Click to expand...
Click to collapse
The RUU at this link is a Windows executable program.
tried that but it wont open. windows 8
Linch89 said:
tried that but it wont open. windows 8
Click to expand...
Click to collapse
Did you check the MD5 to make sure the download completed?
Linch89 said:
tried that but it wont open. windows 8
Click to expand...
Click to collapse
The windows exe blows. You can get the RUU zip from unlimited: http://unlimited.io/fireball.htm
mdmower said:
Did you check the MD5 to make sure the download completed?
Click to expand...
Click to collapse
somerandomname1 said:
The windows exe blows. You can get the RUU zip from unlimited: http://unlimited.io/fireball.htm
Click to expand...
Click to collapse
@mdm yes sir it just wont open
@random thanks i got the ruu from their site. setting up sdk and adb on new laptop. you use fastboot flash "file.name" to push push ruu right?
Linch89 said:
@mdm yes sir it just wont open
@random thanks i got the ruu from their site. setting up sdk and adb on new laptop. you use fastboot flash "file.name" to push push ruu right?
Click to expand...
Click to collapse
There's instructions on that same webpage for how to do it. I think its step 8 or something. You just have to ignore the "sudo" since you're not on Linux.
Sent from my Nexus 7 using xda app-developers app
link has been fixed. looks like the redirect from the owners old domain/server was messed up.
I put the direct link up to the new domain and server.
http://www.androidruu.com/index.php?developer=Fireball

Categories

Resources