Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
apollopayne
Old
#111  
Senior Member
Thanks Meter 54
Posts: 252
Join Date: Nov 2010
Location: shrewsbury
Hi all I tried to follow the tutorials of customizing the framework-res.apk and made a flash zip file to test but keeps saying aborted? I would be be very great full if someone could take a look and tell me what ive done wrong? ive changed the drawable-nodpi/ background_holo_dark.png to a custom image. Its a test 4 me but I want to find out what I have done wrong.

http://db.tt/mViptIm5
Samsung Galaxy S2
Rom: RootBox
Kernel: Dorimanx V9.16
Samsung Galaxy S3 LTE 2GB
Rom Stock
Google Nexus 7
Rom: Parnoidandroid 2.99 Pie 3.1
Join DropBox and now get 500MB Extra Space!!!:- http://db.tt/XBKf4AM
 
GaboWinter
Old
#112  
GaboWinter's Avatar
Forum Moderator - OP
Thanks Meter 8272
Posts: 7,881
Join Date: Aug 2011
Location: Kadath - R'lyeh Likes: Caffeine / Whisky
Quote:
Originally Posted by apollopayne View Post
Hi all I tried to follow the tutorials of customizing the framework-res.apk and made a flash zip file to test but keeps saying aborted? I would be be very great full if someone could take a look and tell me what ive done wrong? ive changed the drawable-nodpi/ background_holo_dark.png to a custom image. Its a test 4 me but I want to find out what I have done wrong.

http://db.tt/mViptIm5
Sure, your error it's that you compress the folder named 'test' with the other 2 folders inside, what you need select to compress on the .zip it's the META-INF and system folders. I'll do it for you, take a look on the attach and compare it with your file
Attached Files
File Type: zip test2.zip - [Click for QR Code] (5.38 MB, 6 views)
Phone: Nexus 4 [Mako]
ROM: Paranoid Android 3.15 HALOa.5 14MAY
Kernel: Stock Calibrated Contrasty

Tab: Nexus 7 [Grouper]
ROM: Paranoid Android v3.15 25MAR
Kernel: M-Kernel mr1
The Following User Says Thank You to GaboWinter For This Useful Post: [ Click to Expand ]
 
apollopayne
Old
#113  
Senior Member
Thanks Meter 54
Posts: 252
Join Date: Nov 2010
Location: shrewsbury
Quote:
Originally Posted by GaboWinter View Post
Sure, your error it's that you compress the folder named 'test' with the other 2 folders inside, what you need select to compress on the .zip it's the META-INF and system folders. I'll do it for you, take a look on the attach and compare it with your file
thank you i see what i have done wrong. Ive flash it and hopping for the best lol as couldn't get apktool to work as kept giving me errors when recompiling. dang its boot looping. I used apktool manager
Samsung Galaxy S2
Rom: RootBox
Kernel: Dorimanx V9.16
Samsung Galaxy S3 LTE 2GB
Rom Stock
Google Nexus 7
Rom: Parnoidandroid 2.99 Pie 3.1
Join DropBox and now get 500MB Extra Space!!!:- http://db.tt/XBKf4AM
 
GaboWinter
Old
#114  
GaboWinter's Avatar
Forum Moderator - OP
Thanks Meter 8272
Posts: 7,881
Join Date: Aug 2011
Location: Kadath - R'lyeh Likes: Caffeine / Whisky
Quote:
Originally Posted by apollopayne View Post
thank you i see what i have done wrong. Ive flash it and hopping for the best lol as couldn't get apktool to work as kept giving me errors when recompiling. dang its boot looping. I used apktool manager
I'm not use apktool since i'm on Linux but usually "googling" the specific error you can find some help, sometimes it's one file outdated on the installation. But if you only gonna change images, then the "Drag & Drop" method works fine.
Phone: Nexus 4 [Mako]
ROM: Paranoid Android 3.15 HALOa.5 14MAY
Kernel: Stock Calibrated Contrasty

Tab: Nexus 7 [Grouper]
ROM: Paranoid Android v3.15 25MAR
Kernel: M-Kernel mr1
 
