3minit battery mod, questing editing .XML / small files - Google Pixel XL Themes, Apps, and Mods

I was successful in decompiling SystemUIGoogle.apk using 3minit APKTool using version 2.2.2. I navigate to edit status_bar.xml and am looking for the line that contains Android:id="@id/battery but it does not exist. Also, the folder "policy" doesn't exist in small/com/Android/systemui/status bar directory. I am attempting to follow the instructions on the 3minit.com homepage. Can someone please steer me in the right direction?
Thanks
Edit: if the answer is to create the policy folder and to paste the smali files and to create the line of code in status_bar.xml then I tried that and compiled into an apk. Output is "exception in thread main org.jf.util.exceptionwithcontext unsigned short value out of range

Shawn haz root said:
I was successful in decompiling SystemUIGoogle.apk using 3minit APKTool using version 2.2.2. I navigate to edit status_bar.xml and am looking for the line that contains Android:id="@id/battery but it does not exist. Also, the folder "policy" doesn't exist in small/com/Android/systemui/status bar directory. I am attempting to follow the instructions on the 3minit.com homepage. Can someone please steer me in the right direction?
Thanks
Edit: if the answer is to create the policy folder and to paste the smali files and to create the line of code in status_bar.xml then I tried that and compiled into an apk. Output is "exception in thread main org.jf.util.exceptionwithcontext unsigned short value out of range
Click to expand...
Click to collapse
Thanks so much for continuing the effort to make this great Mod available to our community! I don't have the skill to answer your question. Sorry.

From my experience most of the editing to the layouts are in system_icons and just add this line
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />
At the bottom right above the linear layout integer. Dont worry about finding Android:id="@id/battery,,,here is a copy of one of my old ones
https://www.dropbox.com/s/d9ke58hmgvx2r2t/system_icons.xml?dl=0
As for the smali files, most of the time I have found them in (for my pixel anyways) smali_classes2/com/android/statusbar/policy.
Hope that helps,,,if you need any further help PM me.
Shawn haz root said:
I was successful in decompiling SystemUIGoogle.apk using 3minit APKTool using version 2.2.2. I navigate to edit status_bar.xml and am looking for the line that contains Android:id="@id/battery but it does not exist. Also, the folder "policy" doesn't exist in small/com/Android/systemui/status bar directory. I am attempting to follow the instructions on the 3minit.com homepage. Can someone please steer me in the right direction?
Thanks
Edit: if the answer is to create the policy folder and to paste the smali files and to create the line of code in status_bar.xml then I tried that and compiled into an apk. Output is "exception in thread main org.jf.util.exceptionwithcontext unsigned short value out of range
Click to expand...
Click to collapse
---------- Post added at 08:28 PM ---------- Previous post was at 08:23 PM ----------
If there is enough interest in this I can keep the mod going full time? Only if there is a lot of interest in it?? I always have this mod on every rom I flash.

Archangel said:
From my experience most of the editing to the layouts are in system_icons and just add this line
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />
At the bottom right above the linear layout integer. Dont worry about finding Android:id="@id/battery,,,here is a copy of one of my old ones
https://www.dropbox.com/s/d9ke58hmgvx2r2t/system_icons.xml?dl=0
As for the smali files, most of the time I have found them in (for my pixel anyways) smali_classes2/com/android/statusbar/policy.
Hope that helps,,,if you need any further help PM me.
---------- Post added at 08:28 PM ---------- Previous post was at 08:23 PM ----------
If there is enough interest in this I can keep the mod going full time? Only if there is a lot of interest in it?? I always have this mod on every rom I flash.
Click to expand...
Click to collapse
It would be great if you could keep this mod going. I'm sure there's a bunch of us that want it. Thank you for writing that out, I'll check it out and see if it works.

some devs have this working already and might be issued publicly soon

Yes it's on pixel xl

Fyi

We have it working on xl most definitely. Been doing it ourselves for months now.. plus a handful of other mods we use on our DD. I was debating on posting the mods including 3mint possibly tonight If we decide to I'll link thread here. Glad to see others trying to teach themselves tho!!!

