off topic here (XML help) - Sprint Samsung Galaxy Note 8 Questions & Answers

i'm sure this will get flagged, moved, or deleted, but looking in the proper section there are tons of posts and no replies for months on end.
xml
I want to edit an xml file that is in an apk and not use android studio.
everything I use (i.e) xml viewer, explorer, internet explorer, apps from micro soft store, I get
Code:
㧨 ደ º Ā ̄    - Q b k ~ ‰  ¦ ¼ ß ñ Đ Ģ ł Ŗ Ţ ų ƒ Ƨ Dž Ǘ dz ȉ Ȥ ȵ ɑ ɢ ɿ ʒ ʰ ˂ ˌ ˟ ̈ ̚ ̾ ͏ Ͱ ΃ Ο β ϥ Ϲ К б ќ Ѯ қ Ұ ҽ Ӗ ԃ ԕ ԟ Ե Ք ը յ օ ֬ ֿ ת ׹ ؋ ص ه ٲ ڄ ڮ ۀ ۋ ۠ ܏ ܜ ݍ ݝ ޑ ޟ ߓ ߢ ࠖ ࠨ ࡜ ࡭ ࢎ ࢝ ࢥ ࢵ ࣛ ࣪ उ ङ ढ र ॐ ॡ ঊ ঘ ঵ ু ৉ ৘ ৣ ৲ ৻ ਈ ਢ ਯ ੐ ੟ ੪ ੶ ઀ ક થ વ ૓ ૢ ૬ ૼ ଈ ଖ ଡ ର ଺ ୍ ୴ ஃ ண ள ௎ ௟ ఀ ఏ య ృ ౒ ౤ ಌ ಚ ಣ ರ ೋ ೘ ೱ ഀ ഋ ഠ ൊ ൝ ඃ ඘ ශ ු ෻ ฎ ี ่ ๖ ๥ ๱ ຀ ຊ ຝ ໅ ໔ ໴ ༈ ༧ ༷ ཀ ད ཝ ཭ ླྀ ྇ ྑ ྡ ྮ ྾ ࿉ ࿜ उ楴敭潺敮sȂ摩ࠀ琈浩穥湯eฎ慐楣楦⽣慍番潲 䠡略敲搠獥쌠沮獥䴠牡桳污䴨橡牵⥯฀倎捡晩捩䴯摩慷y؆楍睤祡က倐捡晩捩䠯湯汯汵uࠈ潈潮畬畬ᄀ䄑敭楲慣䄯据潨慲敧؀䄆慬歳aጓ流牥捩⽡潌彳湁敧敬s†效牵⁥畤倠捡晩煩敵⠠潌⁳湁敧敬⥳ༀ䄏敭楲慣启橩慵慮ᰀ䠜略敲搠⁵慐楣楦畱⁥吨橩慵慮)༏流牥捩⽡桐敯楮xᴝ效牵⁥敤⁳潒档略敳⁳倨潨湥硩)ᄑ流牥捩⽡桃桩慵畨aउ桃桩慵畨aฎ流牥捩⽡敄癮牥ᰀ䠜略敲搠獥删捯敨獵獥⠠敄癮牥)ሒ流牥捩⽡潃瑳彡楒慣ᨀ䠛略敲搠⁵敃瑮敲⠠慓潊썳⦩ༀ䄏敭楲慣䌯楨慣潧ᤀ䠙略敲搠⁵敃瑮敲⠠桃捩条⥯ጀ䄓敭楲慣䴯硥捩彯楃祴᠀䠘略敲搠⁵敃瑮敲⠠敍楸潣)ฎ流牥捩⽡敒楧慮᠀䠙略敲搠⁵敃瑮敲⠠썒枩湩⥡฀䄎敭楲慣䈯杯瑯aᨚ效牵⁥敤䌠汯浯楢⁥䈨杯瑯⥡က䄐敭楲慣丯睥奟牯kᬙ效牵⁥敤氠胢䖙瑳⠠敎⁷潙歲)༏流牥捩⽡慃慲慣s܇慃慲慣sတ流牥捩⽡慂扲摡獯␀䠦略敲搠⁥馀瑁慬瑮煩敵⠠慂扲摡⁥䰨⥡)༏流牥捩⽡慈楬慦x℟效牵⁥敤氠胢䆙汴湡楴畱⁥䠨污晩硡)ฎ流牥捩⽡慍慮獵ᰀ䠞略敲搠⁥馀流穡湯敩⠠慍慮獯)တ流牥捩⽡慓瑮慩潧ᤀ䠙略敲搠⁵桃汩⁩匨湡楴条⥯က䄐敭楲慣匯彴潊湨s〰效牵⁥敤吠牥敲中略敶⠠慓湩⵴敊湡搠⁥敔牲ⵥ敎癵⥥ᄀ䄑敭楲慣匯潡偟畡潬ᴀ䠞略敲搠⁥牂獡汩慩⠠썓澣倠畡潬)ᐔ流牥捩⽡畂湥獯䅟物獥☀䠨略敲搠⁥馀獅⁴牡敧瑮湩⠠畂湥獯䄠物獥)༏流牥捩⽡潇瑤慨b⨧效牵⁥敤氠胢侙敵瑳搠⁵片敯汮湡⁤䜨摯桴ꗃ⥢ሀ䄒敭楲慣䴯湯整楶敤oਊ潍瑮癥摩潥ᘀ䄖汴湡楴⽣潓瑵彨敇牯楧a⨨效牵⁥敤䜠꧃牯楧⁥畤匠摵⠠썇澩杲敩搠⁵畓⥤ༀ䄏汴湡楴⽣穁牯獥؀䄇ꟃ牯獥ጀ䄓汴湡楴⽣慃数噟牥敤ᰀ䠜略敲搠⁵慃⵰敖瑲⠠慃⁰敖瑲)ᄑ晁楲慣䌯獡扡慬据aਊ慃慳汢湡慣ഀ䔍牵灯⽥潌摮湯␀䠤略敲洠祯湥敮搠⁥片敥睮捩⁨䰨湯牤獥)တ畅潲数䄯獭整摲浡☀䠨略敲搠⁥馀畅潲数挠湥牴污⁥䄨獭整摲浡)ఌ畅潲数倯牡獩ༀ䔏牵灯⽥敂杬慲敤─䠧略敲搠⁥馀畅潲数挠湥牴污⁥䈨汥牧摡⥥ༀ䔏牵灯⽥牂獵敳獬☀䠨略敲搠⁥馀畅潲数挠湥牴污⁥䈨畲數汬獥)༏畅潲数匯牡橡癥o✥效牵⁥敤氠胢䖙牵灯⁥散瑮慲敬⠠慓慲敪潶)༏晁楲慣圯湩桤敯kࠈ楗摮潨步ሀ䄒牦捩⽡牂穡慺楶汬eⰨ效牵⁥馀晁楲畱⁥敤氠胢侙敵瑳⠠牂穡慺楶汬⥥਀䄊楳⽡流慭n⸪效牵⁥潮浲污⁥敤氠胢䖙牵灯⁥敤氠胢䖙瑳⠠流慭⥮ഀ䔍牵灯⽥瑁敨獮Ⰰ䠱略敲渠牯慭敬搠⁥馀畅潲数搠⁥馀獅⁴䄨桴ꣃ敮⥳଀䄋楳⽡敂物瑵ⴀ䠱略敲渠牯慭敬搠⁥馀畅潲数搠⁥馀獅⁴䈨祥潲瑵⥨ఀ䄌牦捩⽡慃物oㄭ效牵⁥潮浲污⁥敤氠胢䖙牵灯⁥敤氠胢䖙瑳⠠敌䌠楡敲)༏畅潲数䠯汥楳歮iㄭ效牵⁥潮浲污⁥敤氠胢䖙牵灯⁥敤氠胢䖙瑳⠠效獬湩楫)ฎ獁慩䨯牥獵污浥ᨀ䠞略敲搠胢䦙牳썡沫⠠썊犩獵污浥)ఌ畅潲数䴯湩歳Ԁ䴅湩歳ഀ䄍牦捩⽡慈慲敲℀䠣略敲搠胢䆙牦煩敵挠湥牴污⁥䠨牡牡⥥ఀ䄌楳⽡慂桧慤dᰚ效牵⁥敤氠胢䆙慲楢⁥䈨条慤⥤ഀ䔍牵灯⽥潍捳睯؀䴆獯潣uଋ獁慩䬯睵楡tᴚ效牵⁥敤氠胢䆙慲楢⁥䬨睯썥璯)ฎ晁楲慣丯楡潲楢∀䠦略敲搠胢䆙牦煩敵搠⁥馀獅⁴丨楡潲楢)ଋ獁慩启桥慲nᨖ效牵⁥馀牉湡⠠썔梩꧃慲⥮ऀ䄉楳⽡慂畫Ԁ䈅歡畯ఀ䄌楳⽡扔汩獩iࠈ扔汩獩楳ఀ䄌楳⽡教敲慶n؆牅癥湡਀䄊楳⽡畄慢i᜖效牵⁥畤䜠汯敦⠠畄慢꿃)ਊ獁慩䬯扡汵ᰀ䠞略敲搠胢䆙杦慨楮瑳湡⠠態潢汵)ఌ獁慩䬯牡捡楨܀䬈牡ꋃ档iउ獁慩伯慲l܇畏慲獬kሒ獁慩夯步瑡牥湩畢杲ഀ䔍慫整楲扮畯杲ഀ䄍楳⽡慃捬瑵慴ᤀ䠛略敲搠⁥馀湉敤⠠潋歬瑡⥡ఀ䄌楳⽡潃潬扭o܇潃潬扭o഍獁慩䬯瑡慭摮uउ態浴湡潤uଋ獁慩䄯浬瑡yࠈ汁慭䄠慴ఀ䄌楳⽡慒杮潯n܇慒杮潯nတ獁慩䬯慲湳祯牡歳∀䠤略敲搠⁥牋獡潮꿃牡歳⠠牋獡潮꿃牡歳)ఌ獁慩䈯湡歧歯ᬀ䠝略敲搠胢䦙摮捯楨敮⠠慂杮潫⥫ഀ䄍楳⽡桓湡桧楡᠀䠘略敲搠⁥桃湩⁥䈨楥楪杮)ฎ獁慩䠯湯彧潋杮Ḁ䠞略敲搠⁥潈杮䬠湯⁧䠨湯ⵧ潋杮)ఌ獁慩䤯歲瑵歳ᬀ䠝略敲搠胢䦙歲畯獴䤨歲畯獴⥫ᄀ䄑楳⽡畋污彡界灭牵ఀ䬌慵慬䰠浵異r༏畁瑳慲楬⽡敐瑲h┣效牵⁥敤氠胢侙敵瑳愠獵牴污敩倨牥桴)ଋ獁慩启楡数i؆慔灩楥਀䄊楳⽡敓畯l᠖效牵⁥敤䌠牯꧃⁥匨꧃畯⥬਀䄊楳⽡潔祫oᘖ效牵⁥畤䨠灡湯⠠潔祫⥯ఀ䄌楳⽡慙畫獴kࠈ慉潫瑵歳ሀ䄒獵牴污慩䄯敤慬摩e✥效牵⁥畤䌠湥牴⁥畡瑳慲楬湥⠠摁꧃慬꿃敤)တ畁瑳慲楬⽡慄睲湩⌀䠣略敲搠⁵敃瑮敲愠獵牴污敩䐨牡楷⥮ሀ䄒獵牴污慩䈯楲扳湡e☤效牵⁥敤氠胢䖙瑳愠獵牴污敩䈨楲扳湡⥥က䄐獵牴污慩䠯扯牡t␢效牵⁥敤氠胢䖙瑳愠獵牴污敩䠨扯牡⥴က䄐獵牴污慩匯摹敮y␢效牵⁥敤氠胢䖙瑳愠獵牴污敩匨摹敮⥹က䄐楳⽡汖摡癩獯潴kଋ汖摡癩獯潴kఌ慐楣楦⽣畇浡܀䠉条ꗃ썴憱ఀ䄌楳⽡慍慧慤n܇慍慧慤nတ慐楣楦⽣畁正慬摮␀䠥略敲搠⁥潎癵汥敬娭꧃慬摮⁥䄨捵汫湡⥤ఀ倌捡晩捩䘯橩iᴜ效牵⁥敤⁳껃敬⁳楆橤⁩䘨摩楪)ᄑ慐楣楦⽣潔杮瑡灡uᰛ效牵⁥敤吠湯慧⠠畎畫믊污景⥡ഀ䔍牵灯⽥慚牧扥؀娆条敲bฎ獁慩匯湩慧潰敲ऀ匉湩慧潰牵ഀ䄍楳⽡慔桳敫瑮ࠀ合捡歨湥tఌ獁慩䈯獩歨步܀䈇捩歨步ഀ䄍楳⽡畄桳湡敢ऀ䐊畯档湡썢©഍獁慩䄯桳慧慢tࠈ獁杨扡瑡က䄐楳⽡汕慡扮慡慴rਊ汕湡䈠瑡牯 Ă$  ￿