apollopayne
Old
#115  
Senior Member
Thanks Meter 54
Posts: 252
Join Date: Nov 2010
Location: shrewsbury
Quote:
Originally Posted by GaboWinter View Post
I'm not use apktool since i'm on Linux but usually "googling" the specific error you can find some help, sometimes it's one file outdated on the installation. But if you only gonna change images, then the "Drag & Drop" method works fine.
trying the drop and drag method now. Sorry for being a noob. My aim at the mo is just to customize the back round/dialer etc like you have done in this thread
Samsung Galaxy S2
Rom: RootBox
Kernel: Dorimanx V9.16
Samsung Galaxy S3 LTE 2GB
Rom Stock
Google Nexus 7
Rom: Parnoidandroid 2.99 Pie 3.1
Join DropBox and now get 500MB Extra Space!!!:- http://db.tt/XBKf4AM
 
GaboWinter
Old
#116  
GaboWinter's Avatar
Forum Moderator - OP
Thanks Meter 8272
Posts: 7,881
Join Date: Aug 2011
Location: Kadath - R'lyeh Likes: Caffeine / Whisky
Quote:
Originally Posted by apollopayne View Post
trying the drop and drag method now. Sorry for being a noob. My aim at the mo is just to customize the back round/dialer etc like you have done in this thread
You don't need to apologize, everyone here was a noob once

Yeah, with the Drag & Drop must be works fine
Phone: Nexus 4 [Mako]
ROM: Paranoid Android 3.15 HALOa.5 14MAY
Kernel: Stock Calibrated Contrasty

Tab: Nexus 7 [Grouper]
ROM: Paranoid Android v3.15 25MAR
Kernel: M-Kernel mr1
The Following User Says Thank You to GaboWinter For This Useful Post: [ Click to Expand ]
 
apollopayne
Old
#117  
Senior Member
Thanks Meter 54
Posts: 252
Join Date: Nov 2010
Location: shrewsbury
Quote:
Originally Posted by GaboWinter View Post
You don't need to apologize, everyone here was a noob once

Yeah, with the Drag & Drop must be works fine
Thanks, worked grea. can I do same with dialer etc?

---------- Post added at 11:49 PM ---------- Previous post was at 11:28 PM ----------

ty sorted
Samsung Galaxy S2
Rom: RootBox
Kernel: Dorimanx V9.16
Samsung Galaxy S3 LTE 2GB
Rom Stock
Google Nexus 7
Rom: Parnoidandroid 2.99 Pie 3.1
Join DropBox and now get 500MB Extra Space!!!:- http://db.tt/XBKf4AM
 
GaboWinter
Old
#118  
GaboWinter's Avatar
Forum Moderator - OP
Thanks Meter 8272
Posts: 7,881
Join Date: Aug 2011
Location: Kadath - R'lyeh Likes: Caffeine / Whisky
Quote:
Originally Posted by apollopayne View Post
Thanks, worked grea. can I do same with dialer etc?

---------- Post added at 11:49 PM ---------- Previous post was at 11:28 PM ----------

ty sorted
Yes, same process...
Phone: Nexus 4 [Mako]
ROM: Paranoid Android 3.15 HALOa.5 14MAY
Kernel: Stock Calibrated Contrasty

Tab: Nexus 7 [Grouper]
ROM: Paranoid Android v3.15 25MAR
Kernel: M-Kernel mr1
 
nismax
Old
#119  
Account currently disabled
Thanks Meter 339
Posts: 645
Join Date: Jun 2008
Location: Bowling green
Nice

Sent from my SGH-I777 using Tapatalk
The Following User Says Thank You to nismax For This Useful Post: [ Click to Expand ]
 