Tigerstown said:
We have it working on xl most definitely. Been doing it ourselves for months now.. plus a handful of other mods we use on our DD. I was debating on posting the mods including 3mint possibly tonight If we decide to I'll link thread here. Glad to see others trying to teach themselves tho!!!
Click to expand...
Click to collapse
That would be awesome if you guys post the mod to flash and keep it updated. Even detailed instructions to do it myself would be great that way when it breaks, I don't have to be dependent on someone else posting an update.
Thank you for your time guys

pacman photog said:
Yes it's on pixel xl
Click to expand...
Click to collapse
Where is Pixel XL? Is that a forum?

STraver said:
Where is Pixel XL? Is that a forum?
Click to expand...
Click to collapse
Umm pixel XL is a phone lol

toknitup420 said:
Umm pixel XL is a phone lol
Click to expand...
Click to collapse
Right. The context made it sound like a forum possibly. "We" and "on Pixel XL"

toknitup420 said:
Umm pixel XL is a phone lol
Click to expand...
Click to collapse
Then where is the mod they speak of??

STraver said:
Then where is the mod they speak of??
Click to expand...
Click to collapse
We haven't posted it yet.

toknitup420 said:
We haven't posted it yet.
Click to expand...
Click to collapse
Okay thanks.

STraver said:
Okay thanks.
Click to expand...
Click to collapse
One of us will post a link here when we post the mod.

Now when I decompile systemuigoogle.apk using the framework-res.apk from my phone, which I have done successfully yesterday, APKTools throws config flag errors. Programming is so frustrating.

toknitup420 said:
One of us will post a link here when we post the mod.
Click to expand...
Click to collapse
Thanks to your team for your work. It is appreciated.
---------- Post added at 09:44 PM ---------- Previous post was at 09:43 PM ----------
Shawn haz root said:
Now when I decompile systemuigoogle.apk using the framework-res.apk from my phone, which I have done successfully yesterday, APKTools throws config flag errors. Programming is so frustrating.
Click to expand...
Click to collapse
I hope to learn more myself. Thanks for your contribution to the effort!

Here is the systemui 3 minit battery mod for those on Resurrection remix. All you have to do is copy and paste over your existing systemui in system/priv-apps. It will f/c at first but then come back up and then you must change permissions to rw-r-r. Do not use this on any other rom it will cause problems and make sure you install the 3 minit resources apk first before doing anything. I will create a thread for this and other users to send their systemui to mod.

can anyone upload stock systemui google and framework.res.apk???
thanks
Sent from my SM-G955F using Tapatalk

Related

[Mod] Sliding Window Effect !!