Related

[HOW TO] Compile/Decompile ICS Apk easily|100% working

We are all here to learn, take from community and give back to community!!!
@Lord ClockaN
Hya guys, after A LOT of requests, I decided to share with the community something that I found really REALLY useful for Dev's but also for other users too that want to mess up with compiling and decompiling process. Usually, non problems at all with that, but since ICS come out, many dev\users are not able to decompile\compile properly many ics apk (not all). This guide will ensure you a good result, 100% working, easy, and fastest way to mess up with ics for theming and resizing purposes, or whatever you want
BIG THX to my friend and Dev teammate @Bichon for this
Credits
@Beachon (yes, again)
@Xavierjohn22, the amazing author of AutoApktool! Visit his thread HERE, click his thanks button, and support his work with donations, and my personal thanks to author for this tool which is the most powerful and easiest tool ever.
@Brut_all for Apktool
@XDA Community
@Google
About Apktooll
Please consider to visit the original thread about this tool, because what I'm explaining here is just 1\10 of the real skill of this tool. You can do basically whatever you want with AutoApktool, themers will love it, Dev's will appreciate it a lot, I'm sure.
Why can't we use Apktool???
Well, you can, but it's more difficult, that's it.
Why do you say "must use 1.4.1 apktool version"??
The reason why is that since 1.4.2 version, apktool generate java code while recompiling process is going on, and this lead to errors that 9/10 makes decompile process fail.
Requirements (Windows environment, mine is Seven 64 bit)
Java (last version)
JDK (last version)
JDR (last version, usually included in JDK or Java)
SDK (last 3.0 version for ICS source code)
Auto_Apktool 2.0.0 (DOWNLOAD THIS ONE NOT OTHERS!!!)
HOW-TO (NOTE: before start, select Apktool version with option 21, YOU MUST CHOOSE 1.4.1 version!!)
1) Download and simply unpack Auto_ApkTool 2.0.0
2)Click on "autoapktoolmain.bat", prompt will open
{
"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)put the apk you want to mess up with in "_INPUT_APK"
4) you can chose more than one option to decompile (option 6 is strongly recommended)
5) when option 6 is being selected, drag the apk from _INPUT_APK folder into the windows prompt and click enter
6) A Note window will appear, and will show IF the decompiling process has been done properly. Once you close that window, you will see the decompiled folder in _INPUT_APK folder
7) do your edits (xml, snali, or png, doesn't matter)
8) recompile with option 7 (NOTE: this time you MUST drag all the FOLDER, NOT the apk)
9) Once recompiling finished, open the decompiled folder, go to "dist" folder, and here you got your edited apk
10) you MUST sign the apk with option 10 (NOTE: drag the apk from dist folder to the prompt, then press enter, and in the SAME folder, a signedxxx.apk will appear)
11) Rename the apk, and push it |NOTE: you can push the apk with 62 option or with sdk typing:
Code:
adb remount
adb push xxx.apk system/app
adb reboot
That's it
Now I can start theming, massive thanks
Sent by wiggling my big toe in a IceColdSandwich
Absolutely awesome. So easy to use . I can stop beating my head against the wall. Thank you thank you thank you.
Sent from my Inspire 4g using xda premium
Just a quick Q? I've been using a tool I slapped together from ApkManager to decompile ICS .apks. I've themed the Mms.apk and others. I use it daily and seems to work. Yesterday I wanted to mod the smali code, its decompiled to Human readable BUT not understandable. I tried it with a few apps I built with 4.0x APIs and the code is no where near the same format as it is when I used Eclipse. Is that standard? I've only ever modified XML code mainly in themeing Stock ICS apps. My Question is: Am I suppose to understand the format in which it decompiles the java code? I cant yet post outside links to give an example but I'll get a sample of what I mean.
PS I'm away from my lappy, so, I haven't tested this tool to see if it does the same. But a quick ex. Would be that my statements in my main activity reads like
line 8
.something something 0,x03 v
When in eclipse ist reads
Intent suck it = new intent(Activity.this, Activity);
Just a short idea until I get home.
Sent from my Galaxy Nexus using xda premium
Clemzon said:
Just a quick Q? I've been using a tool I slapped together from ApkManager to decompile ICS .apks. I've themed the Mms.apk and others. I use it daily and seems to work. Yesterday I wanted to mod the smali code, its decompiled to Human readable BUT not understandable. I tried it with a few apps I built with 4.0x APIs and the code is no where near the same format as it is when I used Eclipse. Is that standard? I've only ever modified XML code mainly in themeing Stock ICS apps. My Question is: Am I suppose to understand the format in which it decompiles the java code? I cant yet post outside links to give an example but I'll get a sample of what I mean.
PS I'm away from my lappy, so, I haven't tested this tool to see if it does the same. But a quick ex. Would be that my statements in my main activity reads like
line 8
.something something 0,x03 v
When in eclipse ist reads
Intent suck it = new intent(Activity.this, Activity);
Just a short idea until I get home.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
So, are u saying that you can't read a smali files when decompiled?
Inviato dal mio HTC Desire HD with Beats Audio usando Tapatalk
Well, kinda. Just not the standard form like you can read the java in eclipse. I'll be home in an hour and I'll link you to a sample of my code.
Edit: it might just be because I'm a beginner developer but here's a sample.
http://db.tt/AJ7FHgf9 just in case.
I don't know how to modify that smali.
If its normal, sorry to have wasted your time.
Sent from my Galaxy Nexus using xda premium
Edit: Some code I threw together to present an example. ApkManagerX(my modded version) and AutoApk produces the exact same results. I might just be stupid.
Smail
http://db.tt/PFDnwZj9
Java
http://db.tt/9v4me5du
Is the smali suppose to look like that?
Sent from my Galaxy Nexus using xda premium
Yes, that's normal smali code. I hate it
Yay!.. this is going to take awhile.
Sent from my Galaxy Nexus using xda premium
sigurd_LU said:
Yes, that's normal smali code. I hate it
Click to expand...
Click to collapse
Eheh so true
Inviato dal mio HTC Desire HD with Beats Audio usando Tapatalk
compile framework
need a little help, I'm wondering framework-res.apk edit, decompile (6) is ok, did not even do some editing on it, but when compiling again (7), these errors have language folders (do not put all but the same errors)
D: \ edit-apk \ Auto_ApkTool_2.0.0 \ AutoAPKTool2.0.0 \ _INPUT_APK \ framework-res \ res \ values ​​\ plurals.xml: 79: error: Multiple substitutions in non-specified positional format, did you mean to add the formatted = "false" attribute?
D: \ edit-apk \ Auto_ApkTool_2.0.0 \ AutoAPKTool2.0.0 \ _INPUT_APK \ framework-res \ res \ values ​​\ plurals.xml: 79: error: Found tag </ item> where </ plurals> is expected
error: Multiple substitutions in non-specified positional format, did you mean to add the formatted = "false" attribute?
error: Found tag </ item> where </ plurals> is expected
error: Multiple substitutions in non-specified positional format, did you mean to add the formatted = "false" attribute?
error: Found tag </ item> where </ plurals> is expected
error: Multiple substitutions in non-specified positional format, did you mean to add the formatted = "false" attribute?
error: Found tag </ item> where </ plurals> is expected
error: Multiple substitutions in non-specified positional format, did you mean to add the formatted = "false" attribute?
error: Found tag </ item> where </ plurals> is expected
error: Multiple substitutions in non-specified positional format, did you mean to add the formatted = "false" attribute?
error: Found tag </ item> where </ plurals> is expected
error: Multiple substitutions in non-specified positional format, did you mean to add the formatted = "false" attribute?
error: Found tag </ item> where </ plurals> is expected
error: Multiple substitutions in non-specified positional format, did you mean to add the formatted = "false" attribute?
how do I fix this?

[TOOL][MIUI] Lockscreen-Debugger

