Decompile and Compile Kernel ROM - Android Software Development

Can anyone with a good heart here decompile the kernel attached below and edit the init.rc file in it..
please add the com.htc.framework before the framework.jar
and then recompile again and attach it here please..
Thanks You!..

anyone please!..

I think this is what you wanted. In init.rc, I replaced the line:
Code:
export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar
with:
Code:
export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/com.htc.framework.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar

YES! thank you so much!..
how did you do that?..
would really appreciate if you can teach me how..
because there is missing that i forgot to add.. sorry
Code:
export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/com.htc.framework.jar:/system/framework/com.htc.android.pimlib.jar:/system/framework/com.htc.android.easopen.jar:/system/framework/com.scalado.util.ScaladoUtil.jar
if you have sometime again that you can offer to me, please add/make my BOOTCLASSPATH like above.. i promise that it would be the last one.. THANKS!..

I assume English is not your native language. I'm not sure what you are asking. Do you want me to completely replace the BOOCLASSPATH in your boot.img with the one above?
As for how I did it, see this thread:
http://forum.xda-developers.com/showthread.php?t=551711

Gene Poole said:
I assume English is not your native language. I'm not sure what you are asking. Do you want me to completely replace the BOOCLASSPATH in your boot.img with the one above?
As for how I did it, see this thread:
http://forum.xda-developers.com/showthread.php?t=551711
Click to expand...
Click to collapse
Yes, thats what i want to do boss.. can you made it for me again?.. thats the last one.. i forgot the other framework to include..
thanks!..

GreatWizard said:
Yes, thats what i want to do boss.. can you made it for me again?.. thats the last one.. i forgot the other framework to include..
thanks!..
Click to expand...
Click to collapse
OK, here it is.

Gene Poole said:
OK, here it is.
Click to expand...
Click to collapse
oohh!!.. thank you boss!.. thanks for you time decompiling, editing and compiling just for me..
really appreciate what you did..
your the man!

Gene Poole said:
OK, here it is.
Click to expand...
Click to collapse
hi, i dont speak english, but i find this thread for google, man really need add etc/inidt.d to mi stock kernel but dont know how! i have only windows, and the other guide not work for me, can u help me?

Related

[SOLVED]Disable 1st start Cleanup?

hello xda ppl,how do i disable the first start CleanUP procedure?this thing buggs me out...it's deleting all my files on the SDcard,and i don't want that ...it's there a .REG file?
How is this SOLVED if there's no replies to it ?!
NRGZ28 said:
How is this SOLVED if there's no replies to it ?!
Click to expand...
Click to collapse
i did it
How, though? The thread is useless if you don't tell others what you did.
Farmer Ted said:
How, though? The thread is useless if you don't tell others what you did.
Click to expand...
Click to collapse
replace the ClearStorage.exe with an updated one in OEMDrivers

Need a dev!

Have a ROM I'm playing about with but want to go more in depth. Needs backsmali so we can figure it out ans tweak. But I have limited knowledge. Anyone want to help out?
Thanks,
Sent from my JimmyMIUI v3 fuelled DHD!
you want to backsmali what? If it's an apk or jar file than use apk manager, it gives you the option to either just unpack the file, decomplie it as well as backsmali.
haerigrek said:
you want to backsmali what? If it's an apk or jar file than use apk manager, it gives you the option to either just unpack the file, decomplie it as well as backsmali.
Click to expand...
Click to collapse
Hmm...everyone makes it sound easy. But its what you do to change things once you're decompiled it.....I don't know what to tweak to get what I want or what to look for to remove or change...I need someone in the know lol....
Sent from my JimmyMIUI v3 fuelled DHD!
just say what you want to change.
haerigrek said:
just say what you want to change.
Click to expand...
Click to collapse
I don't know what that is yet lol....
Sent from my JimmyMIUI v3 fuelled DHD!
Most things can be manipulated easily within xml files without backsmali, you just need some xlm knowledge.
what are you trying to acomplish with this mod?
jameslsmith said:
Have a ROM I'm playing about with but want to go more in depth. Needs backsmali so we can figure it out ans tweak. But I have limited knowledge. Anyone want to help out?
Thanks,
Sent from my JimmyMIUI v3 fuelled DHD!
Click to expand...
Click to collapse
Try to look at this http://forum.xda-developers.com/showthread.php?t=1136625
CLOSED - No need for any more responses, thanks
jameslsmith said:
CLOSED - No need for any more responses, thanks
Click to expand...
Click to collapse
PM a mod and ask them to close your thread

[Q] [q] Porting Framework