This Mod is for ICS ROMs
Hello
I did find new effect, I don't know if it is already known to others but I did search about it and find nothing.
Anyhow, I named it "Sliding Window Effect"
To see the sliding window effect !! here is it on youtube:
http://youtu.be/NeVrvoo8jO4
How to do this Mod:
Decompile SystemUI.apk
Open SystemUI\res\values\bools.xml
Search for
Code:
<bool name="config_useCaptureView">false</bool>
Change it to
Code:
<bool name="config_useCaptureView">true</bool>
Now Compile it and enjoy this effect
BTW this Mod will be added to my Kitchen in the next ver.
If you liked my work encourage me by small donation HERE .... and if you will not...please click Thanks button.
Pretty cool effect, good work dude.
i will try to add in my rom thanks.
Looks cool mate. Looking forward to have it in my rom thx :thumbup:
cool mod, already trying but it gets annoying after half-day
anyway thanks thanks thanks and keep up the good work
your tool is awesome, and i m gonna pm you for a particoular request
This is nice!!!
Voted 5 stars,why people have so hate/evil/jealous inside them?
siberian tiger said:
This is nice!!!
Voted 5 stars,why people have so hate/evil/jealous inside them?
Click to expand...
Click to collapse
i agree.i haven't used thi mod but gave 5 stars.coz it's something different and looks nice.
5 stars here too!
no matter how much i like this mod, the important thing is that Gangs_kid shared a nu mod so 5 stars!
Been using this for a while but haven;t included it in my rom since it breaks manual brightness adjustment. I'm in the process of making a toggle for it.
Mirko ddd said:
cool mod, already trying but it gets annoying after half-day
anyway thanks thanks thanks and keep up the good work
your tool is awesome, and i m gonna pm you for a particoular request
Click to expand...
Click to collapse
I did get you pm and I replied
shoman94 said:
Been using this for a while but haven;t included it in my rom since it breaks manual brightness adjustment. I'm in the process of making a toggle for it.
Click to expand...
Click to collapse
What did you mean by "it breaks manual brightness adjustment" because I didn't notice a thing.
Please explain it to me so that I will try to find a solution for it.
Edit: I get it now and I will start finding fix for it
good work bro. hamooooooody
we r waiting 4 ur a new rom نسخة الايسكريم
وراك وراك
Can Anybody upload a video for the effect ?
and I'm not a developer ,how can I edit my system file step by step
Wow
Enviado desde mi GT-I9100 usando Tapatalk 2
Kadhim7 said:
Can Anybody upload a video for the effect ?
and I'm not a developer ,how can I edit my system file step by step
Click to expand...
Click to collapse
There is a video on youtube !! at the thread.
There are many threads explaining how to decompile on the forum also there is my Kitchen which will decompile and compile for you
GanGs_KiD said:
There is a video on youtube !! at the thread.
There are many threads explaining how to decompile on the forum also there is my Kitchen which will decompile and compile for you
Click to expand...
Click to collapse
Look what I did is
Extract systemUI.apk frim my phone
decompile it by using your kitchen
edit some png image
compile it
and copy it to my system is it ok ?
OMG MY My notification bar is just Gooooone *_*
siberian tiger said:
This is nice!!!
Voted 5 stars,why people have so hate/evil/jealous inside them?
Click to expand...
Click to collapse
Bcoz 90% of xda is made up of morons.
Good work, OP.
---------- Post added at 06:31 PM ---------- Previous post was at 06:29 PM ----------
Kadhim7 said:
Look what I did is
Extract systemUI.apk frim my phone
decompile it by using your kitchen
edit some png image
compile it
and copy it to my system is it ok ?
OMG MY My notification bar is just Gooooone *_*
Click to expand...
Click to collapse
Errors during compilation/recompilation? which rom, additional mods like JKay. Info required.
Kadhim7 said:
Look what I did is
Extract systemUI.apk frim my phone
decompile it by using your kitchen
edit some png image
compile it
and copy it to my system is it ok ?
OMG MY My notification bar is just Gooooone *_*
Click to expand...
Click to collapse
Think your missing the signature of the apk, best to copy the classes.dex, reaources.arsc and the res folder over from the compiled apk to the original SystemUI.apk that you have
Sent from my GT-I9100 using xda premium
I'm using wan am log from 12 with gray Kay theme
I want to learn how can I create my one notification bar?
Yes error appear could not find sourced :banghead:
Sent from my GT-I9100 using xda premium
Kadhim7 said:
Look what I did is
Extract systemUI.apk frim my phone
decompile it by using your kitchen
edit some png image
compile it
and copy it to my system is it ok ?
OMG MY My notification bar is just Gooooone *_*
Click to expand...
Click to collapse
Do it again but before starting you need to install framework-res.apk and twframework-res.apk Plz write your future issues to the kitchen thread so that others will benefit from the answers.
soyef said:
Think your missing the signature of the apk, best to copy the classes.dex, reaources.arsc and the res folder over from the compiled apk to the original SystemUI.apk that you have
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Thank you FYI my kitchen will not sign the apk in fact it will keep your original signature YEAH
GanGs_KiD said:
Do it again but before starting you need to install framework-res.apk and twframework-res.apk Plz write your future issues to the kitchen thread so that others will benefit from the answers.
Thank you FYI my kitchen will not sign the apk in fact it will keep your original signature YEAH
Click to expand...
Click to collapse
install framework-res.apk and twframework-res.apk ?
I don't understand
they already in my system phone

[Q] Odex Me