Hello everyone,
I hope this is the right forum. Wanted to post in dev-forum, but not sure if I may or not...
Anyway: I want to introduce my latest MIUI project.
Current working name is "ls debugger". Suggestions are welcome
For downloads, changelog and bugs have a look at post #2
Description:
I found the hole LS testing progress (edit, zip, usb mount, copy, apply, ...) annoying, so I started this program.
It is still in beta state. There are still some errors or force closes because I haven't implemented all error check functions.
The reason why I started this thread now, is that I want some feedback and maybe new ideas and suggestions.
Requirements:
- Java Runtime Version 7
- (MIUI Lockscreen for 2.3 based builds) Don't know if v4 LS will work. Test and tell me
Instructions:
The usage is really simple.
After unzipping the file you'll have 5 files/folders:
- advanced (folder)
- wallpaper (folder)
- MIUI-LS-Tester.jar (executable)
- bgtWeather.db (9sweather db-file)
- systemCPs.db (calls, texts, contacts for ContentProviders [not finished])
You can replace the wallpaper and advanced folder with your own, but no guarantee that it will work.
Some features aren't implemented (unlocker and variables of elements. e.g.: #unlocker.move_x)
Have a look at the given manifest file and you'll see what will work and what won't.
You can start the program with doubleclick the 'MIUI-LS-Tester.jar' or open a terminal, move to the location where you've extracted the zip file and type:
Code:
java -jar MIUI-LS-Tester.jar
In the terminal you will get some information about the parsing and other informations.
At first a window with 2 textfields appears. In this you have to set the width and height of your lockscreen.
If you have a config.xml file you can set the variables on the right side in the "config.xml" tab (after a click on 'Preview').
To get a preview you have to open your manifest.xml and click on 'Preview'.
Also you can choose another font.
After a click on 'Preview' you'll get 3 more buttons.
Screenshot:
I think it's clear what this buttons will do
It saves a screenshot of the left panel in <MIUI-LS-Tester.jar-Location>/preview/lockscreen_preview_x.jpg
create mtz:
this will create a mtz file.
After a click you can choose some things. Add your font, wallpaper, previews...
Afterwards you can create/modify the description.xml file
Thats it
toggle buttons:
this will toggle the Trigger-Buttons.
Because they are not visible in your lockscreen you can do this with this button.
On the top of the right panel you can set some variables.
I think it's clear, so no description.
If you modified your manifest.xml (and the ls debugger is still open) just click on preview and the changes will be loaded.
Credits:
my brother: for helping me with the "calculator"
picard666: for some help and suggestions
jdom team: for the best java xml parser.
jfont-chooser team and david from stackoverflow: for the fontchooser.
zentus: for the sqlite lib.
pomenx: from the miui team for manifest reference thread @ xda.
GNU: for their java port of getopt
songd for the java pre processor
regards
-v1r0x
Download:
December 30, 2012
LS-Debugger alpha b121230.1
October 31, 2012
LS-Debugger alpha b121030.2
October 24, 2012
LS-Debugger alpha b121024
June 19, 2012
LS-Debugger alpha 4
April 28, 2012
LS-Debugger alpha 3
April 24, 2012
LS-Debugger alpha 2
March 27, 2012
LS-Debugger alpha
Changelog:​
Text,DateTime and Image implemented
ToolTip-Text for Text, DateTime and Image (displays the given name of the element)
ElementGroup implemented
VarArrays implemented
ContentProvider for weather apps implemented (only 9s-weather)
ContentProvider for calls/texts implemented (db-file included)
FontChooser implemented
category-attribute implemented (only for Text at this time)
rotate and AA works for Image, Text and DateTime
screen_width/_height has to be set on start
the last dir will be stored in a file. No annoying dir-changing
implemented "where" for ContentProvider => mistake in the db-file (fixed on next update)
added an option for a background image (stored in folder "wallpaper" like on miui)
fixed the db-file
rotate Text/Image (re-set bounds)
By hitting the button 'Screenshot' a screenshot will be stored in folder 'preview' (Button appears after hitting 'Preview')
parse Time-Tag
Button to create a zip/mtz file
create a description.xml (after hit the zip button)
Added checkboxes to (de)select wallpaper, preview-folder and font for the mtz file
review the config-file
=> width, height, path and font will be stored
review create/modify of the description.xml
only digits are allowed for some textfields (width/height and texts/calls)
=> no annoying checks and/or errors
config.xml
NumberChoice
NumberInput
StringChoice
StringInput
CheckBox
MusicControl
Image (without 'music_album_cover')
Text (without 'music_display')
parse (normal) Buttons (not MusicControl)
Added a scrollbar for low screen resolutions
minor fixes
added a button which shows system- and program-information (for debugging). It's the quadratic button on the bottom left corner of the control-panel
added more output information (creating the mtz file will give more output)
fixed a font bug (if the font wasn't a ttf the program crashed)
added a splash screen
updated to Java 7
New Fixes (October 31, 2012):
Drag&Drop support for manifest.xml file
push mtz via adb (note: don't forget to set right path in "File" menu!!!)
added a "?"/help/about menu
added command line args support. (-dx is the debug level. 0 means only errors, 1 more, 2 more than 1 and 3 full debug. -f <file-path> so you don't have to set it everytime using the menu. -s to hide splash, -S to enable splash [default])
cleaned up the code
description.xml modding can now be done in a tab and not only while creating the mtz
"live" support. You can change font, battery state/level, messages, sms/texts without hit "preview" again
DateTime and Text supported in live-feature (the one above)
bug fixes of latest features
new layout of the control center, including the button section (the don't "popup" anymore.)
Bugs/Not yet implemented:​Important:
parse variable-elements (e.g. #unlocker.move_x)
parse Unlocker
parse MusicControl
Buttons
MusicControl overlays triggers
parse config.xml => only AppPicker left
parse animations
Update variables during runtime (primarily for unlocker and animations) [10% done!]
Secondary:
complete DateTime attributes
complete Text attributes
complete Image attributes
connect db-Files for every weather app
complete v4 support
refactor code
I have a request:
I want to include as much as possible weather-provider and/or other contentprovider.
So, here my request:
If you want to support and help me and this program, please post an App with ContentProvider and a modified db-File + the ContentProviderBinder uri.
I hope someone helps.
-v1r0x
Not able to see the full view
v1r0x said:
Hello everyone,
I hope this is the right forum. Wanted to post in dev-forum, but not sure if I may or not...
Anyway: I want to introduce my latest MIUI project.
Current working name is "ls debugger". Suggestions are welcome
Description:
I found the hole LS testing progress (edit, zip, usb mount, copy, apply, ...) annoying, so I started this program.
It is still in beta state. There are still some errors or force closes because I haven't implemented all error check functions.
The reason why I started this thread now, is that I want some feedback and maybe new ideas and suggestions.
Requirements:
- Java Runtime
Instructions:
The usage is really simple.
After unzipping the file you'll have 5 files/folders:
- advanced (folder)
- wallpaper (folder)
- MIUI-LS-Tester.jar (executable)
- bgtWeather.db (9sweather db-file)
- systemCPs.db (calls, texts, contacts for ContentProviders [not finished])
You can replace the wallpaper and advanced folder with your own, but no guarantee that it will work.
Some features aren't implemented (unlocker and variables of elements. e.g.: #unlocker.move_x)
Have a look at the given manifest file and you'll see what will work and what won't.
You can start the program with doubleclick the 'MIUI-LS-Tester.jar' or open a terminal, move to the location where you've extracted the zip file and type:
Code:
java -jar MIUI-LS-Tester.jar
In the terminal you will get some information about the parsing and other informations.
At first a window with 2 textfields appears. In this you have to set the width and height of your lockscreen.
If you have a config.xml file you can set the variables on the right side in the "config.xml" tab (after a click on 'Preview').
To get a preview you have to open your manifest.xml and click on 'Preview'.
Also you can choose another font.
After a click on 'Preview' you'll get 3 more buttons.
Screenshot:
I think it's clear what this buttons will do
It saves a screenshot of the left panel in <MIUI-LS-Tester.jar-Location>/preview/lockscreen_preview_x.jpg
create mtz:
this will create a mtz file.
After a click you can choose some things. Add your font, wallpaper, previews...
Afterwards you can create/modify the description.xml file
Thats it
toggle buttons:
this will toggle the Trigger-Buttons.
Because they are not visible in your lockscreen you can do this with this button.
On the top of the right panel you can set some variables.
I think it's clear, so no description.
If you modified your manifest.xml (and the ls debugger is still open) just click on preview and the changes will be loaded.
Credits:
my brother: for helping me with the "calculator"
picard666: for some help and suggestions
jdom team: for the best java xml parser.
jfont-chooser team and david from stackoverflow: for the fontchooser.
zentus: for the sqlite lib.
pomenx: from the miui team for manifest reference thread @ xda.
regards
-v1r0x
Click to expand...
Click to collapse
Hi , thx to tis application i able to cutomize my ls easier..
bt wad i encounter is...once i run the application i might not able to see the full view of it...
my laptop resolution are 1200 x 800
i tried change the resolution to LS resolution to 480 X 500 and i maximized the application window it still the same...
any idea ???
Uploaded with ImageShack.us
thanks for your reply.
My resolution is 1920x1200, so I forgot to check other resolutions.
I'll try it later on another screen resolution and upload an updated version.
v1r0x said:
thanks for your reply.
My resolution is 1920x1200, so I forgot to check other resolutions.
I'll try it later on another screen resolution and upload an updated version.
Click to expand...
Click to collapse
Thanks alot man...it will be nice if all resolution can be supported...
i am waiting for it
v1r0x said:
Hello everyone,
I hope this is the right forum. Wanted to post in dev-forum, but not sure if I may or not...
Anyway: I want to introduce my latest MIUI project.
Current working name is "ls debugger". Suggestions are welcome
Description:
I found the hole LS testing progress (edit, zip, usb mount, copy, apply, ...) annoying, so I started this program.
It is still in beta state. There are still some errors or force closes because I haven't implemented all error check functions.
The reason why I started this thread now, is that I want some feedback and maybe new ideas and suggestions.
Requirements:
- Java Runtime
Instructions:
The usage is really simple.
After unzipping the file you'll have 5 files/folders:
- advanced (folder)
- wallpaper (folder)
- MIUI-LS-Tester.jar (executable)
- bgtWeather.db (9sweather db-file)
- systemCPs.db (calls, texts, contacts for ContentProviders [not finished])
You can replace the wallpaper and advanced folder with your own, but no guarantee that it will work.
Some features aren't implemented (unlocker and variables of elements. e.g.: #unlocker.move_x)
Have a look at the given manifest file and you'll see what will work and what won't.
You can start the program with doubleclick the 'MIUI-LS-Tester.jar' or open a terminal, move to the location where you've extracted the zip file and type:
Code:
java -jar MIUI-LS-Tester.jar
In the terminal you will get some information about the parsing and other informations.
At first a window with 2 textfields appears. In this you have to set the width and height of your lockscreen.
If you have a config.xml file you can set the variables on the right side in the "config.xml" tab (after a click on 'Preview').
To get a preview you have to open your manifest.xml and click on 'Preview'.
Also you can choose another font.
After a click on 'Preview' you'll get 3 more buttons.
Screenshot:
I think it's clear what this buttons will do
It saves a screenshot of the left panel in <MIUI-LS-Tester.jar-Location>/preview/lockscreen_preview_x.jpg
create mtz:
this will create a mtz file.
After a click you can choose some things. Add your font, wallpaper, previews...
Afterwards you can create/modify the description.xml file
Thats it
toggle buttons:
this will toggle the Trigger-Buttons.
Because they are not visible in your lockscreen you can do this with this button.
On the top of the right panel you can set some variables.
I think it's clear, so no description.
If you modified your manifest.xml (and the ls debugger is still open) just click on preview and the changes will be loaded.
Credits:
my brother: for helping me with the "calculator"
picard666: for some help and suggestions
jdom team: for the best java xml parser.
jfont-chooser team and david from stackoverflow: for the fontchooser.
zentus: for the sqlite lib.
pomenx: from the miui team for manifest reference thread @ xda.
regards
-v1r0x
Click to expand...
Click to collapse
Hi is me again...
i successfully create a lockscreen...and transfer it to my phone...bt the lockscreen i create was found at "Theme" instead of "Lockscreen Style" and when i applied the lockscreen that found at "Theme" my theme was revert to original MIUI Theme...
is it i missed out sumthing ?
http://db.tt/CyvDqJy9
Please don't quote the complete post
Did you use the "create mtz" of my program?
because there is something really wrong.
Instead a font- and preview-folder there are files named:
Fonts\Arial.ttf
and
preview\preview_lockscreen...
I'll have a look at it later. I'm not at home and have no choice for testing and debugging.
v1r0x said:
Please don't quote the complete post
Did you use the "create mtz" of my program?
because there is something really wrong.
Instead a font- and preview-folder there are files named:
Fonts\Arial.ttf
and
preview\preview_lockscreen...
I'll have a look at it later. I'm not at home and have no choice for testing and debugging.
Click to expand...
Click to collapse
Oppps...Sorry...
ya...i using yr way to create it..
the Font\Arial.ttf exist - i using other font for my LS.
the preview\preview_lockscreen exist - i "Screenshot" 1st den only i "Create mtz"
Alright..spent quite a long time on tht LS...hope it can be applied successfully ^^
kezn715 said:
Hi , thx to tis application i able to cutomize my ls easier..
bt wad i encounter is...once i run the application i might not able to see the full view of it...
my laptop resolution are 1200 x 800
i tried change the resolution to LS resolution to 480 X 500 and i maximized the application window it still the same...
any idea ???
Click to expand...
Click to collapse
ok, i've added a scrollbar which hopefully solve your problem
kezn715 said:
Oppps...Sorry...
ya...i using yr way to create it..
the Font\Arial.ttf exist - i using other font for my LS.
the preview\preview_lockscreen exist - i "Screenshot" 1st den only i "Create mtz"
Alright..spent quite a long time on tht LS...hope it can be applied successfully ^^
Click to expand...
Click to collapse
I've tested it and can't reproduce it
On my system the folders created correct.
But i've found a little bug. If no preview-folder exists or the default font is used (if you haven't choosen one with "File>Select Font") the creation of the mtz crashes but the program didn't close. So make sure everything exists.
Can you tell me which OS you use? Maybe its a bug of an older windows version and/or linux, mac.
Also, did you tried to start the program in a terminal/cmd/console and checked the output?
If not and you'll get errors while creating the mtz (and you've checked the things in the red marked paragraph), then send me the output of the program and your ls. So I can do some tests.
I don't really understand what this program does. Sorry. Does this program preview any miui ls or what does it do?
Sent from my Galaxy Nexus using Tapatalk 2
cowsquad said:
I don't really understand what this program do. Sorry. Does this program preview any miui ls or what does it do?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Yes, it preview a miui ls, so you don't have to zip, flash and install it for testing.
Or if you only want a preview (if no preview img exists)
Also it can create a mtz file, description.xml file and include font, wallpaper and/or preview.
And you can create screenshots.
At first I only wanted a preview function, but over the time it got more functions and if I have enough time and fun I'll maybe extend it to an complete ls-builder
Thanks For Updated !!!
i will give it a try later and back to u again..
i download the
April 23, 2012
LS-Debugger alpha2
http://minus.com/mru3I60gz/1f
bt seems like there is no scrollbar ?
There should be a scrollbar if the LS (or the Control Panel) is larger than your screen resolution.
Maybe you have to maximize the program window (only in width) to see the scrollbar.
I'm new to java gui programming, so maybe I will find a better method for this
edit: @kezn715: can you tell me which operating system you use? Could be a OS problem
edit2: I've changed something on the scrollbar (no big thing, just resized the window) and added a new button which give some information about the running program. At this time only information about the windows (width and height). I will add some more useful information in the future
v1r0x said:
There should be a scrollbar if the LS (or the Control Panel) is larger than your screen resolution.
Maybe you have to maximize the program window (only in width) to see the scrollbar.
I'm new to java gui programming, so maybe I will find a better method for this
edit: @kezn715: can you tell me which operating system you use? Could be a OS problem
edit2: I've changed something on the scrollbar (no big thing, just resized the window) and added a new button which give some information about the running program. At this time only information about the windows (width and height). I will add some more useful information in the future
Click to expand...
Click to collapse
Hmm...is it necessary to use the default font for the LS ?
using win 7 (32 bit)
---------- Post added at 09:18 PM ---------- Previous post was at 09:09 PM ----------
kezn715 said:
Hmm...is it necessary to use the default font for the LS ?
using win 7 (32 bit)
Click to expand...
Click to collapse
I already maximized the window...still cant find the scroll bar
[/URL] Uploaded with ImageShack.us[/IMG]
kezn715 said:
Hmm...is it necessary to use the default font for the LS ?
using win 7 (32 bit)
Click to expand...
Click to collapse
no, you can use every font you want. But if you don't choose one and create the mtz including the font, it will throw an exception
kezn715 said:
I already maximized the window...still cant find the scroll bar
Click to expand...
Click to collapse
i don't know whats the problem.
If I create an LS with w:480 and h:1800 my LS-Tester window has about 1100px height and with a scrollbar I can scroll down the 1800px.
But it seems not to be a OS related problem
The program shouldn't create a window which is larger than your screen resolution.
Edit: ok, maybe I found the problem.
Replace your MIUI-LS-Tester.jar with the attached file and test. Did this fix the problem?
v1r0x said:
no, you can use every font you want. But if you don't choose one and create the mtz including the font, it will throw an exception
i don't know whats the problem.
If I create an LS with w:480 and h:1800 my LS-Tester window has about 1100px height and with a scrollbar I can scroll down the 1800px.
But it seems not to be a OS related problem
The program shouldn't create a window which is larger than your screen resolution.
Edit: ok, maybe I found the problem.
Replace your MIUI-LS-Tester.jar with the attached file and test. Did this fix the problem?
Click to expand...
Click to collapse
Haha...Finally the scroll bar is there !!! Thx alot man...
So wad is the problem for the LS that i made .... any idea ?
what exactly do you mean?
the mtz output file?
I don't know what's wrong there.
You could check, after the mtz is created, if there is a "fonts" or "preview" folder in the same folder where the MIUI-LS-Tester.jar is located.
If not, there's maybe a bug in the File.seperator of java.
So tell me what you got
v1r0x said:
what exactly do you mean?
the mtz output file?
I don't know what's wrong there.
You could check, after the mtz is created, if there is a "fonts" or "preview" folder in the same folder where the MIUI-LS-Tester.jar is located.
If not, there's maybe a bug in the File.seperator of java.
So tell me what you got
Click to expand...
Click to collapse
Alright...i will give it a try...and sorry for being late reply...cuz i being buzy with presentation thing...
will update here once i tried it...
No problem
I've another idea: which java version do you use?
Maybe they changed something in java 7 or your version is too old

[ROM][JB][4.1.2][Discontinued] Pristine JB All Languages v4.0

Pristine JB All Languages v4.0
Slim version (removed bloatware and some apps) and Full version available
​
Thread is discontinued. I do not think that there will be updates for TW based Roms on N7000. And I switched to the Nexus 7 2013 LTE and so no more Custom Roms.
Latest Downloads restored (on 16th Nov 2013):
Hotfile: Pristine_XXLC1_v1.0.1 MD5 50964f7909b22d7a1ede92f84d51f8a8
Hotfile: Pristine_XXLT4_v3.0.4_(Slim) MD5 034942a9b5f2d97e48125a97086cf02b
-- Benefits of Slim Pristine ------------------------------------------------------------------------
The Rom is deodexed, zipaligned and rooted (PhilZ Kernel) like usual and was cooked using my tutorial in Post 2.
I removed all bloatware and many apps I do not use or do not like.
Because of this I assume (and I feel) that this results in a fast (at least for a TW based JB), stable Rom. Because of the reduced number of running apps and services you even might have better battery life - but there is no reliable proof for this - it seems only logical. So when I apply a mod/fix/tweak I will only use them if there is no risk for an impact on speed or stability.
What is different or new?
1. I extended the "All languages" by Hebrew. For this I added resources from JB stock for other Samsung devices. Resulted in quite some errors that couldn't be solved by the batches I use but simply by checking it with my own hands.
You can switch to hebrew now - but as told before - you'll need a different keyboard until I found the remaining error.
Everything else works with this language - one exception: gallery - but I assume this is acceptable
2. Of course all the old languages (see the list in OP) are still inside.
3. I release the Slim version first.
4. I removed SamsungChinese_IME_HKTW.apk. So the unsolved error when making a clean install and starting the Rom isn't active anymore. Same as above: have to search for the cause of the error.
5. I didn't add my "android.policy.jar" as workaround for my IMEI problem. Now the Rom contains always the "original" one from XXLT5. I made a CWM-installable zip for me that replaces the android.policy.jar and so I get the SIM Pin dialog and lockscreen etc.
Fixpack 1 v4.0
I replaced Keyboard and File Manager with the apk from my old version 3.2 which didn't contain Hebrew (but of course all other languages). The problems reported by the members (Thanks again) should be solved - at least on my device they are.
Replaced APK: SamsungIME.apk and SecNoteMyFiles.apk
Modpack 1 v4.0
My first three small tweaks I wanted to have without any impact on stability or performance:
- TW Launcher with 7x7 icons (slightly reduced icon size), I like that very much, because TW Launcher is fast and I can use AccuWeather now (in Nova Launcher not possible). And now I understand the structure of the system apk in res folder much better.
- Kmokhtar's theme (but without the additional buttons on top), I like the style of his theme
Modded APK: SecLauncher2.apk and for the theme FlashbarService.apk, SecContacts.apk, SecPhone.apk, SystemUI.apk, framework-res.apk
Next steps: Don't know, will have to read and search a bit for more Tweaks I like
-- Pristine JB All Languages v 4.0 (Slim) ------------------------------------------------------------------------
Dev-Host: Pristine JB All Languages v4.0 (Slim) MD5_fb28cc42b1c4bc4dbc953ce825cfc4b9.zip - 512.46 MB
Seed-Box: Torrent Magnet URI
Hotfile: https://hotfile.com/dl/225568844/4d...MD5_fb28cc42b1c4bc4dbc953ce825cfc4b9.zip.html
Fixpack 1: Fixpack 1 v4.0 MD5_af6feb5a4c1ea7372c9ac635f3ab440c.zip - 5.74 MB
Modpack 1: Modpack 1 v4.0 MD5_6d3029914afc8aad507d5baf5e97af16.zip - 43.01 MB
Reinstall Pack removed apps in v4.0: Dev-Host: Reinstall All Removed Apps v4.0 MD5_debec9e41d9be3a8c946a50f50140f74.zip - 277.95 MB
-- Changelog: ------------------------------------------------------------------------
06.06.2013: Reinstall pack for removed apps in v4.0 added
05.06.2013: First Fixpack and first Modpack added
04.06.2013: OP updated, added hotfile and torrent as download alternative
03.06.2013: v4.0 with All Languages including Hebrew in slim version
-- Installation ------------------------------------------------------------------------
1. Check MD5 of your download first.
2. Copy Zip to your SD card.
3. Use safe kernel for installation (PhilZ Kernels).
4. Reboot into recovery of this safe kernel.
5. Clear cache
6. In Advanced: clear dalvik cache
------------------------------------------------------------------------------------------
Next two steps are only necessary when you want to make a clean installation
6a. Factory reset/full wipe
6b Format /system, /preload, /data
------------------------------------------------------------------------------------------
7. Install zip
8. Reboot and configure
---------------------------------
-- Languages in v4.0 ------------------------------------------------------------------------
Combined languages in all (but one) apk from XXLT5 ("Hungary"), XXLT4 (Germany), DDLSC (India), JPLSB (UAE), XXLSZ (Russia), ZSLO2 (China), DXLSE (South East Asia) and Hebrew from devices like Note2, S3, S4
Combined CSC, T9DB, hdic
Modified apk from apps- and framework-folder (that is the ugly part, because it takes time and bloody fingers)
95 csc sets for different countries:
ABS, AFG, AFR, ALO, ARB, AUT, BGL, BRI, BTC, BTU, CEL, COA, CPW, CYO, DAM, DBT, ECT, EGY, ETR, EUR, FOP, FTD, FWD, GLB, HAJ, ILO, INS, INU, ITV, JED, KEN, KOR, KSA, MAT, MED, MID, MIR, MM1, MRT, MSG, MSR, MTN, MWD, NPL, ORS, PAK, PCL, PHE, PTR, SEB, SEK, SER, SIN, SKZ, SLK, SMA, SMO, STH, TDR, TGY, THL, THR, TMC, TML, TOP, TPH, TRA, TSR, TTT, TUN, TUR, TWO, VHC, VIM, VNO, XEF, XEH, XEO, XEU, XEV, XEZ, XFA, XFC, XFE, XFM, XFV, XME, XSE, XSG, XSK, XSP, XTC, XTE, XXV
Display List (from language.xml)
en_GB;ar_AE;az_AZ;bg_BG;ca_ES;cs_CZ;da_DK;de_AT;de_CH;de_DE;el_GR;en_AU;en_IE;en_NZ;en_US;en_ZA;es_ES;es_US;et_EE;eu_ES;f_FI;fa_FA;fr_CH;fr_FR;ga_IE;gl_ES;hr_HR;hu_HU;hy_AM;is_IS;it_IT;ka_GE;kk_KZ;ko_KR;lt_LT;lv_LV;mk_MK;nb_NO;nl_BE;nl_NL;pl_PL;pt_BR;pt_PT;ro_RO;ru_RU;sk_SK;sl_SI;sr_RS;sv_SE;tr_TR;ur_PK;uk_UA;uz_UZ;zh_CN;zh_HK;zh_TW;iw_IL;
Input Support List (from language.xml):
en_GB;ar;az;bg;bn;ca;cs;da;de;el;en_US;es;et;eu;fa;fi;fr;gl;gu;hi;hr;hu;hy;is;it;iw;ka;kk;kn;ko;lt;lv;ml;mr;nb;nl;pa;pl;pt;ro;ru;sk;sl;sr;sv;ta;te;tr;uk;ur;
216 Apps modified (added missing languages to apk)
-- Removed Apps in v4.0 ------------------------------------------------------------------------
Code:
AllshareMediaServer.apk
AllSharePlay.apk
AllshareService.apk
AnalogClockSimple.apk
Aurora.apk
BasicLiveWallpapers.apk
Bluesea.apk
BluetoothMap.apk
BluetoothTest.apk
ChatON_MARKET.apk
ChocoEUKor.apk
ChromeBookmarksSyncAdapter.apk
CoolEUKor.apk
crayon_physics.apk
Dropbox.apk
DropboxOOBE.apk
DualClockAnalog.apk
DualClockDigital.apk
EdmSysScopeService.apk
EdmVpnServices.apk
EnterprisePermissions.apk
FaceLock.apk
FactoryTest_Q1_EUR_OPEN.apk
FotaClient.apk
Gmail.apk
GMS_Maps.apk
GroupCast.apk
HelpHub.apk
HelvNeueLT.apk
Kies.apk
kieswifi.apk
Kobo.apk
lcdtest_Q1_EUR_OPEN.apk
LearningHub_HD.apk
libpolarisofficedump.so
libpolarisviewer4.so
libSwypeCore.so
Magazines.apk
Microbes.apk
MobilePrint.apk
Music2.apk
MusicFX.apk
MusicHub_31.apk
MusicPlayer.apk
OceanWeather.apk
PanningTryActually.apk
PaperArtist.apk
PhotoWall.apk
PickUpTutorial.apk
PlusOne.apk
PolarisViewer.apk
PressReader.apk
ReadersHub.apk
RoseEUKor.apk
SamsungApps.apk
SamsungAppsUNA3.apk
Samsungservice.apk
SamsungWidget_FavoriteApp.apk
SamsungWidget_ProgramMonitor.apk
SChoice.apk
sCloudBackupApp.apk
sCloudBackupProvider.apk
sCloudDataRelay.apk
sCloudDataSync.apk
sCloudSyncBrowser.apk
sCloudSyncCalendar.apk
sCloudSyncContacts.apk
sCloudSyncSMemo.apk
sCloudSyncSNote.apk
SecEmail.apk
SecExchange.apk
SecLiveWallpapersPicker.apk
SecMiniDiary.apk
SecWallpaperChooser.apk
SimpleAlarmClock.apk
SimpleFavoritesWidget.apk
SNS.apk
Stk.apk
Swype.apk
SyncmlDM.apk
SyncmlDS.apk
Talk.apk
talkback.apk
Velvet.apk
VideoHub.apk
VideoPlayer.apk
voice_talk_Q1.apk
VoiceRecorder.apk
VoiceSearchStub.apk
VpnDialogs.apk
WeatherWall.apk
WebManual.apk
WlanTest.apk
wssyncmlnps.apk
YahoonewsDaemon.apk
YahoonewsWidget.apk
YahoostockDaemon.apk
YahoostockWidget.apk
Zinio.apk
-- Credits ------------------------------------------------------------------------
XDA: for all the tutorials, threads and information here. It was easy to find everything I needed for making a Custom Rom.
eybee1970: no need to explain, he gave me valuable information when I discovered XXLSC on my device and wanted to make dumps.
bangsti: for his support and fast servers, great alternative to my torrents
Phil: for his kernels with recovery etc.
majdinj: for his collection of tutorials
kmokhtar: for his Arya theme
Sammobile.com: thanks for their infos of leaks or official releases
and to a lot of members: writing me PM and offering support or giving hints - even when I didn't or couldn't use them. Thanks, that's community as it should be.
-- Old Changelogs: ------------------------------------------------------------------------
02.06.2103: v3.4.4 with a few tweaks: tw launcher with 6x6 icons, center clock, extended menu button, smart rotation
01.06.2013: Fixpack version 3.4.1: replaced secbrowser.apk with version from XXLT5 (new one crashed on start). And added all CSC/hdic/T9DB-files for all the countries I used before in v3.2
31.05.2013: Added new XXLT6 version (slim first now), more details tomorrow
19.05.2013: Added a reinstall pack for all removes Apps. Make your own reinstall from this by deleting the not-wanted Apps from the Zip and so installing only what you need
16.05.2013: Reinstall pack for all Samsung Apps (see content list here)
15.05.2013: Full version of v3.2 all languages added
12.05.2013: Bugfix-Version v3.2: corrected SuperSU according to PhilZ Kernel, removed ReaderHub.apk, updated list with "Removed Apps"
12.05.2013: Based on XXLT5 a new "all languages"-approch in v3.1, first slim version, full version later, removed old entries for 1.9 etc.
09.05.2013: Torrent and hotfile link as alternative download options
08.05.2013: Added XXLT5 based versions: full and slim
01.05.2013: Added CWM-installable zip for MusicPlayer-Apps etc
28.04.2013: Added correct CWM-installable zip for Email-Apps etc (missing secexchange.apk before)
27.04.2013: Added CWM-installable zip for Email-Apps etc
21.04.2013: Added CWM-installable zip for AccuWeather etc
20.04.2013: CWM-installable zip with all removed apps available from dev-host now.
19.04.2013: Slim version of the new XXT4 from today. Usual bloatware and apps I do not need are removed.
07.04.2013: Stopped modding because majdinj made a modded version of the all languages approach here. See his thread for it
06.04.2013: Small version added
05.04.2013: Bugfixes for RTL languages (no fc when using lockscreen with Arabic), see majdini's post
31.03.2013: Second step: added languages (from Chinese, Arab countries, India etc.) to about 200 apk.
30.03.2013: First step: Languages from South East Asia and Europe combined in v2.1. Tomorrow will add Arab, Farsi etc.
24.03.2013: Added Multi-Language Preview for Testing, removed all full versions because they are available in the torrent thread.
Tutorial Stock to Custom Rom for Galaxy Note (updated 2013/05/30)
Tutorial "Stock2CustomRom": How I made this Custom Rom
Changelog
30.05.2013: Added line to change the API-Level before deodexing from 17 (for 4.2) to 16 (for 4.1.x). In v0.220 API level 16 was the default, 0.223 aims at 4.2 Roms with the default 17.
25.05.2013: Updated, removed "dump" chapters because there are no dumps anymore, switched to explaining using an official release (JB right now), corrected errors.
14.02.2013: Adding updates to tutorial while using it with ZSLM5
09.02.2013: Updated top last version of kitchen, testing with ZCLSD
02.12.2012: Finished first "Release" v1. Waiting for replies and will search for mistakes. But not now.
Introduction
When I got the OTA update to XXSLC I had the idea (no wonder) to make a usable Custom Rom (from now abbreviated to CR) out of it.
But how to do this?
I could've asked for help and a step by step tutorial - PM to some developers or cookers are great - or I could search XDA and try one of the many solutions written down somewhere.
In the IT world I prefer the last one, but I wanted an easy way: a kitchen. Why should I reinvent everything from scratch? Good for my ego, bad for my family.
With the XXLC dump this changed again and with the information that dsixda's Android Kitchen (I call it dAK from here) now will work with the N7000 I was curious again.
And after that I used the tutorial for cooking my Custom Roms from the official JB releases.
Limitations
No branches and options how to do something in different ways will be here - only the one-way-street I use. If you want other options you have to do it yourself and read the original threads with detailed descriptions.
I will not make snapshots for every button press or action - in the beginning I will not make even one of it. Later may be where really necessary.
I try to speak "plain english" - normally I speak "Thai english" - so please do not wonder if I use very simple language - I'm used to it and I didn't study in Oxford or Cambridge.
All steps and explanations are written in detail in the originals or on the web sites. Here you see only what you really need, without telling every "interesting" detail.
Working in Cygwin means you are using Linux, I will not explain all commands I use (like cd, ls, pwd etc.). It's not important here (it's fine to know), only using the kitchen is relevant.
What do we need? Downloads first
Windows 7 or 8: I did it on the new Windows 8, so 7 should be ok. No Linux, no XP, no Vista, no Apple
dsixda's Android Kitchen - download latest version (0.223_rev9)
Latest JDK from Oracle - important: not only the runtime but the "Java SE Development Kit 7" for Windows 86. It is the 32 bit version - I have a 64 Bit Win but using Java with 64 makes you crazy.
Customized version of Cygwin - dsixda made this, so no need to really work with the cygwin configuration from scratch.
DiskInternal's Linux Reader (as a tool included in the kitchen. But you have to install it anyway - and it's not nice when you discover this while in the script. So I used the latest version 1.6.4.0 and place it here.
A good editor: I use Notepad++. Latest Version (v6.2.2)
And: the zip with the official Android release from Samsung (JB at the moment)
latest Philz Kernel for your release (or your Custom Rom will not boot). Get the zImage from the zip.
How to prepare everything? Installation instructions
Do not change the order please, especially: JDK first, Cygwin after!
Install the JDK, Defaults ok, no more to explain
Install the Custom Cygwin from dsixda
Unzip to a temporary installation directory (e.g. c:\dsixda_cygwin_install)
Run Setup.exe
Select "Install from Local Directory"!
Use "C:\Cygwin" or any other folder, but NO SPACES in the name!
In window "Select Local Package Directory" change path so that it ends with: "\cygwin_packages"
In window "Select Packages" you have to change the first line in the list by clicking the arrows. It will change to "All <-> Install"
Click on "Next", installation runs and you should make a desktop shortcut.
After finishing the installation, start it (desktop shortcut) - this initializes the Cygwin environment
Install the Kitchen
In the Cygwin directory go to folder "home/[your home directory] - in my case it would be "ThaiDai". Create a folder "kitchen". Result should be: "C:\Cygwin\home\[your home directory]\kitchen
From the kitchen zip extract the content of folder "Android-Kitchen-0.223-rev9" into the folder "kitchen". In kitchen folder you will find a file "menu".
Start Cygwin (desktop icon).
type "cd kitchen"
type "./menu". The kitchen should start and you will see the "MAIN MENU".
type "x" to exit the kitchen and then "exit" to close Cygwin.
Reading and unpacking the Images
Unzip the downloaded JB release. Inside you will find a "tar"-file (this is a linux archive). You have to unpack this one too. Inside there are (for the Note): zImage, cache.img, factoryfs.img, hidden.img and modem.bin.
factoryfs.img - this /system
cache.img - containing CSCs (for your country specific settings, providers, apps, languages etc.)
hidden.img - the /preload partition with more apps, important now because a nice way to save space in /system
modem.bin - radio
zImage - not the kernel from the dump but Philz Kernel for your release (or your Custom Rom will not boot). Get the zImage from the zip.
Start the kitchen (Cygwin Icon, cd kitchen, ./menu) as Administrator (then you won't get warnings/errors later in the process)
Type "1", "Enter", "Enter". dAK should show you the "Available ROMs"
Type "1", "Enter" and select the dumped files. You'll see a Note telling you why a rooted kernel is important (we have Philz)
I want to change the name of the "working folder", so I press "y", "Enter" and change the name to "WORKING_THAIDAI". Choose your own folder name or don't change (not change the WORKING_ part, only the part after this!)
dAK will copy zImage and then compiles "simg2img" which it will use for converting the .img-files in a usable format
External Tool "Ext2explore" opens and in the Terminal you get infos what to do. So slowly now and read.
In the "Ext2Explore" choose menu entry "File"-"Open Image". Go to your working directory ("Working_...") and open folder "system". Select "ext4_factoryfs.img" (maybe you do not see the extension) and open it.
Right-Click the first entry in the left window and press "Save". Important: in the dialog switch and select folder "system" again. After pressing "OK", wait until the copy-process is finished. Close "Ext2Explore" and switch back to the terminal window. If you read there you can control again if you did what I wrote here.
Press "Enter"
Now the same as before for hidden.img. Tool "Ext2explore" opens, select "ext4_hidden.img" in folder "hidden", right-click and "Save" it to "hidden" folder (not to "system"!), wait until copy finishes and close "Ext2Explore".
Press "Enter"
You'll get some information about the /preload and that the kitchen will handle this automatically.
Press "Enter"
Now you get the offer to extract the Customer Software Customization (CSC) from cache.img. Press "Enter" (default is y)
And again you'll have to use an external tool - how to use is written down exactly. So please read it and follow the 7 steps (explained here of course)
Start Linux Reader and select in menu "Drives" - "Mount Image".
If not selected please choose "Raw Disk Images" and press "Next".
There you have to switch to your working folder in the kitchen until "system". Select "ext4_cache.img". Open it.
Marked in red you'll see a Hard disk drive called "Linux Ext Volume 1" (or "Linux native Volume 1). Double click it (open it). And again double click on the folder "recovery". You see the "sec_csc-zip".
Mark it and right click the "sec_csc.zip" and select "Save Files" and press "Next".
Uncheck "Save directory structure" and change "Output folder" to the "system"-folder in your working directory. ATTENTION: Linux Reader remembers old entries, so there might be the system folder of an old working directory with another name. Please always check the correct folder or the CSC isn't extracted into your actual working directory (I hate this part, because this happened right now when I wrote these lines).
After you selected the system folder press "Next" two times and close the Linux Reader program.
Switch back to your kitchen window and press "Enter". The kitchen will extract the content of sec_csc.zip
When asking to copy the apps to your working folder do NOT choose the default. Switch to "y" and "Enter" because we want to use CSC.
In the line "Add boot.img (y/n)?. Choose "y", "Enter"
After that dAK takes care of symbolic links, update-script etc. and ends with the information "Finished setting up working folder!"
Type "y", "Enter" to view the Rom infos. After a while you get a list of information. Entries will change with the next steps
Press "Enter"
Rooting and deodexing
Use menu options "2 - Add root permissions" and choose option "c" for "Chainfire's SuperSU" there. Press "Enter" until you see the menu again.
Use "3" for "BusyBox". Confirm with the default "y". Press "Enter" two times.
Very important now for your ego: change the name of the Rom after typing "7", "Enter". I will do this for example like: "Pristine ThaiDai bla bla". After changing press "Enter" two times.
If you want to change your radio you have to copy "modem.bin" from the folder "original_update" to the folder "system" in your working directory (of course outside of the kitchen).
ATTENTION: this isn't normally necessary. A user should choose the modem for his region, so it isn't a good idea to add a specific modem to your Custom Rom (I made that mistake in my first Roms).
Again type "8" for updated working folder information. It changed because you choose different options. Press "Enter" to go back to the main menu.
Type "0", "Enter" for the advanced options.11
Type "11", "Enter" and read the informations and how many odexed files are found
WARNING: You have to change the default API Level from 17 to 16 for building a 4.1.2 Custom Rom. So press "v", "Enter" and change API Level to 16.
The kitchen offers to temporarily move the apps from /preload to /system, so it can deodex them. So please choose the default "y". "Enter". The kitchen will move them back later.
WARNING: Some folder inside of "csc" contain apps with a size of exactly zero bytes (0 bytes). You have to delete them first or you'll get errors when deodexing. If this happens no problem: delete the "0"-byte-files and deodex with again. This error can happen later again when zipaligning the apk (0 bytes are already zipaligned perfectly).
Type "b", "Enter" and start deodexing all apks (now time for a good coffee), accept logging default with "y".
After deodexing 44+137 (in my case) you press "Enter" and can read the results in the generated log
Building your Rom
Optional: Select "13" and/or "14" if you want to add /data/app or /etc-init.d functionality/script support to your Custom Rom - I don't need it.
in ADVANCED OPTIONS type "0", "Enter" and go back to Main Menu
Choose "99" for building your Custom Rom
Confirm default "1" with pressing "Enter". It is an interactive mode and guided. It gives you the opportunity to add your own "updater-script" (I always do) to the Custom Rom .
Confirm question to optimize and zipalign the APKs with "Enter".
After zipaligning the "updater-script" is generated. dAK ask if it should "Proceed with the change (y/n)". Here you can copy your own "updater-script" to the folder "^META-INF/com/google/android".
The kitchen continues with building the "update.zip". Wait a while and it wants to sign your Rom. Of course use the default "y" and press "Enter".
And finally rename your Custom Rom if you want, should be easy to do.
Your new Custom Rom will be in the folder "OUTPUT_ZIP" and you can install it on your Note.
--- If this doesn't work: maybe you made a mistake or I made one here. Please add your comment in the thread. Do not send me PM please ---
Glossary/Abbreviations
Custom Rom (CR): A Rom that is changed from the maker's original by adding functionality like root access, modifications, bug fixes etc.
dsixda's Android Kitchen (dAK): A Rom making factory with "endless" scripts and collected tools bundled together. Now usable for N7000. Complete thread here - please read if you really want to understand everything
Credits
XDA: for all the help, documents, tutorials ...
dsixda: for his wonderful kitchen
Phil3759 for his patched stock Kernels
...
one more and enough
Welcome to the club.
Sent from my GT-N7000 using xda premium
Reserved, tank's for development.
any md5 check sum pls. OK. Got it.
dsmas said:
any md5 check sum pls. OK. Got it.
Click to expand...
Click to collapse
MD5 is part of the filename - easiest way to compare. But I added it to the first post. Thanks
Installed smoothly. Everything seems fine, but the task killer is gone and touchwiz crashes if i try to set the city for the weather widget.
olegych76 said:
Installed smoothly. Everything seems fine, but the task killer is gone and touchwiz crashes if i try to set the city for the weather widget.
Click to expand...
Click to collapse
I will add the list of deleted apk later in the OP, maybe there's something deleted what is needed for this. We'll see.
But thanks for your reply here: so I can be sure the torrent and the Rom are ok.
ThaiDai said:
Tutorial: How I made this Custom Rom​
Just an idea: I will write down everything here how I made this Custom Rom. So it will be easier for me and - maybe - for others to use it again.
Click to expand...
Click to collapse
Thx thai waiting for this how-to
Thank in advance
Envoyé depuis mon GT-N7000 avec Tapatalk
ThaiDai said:
Tutorial: How I made this Custom Rom​
Just an idea: I will write down everything here how I made this Custom Rom. So it will be easier for me and - maybe - for others to use it again.
Click to expand...
Click to collapse
This would be extra-ordinarily wonderful. Waiting for this. Thanks!
thanks! *******ThaiDai :good:
deleted
ThaiDai said:
Tutorial: How I made this Custom Rom​
Just an idea: I will write down everything here how I made this Custom Rom. So it will be easier for me and - maybe - for others to use it again.
Click to expand...
Click to collapse
Would be fantastic and helpful.
TIA
Flash and installation was smooth. Multi windows and air view seems not working. Very limited needful appns are only included but that is ok. Needs lot of mods.
Sent from my GT-N7000 using xda premium
new dump firmware? ?
Inviato dal mio GT-N7000 con Tapatalk 2
valentinrascu said:
new dump firmware? ?
Inviato dal mio GT-N7000 con Tapatalk 2
Click to expand...
Click to collapse
One question are you on rooted version or did you perform a upgrade
Envoyé depuis mon GT-N7000 avec Tapatalk
smaiitm said:
This would be extra-ordinarily wonderful. Waiting for this. Thanks!
Click to expand...
Click to collapse
+1
Sent from my GT-N7000 using xda app-developers app
ThaiDai said:
Tutorial: How I made this Custom Rom​
Just an idea: I will write down everything here how I made this Custom Rom. So it will be easier for me and - maybe - for others to use it again.
Click to expand...
Click to collapse
that's a great idea !!! would be great to have a kind of tuto to make a simple custom rom.
Any mirror for normally download, i mean not in torrent?
Thanks
Sent from my GT-N7000 using xda premium

[FIX][MOD] Camcorder Audio Quality fix

Hello!
LEGAL NOTICE:
here I will review & show how to modify ANDROID OPEN SOURCE CODE! (link is below in text)
probably you have already found out, that LG G2 Camcorder records audio of plain POOR quality.
But some other programs as LGCamera by rubberbigpepper and few audio-recorders managed to get good audio;
so I did jump into "smali-world", searching for word "audiosource" and found following (more interesting, than others) in VideoRecorder.smali of LGCameraApp.apk:
Code:
sget-object v9, Lcom/lge/camera/app/VideoRecorder;->mMediaRecorder:Lcom/lge/media/MediaRecorderEx;
const/4 v10, 0x5
invoke-virtual {v9, v10}, Lcom/lge/media/MediaRecorderEx;->setAudioSource(I)V
afterwards I searched in above mentioned LGCamera, where same kind lines instead contains 0x1 constant.
well, seems that 0x5 is a real bad boy
I changed it to 0x1, recompiled LgCameraApp.apk and now you also can "congratz" yourself
Audio is of finest quality!!!
afterwards I searched in internet for Android Source Code, to be more sure in this change.
and seems, those smali-lines possibly correspond to this line in source https://android.googlesource.com/pl...ster/src/com/android/camera/VideoModule.java:
1102 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER);
where constant values are:
Code:
public static final int CAMCORDER
Constant Value: 5 (0x00000005)
public static final int DEFAULT
Constant Value: 0 (0x00000000)
public static final int MIC
Constant Value: 1 (0x00000001)
this proves to me, that I am not doing some crazy wrong thing.
so, source can be changed so:
mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
Same kind of code you can find in almost every videorecording application!
you have to just search for word setAudioSource and a constant 0x5 above it.
for example, in GoogleCamera etc..etc..
info for installation:
firstly, add/change extention of original files /system/priv-app LGCameraApp.apk & LGCameraApp.odex to .bak (like LGCameraApp.apk.bak, LGCameraApp.odex.bak),
restart device & install your MODded APK file.
You can install it as regular app. or if you want, you can put it back into /system/priv-app/ , after do restart.
see also my discussion here:
http://forum.xda-developers.com/showpost.php?p=57676003&postcount=385
Dear @xdabbeb !!
1. I appreciate your work & removed smali-code of XCamLG after your request.
2... other lines removed
EDIT: huge english imrpovement after gogl-transl
DOWNLOADS in my next post
Any possibility you can make a flashable zip for Xcam?
Or share with xdabbeb if you haven't already. Thx
tholmes8291 said:
Or share with xdabbeb if you haven't already. Thx
Click to expand...
Click to collapse
XCam is complicated thing.
http://forum.xda-developers.com/showthread.php?p=57650148#post57650148
but you can learn howto mod APKs
where did the apk go?
MOD EDIT: removed quoted post as it contained original OP
At night, I test.
Thank you
quality-sound MODs
DOWNLOADS
(well, about MODs, 1 PM I wrote to admin but not got any replay...)
********************
info for installation:
1. firstly, add/change extention of original files /system/priv-app LGCameraApp.apk & LGCameraApp.odex to .bak (like LGCameraApp.apk.bak, LGCameraApp.odex.bak),
2. restart device & install your MODded APK file.
2A. You can install it as regular app = Copy to SDCARD and open it.
2B. or if you want, you can put it back into /system/priv-app/ , after do restart.
*******
source: ROM LG-G2-VZW-24A-Stock-Rooted&Deloated-v1.2 from MicroMod777
http://forum.xda-developers.com/showthread.php?t=2711668
>> quality-sound MOD-ded LG-G2-VZW-KITKAT24A_deodex_MOD_LGCameraApp.7z
PLEASE, test it and report back, (I have not currently installed this ROM).
haha, first time deodexed
https://www.mediafire.com/?v5f8zyc3yehvoar
*******
source: ROM G2-VZW-26A-Stock from MicroMod777
http://forum.xda-developers.com/verizon-g2/development/rom-vzw-g2-26a-rom-knock-t2881049
>> quality-sound MOD-ded G2-VZW-26A-Stock_LGCameraApp.7z
PLEASE, test it and report back, (I have not currently installed this ROM)
https://www.mediafire.com/?6s96f65s74aug5k
*******
source: ROM XDABBEB's VS982.5 v1.0.0 from xdabbeb
http://forum.xda-developers.com/verizon-g2/development/xdabbeb-s-vs982-5-v1-0-0-t2975551
>>quality-sound MOD-ded XDABBEB-VS982-5-v1_LgCameraApp.7z
https://www.mediafire.com/?c9aqxh81dfwk9nq
*******
Change 5 to 1, no good for high music
manuelmagix said:
Change 5 to 1, no good for high music
Click to expand...
Click to collapse
yes, true. stand far from it
and good for low level sound.
BTW, try also 0 (zero)
HTCZ715E said:
Hello!
LEGAL NOTICE:
here I will review & show how to modify ANDROID OPEN SOURCE CODE! (link is below in text)
Click to expand...
Click to collapse
This thread is currently under review for possible XDA rules violations.
Once a decision is made I will update this post.
If anyone has any questions or comments please PM me.
#thread_closed

[GUIDE][INDEX]How to modify an apk

How to modify an apk​
Intro:
I’ve done several threads about how to theme and other similar topics but the info is sparse, so this ultimate guide/index will seat proudly in the theme section of XDA and will be updated when new things come, and as I learn more. This isn’t a beginners guide, I’m here trying to be as complete as possible, with links, references, ...
This initial version of the thread isn't here to stay, if you could contribute to this thread, it would mean the world to me, and would clearly help the community (of course I'll mention you for your contribution )
And keep at mind that I’m just an enthusiast, nothing more, and that this thread has been made only by me, so it's far from perfect. If I made any mistakes or if you want to add something please let me know.
Legal aspect:
Using this knowledge to infringe copyright is not only illegal, it’s detrimental to the community. The only legal case, and the only usage of this info condoned, is using it to theme OPEN SOURCE apps (because most of the time, commercial apps forbid reverse engineering in their policies). So don’t worry, theming AOSP is legal. You can always ask the permission of the devs for an authorization to customize their apps, make sure to ask before modding, and distributing the result.
Now I’m not a lawyer, but you can learn more on the legal aspect of reverse engineering on this Stackexchange post.
Summary of this thread:
I-Requirements
II-Download APKs
III-Decompile
IV-What and how to modify
V-Recompile
VI-Sign and Zipalign
VII-Installing the apk
VIII-Other ways to theme your device
IX-Theming related topics
X-Not covered topics
XI-Mods Center
XII-Reserved​
I-Requirements​
A)Java:
It's essential, almost mandatory, the Java Development Kit (JDK) and Java Runtime Environment (JRE) must be installed to use java based tools.
How to install the JDK and JRE
(download and follow the instructions, it’s pretty simple)​
Then, set the path to "java home", you need to do that in order to use java properly within your terminal:
Here’s a tutorial I found​
To check if everything is okay, open a terminal anywhere and enter java --version. If it returns the version of the JDK and JRE you’re good.
B)Android SDK:
Unfortunately we aren’t able to download the Android SDK alone anymore, I used to consider it as a requirement, but now I don’t because some people don’t have the space to install the whole Android Studio IDE just to use the Android SDK.
C)Others:
I suppose that list is going to expand, those two above are the main ones, but if there's something else you need, I'll make sure to put it here
II-Download APKs​
This sounds stupid to take one whole post for that, but sometimes it’s a drag, so here are some ways you can grab the apk you want to modify.
A)APKs form your phone:​Every app you installed from the playstore is under /data/app. With a root explorer like the excellent MiXplorer, you can browse to it and see the icons representing the apps on your phone.
There is an apk called base.apk, that’s the one you want.
Sometime there might be parts called split_....apk along with base.apk, for the excraction of those you’ll need tools like the amazing app called SAI (Split APK Installer), it’s a graphical interface so I’ll assume you’ll figure out how to use it yourself
SAI on the Play Store​
B)From internet:​My two trusted sources I use: APK Mirror, XDA Labs (gone for now)
I also use this chrome module, it has simplified my life sooooo much, it’s provided by the APKmirror team: Toolbox for Google Play Store™
C)Your Sources:​If I missed any good and trusted website, let me know
III-Decompile​This is getting serious now.
If you want to modify the apk, you need to have what’s inside: the code.
A)Resources: Decompile Binary XMLs to Human-Readable XMLs:​We use APKtool for that, it decompiles the resources.arsc file to the res folder, and decodes binary XMLs to human-readable XMLs.
1-How to install APKtool:​How to install APKtool​
2-How to use APKtool:​There are 3 main commands you need to know about:
apktool d [nameoftheapk].apk​Used to decompile the apk. There are several options you can use with that command, they're specified in APKtool's documentation (in the credits).
apktool if [nameoftheframework].apk​Used to set the framework files to decompile properly APKs. Usually some OEMs add framework APKs into Android for their apps to work, so we need to find and copy them, then “install” them with the apktool if command to APKtool. You can learn more about that on APKtool's website (in the credits).
apktoool b [nameoftheapk].apk​Used to recompile the apk. The final apk can be found inside the decompiled apk’s folder, in a subfolder named dist. You can also use various options with that command (listed in the documentation, link in the credits).
B) Decompile Classes.dex to smali:​APKtool also convert classes.dex files to .smali files, but keep at mind that you won’t be able to see the java source code in those files.
The .dex extention is for Dalvik Executable, which is very self-explanatory, and is also a binary format. APKtool turn them into .smali files, which are Human-readable files, not in java, but still! And if you want to modify the code, you’ll have to learn smali. (covered in the next part, good luck with that lol)
C)Read java source code :​There’s actually a way to see the java source code of an Android app, using some tools:
JD-GUI (or any other java decompiler)
Dex2jar
First turn the classes.dex files into .jar files with this command using Dex2jar:
./d2j-dex2jar.sh -f -o output_jar.jar apk_to_decompile.apk​
(Execute the .bat if you’re on windows)
Quick explanation:
./d2j-dex2jar.sh: execute the dex2jar script
-f: replace the previous jar file named the same as output_jar.jar
-o output_jar.jar : set a name to the output jar file
apk_to_decompile.apk: name of the apk file you’re taking care of
Then read the jar file using JD-GUI (or any other java decompiler). It’s a quite simple software, lite weight, and you can download and run the java version without installing anything else.
Dex2jar isn’t updated anymore (since 2015), so there are errors when decompiling. You’ll be able to get a .jar file but it’ll be incomplete or not identical to the original one, that’s why this tool doesn’t allow one to modify java source directly. But you can get a great understanding of how this app works.
C) Nice tools from the XDA community:​• Tickle My Android (TMA) by @Ticklefish
A tool that ease the work with APKtool, amazing one!
• APK Easy Tool by @evildog1
Also works with APKtool, I don’t use it often, but it is great!
• Other tools:
Let me know
Credits, links for this part:
Stack Overflow Post
Documentation for APKtool
Another SO Post
@Rizal Lovins ’
" [Share Latest Apktool 4.2.2/Guide/Tutorial/] How to Decompile/Compile/Sign Apk/Jar "
@A_U ’s
" [GUIDE][HOW-TO] Decompile and Compile apps using Apktool in 5 Simple Steps "
IV-What and how to modify​This part is gigantic, I'll try to include as much link as I can, this part isn't supposed to stay like that very long, as it contains very few of the hundreds of guide about theming in XDA. Help me out by suggesting some links.
​A)Resources (XML):​​1-Tools​To edit XMLs you can use whatever text editor you want, but I’d recommend Visual Studio Code. It has solid plug-ins that may come handy to avoid mistakes when editing.
You can also sort of visualize XMLs with Android Studio's Layout Inspector.
You have to open the apk’s folder in Android Studio and browse to the desired xml. Opening the resource manager will aslo allow you to visualize the XML files to a certain extent, but it's not cristal clear (see the screenshot) so I don’t use that very often, but it’s good to know.
Spoiler: Screenshot
{
"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"
}
2-What’s xml​This subject is very long, you can learn a lot of things. Here are some links (increasingly detailed) to learn about XML:
A Post in [GUIDE] Want to learn how to theme? by @theimpaler747
Google’s "Guide" (very complete): that google link is about resources in general, so it explains XMLs but not only XMLs
A Reference for Codenames in XMLs
3-Modifications:​You can modify deeply the UI by editing XMLs, here are some guides to make you familiar with some techniques. Again this is a very vast field, it deserve a thread itself, and this list clearly isn"t finished. Here are my favourites ones:
XML 101 by @Ticklefish
[GUIDE][RES] Android Animation XML resources for Activity Transition by @niranjan94
Find the code you want to modify by @Raiz (Me lol)
[TUTORIAL] Where to find the colors for making a theme by @KBanause
[TUT][JB] HOW TO THEME SystemUI.apk for TOTALLY newbie! by @joehanh88
[Reference] Interactive Phone Modification [GUIDE] by @pstevep , this is AN ABSOLUTE UNIT OF INDEX!
[Tutorial][APP] PinP Shortcuts | How to Implement Picture in Picture Mode [API 26+] by @Geeks Empire
[Overlay] Enable Night Light, Auto-Brightness, Ambient Display & more on Treble ROM by @MishaalRahman
Let me know
4-Precaution:​When modifying apks, some errors can be very frustrating, yet very easy to fix. Here are some usual cause of struggle:
Not properly set JAVA_HOME
The tools used (like apktool.jar) aren’t chmod +x (aren’t allowed to be executed)
You have to add java -jar [command] before every .jar tools commands for it to run
Tell me, don't be shy
For every tool related bug, please refer to their GitHubs, sometimes you’ll find a solution by searching. And XDA threads are also plenty of answers! (and if you’re really not lucky maybe stack overflow can help).
B)Smali:​That’s a tough one. First, if you want my advice, editing them with Visual Studio Code and the smali plugin is way easier to find mistakes. There’s also a smali plugin for Android studio (and IntelliJ based IDE) made by Jesus-Freke, it is called smalidea.
Now I found one reaaallllyy awesome thread here on XDA about smali:
[GUIDE][SMALI]Understanding and Creating Smali Mods & General Smali Questions by @Goldie
Something else maybe? Tell me
This is my reference, I’m still learning smali tho, this list may be updated, but this thread is pure gold, go check it out!
Credit for this part:
Resources:
@Ticklefish , for XML 101 (but also for TMA), this is really one of my favourite thread on XDA
All the other members mentioned in the above list
Smali:
@Jesus-Freke , for his work on smali, baksmali (integrated in APKtool) and smalidea
@Goldie , for the amazing thread explaining smali
V-Recompile​You've done the hardest part, now what's left is repacking that thing together.
A)How to recompile:​It’s pretty simple, do it with apktool with this command:
apktool b [nameoftheapk].apk​You can add several options, here’s the full list.
The -c option to me is the most useful, because it allows to leave the signature unchanged for system apks. It’ll be deprecated soon (APKtool v2.6.0), so you’ll have to do the trick manually.
What -c (--copy-orginal) does: “Copies original AndroidManifest.xml and META-INF folder into built apk. Scheduled for deprecation.”
A bit of details, good to know:
“META-INF contains apk signatures. After modifying the apk it is no longer signed. You can use -c / --copy-original to retain these signatures. However, using -c uses the original AndroidManifest.xml file, so changes to it will be lost.”
And
“After [d]ecode, there will be new folders (original / unknown) in the decoded apk folder
original = META-INF folder / AndroidManifest.xml, which are needed to retain the signature of apks to prevent needing to resign. Used with -c / --copy-original on build
unknown = Files / folders that are not part of the standard AOSP build procedure. These files will be injected back into the rebuilt APK.”
Apktool uses aapt2, the tool used in Android Studio to compile your app. You can learn more on what it is here.
B)Troubleshooting:​First, remember that you can use aapt1 (used by default) and aapt2 when recompiling, try both if you run into some issues with the first.
If you have an issue with APKtool's dummy values, go on the Github Issue I opened, the problem is now solved.
Most common error, and simple to solve are the following:
-Name of the file not written correctly:​
Code:
brut.directory.DirectoryException: java.nio.file.NoSuchFileException: Firefoxr
Solution: The correct name is Firefox not Firefoxr, how dumb can I be?
​-Aapt errors: (here a folder isn’t recognized):​
Code:
W:invalid resource directory name: /Users/Raiz/Desktop/apktool/Firefox/res navigation
Solution: Use aapt2, the folders not recognized are because aapt1 (used by default) is older than aapt2, so if you see an error like this, use the option “—use-aapt2”
​-Xml Errors:​
Code:
W: /Users/Raiz/Desktop/apktool/framework-res/res/values/styles.xml:1185: error: Resource entry Theme.Holo already has bag item textEditSuggestionItemLayout.
Solution: These errors are quite easy to fix, just go to the file at the line mentioned then fix the error. Usually it a doubled line, a synthax error, …
Unfortunately APKtool isn’t able to correct string typos, it’s up to you to write in correct English (definitely struggling with that on my side lol).
For other more specific errors, copy/pasting the error message in the google search bar will most certainly redirect you to a Github error, or a post in The Official APKtool XDA Thread. You can find answers by searching, so search thoroughly before asking, it’ll save you some time.
And what is troubleshooting without
[UNIVERSAL][LOGCAT]How to get & read a logcat/ Troubleshoot your own issues!
by @Stryke_the_Orc​
Credit for this part:
APKtool issues on Github
The APKtool documentation
@iBotPeaches for this amazing tool
VI-Sign and Zipalign​
We must sign an app after having modified it, so it can be installed properly on our devices. System Apps MUST keep the same signature they had before modifying, or else the app will continuously force close, and it may even result in bootloops and other bad things.
To keep the signature take the META-INF folder from the not decompiled apk (browse it as a zip file) and put it in the newly recompiled apk (browse it as a zip file too, if there is already a META-INF folder, just replace it)
Links to build and platform tool:
Platform-tools: https://developer.android.com/studio/releases/platform-tools​Build-tools: Have to be downloaded from sdk manager in android studio​
A)Official way:​Tool used in the correct order:
1)keytool (included inside java)
2)zipalign from build tools (29.0.2 here, but use the latest )
3)apksigner from build tools (29.0.2 here, but use the latest) (+the lib folder containing apksigner.jar)
Where are build tools?
Mac: ~/Library/Android/sdk/build-tools/[your buld-tool version]/
Linux: ~/Android/sdk/build-tools/[your buld-tool version]/
Windows: C:/User/yourusername/AppData/Local/Android/sdk/build-tools/[your buld-tool version]/
Disclaimer: Using jarsigner is also possible (tool natively included in java jdk), if you use it, make sure you zipalign AFTER signing.
Make sure that apksigner (and lib) as well as zipalign are in the folder you’re apk is in.
Make sure they’re all executable (check that using chmod) and on mac os, make sure your terminal has full disk access (I had a hard time figuring this out lol).
​1-Generate keystore:​This is pretty simple, we’ll use keytool, at tool antively included in java jdk. We’ll need only one thing before using apksigner : the keystore.jks file (or a separate certificate and private key, but that’s more complicated)
keytool -genkey -v -keystore ~/Desktop/apktool/keystore.jks -alias Raiz -keyalg RSA -keysize 2048 -validity 10000​
Just replace the alias (here Raiz) by a familiar name, you have to remember it! (here’s why)
Also replace the name of the jks file (but not it’s extension, even though it can be .keystore, I had less issues with .jks)
Quick explanation of what does what in the command:
keytool : the command to use keytool obviously
-genkey : generate the keystore
-v : display verbose
-keystore : set the path to the future file
~/Desktop/apktool/keystore.jks : Path and name of the future file, you can call the keystore whatever you want to.
-alias Raiz : specify the alias used, it can be whatever you want, but remember it, it’s like a publisher name
-keyalg RSA : specify the algorithm used for the key, here it’s RSA (here’s a bit of history)
-keysize 2048: the size of the key in bits
-validity 10000: validity in days, here 10000 days
1*- Generate key.pk8 and cert.pem:​This is a quote from another thread (by @wilskywalker), this isn't necessary, but can come handy when signing zip, so I'll leave that here anyway.
You will need the following download:
OpenSSL [LINK]
[...]
Code:
openssl genrsa -out key.pem 1024
openssl req -new -key key.pem -out request.pem
openssl x509 -req -days 9999 -in request.pem -signkey key.pem -out certificate.pem
openssl pkcs8 -topk8 -outform DER -in key.pem -inform PEM -out key.pk8
Click to expand...
Click to collapse
2- Zipalign:​​./zipalign -v 4 firfox-mod.apk firefox-aligned.apk​Quick explanation:
-v : verbose
4 : align on 4 bits, putting another value will align the wrong way, just keep 4
firefox-mod.apk: name of the input apk, can be anything
firefox-mod-aligned.apk: name of the output apk, can be anything too
3-Sign the apk with apksigner:​
./apksigner sign --ks keystore.jks firefox-mod-aligned.apk​
Quick explanation:
sign: the command use to sign
--ks keystore.jks : specify the keystore file (the same one we generated seconds ago)
firefox-mod-aligned: the input apk (the one we just aligned), note that the apk will be signed and there won’t be any output apk this time
And you’re done, you can check that it has been properly signed with this command:
./apksigner verify firefox-mod-aligned​
Where firefox-mod-aligned is the apk signed we want to check
​3*-Sign the apk with apksigner using .pk8 and .pem files:​
./apksigner sign ---key key.pk8 --cert certificate.pem firefox-mod-aligned.apk​
Credits, links for this part:
How to sign an app (by Google)
apksigner documentation
keytool documentation
zipalign documentation
Stack Overflow post
@Rizal Lovins ’ Guide
B) Unofficial ways:​Some amazing devs and contributors at xda provided us with tools to sign with ease APKs (without having to think about all of that),I didn’t fully tested every one fo them, but you can try them as an alternative if the “official way” didn’t worked out well.
Here they are:
APK easy tool by @evildog1
APK Sign/Zipalign/Install by @aureljared
Uber APK signer (Github)
VII-Installing the apk​Your theme should be ready by now, but how do you want to install it?
There are several ways to get an apk inside your phone, I’ll go over the ones I think are the most common.
A)Regular apk install:​Just install it duh… (here you go if you need a little help).
B)Flashable zip:​I do recommend making flashable zips, because they’re pretty useful when installing modded system apps. So what is it?
1-Folders:​A flashable zip contains 2 folders: META-INF and a folder which will mimic the path to the apk we want to install. Inside that succession of folders, we’ll put our modified apk, and when flashing, the modded apk (inside the zip) will replace the original one inside your phone.
E.g: create system/priv-app/systemUI/systemUI.apk to install a modified systemUI.apk file by replacing the original one
Click to expand...
Click to collapse
E.g: create data/data/com.mixplorer/databases/data.db to replace the original data.db file inside this folder
Click to expand...
Click to collapse
Once you get those folders done (and the apk inside of it), it’s time to write the edify script that’ll flash the zip file.
2-Edify Script:​Edify is the language the script will be written in.
The file containing the script is located in /META-INF/com/google/android/updater-script (the name of the file is updater-script, naming it something else would make it ignored by your custom recovery)
Open this document with a text editor, and start coding!
We want to copy/paste the content of our zips onto the system (and replace files), so here’s the precise things we’ll do:
a-(OPTIONAL)Your “intro”:
Using the ui_print(" "); command, we can make some really cool looking ASCII art. You can write comments at whatever steps you want with this command, it’s pretty handy!
ui_print("Your Message here");​b-Mount the system partition:
​run_program("/sbin/busybox", "mount", "/system");​
c-Extract the content of the zip to /system:
package_extract_dir("system", "/system");​d-Unmount the system partition:
unmount("/system");​This is very basic, you can do so much more with edify script! Set the progress bar progress, set permissions to certain files, delete folders and/or files,...
3-Sign your zip:​You need to sign your zip after compressing it! The process looks like the one with key.pk8 and certificate.pem files, so I'll refere again to the same thread for that. (In the Credits)
I've covered the basics, now it's index time, you can go further with the links in the credits, and you can suggest me more!
Credits:
[WIP] How to Write an Updater-Script with Edify Code by @Karadorde
That one covers how to sign your zip:
[TUTORIAL] Making Flashable ZIPs, EDIFY Script, ZIP Signing & Key Creation [19.01.13] by @wilskywalker
My Very Own Script by Me
More Links:
[GUIDE] Create your own Flashable ZIP with custom updater-script and addon.d script by @Primokorn
[TUTORIAL] The updater-script completely explained by @KINGbabasula
Spoiler: Bonus
4-How to make a working progress bar​First “create” the progress bar that can go up to 100%
show_progress(1.000000, 0);​Then set the progress after each steps: (here I set it at 10%)
Code: set_progress(0.100000)​
C)ADB sideload:​Adb allows one to flash zips through command line using a custom recovery.
How to install adb​Now how to sideload an apk using adb:
Make sure your phone is plugged, and your PC allowed to use adb on your device. (the last steps of the guide I linked on how to install adb on your pc)
Reboot to recovery
For TWRP : Advanced → ADB Sideload For CWM : Install → Install Zip from Sideload
Code: adb sideload path/to/flashable.zip
And that’s it, congrats
D)Aroma Installer:​They’re very cool, yet I’m not really familiar with those.
This concept origins from XDA Inactive Recognized Developer @amarullz , and is used by the OpenGApps team for their Aroma package. Needless to say its work eased the task for many others, feel free to leave a thank on the threads:
Q’n’A about Aroma Installers: [Q&A] AROMA Installer - [Dev Move To DevDB]
Q’n’A about Edify and Aroma: (by @Dblfstr) Aroma, Edify, updater script Question and Answer thread
A tool to create them: [TOOL][3-10-13] Aroma App Package Creator v1.3.2 (by @commandersafi)
VIII-Other ways to theme your device​Making the whole apk is often long, and doesn’t leave much control over the theme to the user, alternative ways of theming let users control how they want the theme to be applied. Those 2 ways won’t be covered by me (as I don’t know enough about them yet), that's why, for this part, every input in welcomed
A)Magisk Modules:​This is now a pretty common and convenient way to distribute APKs and mods, so I had to cover it. Here’s a link to an official developer guide, it covers a good part of it, if you have an input, it is welcome!
https://topjohnwu.github.io/Magisk/guides.html​
B)Substratum Themes:​I don’t even need to tell you what is substratum, as it is pretty famous (along with Magisk), but let’s say you’re totally new.
Substratum is a theme engine that allows you to control what element of your system you want to be themed, and apply themes with the possibility of disabling theme at some point in time. So how to make a substratum theme ?
Links:
Video from the XDA chanel on YT
Another one from XDA on YT
Theme template form the official Substratum Github
IX-Theming related topics​All of the things I couldn't fit in the previous sections are here, make an input, I'll make sure to add it if it's relevant
A)Design Basics:​Now I don’t have especially fine taste in terms of designing, but I’m trying to learn!
Here are some links:
The Android Design Resources Forum in XDA
XDA Article about icon design
Material.io
Matrial.io YT channel
B)Boot Animations:​Here are some helpful threads and links:
[TUTORIAL]How to make your own boot animations (with sound if you want) by @despotovski01
[GUIDE] How To Make Bootanimation by @jackeagle
[GUIDE][TUT]make/Port any bootanimation|||USING VIDEO/FRAMES by @deathviper
C)Icon Packs:​[GUIDE]How to create icon packs for Go/Nova/Apex/Holo/ADW/LauncherPro/XperiaHome by @iamareebjamal
D)Port OEM Apps:​[GUIDE/TIPS] How to Port OEM Apps / Vendor Apps to Your Current ROM by @Rizal Lovins , this one is a wealth of information! really good and unique
D)Build.prop:​[Tweaks][Guide]Build.prop Tweaks by @bravonova
X-Not covered topics​Why don’t you talk about … ? That’s theming tho! And what about … and …? What is this thread!
I understand, these are legit claims, but I can’t cover everything. That’s where YOU come in play, you certainly know things that I don’t, so please, if you have any knowledge about something I didn’t mentioned above, please let me know!
I’m trying to make this thread as complete as possible, so I’d be very grateful if you could share a little about your knowledge .
Thank a bunch!
I know I already said that 10000000 times, but really, it would be awesome to have inputs!
XI-Mods and Wallpapers:​Let me take a tangent from the original purpose of this thread. This was supposed to be all about guides, but I thought about that twice and I think that's a good idea.
Basically, this here will list some of the amazing mods and themes around xda.
The goal here is to crack open those and see how they work, this would represent an immense work that I'm not able to take on right now, so I may leave links here, and you'll do the jobs of understanding how they work. Maybe at some point I'll write some here (with the credits of the OP of course!), but certainly not now.
Links:
Offline Google LLC App Wallpapers by @[email protected]
XII-Changelog:
For each update I'll bump this thread, so that you can enjoy latest links​04-01-2021 Update:
Happy new year! I went through my long list of watched threads, and found the gems I kept selfishly, they're yours now !
Added:
[GUIDE] Create your own Flashable ZIP with custom updater-script and addon.d script
[UNIVERSAL][LOGCAT]How to get & read a logcat/ Troubleshoot your own issues!
[GUIDE/TIPS] How to Port OEM Apps / Vendor Apps to Your Current ROM
[Tweaks][Guide]Build.prop Tweaks
[GUIDE]How to create icon packs for Go/Nova/Apex/Holo/ADW/LauncherPro/XperiaHome
[TUTORIAL] The updater-script completely explained
[TUT][JB] HOW TO THEME SystemUI.apk for TOTALLY newbie
[Reference] Interactive Phone Modification [GUIDE]
[Tutorial][APP] PinP Shortcuts | How to Implement Picture in Picture Mode [API 26+]
Offline Google LLC App Wallpapers
[Overlay] Enable Night Light, Auto-Brightness, Ambient Display & more on Treble ROM
Thanks for this, useful for sure. This is mostly on Windows. There's a way to do this directly on the phone ( most of it anyway).
I use an app called: Apkeditorpro.
I use version 1.9.10 cause i don't like the ui in the newer version.
In it you can :
-edit xmls directly.
-decode the smali and edit them, and view the java code and edit it with no extra tools.
-extract or replace files
-and rebuild the apk when finished. It'll show you a list of compile errors if any when building to review. If the build works it signs it and offers to remove old app and reinstall the new apk.
I found it very useful in editing theme overlays or add fonts in fonts tab in settings.
I am like you an enthusiast in all things modding. Still learning smali/ java editing. Hope we can learn together and from each other
Merry Christmas
Hi is it also valid for Xiaomi apk?
Braain said:
Hi is it also valid for Xiaomi apk?
Click to expand...
Click to collapse
Yep, it's valid for almost anything (any apk at least), feel free to ask here if you encounter problem, I'll do my best to help
Hi I started working with Riru-Enhanced mode for Storage Isolation and some mistakes I made now it's oky now I want to try to modify the handset apk because Xiaomi Redmi 7 is andro system android carefully
Raiz said:
04-01-2021 Update​
Click to expand...
Click to collapse
The First Update of this thread is out!, check out the post I quoted to see the list of threads I added, I also integrated them to the main guide (with proper credits), but I think making a list for each update more convenient for you readers.
I recommend to bookmark those thread or to watch them, because some are really amazing!
[QUOTE = "Raiz, post: 84227321, membro: 8020437"]
Il primo aggiornamento di questo thread è uscito !, controlla il post che ho citato per vedere l'elenco dei thread che ho aggiunto, li ho anche integrati nella guida principale (con i crediti appropriati), ma penso che fare un elenco per ogni aggiornamento più conveniente per voi lettori.
Consiglio di aggiungere quei thread ai preferiti o di guardarli, perché alcuni sono davvero fantastici!
[/CITAZIONE]
Great gems, indeed. Let me add this to the collection:
[Samsung only]How to modify stock font app (SamsungOne.apk, SamsungSans.apk, or Fondation.apk)
This post describes it using ApkEditorPro directly on the phone. It could work on other devices if you know what your stock font app is. It's a simple drag and drop your custom files in the right place.

Categories

Resources