prashamsahni
Old
(Last edited by prashamsahni; 4th July 2012 at 03:52 PM.)
#120  
Junior Member
Thanks Meter 3
Posts: 28
Join Date: Jun 2012
Quote:
Originally Posted by GaboWinter View Post
Specificly what error? Could you post a screenshot please
Code:
--------------------------------------------------------------------------
|Sat 06/30/2012 -- 3:56:17.11|
--------------------------------------------------------------------------
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b22)
Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)
Could Not Find C:\Users\Prasham\Desktop\New folder3\Wanam_Apk_Manager_ICS\Apk_Ma
nager_ICS\place-apk-here-for-modding\../place-apk-here-for-modding/signedframewo
rk-res.apk
Could Not Find C:\Users\Prasham\Desktop\New folder3\Wanam_Apk_Manager_ICS\Apk_Ma
nager_ICS\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframe
work-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/quickactions_arrowup_right_hol
o_light.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/scrollbar_handle_accelerated_a
nim2.9.png". Renaming it to *.png.
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Users\Prasham\Desktop\New folder3\Wanam_Apk_
Manager_ICS\Apk_Manager_ICS\other\..\projects\fram ework-res.apk\res/drawable-sw6
00dp-hdpi
invalid resource directory name: C:\Users\Prasham\Desktop\New folder3\Wanam_Apk_
Manager_ICS\Apk_Manager_ICS\other\..\projects\fram ework-res.apk\res/layout-sw600
dp
invalid resource directory name: C:\Users\Prasham\Desktop\New folder3\Wanam_Apk_
Manager_ICS\Apk_Manager_ICS\other\..\projects\fram ework-res.apk\res/layout-w600d
p
invalid resource directory name: C:\Users\Prasham\Desktop\New folder3\Wanam_Apk_
Manager_ICS\Apk_Manager_ICS\other\..\projects\fram ework-res.apk\res/values-h720d
p
invalid resource directory name: C:\Users\Prasham\Desktop\New folder3\Wanam_Apk_
Manager_ICS\Apk_Manager_ICS\other\..\projects\fram ework-res.apk\res/values-sw600
dp
invalid resource directory name: C:\Users\Prasham\Desktop\New folder3\Wanam_Apk_
Manager_ICS\Apk_Manager_ICS\other\..\projects\fram ework-res.apk\res/values-sw600
dp-land
invalid resource directory name: C:\Users\Prasham\Desktop\New folder3\Wanam_Apk_
Manager_ICS\Apk_Manager_ICS\other\..\projects\fram ework-res.apk\res/values-sw600
dp-w1024dp
invalid resource directory name: C:\Users\Prasham\Desktop\New folder3\Wanam_Apk_
Manager_ICS\Apk_Manager_ICS\other\..\projects\fram ework-res.apk\res/values-sw600
dp-w1280dp
invalid resource directory name: C:\Users\Prasham\Desktop\New folder3\Wanam_Apk_
Manager_ICS\Apk_Manager_ICS\other\..\projects\fram ework-res.apk\res/values-w360d
p
invalid resource directory name: C:\Users\Prasham\Desktop\New folder3\Wanam_Apk_
Manager_ICS\Apk_Manager_ICS\other\..\projects\fram ework-res.apk\res/values-w480d
p
invalid resource directory name: C:\Users\Prasham\Desktop\New folder3\Wanam_Apk_
Manager_ICS\Apk_Manager_ICS\other\..\projects\fram ework-res.apk\res/values-w500d
p
invalid resource directory name: C:\Users\Prasham\Desktop\New folder3\Wanam_Apk_
Manager_ICS\Apk_Manager_ICS\other\..\projects\fram ework-res.apk\res/values-w600d
p
invalid resource directory name: C:\Users\Prasham\Desktop\New folder3\Wanam_Apk_
Manager_ICS\Apk_Manager_ICS\other\..\projects\fram ework-res.apk\res/values-w720d
p
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Prasham\AppData\Local\Temp
\APKTOOL1503786689104373000.tmp, -x, -S, C:\Users\Prasham\Desktop\New folder3\Wa
nam_Apk_Manager_ICS\Apk_Manager_ICS\other\..\proje cts\framework-res.apk\res, -M,
C:\Users\Prasham\Desktop\New folder3\Wanam_Apk_Manager_ICS\Apk_Manager_ICS\othe
r\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:301)
at brut.androlib.Androlib.buildResources(Androlib.jav a:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Prasham\AppData\Local\Temp\APKTOOL15037866891 04373000.tmp, -x, -S, C:\Users
\Prasham\Desktop\New folder3\Wanam_Apk_Manager_ICS\Apk_Manager_ICS\othe r\..\proj
ects\framework-res.apk\res, -M, C:\Users\Prasham\Desktop\New folder3\Wanam_Apk_M
anager_ICS\Apk_Manager_ICS\other\..\projects\frame work-res.apk\AndroidManifest.x
ml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.jav
a:191)
... 6 more
Press any key to continue . . .

C:\Users\Prasham\Desktop\New folder3\Wanam_Apk_Manager_ICS\Apk_Manager_ICS>
Sorry about that!!

The Following User Says Thank You to prashamsahni For This Useful Post: [ Click to Expand ]
 
Post Reply+
Tags
aokp, mod, noob, resurrection remix, tutorial
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...