What do I do if its not Odexing my ROM after I use it?
Perhaps you should read up on what Odex is.
CousinMikeyP said:
What do I do if its not Odexing my ROM after I use it?
Click to expand...
Click to collapse
Stock Android implements an odex file structure, with odex meaning “optimized” dalvik executable file. As your likely aware, Android apps on your device are packaged as .apk files. That all being said, what this means is that for pretty much all of your apks there is a corresponding odex file. This goes for the framework files in .jar format as well.
For instance, on a non-rooted phone you’ll find
system/app/Phone.apk
as well as
system/app/Phone.odex
But what exactly are these odex files?
Well, when the Android OS needs to run your apps or utilize framework components, it has to parse (read/interpret) the compressed data stored in the .apk and/or .jar files. Having an odex file structure expedites this process by utilizing another file, the .odex file, which includes only the most critical data in an uncompressed format so the Android OS can quickly interpret that important information before parsing through the rest of the data held within the compressed .apks and .jars. Therefore, not all of the components of an app or framework are present in one file in an odexed sile system. I’ll elaborate on why I stress that in a moment. The goal of this scheme is to boot up faster, and generally load applications more quickly and smoother.
Ok so what is deodex?
The odexed file structure works well as an optimization tool, except for in the case of theming. Odexed apps and frameworks present a unique problem to those wanting to theme because the aspect they want to theme is broken up into two files. Typically theming involves swapping out images for home made ones, however this is simply impossible in an Odexed environment. The solution is to DeOdex the file system and reunite all of the uncompressed critical data of an app or framework back into the compressed .apk or .jar file.
Thought that would help you alot better then just telling you to read up on it because i didnt know myself
Maybe this will give you some insight
redhooka said:
Perhaps you should read up on what Odex is.
Click to expand...
Click to collapse
+1
---------- Post added at 07:27 PM ---------- Previous post was at 07:13 PM ----------
redhooka said:
Perhaps you should read up on what Odex is.
Click to expand...
Click to collapse
CousinMikeyP said:
What do I do if its not Odexing my ROM after I use it?
Click to expand...
Click to collapse
http://forum.xda-developers.com/forumdisplay.php?f=1104
XoCareBear3417 said:
+1
---------- Post added at 07:27 PM ---------- Previous post was at 07:13 PM ----------
http://forum.xda-developers.com/forumdisplay.php?f=1104
Click to expand...
Click to collapse
:banghead: y in the hell does ur op get thanked. This one gets a +1. And mine gets over seen. Wft is going on here? I think I got it now... imma keep n eye out for Thanx boosting. Haha
Sent from my SGH-T999 using xda premium
nardone24 said:
:banghead: Y in the hell does ur op get thanked. This one gets a +1. And mine gets over seen. Wft is going on here? I think i got it now... Imma keep n eye out for thanx boosting. Haha
sent from my sgh-t999 using xda premium
Click to expand...
Click to collapse
+1 wondering the same thing!

[Q] remove clock on stat bar jb