Hello sirs/mams can I port any rom's framework to another rom?? Help needed asap:laugh:..Don't worry I won't stole any dev's credits..please tell masters.It'll be very helpful for me
[email protected] said:
Hello sirs/mams can I port any rom's framework to another rom?? Help needed asap:laugh:..Don't worry I won't stole any dev's credits..please tell masters.It'll be very helpful for me
Click to expand...
Click to collapse
copy png files from drawable folders and compare XML files for any addition, that's the fastest way
mohamedrashad said:
copy png files from drawable folders and compare XML files for any addition, that's the fastest way
Click to expand...
Click to collapse
Sir what do you mean by "compare XML files for any addition" ..explain please. am a newbie
Here is a guide on doing so.
http://forum.xda-developers.com/showthread.php?t=1719886
I tried it myself, but I think I did something wrong so it didn't work, but you could give it a shot and if you do, post the result.
Thanks
NightRaven49 said:
Here is a guide on doing so.
http://forum.xda-developers.com/showthread.php?t=1719886
I tried it myself, but I think I did something wrong so it didn't work, but you could give it a shot and if you do, post the result.
Click to expand...
Click to collapse
Thanks but the guide is for HDPI and MDPI devices..but our sgy is ldpi
[email protected] said:
Thanks but the guide is for HDPI and MDPI devices..but our sgy is ldpi
Click to expand...
Click to collapse
I guess if u go inside framework-res.apk, there will be drawable ldpi & drawable mdpi folders. Btw if u wanna change only pngs & xmls, then u can do it in ur phone itself. U just need a superb app called Ninjamorph.apk
Hope this helps...!!
Galaxy_Rohit said:
I guess if u go inside framework-res.apk, there will be drawable ldpi & drawable mdpi folders. Btw if u wanna change only pngs & xmls, then u can do it in ur phone itself. U just need a superb app called Ninjamorph.apk
Hope this helps...!!
Click to expand...
Click to collapse
I know bro about ninjamorph...but please provide me best .9.png editor for my pc (xp)
[email protected] said:
Hello sirs/mams can I port any rom's framework to another rom?? Help needed asap:laugh:..Don't worry I won't stole any dev's credits..please tell masters.It'll be very helpful for me
Click to expand...
Click to collapse
Nice thread sir..It might help noob like me too
Welcome
mimma7 said:
Nice thread sir..It might help noob like me too
Click to expand...
Click to collapse
Welcome..

[REQUEST] Smaller Navbar

Anyone know of a working smaller navbar mod (not using xposed) that works on MHC19I ? or able to point me in the direction of guide that allows me to attempt to make one myself ?
Looking to stay stock+rooted, rather than a custom rom.
TIA
EDIT - I've modified framework-res.apk for MHC19I - Grab it here. Mod changes navbar to 24 instead of 48 height.
* Backup your original /system/framework-res.apk and replace it with the download.
I'd recommend to flash resurrection remix rom where you can set the navbar to 24dp.
snachez said:
Anyone know of a working smaller navbar mod (not using xposed) that works on MHC19I ? or able to point me in the direction of guide that allows me to attempt to make one myself ?
Looking to stay stock+rooted, rather than a custom rom.
TIA
Click to expand...
Click to collapse
U can make it by editing framework-res.apk
Decompile framework-res.apk then go to res/values/dimens.xml there u can change it.
Rajeev said:
U can make it by editing framework-res.apk
Decompile framework-res.apk then go to res/values/dimens.xml there u can change it.
Click to expand...
Click to collapse
Thanks, I'll give it a shot !
snachez said:
Thanks, I'll give it a shot !
Click to expand...
Click to collapse
So I've decompiled and made the edit, recompiled and signed the apk, pushed it to my device and replaced the original.. but now it just sits on the bootup logo animination and I cant get past that stage.
Hopefully you have a backup that you can restore. If not, push the stock framework via adb
snachez said:
So I've decompiled and made the edit, recompiled and signed the apk, pushed it to my device and replaced the original.. but now it just sits on the bootup logo animination and I cant get past that stage.
Click to expand...
Click to collapse
U have done something wrong.. Which apktool u used to edit ?
Rajeev said:
U have done something wrong.. Which apktool u used to edit ?
Click to expand...
Click to collapse
I used apktool 2.0.3 from https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.0.3.jar
Signed with tool from http://forum.xda-developers.com/showthread.php?t=2723579
Many thanks for any advice
snachez said:
I used apktool 2.0.3 from https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.0.3.jar
Signed with tool from http://forum.xda-developers.com/showthread.php?t=2723579
Many thanks for any advice
Click to expand...
Click to collapse
Aww yuss. I followed a different guide from http://forum.xda-developers.com/showthread.php?t=1814441 and found I was missing a few steps (copying the META-INF etc)
Much success now.
For anyone interested, I've posted a modded framework-res.apk in OP... Flashable Zip my next project.
snachez said:
Aww yuss. I followed a different guide from http://forum.xda-developers.com/showthread.php?t=1814441 and found I was missing a few steps (copying the META-INF etc)
Much success now.
For anyone interested, I've posted a modded framework-res.apk in OP... Flashable Zip my next project.
Click to expand...
Click to collapse
Glad u made it dude.. Enjoy. Feel free to ask any helps

