New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
camoto
Old
#1  
camoto's Avatar
Senior Member - OP
Thanks Meter 35
Posts: 224
Join Date: Mar 2011
Default [Q] APKTool Question for Infuse

I am trying to modify gtg465x's version of TouchWiz30Launcher.apk. All I am doing is modifying launcher:iconColumnCount to 5 in both layout-land\launcher.xml and layout-port\launcher.xml.

It builds fine. I am using both framework-res and twframework-res in APKTool.

When I copy onto my phone it doesn't launch at all.

If I am in way over my head, don't be shy just tell me. Otherwise any guidance would be appreciated.
 
gtg465x
Old
#2  
Recognized Developer
Thanks Meter 2635
Posts: 3,380
Join Date: Jun 2008

 
DONATE TO ME
Quote:
Originally Posted by camoto View Post
I am trying to modify gtg465x's version of TouchWiz30Launcher.apk. All I am doing is modifying launcher:iconColumnCount to 5 in both layout-land\launcher.xml and layout-port\launcher.xml.

It builds fine. I am using both framework-res and twframework-res in APKTool.

When I copy onto my phone it doesn't launch at all.

If I am in way over my head, don't be shy just tell me. Otherwise any guidance would be appreciated.
You compiling as system apk?
Current Phones:
HTC One Unlocked
Nexus 4

Previous Phones:
iPhone 5, Galaxy Nexus, iPhone 4S, HTC One X, Nokia Lumia 800, HTC Titan, Samsung Galaxy S II, Samsung Infuse, LG Thrill, HTC Inspire, Samsung Captivate, HTC Aria, Samsung BlackJack II
 
camoto
Old
#3  
camoto's Avatar
Senior Member - OP
Thanks Meter 35
Posts: 224
Join Date: Mar 2011
Quote:
Originally Posted by gtg465x View Post
You compiling as system apk?
Is that an option? I don't completely understand your question.
 
gtg465x
Old
#4  
Recognized Developer
Thanks Meter 2635
Posts: 3,380
Join Date: Jun 2008

 
DONATE TO ME
Quote:
Originally Posted by camoto View Post
Is that an option? I don't completely understand your question.
Oh sorry, thought you were using APK Manager. Anyways, use APK Manager. It's sort of a front end for APKTool and will be easier.
 
h8rift
Old
#5  
h8rift's Avatar
Recognized Developer
Thanks Meter 7372
Posts: 1,638
Join Date: Jun 2010

 
DONATE TO ME
Quote:
Originally Posted by camoto View Post
Is that an option? I don't completely understand your question.
you don't sign system apks...i think thats what he's trying to get at. Try using apk manager 4.9. it is a dos-based gui that makes apktool do your bidding...including warning you that system apks do not need to be signed.

EDIT: Lol. jinx
If you like my work or if I've helped you, please consider the "Thanks" button.


AT&T HTC One - AT&T HTC One CyanogenMod 10.1 | T-Mobile HTC One CyanogenMod 10.1
AT&T HTC One X - CyanogenMod 10.1 | CyanogenMod 10 | CyanogenMod 9 | Chat and support at #cyanogenmod-evita on freenode!
Downgrade your Evita's touch panel firmware
AT&T HTC Vivid - CyanogenMod 10
Data needed to troubleshoot CM issues

Previous Work:
AT&T Galaxy S II - h8s2 ROM | AT&T Infuse 4G - Refuse ROM
 
spirikitik
Old
#6  
spirikitik's Avatar
Member
Thanks Meter 5
Posts: 78
Join Date: Jun 2011
Can you make app drawer to continuously scroll instead of paging, but I think it is better scrolling continuously sideways instead of scroll up and down. Because sideways scroll. You see more app right? Or may be a bad idea? I hope they can make an app like the Go SMS PRO where you can switch the paging of app to wave, roll, cube etc.

Sent from my SAMSUNG-SGH-I997 using XDA Premium App
 
camoto
Old
#7  
camoto's Avatar
Senior Member - OP
Thanks Meter 35
Posts: 224
Join Date: Mar 2011
thanks for the tips!

OK compiled as system, did NOT sign and still it won't launch... /headscratch
 
h8rift
Old
#8  
h8rift's Avatar
Recognized Developer
Thanks Meter 7372
Posts: 1,638
Join Date: Jun 2010

 
DONATE TO ME
Quote:
Originally Posted by camoto View Post
thanks for the tips!

OK compiled as system, did NOT sign and still it won't launch... /headscratch
try this:

* open the original .apk with WinZip or whatever zip opener you like
* drop the changed files into the zip without unziping.
* push to the phone and try it.
If you like my work or if I've helped you, please consider the "Thanks" button.


AT&T HTC One - AT&T HTC One CyanogenMod 10.1 | T-Mobile HTC One CyanogenMod 10.1
AT&T HTC One X - CyanogenMod 10.1 | CyanogenMod 10 | CyanogenMod 9 | Chat and support at #cyanogenmod-evita on freenode!
Downgrade your Evita's touch panel firmware
AT&T HTC Vivid - CyanogenMod 10
Data needed to troubleshoot CM issues

Previous Work:
AT&T Galaxy S II - h8s2 ROM | AT&T Infuse 4G - Refuse ROM
 
mashi
Old
#9  
Senior Member
Thanks Meter 153
Posts: 188
Join Date: Feb 2006

 
DONATE TO ME
i did try to edit the resources.. it won't work also (with apktool). I did try just d and then b. same problem. not showing on launcher
 
bedwa
Old
#10  
bedwa's Avatar
Recognized Developer
Thanks Meter 622
Posts: 1,038
Join Date: Oct 2008
Location: Springfield IL
May need to remove data and odex, repush to system/app, and logcat the startup and information that it provides with attempted system installation. If you want more eyes, feel free to push me a PM with a link to your apk and when I receive my infuse later this week, I'll take a crack at it.
Former Devices: HTC Wizard-WM 6.5, OG iPhone, iPhone 3GS, 15+ android devices, including N1, Galaxy Nexus, Galaxy Tab 7.7 and many more.
Current Device: Moto xt910 w/ xt912 screen / S-off HTC One S

SIM Unlock: $16
Broken SIM locked XT910: $75
Working XT912: $200
Knowledge to dissasemble two phones and make one: Priceless.

Current Project(s)
Resources: Tab 7.7 Kernel/Initramfs
Kernels: Thrillz---Thrillz-GB---Infusion-GB---Infusion (Froyo)
No Odin? Flash a I897/I997 Kernel, Modem or both "zip packages!"
Red Nexus S LWP
LG Optimus Z Launcher

My Git.
My Twitter
Fuel my insanity fund, or click Thanks.


XDA PORTAL POSTS

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more

Guide to Take Better Control of Your Volume Levels

Would you like to know one of the things that really annoys me on a daily basis? Tough, … more

Get the Android 4.2.2 Status Bar on Your Gingerbread-Based Samsung

There are still quite a few of folks who run Gingerbread on their … more