hi guys
i just want to ask if there's an available app or flashable zip that can remove the clock from the status bar?
i've search the threads but i only found 1 but only applicable to gingerbread.
i'm currently using an ls8 based rom from biftor
tia
chwoiy said:
hi guys
i just want to ask if there's an available app or flashable zip that can remove the clock from the status bar?
i've search the threads but i only found 1 but only applicable to gingerbread.
i'm currently using an ls8 based rom from biftor
tia
Click to expand...
Click to collapse
send your SystemUI.apk,I will make.
thanks. but i wouldn't want to trouble you
thanks. but i wouldn't want to trouble you
i would want something that i could do myself easily and undo it anytime i want.
Thank you very much anyway, highly appreciated. i've seen you offer help on the other threads.
:good::angel::good:
chwoiy said:
thanks. but i wouldn't want to trouble you
i would want something that i could do myself easily and undo it anytime i want.
Thank you very much anyway, highly appreciated. i've seen you offer help on the other threads.
:good::angel::good:
Click to expand...
Click to collapse
Decompile SystemUI.apk
Navigate to SystemUI>res>layout>tw_status_bar.xml
Find this line
HTML:
<com.android.systemui.statusbar.policy.Clock..............
Change value at 2 place
HTML:
android:layout_width="wrap_content" android:layout_height="fill_parent"
to
HTML:
android:layout_width="0.0dip" android:layout_height="0.0dip"
That's over,Now you haven't clock on statusbar,very easy.
thanks dr30ma
thanks dr30ma,
appreciate your help. i'll try to do what u said but i still have to find myself and xml editor and i don't know how to recompile the apk.
also, i'm not using the stock TW launcher. does it matter if i use a different launcher? i also have a different rom
thanks
chwoiy said:
thanks dr30ma,
appreciate your help. i'll try to do what u said but i still have to find myself and xml editor and i don't know how to recompile the apk.
also, i'm not using the stock TW launcher. does it matter if i use a different launcher? i also have a different rom
thanks
Click to expand...
Click to collapse
Doesn't matter which launcher you used.
systemUi and launcher are both different system apps.
Google and Google......
It's your friend,take help.
I learn only from search,Never take any help in my mods from any dev.
Do And do.... you will learn everything.
For giving thanks a button is situated on lower rt. side.
And for center clock?
Install AllianceMod.
GreatVortex said:
And for center clock?
Click to expand...
Click to collapse
For Centre Clock
Read this Guide
http://forum.xda-developers.com/showthread.php?t=1830994
---------- Post added at 09:29 AM ---------- Previous post was at 09:23 AM ----------
tariq2kn said:
Install AllianceMod.
Click to expand...
Click to collapse
Tarique Bhai someone want to do himself.
thanks dr30ma
thanks again dr30ma
i tried installing apk multi tool
and read some instructions on how to edit the systemui but i always get stuck at decompile apk.
"an error occured pls check the log"
some tutorials even says that we should set the max size or option 22.
i get lost in it
tia
i tried alliancemod but
tariq2kn said:
Install AllianceMod.
Click to expand...
Click to collapse
i tried alliance mod looks great but the toggles are not my style and you have to use on of the toggles so that your preferences would reflect. also it interferes with the multiwindow of the biftor rom that i'm using.
i also tried the alliancerom but same problem with toggles. the settings look also changed. i'm aiming for a more stock like look.
but thanks for the recommendation, at first i really liked the customization but it just didn't suit my taste.
:angel:
i think i have decompiled
dr30ma said:
Decompile SystemUI.apk
Navigate to SystemUI>res>layout>tw_status_bar.xml
Find this line
HTML:
<com.android.systemui.statusbar.policy.Clock..............
Change value at 2 place
HTML:
android:layout_width="wrap_content" android:layout_height="fill_parent"
to
HTML:
android:layout_width="0.0dip" android:layout_height="0.0dip"
That's over,Now you haven't clock on statusbar,very easy.
Click to expand...
Click to collapse
hello dr30ma
i think i have decompiled the systemui.apk. i found it in the projects folder.
i've double clicked the tw_status_bar.xml and the IExplorer opened showing the code.
i've also found the line that u were stating above but i don't know how to edit it.
do i need to download an xml editor?
tia:good:
chwoiy said:
hello dr30ma
i think i have decompiled the systemui.apk. i found it in the projects folder.
i've double clicked the tw_status_bar.xml and the IExplorer opened showing the code.
i've also found the line that u were stating above but i don't know how to edit it.
do i need to download an xml editor?
tia:good:
Click to expand...
Click to collapse
Use Notepad++ (google and download it, it's free) if you have windows on your PC.
recompiling
hi dr30ma
i'm really not sure if i've done everything correctly.
in decompiling i keep on getting an error occured
but i checked projects folder, the systemui directory is there
so i looked for the tw_status_bar.xml file and made the changes u listed by just using notepad. i'm not really sure if this is correct but i tried it anyway.
now when i go back to script in apktool, i press 11 to recompile apk. but there is again an error.
i tried to look for the keep directory but it does not appear. so i think i wasn't successful.
any help would be appreciated. tia!
is notepad++ same as the stock notepad available in windows7?
churapa said:
Use Notepad++ (google and download it, it's free) if you have windows on your PC.
Click to expand...
Click to collapse
is notepad++ same as the stock notepad available in windows7? i just used that
and was i successful in decompiling?
tia!
chwoiy said:
is notepad++ same as the stock notepad available in windows7? i just used that
and was i successful in decompiling?
tia!
Click to expand...
Click to collapse
Don't use stock notepad it is not same. Download ++ or pspad
Sent from my GT-I9100 using xda app-developers app
grisoxxl said:
Don't use stock notepad it is not same. Download ++ or pspad
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
thanks for the help. but have i done the steps right? i'm not sure about the steps i did in apktool
tia

SystemUI crashes after installing edited twframework

I need help please. Does anyone know what might be causing my systemui to crash after I install an edited twframework. I am on CNexus' MK3 deodexed rom. I am using ApkMultiTool with compression set to 9. I am able to decompile and recompile the twframework, but after copying to system/framework, changing permissions and rebooting, a persistant message "systemUi has stopped working" keeps popping up. At that point, I have to quickly keep pressing OK while trying to navigate over to ES file Explorer so that I can copy over the backup twframework to the system.
It could be so many things. What did you edit?
---------- Post added at 11:50 AM ---------- Previous post was at 11:48 AM ----------
Did you copy the manifest and resources files from the original apk to the modified one?
metalfan78 said:
It could be so many things. What did you edit?
---------- Post added at 11:50 AM ---------- Previous post was at 11:48 AM ----------
Did you copy the manifest and resources files from the original apk to the modified one?
Click to expand...
Click to collapse
I edited the scrollbar text color in values/color. I didn't copy the manifest over, only the resources. I didn't know I had to copy over the manifest? Is that a mandatory, I never do that and usually never have problems?
I've always had to copy the manifest, it contains the stock signatures needed for the system to verify the apk. Try that first to see if it works.
Grab a logcat. It'll tell you if it can't find a resource or whatever the issue is
metalfan78 said:
I've always had to copy the manifest, it contains the stock signatures needed for the system to verify the apk. Try that first to see if it works.
Click to expand...
Click to collapse
Thanks very much for your help @metalfan78! I'll give it a try and see what happens
CNexus said:
Grab a logcat. It'll tell you if it can't find a resource or whatever the issue is
Click to expand...
Click to collapse
Thanks @CNexus. As usual, I appreciate your help. Give me a little bit, and I'll have something for you.
metalfan78 said:
I've always had to copy the manifest, it contains the stock signatures needed for the system to verify the apk. Try that first to see if it works.
Click to expand...
Click to collapse
I didn't realize until after you asked, I use Apk MultiTool. All you need to do is copy resources from the modded apk to the original. The original manifest remains.
I always used apk tool and I did it the opposite way, copying the manifest over to the new one where I made all the edits.
metalfan78 said:
I always used apk tool and I did it the opposite way, copying the manifest over to the new one where I made all the edits.
Click to expand...
Click to collapse
Hmmm. I didn't know to do that. Do you think it's better that way?
I can't say which way is better, that's just the way I learned. Hopefully cnexus can help more.
I'm a lot out of comfort zone with theming questions so I called in the pros for you. Should get a response or two in a bit
nyfl2004 said:
I need help please. Does anyone know what might be causing my systemui to crash after I install an edited twframework. I am on CNexus' MK3 deodexed rom. I am using ApkMultiTool with compression set to 9. I am able to decompile and recompile the twframework, but after copying to system/framework, changing permissions and rebooting, a persistant message "systemUi has stopped working" keeps popping up. At that point, I have to quickly keep pressing OK while trying to navigate over to ES file Explorer so that I can copy over the backup twframework to the system.
Click to expand...
Click to collapse
Hey buddy. Some edit in your tw framework is clashing with UI. UI is trying to pull a resource from twfw that isn't there anymore. No easy solution. Another reason why tw theming gives people fits and there are so many themes for aosp and not many for tw. I would start over editing small amounts at a time...
[email protected]'$ [email protected]@XY
To be in the safe zone always copy over android manifest and meta inf files. Even when using multi tool. You never know if it is going to do it for you even tho it usually does.
He's what I did for that apk.
1. Decompile
2. Make edits
3. Compile
4. Move original meta inf file to new apk
5. Move original android manifest to new apk
I haven't had any problems this way
CNexus said:
I'm a lot out of comfort zone with theming questions so I called in the pros for you. Should get a response or two in a bit
Click to expand...
Click to collapse
Thebear j koss said:
Hey buddy. Some edit in your tw framework is clashing with UI. UI is trying to pull a resource from twfw that isn't there anymore. No easy solution. Another reason why tw theming gives people fits and there are so many themes for aosp and not many for tw. I would start over editing small amounts at a time...
[email protected]'$ [email protected]@XY
Click to expand...
Click to collapse
calebsb said:
To be in the safe zone always copy over android manifest and meta inf files. Even when using multi tool. You never know if it is going to do it for you even tho it usually does
Click to expand...
Click to collapse
Thanks fellas. I appreciate your help. I will definitely take all your advice and apply it going forward. You all have taught me a great deal. I'm very grateful!!
You may want to, if the previous suggestions haven't helped, throw your apk in a zip. Wipe cache/dalvik, and flash via recovery.
1brainsurgeon said:
You may want to, if the previous suggestions haven't helped, throw your apk in a zip. Wipe cache/dalvik, and flash via recovery.
Click to expand...
Click to collapse
Thanks @1brainsurgeon. I had tried that as well, figured I would cover all bases, but that didn't work either. I finally threw in the towel and borrowed a twframework from another MK3 rom. I was then able to make my edits without any issues. Big thanks to all you guys for all your help!!

Need guide to decompile/edit/recompile framework.jar

I'm trying to learn a little about porting roms and I'm using this thread by @Hero ;http://forum.xda-developers.com/showthread.php?t=2069850. My problem is that I can't seem to find a usable guide on how to actually decompile the framework.jar and get to the smali folders mentioned in step 12. I've been searching all day and the only guides I see involve classes.dex, which don't appear to be what I'm looking for. Any guidance or push in the right direction would be greatly appreciated. Thanks in advance
Awesome endeavor! I think I saw something under Android development a while back. But, what I found was really old. If you are able to find (outside of here) please post back...
Thanks
Sent from my SPH-L710 using Xparent Cyan Tapatalk 2
g_money said:
Awesome endeavor! I think I saw something under Android development a while back. But, what I found was really old. If you are able to find (outside of here) please post back...
Thanks
Sent from my SPH-L710 using Xparent Cyan Tapatalk 2
Click to expand...
Click to collapse
Will do, thanks..
nyfl2004 said:
Will do, thanks..
Click to expand...
Click to collapse
Nyfl2004 I swear I remember your name from my early days on MOAR? Anyway, no thank you. What I find on Android dev always seems obsolete the next day. And now we're on 4.4.2. Guaranteed if I find anything "new" about dev, it will relate to JB. I'll PM you if I come across anything of interest...
Sent from my SPH-L710 using Xparent Cyan Tapatalk 2
Found this thread and this one here. May help out a bit.
Evilone69tmg said:
Found this thread and this one here. May help out a bit.
Click to expand...
Click to collapse
Thanks man. I must be missing something. Are the smali edits in framework.jar are done thru classes.dex?
g_money said:
Nyfl2004 I swear I remember your name from my early days on MOAR? Anyway, no thank you. What I find on Android dev always seems obsolete the next day. And now we're on 4.4.2. Guaranteed if I find anything "new" about dev, it will relate to JB. I'll PM you if I come across anything of interest...
Sent from my SPH-L710 using Xparent Cyan Tapatalk 2
Click to expand...
Click to collapse
Yeah, that's me man. I'm the guy with the ElegantWhite theme. I did one for MOAR
nyfl2004 said:
Thanks man. I must be missing something. Are the smali edits in framework.jar are done thru classes.dex?
Click to expand...
Click to collapse
Sorry for the late reply. I tried my apktool, but something's wrong with it (At work no time to fix). So I used VTS to decompile the framework jar and it gives you a bunch of folders with smali files to edit. Hope that helps. I'm no expert at this. Trial and error is how I learn things
Evilone69tmg said:
Sorry for the late reply. I tried my apktool, but something's wrong with it (At work no time to fix). So I used VTS to decompile the framework jar and it gives you a bunch of folders with smali files to edit. Hope that helps. I'm no expert at this. Trial and error is how I learn things
Click to expand...
Click to collapse
You're a gentleman. I appreciate your help and input. I'll give it a whirl and let you know how I make out. Thanks again! :good::good:
Edit: Well, I downloaded and tried it with VTS. I get the same result as with ApkTool. There must be an error in the OP mentioned in post # 1. I cannot find the smali folders that the OP mentions. Example:
12.In system/framework/ of BOTH ROMs, decompile framework.jar and framework2.jar•In the framework.jar of the ROM you want to port - delete the following folders:•smali/android/provider
•smali/android/telephony
•smali/android/server
•smali/android/service
•smali/com/android/internal/telephony
•Replace them with the folders from the ROM for your carrier
•In the framework2.jar of the ROM you want to port - delete the following folders:•smali/android/provider
•smali/android/telephony
•smali/android/server
•smali/com/android/internal/telephony
•smali/com/google/android/mms
That guide is really old...since then they've introduced other jars and moved the files around
Check telephony-common and mms-common jars
And also framework.jar versus framework2.jar
CNexus said:
That guide is really old...since then they've introduced other jars and moved the files around
Check telephony-common and mms-common jars
And also framework.jar versus framework2.jar
Click to expand...
Click to collapse
Thanks a lot CNexus!!. I appreciate your help. I'll keep at it. Getting there slowly but surely.

Categories

Resources