3minit

Has anyone taken the time to change deodex the SystemUI_ZTE file and making the edits to enable 3minit functionality yet? If so let me know, if not I am gonna work on it in the next few days. The pain was deodex odex files from what I remember, anyways thanks!
neo4uo said:
Has anyone taken the time to change deodex the SystemUI_ZTE file and making the edits to enable 3minit functionality yet? If so let me know, if not I am gonna work on it in the next few days. The pain was deodex odex files from what I remember, anyways thanks!
Click to expand...
Click to collapse
I can upload any deodex, file you may need to get to work,
I try but no luck and been short in time to keep trying.
P.S. B29.Community ROM & Dmix7 or any ROM base on both of my ROM are deodex.
If you can get me the the the deodex SystemUI_ZTE file I can get the other files needed if not I may have time to deodex it myself I just remember that deodex for odex file was a pain and I will have to teach my self how to do it again.
neo4uo said:
If you can get me the the the deodex SystemUI_ZTE file I can get the other files needed if not I may have time to deodex it myself I just remember that deodex for odex file was a pain and I will have to teach my self how to do it again.
Click to expand...
Click to collapse
No problem, I'll have a zip file ready later today with SystemUI and framework?
P.S. Superr's Kitchen is a beast for cooking ROM and Deodexing is what I been using by the way.
DrakenFX said:
No problem, I'll have a zip file ready later today with SystemUI and framework?
P.S. Superr's Kitchen is a beast for cooking ROM and Deodexing is what I been using by the way.
Click to expand...
Click to collapse
That will be awesome, then we can get some 3minit action going with some custom batteries
neo4uo said:
That will be awesome, then we can get some 3minit action going with some custom batteries
Click to expand...
Click to collapse
Yeah , that'll be awesome.... I'll have them ready in a few hours.
EDIT : @neo4uo
i'm about to get the zip file ready, which files you'll need? beside SystemUI_ZTE and Framework?
DrakenFX said:
Yeah , that'll be awesome.... I'll have them ready in a few hours.
EDIT : @neo4uo
i'm about to get the zip file ready, which files you'll need? beside SystemUI_ZTE and Framework?
Click to expand...
Click to collapse
All I need is the system ZTE deodexed I have the rest!
neo4uo said:
All I need is the system ZTE deodexed I have the rest!
Click to expand...
Click to collapse
okie, here is a bundle
enjoy and let us know about the progress
http://www.mediafire.com/file/79dch06482d7x39/3mint_work_files.zip
DrakenFX said:
okie, here is a bundle
enjoy and let us know about the progress
http://www.mediafire.com/file/79dch06482d7x39/3mint_work_files.zip
Click to expand...
Click to collapse
Thanks man I will get on it, if it goes alright you will have to start a thread in apps and themes and post the files since you are good at that kind of stuff
Well I got the files and made the changes and flashed and it.... Didn't work. Now when I was in one of the XML files making some edit I noticed that ZTE pulls it's battery file from another app kind of like 3minit does. So the problem is going to be tracking that down and making some more edits... Error oh well the standard procedure didn't work, but I have not given up it will take longer and I might have to change another app or have one deodexed, but I will let you know.
neo4uo said:
Well I got the files and made the changes and flashed and it.... Didn't work. Now when I was in one of the XML files making some edit I noticed that ZTE pulls it's battery file from another app kind of like 3minit does. So the problem is going to be tracking that down and making some more edits... Error oh well the standard procedure didn't work, but I have not given up it will take longer and I might have to change another app or have one deodexed, but I will let you know.
Click to expand...
Click to collapse
Any luck @neo4uo?
Wonder if anyone from 3minit thread can help.
DrakenFX said:
Any luck @neo4uo?
Wonder if anyone from 3minit thread can help.
Click to expand...
Click to collapse
Not yet I haven't had Romero work on it much. I did ask in the 3minit forum but haven't got a response yet
This guy got it working! I flashed the US version so fat do good.
http://forum.xda-developers.com/axo...-battery-mod-zte-axon-7-a2017g-t3537460/page2
add final version

Categories

Resources