{
"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"
}
So, i learnt how to make my MIUI rom out of this tutorial (all credits to sandy7), but with time the tut got old due to some bugs in miui rom, and if you use that, the rom will probably boot but with some bugs like reboots, launcher fc, etc etc. So i will make a complete guide including the tutorial by sandy with the additional files to make a fully working MIUI rom. Enjoy!
Click to expand...
Click to collapse
Code:
[SIZE="3"][FONT="System"][COLOR="Red"][I][B]*I'm not responsible for any damage you do to your device, however i will provide full support.[/B][/I][/COLOR][/FONT][/SIZE]
The basics!
Things you'll need
Notepad++ - the notepad we will use to edit basically all files. Normal one won't work so don't even think about it
Base LT18i MIUI rom we will use this to get apps, fonts, etc
7-zip used to rebuild the rom
APKTool used to install apks in the PC so you won't get errors decompiling
ApkManager used to decompile and build apks
base MIUI rom! this is the base, i already fixed some bugs on it and deleted stuff
Click to expand...
Click to collapse
Let's get started with this!
1-Unrar the MIUI base rom i gave up in some folder you like, and open the lt18i one with winrar or 7zip.
2-Copy the folders app, fonts, framework and media from the LT18i ROM to the MIUI base. Don't worry if it doesn't ask you to replace anything. Delete SemcHdmiControlService.apk in miui base after copying
3-Open lib folders in both base and lt18i, and copy this from lt18i to base:
content-types.properties
liblbesec.so
liblocSDK_2.5OEM.so
libshell.so
libshell_jni.so
libshellservice.so
4-Open etc folders, and do the same as step 3 but with these files:
yellowpage.db
telocation.td
5-Open permissions foder in /etc, and same as step 3 with these files:
miui-framework.xml
com.google.android.media.effects.xml
com.google.widevine.software.drm.xml
com.google.android.maps.xml
6-Open xbin in both base and lt18i, and copy from lt18i to base:
shelld
Build.prop mods! Make your own!
In MIUI base, there's a folder named dev. If you don't know what that is, i'll try to give you a brief explanation: there are 4 xperia mdpis. In order to make a ROM that works on all of them with aroma, you need some files they require (like camera lib files) that are flashed right after the rom. There are 4 build.props in total, each in one dev folder, you can edit all or just the one that suits your phone, if rom is for personal use.
Open the build.prop you want, and edit the red lines with whatever you want:
Code:
ro.build.id=[COLOR="Red"]4.1.B.0.587[/COLOR]
ro.build.display.id=[COLOR="red"]MIUIAndroid 3.1.18[/COLOR]
ro.build.version.incremental=[COLOR="red"]3.1.18[/COLOR]
ro.rommanager.developerid=[COLOR="red"]miuiandroid[/COLOR]
ro.modversion=[COLOR="red"]MIUIAndroid-3.1.18-EN-WT19i[/COLOR]
ro.goo.rom=[COLOR="red"]MIUIAndroid-EN-WT19i[/COLOR]
Note: after ## Project Fluid™ ## in build.prop, you can delete everything, those are tweaks i forgot to remove, you just delete them and add the ones you like
Decompiling! Take that stupid black bar!
First of all, you need to install 3 files in order to make this work. Search for this files in /framework (MIUI base rom, not lt18i) and move them to apktool folder:
framework-res.apk
framework-miui-res.apk
SemcGenericUxpRes.apk
1-Shift-Right-click any blank space in APKTool folder, and click "Open command window here"
2-Copy and paste these 3 lines separed by enter (copy one, press enter, copy another, blabla):
apktool if framework-res.apk
apktool if framework-miui-res.apk
apktool if SemcGenericUxpRes.apk
Disabling auto-brightness and make the leds work
1-Copy framework-res.apk from miui base to apkmanager folder called place-apk-here-for-modding and open Script.bat
2-In the script, select 22, then select framework-res.apk, and then select 9 (decompile apk)
3-Once it's done, go to projects folder in apkmanager, open framework-res.apk, and go to res/values/bools.xml (right click, edit with notepad++)
4-Change this line:
Code:
<bool name="config_automatic_brightness_available">[COLOR="Red"]true[/COLOR]</bool>
to this:
Code:
<bool name="config_automatic_brightness_available">[COLOR="red"]false[/COLOR]</bool>
5-Go back to script.bat and choose option 11 (build apk)
It will ask "Is this a system app?" say yes to that
Then it'll ask "Do you wanna copy over any additional content..." say no to that
And we're done with framework-res.
Click to expand...
Click to collapse
Remove SystemUI black bar
1-Copy MiuiSystemUi.apk from miui base to apkmanager folder called place-apk-here-for-modding and open Script.bat
2-In the script, select 22, then select MiuiSystemUi.apk, and then select 9 (decompile apk)
3-Once it's done, go to projects folder in apkmanager, open MiuiSystemUi.apk, and go to res/values/drawables.xml (right click, edit with notepad++)
4-Delete this line:
Code:
<item type="drawable" name="notification_header_bg">#ff000000</item>
5-Go back to script.bat and choose option 11 (build apk)
It will ask "Is this a system app?" say yes to that
Then it'll ask "Do you wanna copy over any additional content..." say yes to that
It will pop-up a dialog, DO NOT PRESS ENTER!, go to keep folder in apkmanager and delete resources.arsc. Now, go to script.bat and press enter. Recompiling is done with no errors
And we're done with black bar
Click to expand...
Click to collapse
META-INF changing! Your ROM, not mine!
1-Go to META-INF/com/google/android and open aroma-config with notepad++
2-Edit these lines adding anything you want:
Code:
ini_set("rom_name", "[COLOR="Red"]MIUIv4[/COLOR]");
ini_set("rom_version", "[COLOR="red"]3.1.18[/COLOR]");
ini_set("rom_author", "[COLOR="red"]anerik[/COLOR]");
ini_set("rom_device", "[COLOR="red"]Xperia MDPI[/COLOR]");
ini_set("rom_date", "[COLOR="red"]18 jan 2013[/COLOR]");
3-Go to META-INF/com/google/android/aroma and open changelog.txt, write anything you want.
Now you have everything setted up, select all 4 folders and make a zip out of it with 7-zip. This will be 100% clean MIUI, in the next posts (tomorrow, sleep time now) i will add more addons like scripts, supercharger, etc! Just flash the ROM, it should boot fine, no launcher FC, no themes working bad, nothing.
anerik said:
1-Right-click any blank space in APKTool folder, and click "Open command window here"
Click to expand...
Click to collapse
I don't know about linux but in windows it should be Shift+Right-Click...
BTW thanks for the tut....really helpful...will press the thanks button afterwards because this 8-thanks limit will not let me press it....
Regards,
AJ
alokbina said:
I don't know about linux but in windows it should be Shift+Right-Click...
BTW thanks for the tut....really helpful...will press the thanks button afterwards because this 8-thanks limit will not let me press it....
Regards,
AJ
Click to expand...
Click to collapse
lol such a noob error, my bad, thanks for pointing out
anerik said:
lol such a noob error, my bad, thanks for pointing out
Click to expand...
Click to collapse
Ur welcome buddy....
---------- Post added at 01:34 PM ---------- Previous post was at 01:03 PM ----------
So it is for all mdpi or a single device??
alokbina said:
Ur welcome buddy....
---------- Post added at 01:34 PM ---------- Previous post was at 01:03 PM ----------
So it is for all mdpi or a single device??
Click to expand...
Click to collapse
all mdpi!
:good::good::good::good::good:
sandy7 said:
:good::good::good::good::good:
Click to expand...
Click to collapse
:laugh:
Thanks in advance BRO! :good:
Really good tuturial.
kovacslaszlo13 said:
Thanks in advance BRO! :good:
Really good tuturial.
Click to expand...
Click to collapse
Thanks!!
Bugfixes!
Bad keyboard!
-Yes, i forgot to replace keyboard. To fix:
1-Go to /system/app delete LatinImeGoogle.apk
2-Download this or any keyboard you like, and flash it or just unpack it on your ROM. Don't forget to hit thanks to the autor.
No wi-fi!
-This might just be kernel problem, but in any case, here are the modules, just unpack and copy folder lib to your system folder, replace if asked. Then flash
FC's!
-Kernel problem, i am unable to fix since i am on stock with locked bl. Just change your kernel
When i switch bluetooth on, bootloop?
-I believe kernel problem aswell, tested that a hundred times with no bootloop, stock talking.
cool thread dude.. is it possible to use a stock-rom as base for miui??
kulas1987 said:
cool thread dude.. is it possible to use a stock-rom as base for miui??
Click to expand...
Click to collapse
Yep the base he provided was of stock only just apps, fonts, framework and media folder was deleted
Best Regards,
AJ
alokbina said:
Yep the base he provided was of stock only just apps, fonts, framework and media folder was deleted
Best Regards,
AJ
Click to expand...
Click to collapse
yeh he right!
Thanks for the nice tutorial bro:good::good:
I'm using micromax A100.So far only one custom rom for it.I would like to port a miui rom for it..how do i select the appropriate version making sure that it will work on my phone?..I'm a noob.I'm sorry if i'm confusing you.:silly:
looks like not work for me,anyway thank for the tutorial
want to create latest miui rom for karbonn s5
I want to create latest version of miui rom for my karbon s5 titanium. So which version of miui can i used as a port ram.....?
and also ri8 now i m using miui v5 3.8.9, it working fine for my mobile, so can i use this rom as a base rom
Many thanks. Really helpful for me )
Sent from my ST18i using XDA Free mobile app
want to make/port a miui v5 rom for Nokia X2 dual sim...plz help
can i make a miui v5 rom for nokia x2 dual (android v4.3) using your tutorial?
plz give me some specific suggestions... there are no custom roms for this device.so, i want to make one..plz help.
this will mean a lot.
Any one ported MIUI 6 ?
how to repack MIUI rom then ?
Related
IMPORTANT - APK decompilation is needed only when you are going to edit some xml's or other stuff. If you want edit or replace png's, you need to extract the apk instead of decompiling it.
If you want to extract an apk for theming, read this tutorial - http://forum.xda-developers.com/showthread.php?t=1665674
1) Download apkmanager ( http://www.apkmultitool.com/?q=node/5 ) and install it.
2) Put the apk you want to decompile in 'place-apk-here-for-modding' folder.
3) Double click on 'script'
4) Ignore the 'adb not found' command and press enter
5) Type 22 i.e. 'set current project' and press enter.
6) Type 1 and press enter
7) Type 9 and press enter to decompile apk.
8) Wait until the decompilation finishes.
9) Minimize command line and go to projects -> filename.apk -> make the required changes
10) Switch back to command-line, type 11 and press enter.
11) After sometime you'll get a message 'is this a system apk?', type y and press enter.
12) You'll get another message 'aside from......... of errors', type y and press enter.
13) Wait until you get this message - 'In the apk manager.... this script' , dont do anything, minimize command-line, go to keep folder and delete resources.arsc
14) Switch back to command-line and press enter.
15) Wait until the command-line comes back to its initial look.
16) Go to 'place-apk-here-for-modding' folder, your new file will be unsignedfilename.apk
Read step 17 if you have modded framework-res.apk, otherwise skip it.
17) Open framework-res.apk and unsignedframework-res.apk using 7-zip or winrar or any other archive manager. Drag and drop resources.arsc from unsignedframework-res.apk into framework-res.apk (do not extract them, just open them using any archive manager and do the drag-drop stuff)
18) Copy the file to SD card, rename it and remove 'unsigned' from file's name.
19) Push the file to original folder using root explorer and set proper permissions.
EG - If you modded framework-res.apk, push your old file ( first move resources.arsc from new to old framework and then move the old framework) to /system folder. Set permissions to rw-r--r-- and then move the file to /system/framework folder.
PS - Make a nandroid backup before doing this if you modded framework.
Sent from my GT-S5830 using Tapatalk 2
Fr
I'll update this with more info when I get access to my PC
Sent from my GT-S5830 using Tapatalk 2
Huh, finally. Thanks a lot dev. This is much better than all those crap tutorials I found when I searched on Google. If you copied from someone, please give credits
Sent from my GT-S5830 using xda premium
Rishris said:
lIf you copied from someone, please give credits
Click to expand...
Click to collapse
No, I did not copy. I wrote on my own :beer:
Sent from my GT-S5830 using Tapatalk 2
Why no one uses apktool and 7-zip
Sent from my GT-i9070 using xda premium
tj_droid said:
....19) Push the file to original folder using root explorer and set proper permissions.
EG - If you modded framework-res.apk, push your new file to /system folder. Set permissions to rw-r--r-- and then move the file to /system/framework folder.
Click to expand...
Click to collapse
This part is very important. Push directly to /system/framework folder may will be end with bootloop, FC...
(from my exprience)
btw good tutorial.
{
"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 did it like 10 times! dont have resource.arsc after compiling
here is the log http://dl.dropbox.com/u/54790911/New%20Text%20Document%20%282%29.txt
When i decompile framework-res from Miracle v4, i get a lot of errors with png, how do i fix this?
R4Ck said:
When i decompile framework-res from Miracle v4, i get a lot of errors with png, who do i fix this?
Click to expand...
Click to collapse
He might use bad pngs like .9.pngs that arent .9.png build
Sent from my GT-i9070 using xda premium
CoolCatGetHome said:
He might use bad pngs like .9.pngs that arent .9.png build
Sent from my GT-i9070 using xda premium
Click to expand...
Click to collapse
Yeah, in the log shows some message with .9 png, but i can extract them with winrar, the problem is when i compile
R4Ck said:
Yeah, in the log shows some message with .9 png, but i can extract them with winrar, the problem is when i compile
Click to expand...
Click to collapse
You should follow the tutorial by music.soul on patching .9.png s. U cant just edit them like normal pngs.
And, sorry , thanked u by mistake.ENJOY
Sent from my GT-S5830 using Tapatalk 2 Beta-5
Apk tool is better.100%.
Apk manager doesn't compile right.
paravoz.98 said:
Apk tool is better.100%.
Apk manager doesn't compile right.
Click to expand...
Click to collapse
+1
when you edit .9.png (I'm using Photoshop CS5)
after flatten image & save for existing image, it not save with .9.png.
for example:
filename.9.png it will be save to filename.png.
you must manually put .9.png
paravoz.98 said:
Apk tool is better.100%.
Apk manager doesn't compile right.
Click to expand...
Click to collapse
I know its better. Even I use apktool. But many people think apktool is confusing and they cant understand how to go about this decompiling and compiling stuff. That's why I wrote this guide so that people who cant understand apktool can try APKmanager
I am thinking of writing an apktool guide also
Sent from my GT-S5830 using Tapatalk 2
tj_droid said:
I know its better. Even I use apktool. But many people think apktool is confusing and they cant understand how to go about this decompiling and compiling stuff. That's why I wrote this guide so that people who cant understand apktool can try APKmanager
I am thinking of writing an apktool guide also
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
I prefered apktool. Both tools are better it defend on how we using it.
Both are can't functions properly if our give wrong commands, wrong prefix...etc
thanks tj_droid now i don't need to request anyone to edit apk's for me thanks a tonne
vaibhavx said:
thanks tj_droid now i don't need to request anyone to edit apk's for me thanks a tonne
Click to expand...
Click to collapse
My pleasure
Sent from my GT-S5830 using Tapatalk 2
i also use apk manager only recently i edited mms app and did many modifications in that like transparent background, new notification logo
but this gave me fc also while editing keyboard AxT9IME ( i was changing background ) thats why i asked CoolCatGetHome for help, dont know what he used but then it worked fine.
i think he used apktool
while Decompiling AxT9IME.apk i got this error hope CoolCatGetHome or someone can help on this.
here is the log file also Download
mor_1228 said:
i also use apk manager only recently i edited mms app and did many modifications in that like transparent background, new notification logo
but this gave me fc also while editing keyboard AxT9IME ( i was changing background ) thats why i asked CoolCatGetHome for help, dont know what he used but then it worked fine.
i think he used apktool
while Decompiling AxT9IME.apk i got this error hope CoolCatGetHome or someone can help on this.
here is the log file also Download
Click to expand...
Click to collapse
Actually apkmanager is outdated now. I read somewhere that the dev has fixed bugs and added new features and renamed it to APK Multi-tool
Sent from my GT-S5830 using Tapatalk 2
tj_droid said:
Actually apkmanager is outdated now. I read somewhere that the dev has fixed bugs and added new features and renamed it to APK Multi-tool
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
u have links for that ? if yes then can u post tutorial.
i need to learn how to edit xml files androidmanifest.xml because i want to change the name of a app. can u do that for me ?
like app name is abc but i want xyz. this the name which we see in app drawer or manage applications.
Hey guys, finally I started successfully using Xperia Sola apks on my Xperia arc stock 42 rooted phone..
Tested on Xperia arc(Sola apks), LWW(Sola,Go apks both) and must work on other devices too.
UPDATED GUIDE:
Note: When u did all steps if you still dont have a working lockscreen just try going for Xperia Go apks and android.policy.jar of Xperia Go!
I dont share a flashable zip file because I use Xperia arc, you use Neo, LWW etc.. This is a guide for you to make yourselves.
- First download the FILES.rar which includes all necessarily files,on the link.
http://www.mediafire.com/?obrb493z1x4ayza
- On the phone, go to system/framework and copy android.policy.jar to your desktop.
In pack, I added baksmali-smali folder/files for you to edit your classes.dex file of android.policy.jar
1- Open your android.policy.jar file with 7zip (right click-7zip-open archive) and then drag&drop classes.dex file to BAKSMALI-SMALI folder.
2- Run CMD in that folder and write this code and enter >> java -jar baksmali-1.3.3.jar -o classout/ classes.dex
Classout folder must be generated. Go to BAKSMALI-SMALI\classout\com\android\internal\policy\impl
3- Copy ExternalLockScreen.smali and LockPatternKeyguardView.smali files which are in MY FILES.RAR pack , inside ../impl folder. (LockPatternKeyguardView will overwrite)
4- Delete classes.dex file in BAKSMALI-SMALI folder and run CMD again and write this code and enter again>> java -jar smali-1.3.3.jar classout -o classes.dex
5- Now your new classes.dex file is ready. just open archive your android.policy.jar file with 7zip again and drag&drop new classes.dex in it..
-Second you will find Xperia_Sola_app_files folder in FILES.RAR pack. It includes Xperia Sola Settngs.apk and UxpNxtLockScreen.apk files.
Normally just copy these files to system if you use root explorer, set permissions & move system/app folder and android.policy.jar to framework folder. reboot and All done! Alternative way is Android Commander PC programme.
>> But I dont suggest you to use Settings.apk of Xperia Sola. It has bug on brightness. best way is decompiling your own Settings.apk with apk manager/tool (best working Wanam's apk manager ICS on GB) and adding lines from Xperia Sola Settings.apk display settings to your own apk. Sorry I don't have much time to explain editing XML on apk manager /compiling/ decompiling it..
If all is ok here is the picture ;
{
"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"
}
If it doesn't work; u must edit your framework-res.apk (/system/framework/framework-res.apk)
These are quoted from Sudanminipro's topic which is here >> http://forum.xda-developers.com/showthread.php?t=1837501
a)DECOMPILE your framework-res.apk
b)Add this line to the AndroidManifest.xml >> <permission android:label="@string/permlab_external_lockscreen" android:name="com.sonyericsson.permission.EXTERNAL_LOCKSCREEN" androidrotectionLevel="signatureOrSystem" android:description="@string/permdesc_external_lockscreen" />
c)Add these lines to the end of the strings.xml (/res/values/strings.xml) >>
<string name="permlab_external_lockscreen">You May Write Anything Here</string>
<string name="permdesc_external_lockscreen"> You May Write Anything Here </string>
d)Add these to the end of string names in public.xml (/res/values/public.xml) >> <public type="string" name="permlab_external_lockscreen" id="0xXXXXXXXX" />
<public type="string" name="permdesc_external_lockscreen" id="0xXXXXXXXX" />
the important thing is XXXXXXXX hex codes should be written in a way as a continuation of the codes that was above..
0x0104051b,0x0104051c for example..
e)RECOMPILE. Thats it.
Click to expand...
Click to collapse
Bugs:
- Settings.apk Lockscreen menu allows you to change your lockscreen wallpaper but it has low quality.
Bugfix: go into Settings.apk display settings and Lockscreen control, select a new wallpaper, then on computer find a wallpaper which u want to use and set pixels and save it as named wallpaper.PNG . On the phone go into data/data/com/sonyericsson.uxplockscreen folder and copy wallpaper.png inside it.. finally just try a few time screenoff&on.. Must be ok.
- Facebook notifications don't work!
- Don't work on landscape mode!
- You tell me more..
I'm not a developer, just modding my Xperia arc.. If any developers can help for these bugs, that will be great..
Cheers! If this is helpful for you please use thanks button.
Special thanx to Orochixxx for .smali file names and Sola system folder..
then all must be ok. Thanks & Regards AeonWorld for his tutorial and Sudanminipro for their work..
Good job :good:
one question , will it work on cm9 ??
Sent from my Arc S using Tapatalk 2
XnightX said:
one question , will it work on cm9 ??
Sent from my Arc S using Tapatalk 2
Click to expand...
Click to collapse
No mate, is CM9 a GB rom??
Nope
Sent from my Xperia Neo V with Supercharged ICS 4.0.4
can you make please a flashable zip arhive ?
Did all the steps, but Lockscreen didn't change! It's same as before. Using Zohaib's Xperia S GB ROM.
soumya_digi said:
Did all the steps, but Lockscreen didn't change! It's same as before. Using Zohaib's Xperia S GB ROM.
Click to expand...
Click to collapse
Same here Using stock .62 fw.
soumya_digi said:
Did all the steps, but Lockscreen didn't change! It's same as before. Using Zohaib's Xperia S GB ROM.
Click to expand...
Click to collapse
Same here. Using stock .42, Xperia Play.
i confuse on your steps , like " copy classes.dex file to folder, run CMD and enter code: java -jar baksmali-1.3.3.jar -o classout/ classes.dex
"To where I must copy classes.dex file ( what folder ) ?, And I cannot run java -jar baksmali-1.3.3.jar -o classout/ classes.dex ( it said unable to..............)
I will try this today, thought I never decompiled anything...we need a developer to make flashable .zip for this :/ ... at least I'll learn something new xD.
Using back smali and smali is a complicated method, instead of that you guys can use x10modtool here http://forum.xda-developers.com/showthread.php?t=842060 to decompile and recompile android.policy.jar
Sent from my SK17i using xda premium
No classes.dex in my android.policy.jar??? Can anyone post a screenshot of their decompiled android.policy.jar folder?
I only see bunch of .smali files in that .jar ... Edit: works with winrar, that x10modtool won't work with classes.dex, but thx anyway
EDIT: Dude... no way... where to put that externallockscreen.smali and other file... in classes.dex? in baksmali-1.3.3.jar? How? Please update the tutorial, I want this lockscreen.
And me too...
topic updated..
Can we port the ics lockscreen with shortcuts on lockscreen....?????can we do it in gb with shortcuts on lockscreen..????
If I could post my framework-res.apk here, coukd any of you decompile it, add those lines p is a p), recompile and post it back here. I'm having a problem recompiling the framework-res.apk with the x10modtool posted earlier.
Thanks
HussainQ said:
If I could post my framework-res.apk here, coukd any of you decompile it, add those lines P is a p), recompile and post it back here. I'm having a problem recompiling the framework-res.apk with the x10modtool posted earlier.
Thanks
Click to expand...
Click to collapse
Me too, if I click recompile it makes a new folder in "rec" folder but it is empty...
Erhany, please, do me a favour....
I'm giving you my classes.dex from android.policy.jar, and 2 smali files from your pack (to make it easier for you ).
Why?
Because classout folder doesn't show up after the first command and I can't edit classes.dex ... I guess this is an easy step to you because it is working for you. So please edit it for me and reupload here, this mod is killing me :crying:
Other steps are easier, but if it comes to recompiling framework-res, I quit .
This mod never work
Maybe there is one more needed file that is missing
framework-res.apk,
android.policy.jar,
UxpNxtLockScreen.apk,
Settings.apk,
framework.jar (tryed it but nothing)
But the old lock screen is still there?
maybe we need a lib file?
XMP 2.3.4.....58
Guys Im so sorry for cant helping you. I work 12hours in a day and being so tired and dont have time for modding..
I use this files in my Xperia Arc and if u do not use any special mod, jus try loading Xperia Arc Big Pack v3.. I have it now and didnt add any lines for framework-res or etc..
Just backup your whole phone and try this arc big pack v3 mod.. After that use my files.. It will work %100..
When I have time, I will try to recompile your files..
Sorry and good moddings..
Hi guys, today i am going to Show you How to Make a ROM, Starting from Base.. [Powered by Walkman Style]
Sorry For the Bad English, if i spell something wrong tell me!
This Tut shows how to make a fully Working ROM for Xperia MDPI devices, Any File Provided is suggested for xperia mdpi only! if you have another android device, you can look at this, but links Like META-INF/dev/ won't Work for all Android Devices!!
Index
1st Post .- Index / Downloads / Setting up the Things
2nd Post .- Making The ROM Prototype
3rd Post .- Final Modifications & True ROM
Click to expand...
Click to collapse
{
"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"
}
Tools Required:
- Notepad++ - MUST DOWNLOAD THIS! NORMAL NOTEPAD KILL THE FILES LIKE BUILD.PROP
- Java JDK - Required for Cygwin to Work
- Dsixda Android Kitchen Thread - Download Kitchen & Reffer to the FAQ
- Cygwin - its Like a Linux Emulator for Windows.
- META-INF & Dev folders - I am Giving Walkman Style v4 Folders, They are Fine for Locked/Unlocked & also all xperia.
- Android Terminal Emulator - You will need it for lots of things
Click to expand...
Click to collapse
Installing Java JDK & Cygwin to your PC
Now, Simply download Java JDK and execute the file, after that you can continue with the install of cygwin..
Now You can Choose Between following the Instructions above or watching the video on how to install cygwin
INSTRUCTIONS:
~ Download and extract Cygwin packages to a folder in Desktop
Now you should have a Cygwin Pakaces folder in Desktop if you did everything Okay.
~ Now Run the Cygwin Setup and Install Cygwin at C:/
The Cygwin setup will ask you to select were are the cygwin packages, search on desktop and choose the path to cygwin packages .
After installation progress it will show a Message that its similar to an error, ignore it
~ Now you will se a menu with Lots of Things (See video Min 1:51) Click in the arrows and change from Default to Install
If you did not understand please check the video at min 1:50, after that you have succefully installed cygwin
~ Now download the Kitchen from the XDA thread, Extract the folder from the zip and rename that Folder to Kitchen
Run Cygwin.exe and after you run it the script will create two folders at C:/Cygwin/home
Those Folders are *Your username* and inside you will find some files..
~ Remember you Renamed the Dsixda kitchen to "kitchen"? ok, now move it to C:/Cywgin/home/User/
So it will be like C:/Cygwin/home/User/kitchen .
~ Go to desktop and Run Cygwin - then you will see a CMD window, right? there, you must type the following things:
Code:
[COLOR="Orange"]cd kitchen (enter)
./menu (enter and wait)[/COLOR]
~ if you did everything right, then you should see this
Click to expand...
Click to collapse
Making the ROM
Now we will make the flashable zip (rom) , for this we must Have a System Folder / META-INF Folder / Dev Folder
~ Download the META-INF & Dev folders from the Tools section at First Post.
Extract the Folders from the zip and move both folders to desktop.
~ Creating a Working Folder : Go to C:/Cygwin/Home/User/Kitchen and Create a Folder Called "WORKING_ROM"
Move Dev & META-INF Folders to the WORKING_ROM Folder
Now we Must Get the System Folder..
~ Open Terminal Emulator & Type This:
Code:
su
tar -c system/* >> sdcard/system.tar
~ Connect your Phone via USB cable & get the System.tar File
~ Extract System.tar to System Folder and Place it in C:/Cygwin/home/user/kitchen/WOKRING_ROM
Congrats , Now you Have all necessary for the ROM to work.
Click to expand...
Click to collapse
Note: Before Extracting the System Folder, Flash Stock GB/ICS and modify as you wish.
Things you can do to modify the rom:
- Add Init.d Support (you can do it so easy with the kitchen)
- Add Busybox (you can do it from the app or with the kitchen)
- Add Scripts for Better Rendering
- Change ROM Font
- Change/Modify status bar
- Change/Modify Framework
- Add new themes
- Add Apps from Themes & Apps Section..
- Modify Build.prop
- Much more..
Time to Make the ROM Prototype
Now, You are supposed to have 3 Folders (System,META-INF,dev) in C:/Cygwin/home/user/kitchen/WORKING_ROM/
Now go to Desktop and execute Cygwin..
Type
Code:
[COLOR="Red"]cd kitchen
./menu[/COLOR]
Click to expand...
Click to collapse
and you will see the Menu of Dsixda Android Kitchen
Now Type 99 (Make a ROM from Working Folder) And you should see Something like This:
Now Type 2 and Sit Back, if you don't get any error it will take pretty much time (depends in your RAM, for me it takes like 10/15 Min.)
After that, Go to OUTPUT_ZIP Folder and take your rom.
~ Connect your device via USB Cable.
~ Rename the ZIP to your ROM Name (Ex: Walkman Style)
~ Move the ZIP to the Root of your sdcard
~ Start Recovery & Flash the ROM
Click to expand...
Click to collapse
Now you should see aroma, but all that has mi rom names, why? that's because you didn't modified The proper files.. See next post for that info..
Making the True ROM
I Imagine that now you might be using your new rom, if the ROM is working 100% fine, then, now lets go to the PC and edit what last..
~ Open Cygwin Directory
~ Go to Home
~ Enter to the User folder
~ Go to Kitchen
~ Go to WORKING_ROM
~ Open META-INF Folder
~ Go to META-INF/com/google/android and you should have this Files:
~ Now Open Aroma-Config with Notepad++ and edit as you want (WARNING , FOR NOOB USERS , ONLY EDIT ROM NAME, DATE, VERSION AND AUTHOR, DON'T TOUCH WHAT YOU DON'T KNOW)
~ Then open Aroma Folder There and Edit License.txt as you wish..
Click to expand...
Click to collapse
Now, You Have Your OWN META-INF & System Folder, But.. What happend to dev folder? Open it!
Dev Folder Editing
Dev folder contains files for locked/unlocked bootloader & also files for each device.. these files are used in the aroma, in the part you choose Bootloader status & Device.. we are going to edit the build.prop of each device :
~ Open Build.prop with Notepad.cc and do whatever you want:
What to do?
-Add Build.prop Tweaks
-Modify Rom Name
-Change Android Version (Fake)
-Etc..
Click to expand...
Click to collapse
Now you have edited everything.. lets make the rom!!
~ Open Cygwin
~ Type:
Code:
cd kitchen
./menu
~ *Optional* If your rom does not contain Init.d , Busybox , Etc.. Just add it with the kitchen, its not so difficult! use your brain
~ Now type 99 (Make a rom from working folder)
~ Now type 1 or 2 (i recommend 2, since zipalign make the ram usage reduce)
~ Now wait till the rom appear at C;/Cygwin/home/user/kitchen/output_zip like this:
So now, You are Done, Congrats, You have made your ROM!
Extra Links Related to This :
How to Port a ROM from MIUI/HDPI to MDPI - By Sandy7
How to Compile/Decompile .Apks - By Sandy7
How to Compile/Decompile .Apks - By Stanlin salu
List of Scripts - By Moonblade
Dsixda for the android kitchen
neroyoung for video,most ideas & cygwin
Click to expand...
Click to collapse
Bro, sorry to tell but this is repost from te misc section and the tutorial made by neroyoung :/
anerik said:
Bro, sorry to tell but this is repost from te misc section and the tutorial made by neroyoung :/
Click to expand...
Click to collapse
1- i take the video only from another post.. the rest is mine, also the screenshots are mine
2- there's no guide telling how to make a rom "working" for all xperia mdpi with Locked & Unlocked Bootloader.
3- What did i repost?
Nachospeicys said:
1- i take the video only from another post.. the rest is mine, also the screenshots are mine
2- there's no guide telling how to make a rom "working" for all xperia mdpi with Locked & Unlocked Bootloader.
3- What did i repost?
Click to expand...
Click to collapse
nono, i'm not saying you copied it, i'm saying you didn't realise, but this is kinda same that your guide and works on all devices, so it will work on all mdpi, and this is that too... so you could do a guide specially for mdpi, but not like those 2, it's just the same thing in a different section
anerik said:
nono, i'm not saying you copied it, i'm saying you didn't realise, but this is kinda same that your guide and works on all devices, so it will work on all mdpi, and this is that too... so you could do a guide specially for mdpi, but not like those 2, it's just the same thing in a different section
Click to expand...
Click to collapse
This tut is not similar to neuroyoung one.. and, maybe it looks similar to misc one bec i learned from there.. :silly:
Nachospeicys said:
This tut is not similar to neuroyoung one.. and, maybe it looks similar to misc one bec i learned from there.. :silly:
Click to expand...
Click to collapse
Bro, it's the same that the misc one, and the same that neroyoung videos, it's just made by you in another section. Leave this here, but add more stuff so it's not the same!
anerik said:
Bro, it's the same that the misc one, and the same that neroyoung videos, it's just made by you in another section. Leave this here, but add more stuff so it's not the same!
Click to expand...
Click to collapse
suppose you read neuroyoung/misc section thread using a xperia, what would happen?
bootloop
Awesome :laugh:
i will start a rom now :good:
Problem
hey man, could you help me with this problems?
1- i get system folder with terminal emulator fine. but it give me error when i zipalign with the kitchen (the .apks)
2- i have tried without zipalign and rom is not booting..
plz help me solve that and i will thanks this post
sh4kon said:
Awesome :laugh:
i will start a rom now :good:
Click to expand...
Click to collapse
Goodluck :highfive:
XperiaMiniProZ said:
hey man, could you help me with this problems?
1- i get system folder with terminal emulator fine. but it give me error when i zipalign with the kitchen (the .apks)
2- i have tried without zipalign and rom is not booting..
plz help me solve that and i will thanks this post
Click to expand...
Click to collapse
mm try removing the apk that's causing the problem, most probably its damaged..and if its a very important app, then replace it with one from another rom or stock rom..
the zipalign wont make your rom boot if it doesnt boot now, something is going wrong!
have you edited files with notepad++ ? if you edit them with normal notepad the file will die and the rom probs will bootloop.
Nachospeicys said:
suppose you read neuroyoung/misc section thread using a xperia, what would happen?
bootloop
Click to expand...
Click to collapse
Well i learned how to do roms like that. no bootloop, since it works any device bro. Just try and see for yourself first
anerik said:
Well i learned how to do roms like that. no bootloop, since it works any device bro. Just try and see for yourself first
Click to expand...
Click to collapse
Neroyoung tutorial made for universal, this tutorial made for noobs. You know the difference right?
So, lets leave the OP with his tutorial alone. If he think his tutorial better than real developer like neroyoung.
Sent from Hubble Telescope
Thanks for this tutorial
Michunio said:
Thanks for this tutorial
Click to expand...
Click to collapse
it worked right?
chepoz said:
Neroyoung tutorial made for universal, this tutorial made for noobs. You know the difference right?
So, lets leave the OP with his tutorial alone. If he think his tutorial better than real developer like neroyoung.
Sent from Hubble Telescope
Click to expand...
Click to collapse
what the hell are you saying?? i never said mi tut is better than neroyoung,, dont be that stupid to thnk that!!
i made this for noob. and for noob, it will work better like this.. of course if they dont own an xperia mdpi i will recommend neroyoung one.
Nachospeicys said:
what the hell are you saying?? i never said mi tut is better than neroyoung,, dont be that stupid to thnk that!!
i made this for noob. and for noob, it will work better like this.. of course if they dont own an xperia mdpi i will recommend neroyoung one.
Click to expand...
Click to collapse
N why you said if we follows neroyoung tutorial we will get bootloop? I used that 2 times without any bootloop. So, watch your words man!
Sent from Hubble Telescope
Nachospeicys said:
what the hell are you saying?? i never said mi tut is better than neroyoung,, dont be that stupid to thnk that!!
i made this for noob. and for noob, it will work better like this.. of course if they dont own an xperia mdpi i will recommend neroyoung one.
Click to expand...
Click to collapse
Whats up with this noob tutorial... Noob guide thing...
A guide is a guide...
Neroyoung guide can also help users...
both guides are no really different
----------------------------------------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------------------------------------
PREFACE
Hello guys, first of all I want to say thanks to all the real developers (and not just rom-modder like me) that are here, helping us to get better performance and features everyday, so thanks to FXP, CosmicDan, DooMLorD, wedgess, smokerman, krisdee, Spizzy, Keiran, fareneith, Pizza_Dox, Bakisha, and many, many others.
This guide is intended for those who want to make some mods, for example touchpads fix to their rom, and it's not too hard to understand how to do it (we will just use an IDE to achieve that, so it'll be pretty simple).
Let's start!
Click to expand...
Click to collapse
----------------------------------------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------------------------------------
DECOMPILING .APK AND .JAR FILES
without custom framework
Make sure you have installed NetFramework 4.5,
if not download it from here and then install ;
You can now install Virtuous Ten Studio (VTS):
download it from here and follow the passages to install it ;
Run VTS (you could easily find it under Start) ;
Now you can create a new Project:
simply click on File (on the left top) and select New Project ;
Projects can be of 4 kinds: apk, jar, m10 and boot.
Select apk if you want to edit an apk; select jar if you want to edit a jar ;
Compile the fields on the bottom (Solution and Project name) ;
Wait for VTS to create the folders...;
Now you can import the file you want to edit:
simply right-click on the project you have created (you can find it under Solution Explorer bar, on the left)
and select Import File, then find and select the file you want to edit ;
Here we go! VTS will now decompile our file, and when it finishes,
Solution Explorer bar will be updated to show you what your file contains (smali files and whatever) ;
Now you can make every modification you want to do;
When you have finished, you can recompile that file by right-clicking your project and selecting Build Project:
you can easily find your modded file, just click Binary (under Home tab on the top) and select your file project name;
Here we are! If you've got some questions, just ask here!
Click to expand...
Click to collapse
Click to expand...
Click to collapse
----------------------------------------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------------------------------------
DECOMPILING .APK FILES
with custom framework
first of all, you must know what to do: just take a look at the guide above and follow the steps (from 1 to 7) ;
now you must take the custom resources needed from the apk you want to decompile to work (that resources file is another apk, generally located under /system/framework and its name contains always something like Res or Resources - for example SemcGenericUxpRes -) then place it wherever you want ;
once you've done that you can create your project (DON'T import now the app you want to modify, because you'll get errors related to missing resources) and set-up a custom framework: just right-click on your project and go under Properties ;
find External tools on the left and click on apktool: select Add single framework, import the custom-resources apk that you took from your rom ( see first step ) and set a Tag (the name you want to assign to that file) ;
now you must select that framework to be used instead of the default one: right-click on your project and go under properties; here you can find a selector called Framework tag: select the one you've just setted ;
that's it! Now you can import your custom-framework-based apk ( if you don't know how just take a look at the guide above - step 8 ) .
Click to expand...
Click to collapse
Click to expand...
Click to collapse
----------------------------------------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------------------------------------
When i have the time, i really have to give this program a chance. Tnx for tutorial
Sent from my R800i using xda app-developers app
Good job, I've used vts.for awile now.its a great program.
Dark Lords Development Team
Needed to learn Apk Decompiling, now i can!,
simpler than apk tool..and easy to use in small changes..comes handy. nice post.
i have a problem with decompiling resource files can anyone help plz???
{
"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"
}
and this is my log
raminta said:
and this is my log
View attachment 2048601
Click to expand...
Click to collapse
It seems apktool is missing, maybe an incorrect installation? Have you tried reinstalling?
CriGiu said:
It seems apktool is missing, maybe an incorrect installation? Have you tried reinstalling?
Click to expand...
Click to collapse
Yes but nothing has changed
Sent from my R800i using xda premium
raminta said:
Yes but nothing has changed
Sent from my R800i using xda premium
Click to expand...
Click to collapse
try using an older version of VTS, but I can't promise anything
it's clearly related to missing binary, and that's strange. does this happen just with that specific apk, or with all of them?
And keep in mind that you're decompiling an apk with a custom framework, so before you can decompile it, you must add its resources by right-clicking on your project, selecting properties, going under External tools and clicking on Apktool, selecting Add single framework (here you must place your resources apk file: it's generally located under /system/framework folder of your rom - the rom from which you're taking the apk you're modifing - it's something having for name SonyResources or something like that).
Then you must set that framework to be used instead of the "stock" one by right-clicking on your project and going under properties; here you can find a selector called Framework tag: select the one you've just placed in.
CriGiu said:
try using an older version of VTS, but I can't promise anything
it's clearly related to missing binary, and that's strange. does this happen just with that specific apk, or with all of them?
And keep in mind that you're decompiling an apk with a custom framework, so before you can decompile it, you must add its resources by right-clicking on your project, selecting properties, going under External tools and clicking on Apktool, selecting Add single framework (here you must place your resources apk file: it's generally located under /system/framework folder of your rom - the rom from which you're taking the apk you're modifing - it's something having for name SonyResources or something like that).
Then you must set that framework to be used instead of the "stock" one by right-clicking on your project and going under properties; here you can find a selector called Framework tag: select the one you've just placed in.
Click to expand...
Click to collapse
Ok thanks for replying:thumbup:
Sent from my R800i using xda premium
" This thread will cover various useful guides starting from how to Decompile/Recompile Apk & Jar files. Me & my friend Aneel will provide new guides/tutorial day by day so that you guys can get many handy guidance in one place. Please Suggest us If you need any guide & we will try to post it If we actually can. Also If you find our guides useful then support us my giving feedback, hitting thanks & adding in credits section "
1st Let's start with [How to decompile & recompile with Apk Multitool]:
*Requirements*
Latest Java
Latest JDK+JRE (get everything from http://www.oracle.com/technetwork/java/javase/downloads/index.html)
Apk Multi Tool (Download from attachment)
Steps
1. Unzip Apk Multi Tool into a folder
2. Now run Setup.bat. It will look like 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"
}
3. Now choose 3. Setup Directories & press enter
4. This will create the folders needed. It will look like this
5. Now place the apk you want to decompile in place-apk-here-for-modding
6. Place a framework-res.apk, SemcGenericUxpRes.apk & SystemUI.apk in other folder. Preferebly it should be from the same package of apk/same apks of a Rom which you placed in the place-apk-here-for-modding folder. If there is no corresponding apks then you can try with other framework & systemUI apks also.
7. Now again run Setup.bat & press enter & choose 2. Installing Framework-Res. It will look like this
8. Now choose option 1 & enter to install framework & again option 4 & enter to install SystemUI
9. Now run Script.bat & press enter to activate various menu. Choose option 9 to decompile the apk. Then press enter. It will look like this
10. Once decompile is complete close the script & go to projects folder
11. Do the necessary changes you want to
12. When editing is done again run Script.bat
13. Choose option 11 to recompile & press enter. It will prompt a message after sometimes, Aside from the signatures....of errors (y/n)
14. Input y & press enter
15. Now after sometimes, it will again ask you to delete everything you have modified from keep folder & also delete resources.arsc if you have modified any xml. Minimize the script, delete the xml(s) you have modified (other than from values folder, it won't appear in keep folder) & also resources.arsc. If you have modified any png (not added) then delete it too. Then press enter when you are ready.
16. Now your new apk is ready. You can find it in place-apk-here-for-modding folder. Note that, your original apk will also be in the same folder with original name. Your modified apk will have System_ attached in the name.
17. Copy it to some other place & rename to original apk name & enjoy.
18. When you want to work on the next project then delete everything from place-apk-here-for-modding & projects folder. Now follow the same steps again from Number 5 of this guide.
[How to decompile & recompile Jar Files]:
*Requirements*
Winrar/7zip
Deodexed Jar files
smali.jar
baksmali.jar (both are in the attachment)
Command Prompt/Terminal
0. Take the classes.dex from jar file by opening it with 7zip/Winrar.
1. Open a new folder in Desktop named suppose "Jar"
2. Place smali.jar & baksmali.jar in the folder
2. Open Command Prompt. On windows type cmd in Run
3. cd to your directory where you have opened the new folder. In my case it is
Code:
C:\Documents and Settings\USER\Desktop\Jar
4. Write
Code:
cd C:\Documents and Settings\USER\Desktop\Jar
& press enter. Note that, on your case the directory will be different from mines. So get the correct directory by going into that directory from C:
5. Now type this to Decompile. Note that, there is a "space" before "classes.dex"
Code:
java -jar baksmali.jar -o classout\ classes.dex
& press enter
6. When Decompiling is done there will a folder named "classout" be placed in Jar folder. Minimize the cmd.
7. Now make the necessary changes inside the classout folder
8. When done,type this to recompile & press enter. Remember, there is a "space" before "new-classes.dex"
Code:
java -Xmx512M -jar smali.jar classout\ -o new-classes.dex
9. When recompiling is done there will be a new file in the folder named "new-classes.dex"
10. Now rename new-classes.dex to classes.dex & put it in the jar file with 7zip/Winrar
..............That's All. Thank You.................
Credits:
@raziel23x for Apk Multitool
@iONEx for teaching me about Apk Multitool when I was a noob
@Hero for Decomping jar files concept
Nice share... BTW, can mod MiuisystemUI.apk with this tool? I've heard Miui uses different aapt.
Aciong.Aksaya said:
Nice share... BTW, can mod MiuisystemUI.apk with this tool? I've heard Miui uses different aapt.
Click to expand...
Click to collapse
yes you can just follow this cause miui has more than one framework-res.apk & you don't need twframework in this case http://forum.xda-developers.com/showthread.php?t=2306397
saqib nazm said:
yes you can just follow this cause miui has more than one framework-res.apk & you don't need twframework in this case http://forum.xda-developers.com/showthread.php?t=2306397
Click to expand...
Click to collapse
The tool is great but I can't seem to do what should I do the centered clock for MiuisystemUI.apk I can't seem to find decent tutorial.
Aciong.Aksaya said:
The tool is great but I can't seem to do what should I do the centered clock for MiuisystemUI.apk I can't seem to find decent tutorial.
Click to expand...
Click to collapse
here is the guide http://en.miui.com/thread-4353-1-1.html
Hell there is an error in your compiling code of your smali/jar
it should be "-o new-classes.dex"
Razor! said:
Hell there is an error in your compiling code of your smali/jar
it should be "-o new-classes.dex"
Click to expand...
Click to collapse
Right! Thanks Razor,now it's correct :good:
saqib nazm said:
Right! Thanks Razor,now it's correct :good:
Click to expand...
Click to collapse
Welcome
Press thanks if you like my work/advice
@saqib nazm, it would be good if you add tut on how to recompile apks after making changes in androidmanifest.xml.. Because I have observed it gives bootloops.. As signing of apps just puts meta inf and doesn't do anything to androidmanifest.. Just a suggestion..
Sent from my MT11i using xda premium
sandy7 said:
here is the guide http://en.miui.com/thread-4353-1-1.html
Click to expand...
Click to collapse
Ive been into that place if you knew david guetta face in the thread thats me. Thanks for your kindness to redirect me. The OP is not just very much accommodating geez...
Aciong.Aksaya said:
Ive been into that place if you knew david guetta face in the thread thats me. Thanks for your kindness to redirect me. The OP is not just very much accommodating geez...
Click to expand...
Click to collapse
I suggested you to install the proper framework files to decompile miui stuffs properly, though this thread is for compiling & decompiling with apk multi tool,not how to center clock on miui I beg your pardon? & I didn't say anything else because sandy already directed you to a guide, that's probably I would also gonna do If I were in the 1st place like sandy replied. You cannot say words which can hurt other people. Cause If I would know how to "Center clock on miui" I would open a thread with that guide,isn't it?
First of all,Thank you for work but I have a lot of problems.Can you help me about thats? I did everything step by step.No problems with 1 to 6 steps.I placed the apk place-apk-here-for-modding and I placed a framework-res.apk, SemcGenericUxpRes.apk & SystemUI.apk in other folder.
After that,in step 7&8,when I choose option 1 & enter to install framework & again option 4 & enter to install SystemUI,I get this screens
So,in step 9,Run Script.bat & press enter to activate various menü choose option 9 to decompile the apk. Then press enter,I get errors like this
And so,projects folder is empty.What is the problem and what can I do?
Mazellat said:
First of all,Thank you for work but I have a lot of problems.Can you help me about thats? I did everything step by step.No problems with 1 to 6 steps.I placed the apk place-apk-here-for-modding and I placed a framework-res.apk, SemcGenericUxpRes.apk & SystemUI.apk in other folder.
Click to expand...
Click to collapse
that could be a problem with that apk, you cannot decompile it. If you have done all the steps properly as you said can you try with any other apk? so to be sure if that's the problem with that apk
Aciong.Aksaya said:
Ive been into that place if you knew david guetta face in the thread thats me. Thanks for your kindness to redirect me. The OP is not just very much accommodating geez...
Click to expand...
Click to collapse
saqib nazm said:
I suggested you to install the proper framework files to decompile miui stuffs properly, though this thread is for compiling & decompiling with apk multi tool,not how to center clock on miui I beg your pardon? & I didn't say anything else because sandy already directed you to a guide, that's probably I would also gonna do If I were in the 1st place like sandy replied. You cannot say words which can hurt other people. Cause If I would know how to "Center clock on miui" I would open a thread with that guide,isn't it?
Click to expand...
Click to collapse
Hi Saqib Nazm, Yes it it but this is a full misunderstanding. The OP I am referring to is the OP on the link that Sandy gave.
Mea Culpa...
Aciong.Aksaya said:
Hi Saqib Nazm, Yes it it but this is a full misunderstanding. The OP I am referring to is the OP on the link that Sandy gave.
Mea Culpa...
Click to expand...
Click to collapse
Oh ok I am extremely sorry then. Have a nice day
Hi saqib i want to ask again. If I make own fragment in settings_header.xml. How?
Sent from my LT25i using xda premium
danisariandi said:
Hi saqib i want to ask again. If I make own fragment in settings_header.xml. How?
Sent from my LT25i using xda premium
Click to expand...
Click to collapse
bro I have told you how to do it that day in the original thread, which part you didn't understand? You asked about smali files, you don't need any smali files man.
Kjkkkkkkkkk
poria1999 said:
Hi all members
I have some problem in recompiling apk files...
When i compile apk and delete resources.arsc+xmls that i have modified them,anything didnt change in apk ...
i am working on framework-res.apk ...
please helpe me...
Click to expand...
Click to collapse
what were you trying to change? & what you did?
Yyyyyyyyyyyyyyyyyyyyyy