yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Themes and Apps] MyLifeRocks10:
Then there is no easy way to do it other than using already modded apps.;) For Calculator also u have to do same as Dialer. In layout-sw320dp-hdpi folder there are three xml files, open all three files and multiply numerical values by 1.5 and change dip to px. Btw Calculator version doesn't change with FW version so u can use my already modded Calculator, it should work on any dpi.

In unsigned apk replace META-INF folder and AndroidManifest.xml with original ones from unmodded app then remove unsigned part from the app name, For e.g unsignedSecLauncher2.apk becomes SecLauncher2.apk.

If u search it in xda then there are plenty of guides on how to decompile/recompile apks.
[Galaxy S II Themes and Apps] Biftor:
Hi what about

Android:layout_marginTop="xxxx dip"??

After i change that to "xxxxx px" not working correctly

For multi dpi

See my screen Shot 240 dpi stock and 200dpi

In 200 dpi i have problem dialer is not ok that have space....

But in 240 dpi havent any problem

I write it with px but not working on multi dpi...

Android:layout_marginTop="xxxx dip"

We need another things i dont know...

I tried add new layout folder for each dpi

For example folder:

layout-sw200dp

And i put new layout to that folder for 200 dpi but no work...

Goodluck

Armin.
[Galaxy S II Themes and Apps] foccacia:
not too sure what this means. when u mentioned that i have to replace META-INF folder and AndroidManifest.xml with original ones, do you mean i have to decompile the unsigned apk again, replace the files and then recompile it?

i just tried to change the below for camera but nothing changed

<dimen name="recording_icon_pos_x">12.0px</dimen>

<dimen name="recording_icon_pos_y">5.0px</dimen>
[Galaxy S II Themes and Apps] MyLifeRocks10:
Those xmls already have android:layout_marginTop defined so don't where u are modifying/adding them. Like i said in PM u have to do more work than just multiplying with 1.5 and changing dip to px for dialer to look perfect. This was roughly done mod when I had little free time so u can't expect it to be perfect. ;)

If u have free time then u can try changing values in those xmls.

No. Open unmodded(original) app with 7-zip or winrar then extract META-INF folder and AndroidManifest.xml then open unsigned app(modded app) which u get after recompiling with 7-zip or winrar then drag and drop those extracted files into unsigned app. U should read and search more before doing these works.

Those lines should change video recording icon position.
[Galaxy S II Themes and Apps] Biftor:
Thanks i know i edit all xml need for multi dpi with px i know i should multiplied to 1.5 i did it but i said px not work on this android:layout_marginTop i change it with px and * 1.5 NOT WORK...i am sure...

Goodluck

Armin.
[Galaxy S II Themes and Apps] foccacia:
hmm... i still could not get it to work, totally not familiar with the various steps n i m not sure where i gone wrong.
[Galaxy S II Themes and Apps] sk1887:
Making my way through modding the dpi for flashbar, right now.

I am big fan of 182 dpi ;)

So far flashbar require additional changes than your suggestion in OP.

To make the center bar resized correctly you also need to change dimens.xml in these two folders

values-sw399dp-w640dp-xhdpi

values-sw399dp-xhdpi

Thanks MyLifeRocks :)
[Galaxy S II Themes and Apps] MyLifeRocks10:
Hmm...I don't have those folders when I decompile FlashbarService.apk. It could be bcoz u r using that app from XHDPI device. Anyway glad u did it.:)
[Galaxy S II Themes and Apps] victorvcunha:
dip2px converter

I do a bit command line program to convert xml dip file to px.

It was tested with my SGS2's SecContacts.apk.

dip2px.c

#include <stdio.h>
#include <stdlib.h>

int main (int argc, char *argv[]) {
if(argc != 3 && argc != 2)
printf("Sintax:\ndip2px.exe <input.xml> <output.xml>\nor\ndip2px.exe <input.xml>\n");
else {
FILE *finput, *foutput;

finput = fopen(argv[1], "r");
if (finput == NULL)
printf("File %s not found.", argv[1]);
else {
char argv2[100];
if(argc == 2)
sprintf(argv2, "MultiDPI/%s", argv[1]);
else
sprintf(argv2, "%s", argv[2]);
foutput = fopen(argv2, "w+");
if (foutput == NULL)
printf("The file %s can't be created.", argv[2]);
else {
int carac;
char i, iApagar, sValor[30];
float fValor;

fseek (finput , 0 , SEEK_SET);
while(1) {
carac = fgetc(finput);
if (feof(finput))
break;
if (carac == 'd') {
carac = fgetc(finput);
if (carac == 'i'){
carac = fgetc(finput);
if (carac == 'p'){
carac = fgetc(finput);
if (carac == '\"'){
for(fseek(finput, -5, SEEK_CUR), iApagar = 0;fgetc(finput) != '\"'; fseek(finput, -2, SEEK_CUR), iApagar++);
for(i = 0, sValor[i] = fgetc(finput); sValor[i] != 'd'; i++, sValor[i] = fgetc(finput));
sValor[i] = '\0';
fValor = atof(sValor) * 1.5;
fseek(foutput, -iApagar, SEEK_CUR);
fprintf(foutput, "%.2fpx\"", fValor);
fseek(finput, 3, SEEK_CUR);

}
else
fprintf(foutput, "dip%c", carac);
}
else
fprintf(foutput, "di%c", carac);
}
else
fprintf(foutput, "d%c", carac);
}
else
fputc(carac, foutput);
}
fclose(foutput);
}
fclose(finput);
}
}
}

Source code and .exe files attached.
[Galaxy S II Themes and Apps] MyLifeRocks10:
Thanks mate.:) This will be useful for modding SecContacts.apk and SecCalculator2.apk.:good:
[Galaxy S II Themes and Apps] victorvcunha:
And SecPhone.apk too. :)
[Galaxy S II Themes and Apps] lacoursiere18:
Hey MylifeRocks

Anyway to post a guide on how to do this with the stock samsung keyboard.. It would be much appreicated!! Great work BTW!
[Galaxy S II Themes and Apps] MyLifeRocks10:
Stock keyboard doesn't scale properly?? In S2 there is no problem with keyboard. I guess u should edit dimens.xml file in one of the values folder.
[Galaxy S II Themes and Apps] lacoursiere18:
I looked there but i compared it with another samsung keyboard that works on multi dpi and there was no difference..wierd.. going through about 1,000 lines sucks lol..
[Galaxy S II Themes and Apps] lacoursiere18:
I have a question what about secmms..any idea..
[Galaxy S II Themes and Apps] MyLifeRocks10:
Use Winmerge to compare two apk's folders(modded and unmodded) and u will know what to edit.

What about it? It doesn't scale properly?
[Galaxy S II Themes and Apps] lacoursiere18:
Thanks man for the suggestion. I have a note 2 and I know this is a gs3 thread but just looking to learn.. thanks again
[Galaxy S II Themes and Apps] yashuperia:
I come from s2 plus and I tried to mod but when I flashed modded app I got bootlopp what to do?
[Galaxy S II Themes and Apps] sk1887:
which app was it?

In any way you could reflash your rom and have things back to normal
[Galaxy S II Themes and Apps] yashuperia:
All ok...i flashed rom again now i m thinking to mod 4.2.2 lockscreen any idea?
[Galaxy S II Themes and Apps] brainvision:
hi..

I'm using [MENTION=3877923]bala_gamer[/MENTION] multidpi / 240 DPI apk into my Alliance ROM.. they looks very very good except the Clock application: most of the elements of the Desktop Clock tab are not centered and in general the other tabs stay on the left! sorry if I'm not able to explain, if you prefer I could upload a screenshot or two..

so I would lke to ask you if your guides are also good for the Galaxy S III..

anothe question: I read that you say that we must experiment and try different values to find the best.. For example for the TW Launcher homescreen you say to mod these values

<dimen name="home_cellWidth_port">80.0dip</dimen>
<dimen name="home_cellHeight_port">96.0dip</dimen>
<dimen name="home_cellGapX_port">0.0dip</dimen>
<dimen name="home_cellGapY_port">0.0dip</dimen>
<dimen name="home_pageMarginRight">0.0dip</dimen>
<dimen name="home_pageMarginLeft">0.0dip</dimen>
<dimen name="home_pageSpacing">-1.0dip</dimen>
<dimen name="home_pageIndicatorTop">402.0dip</dimen>
<dimen name="home_pageIndicatorTopShrunken">402.0dip</dimen>

does that means we have to edit all those value? I don't think we should change values arbitrary, so how to know what and how to change?

thanks a lot for paying attention! I hope that my questions don't looks to silly to your eyes!! ;)
[Galaxy S II Themes and Apps] MyLifeRocks10:
Haven't tried it on S3 yet but it will be similar I guess. U may need to edit files from xhdpi folder instead of hdpi folder.

About how to know, most of them are self explanatory like:

home_cellHeight_port means homescreen cell height in portrait mode.

I was experimenting with many lines in xml files before getting desired result so you may or may not need to edit all those lines. Consider this as a rough guide not exact guide. Sometimes u may need to edit lines which I have not mentioned here.;)
[Galaxy S II Themes and Apps] brainvision:
mmm.. OK, I'll try it..

one more, question, if you please: when decompiling the apk should I use the framework of m,y ROM or just the one provided with apktool (which I'm using to decompile)?

thanks.:!!
[Galaxy S II Themes and Apps] MyLifeRocks10:
framework of ur rom, u need to use both framework-res.apk and twframework-res.apk
[Galaxy S II Themes and Apps] brainvision:
yes sorry, later I found the part about the 2 framework needed.. BTW is the TouchWiz launcher one of those apps that need both of the 2 framework? Cause I first put the resources with apktool if for both frameworks and then I did

apktool d SecLauncher2.apk

but reading the output it's clear that it doesn't care about the 2.apk framework!!

Is t normal?

I read that applications that need both frameworks are apps like Contacts etc.. but etc doesn't mean nothing to me!! :(

thanks for paying attention and for your replies, you are very kind!!
[Galaxy S II Themes and Apps] MyLifeRocks10:
It's good practice to use both frameworks when decompiling Samsung apps eventhough every one of them may not need tw framework. Some apps may need to read resources from tw framework so in that case u will need twframework-res.apk installed.
[Galaxy S II Themes and Apps] mannyvinny:
Hi

can u please tell how to mod keyboard? I've modded tw launcher for Note2 but need assistance for keyboard
[Galaxy S II Themes and Apps] MyLifeRocks10:
I need to look into keyboard bcoz in S2 there was no problem. Now in S3 it is FCing when changed DPI so i will look into it and if i find a way then i will share it.:)
[Galaxy S II Themes and Apps] brainvision:
hey mate!;)

don't want to bother you but I have a request for you, f you please..

I'm on Alliance ROM atm and I tried the modded launcher you upload into the Neat thread..

this is what it looks like on Alliance..

it works great, no FC and issues at all! but.. it is been build with the NeatROM TW launcher, I presume, 'cause it has the amazing AOSP Neat style!

But please look my launcher on Alliance with the [MENTION=3877923]bala_gamer[/MENTION] mod launcher..

You will notice the transparency, just like the classic Sammy launcher.. Also the Applications icon in the dock is different, as like as the page indicators, blue instead of white..

So my request is you could try to mod the Alliance launcher apk, too, it would be great! But please don't be afraid to send me to hell!! ;)

I'll wait for your reply, then if you want I'll upload my launcher apk..

Ok, that's all, for now..

thanks you very much for paying attention and don't worry if you don't have the time to do that, I understand!!

see yu! ;)
[Galaxy S II Themes and Apps] MyLifeRocks10:
Ok upload ur file, I will make it when I get time.
[Galaxy S II Themes and Apps] brainvision:
great!!

thank you very very much mate!

attached my original TW Launcher.. ;)
[Galaxy S II Themes and Apps] MyLifeRocks10:
Ok try this.
[Galaxy S II Themes and Apps] brainvision:
WOW so quickly!!

Thank you very much mate, naturally it works like a charm!!

It's amazing..

[ brvsn | AllianceROM on GT-I9300 | Tapatalk.Pro ]
[Galaxy S II Themes and Apps] ibshar:
[MENTION=4534385]MyLifeRocks10[/MENTION] - Nice tutorial man, I am working for a different phone, but this really helps.. Thanks ;)
[Galaxy S II Themes and Apps] josephpatrick:
Op values for 182 or 200

Hi, are the values on the OP that for 182 or 200 ,thanks
[Galaxy S II Themes and Apps] MyLifeRocks10:
Glad to know that.:)

They are default values(240 DPI). You need to change them for the DPI u want to use.
[Galaxy S II Themes and Apps] josephpatrick:
Post 83 and 84

Are these launchers for 200 dpi? Launcher in post 83 and 84. Which nead thread is brainvision in post 81 referring to?

I tried using launcher from post 84 on 182 dpi and it works just fine, its a great launcher but the apps left and right border is getting cut.
[Galaxy S II Themes and Apps] MyLifeRocks10:
No, they are for S3 so it will look weird on S2. But I'm surprised that it worked on S2 though.
[Galaxy S II Themes and Apps] josephpatrick:
it seems to work fine on s2, with 6 dock icons which makes it cool, played with the values and got it fitting perfectly, thanks
[Galaxy S II Themes and Apps] manyakulade:
Thanks mate! :good:
[Galaxy S II Themes and Apps] MyLifeRocks10:
Sorry haven't got S2 now so can't look into those files but if u have S3 or other device which runs TW 4.3 Roms then I may be able to help you.
[Galaxy S II Themes and Apps] GreatVortex:
Hi. I managed to mod my launcher and camera in my s3 to 260DPI. How to make seccalculator2 to 260 dpi? Sorry for my english. Thanks
[Galaxy S II Themes and Apps] MyLifeRocks10:
I haven't looked into Calculator app for S3. I will do it when I get time. BTW isn't there much better and functional calculator than stock one?
[Galaxy S II Themes and Apps] GreatVortex:
Well i like this stock one. :)
[Galaxy S II Themes and Apps] silentvisitor:
Sir,

Guide for modding Dialer for 240dpi plz :)

Thanks !!!
[Galaxy S II Themes and Apps] MyLifeRocks10:
For 240 DPI open all files starting with dialpad names in layout-sw359dp-xhdpi folder(in S3 there are 37) and multiply width and height values by 2 and change dip to px For e.g. Change 71.0dip to 142.0px. You may not need to make changes in carrier based files like dialpad_additional_buttons_att.xml and others but I did it anyway.
[Galaxy S II Themes and Apps] engloa:
For the lazy ones (like me) here's a cool calculator :)
[Galaxy S II Themes and Apps] BryanChia:
can you share you method on making 6 dock icons ? Ive been looking a guide over google but couldnt find it.

hey [MENTION=4534385]MyLifeRocks10[/MENTION] , this might sound a bit stupid but im just trying to learn :P

what im trying to do with the launcher

- increase homescreen grid size x-5 y-6

- increaseapps and drawer grid size x-5 y-6

- 6 dock icons (cant find them, dont know how to do it@@)

so lets say i extract a seclauncher2 from a rom.. decompiled it. went into res/values-sw320dp-hdpi/integers.xml

and start editing these

For Homescreen:

Code:

<integer name="home_cellCountX">5</integer>

<integer name="home_cellCountY">6</integer>

For App Drawer:

Code:

<integer name="menuAppsGrid_cellCountX">5</integer>

<integer name="menuAppsGrid_cellCountY">6</integer>

this is only for the grid size, i didnt chagne the dimens (idk what is that so i didnt modify them)

and after compiling it, replace the seclauncher2 in my rom and set permission rw--r--r..

turns out icons(app), the 1st and 5th were at the side of the screen (homescreen & apps and drawer), 2/3/4 are alright

and some icons(app) also went down to the Dock Icon section..

why is that ? is it a must to modify the dimens as well or ive done soemthing wrong?
[Galaxy S II Themes and Apps] MyLifeRocks10:
Yes you need to modify dimens.xml also from same folder. You need to modify port_height and port_width values.
[Galaxy S II Themes and Apps] josephpatrick:
For 6 dock icons, you need to change the following in integers.xml in "values-sw320dp-hdpi"

<integer name="hotseat_cellCountX">6</integer>

However, I am using this mod on 182 dpi, for 240 dpi, you may need to reduce icon size probably to get it spaced out properly

This should be in dimens.xml in same folder

<dimen name="app_icon_size">48.0dip</dimen>
[Galaxy S II Themes and Apps] BryanChia:
well well.. this is what i get -_-
[Galaxy S II Themes and Apps] marjune23:
I think after this, you still need to edit the dpi on lcddensity under build.prop. ..note that there's 2 lines you need to edit...then reboot...

Please correct me if am wrong guys...

My tapatalk Signature

Phone: Samsung Galaxy S2 i9100 & Nexus 5 (not rooted)

Currently on Dualboot

1st Rom: AOSP NeatRom v3.2

2nd Rom: NeatRom Aroma v5.9 & JellySnap v7.0

Kernel: Dorimanx 8.43vXX Test Builds

Useful thread (for me)

New members friendly Q&A thread

Neatrom Family Off topic discussion

Flashing Stock Firmware and Custom Rom

NeatRom v5.X Collection of Mods (link to post)

Dualbooting Stockbase NeatRom and AOSP NeatRom

Hit thanks button if you think I helped you...:o
[Galaxy S II Themes and Apps] BryanChia:
hmm yea i can try that .. another problem i found it that, above those pic are the ones i modified in systemui only and it turns when when i try going to 'Setting' it either says froce stop or stopped ..
[Galaxy S II Themes and Apps] MyLifeRocks10:
Try reducing home_cellWidth_port and home_cellHeight_port values. Similarly reduce height and width for app grid as well if its not aligned.
[Galaxy S II Themes and Apps] Alucard1989pl:
I have small problem with resizing widgets like music player or fmradio on s4 launcher 5x6 240dpi. I set android:resizeMode="vertical" to android:resizeMode="horizontal|vertical" but after recompilling apk the widget is still not available to resize in horizontal mode :(. I have S3 Android 4.3.
[Galaxy S II Themes and Apps] Black_Eyes:
Can we Port Samsung apps to Mdpi devices ?

If yes then Can you tell me hoe :) ?

Regards
[Galaxy S II Themes and Apps] Farshid-Iran:
how can resize a music player?my device is MDPI and i install walkman player of HDPI and when go to player seek bar not show???? do you can help me?
[Galaxy S II Themes and Apps] crownpiyush:
hi,

thanks alot for your tutorial :)

i m using Neatrom 6.3 and i m trying to make the stock Twlauncher for 200DPi so after following your guide for editing the values homescreen is working fine with 5x5 shortcut grid but app drawer becomes 6x5 icon grid with no page indicator.

so please do tell me what i have to edit to make the app drawer 5x5 with page indicator.

thanks in advance:)
[Galaxy S II Themes and Apps] jazzespresso:
Hi [MENTION=4534385]MyLifeRocks10[/MENTION],

You know this is quite useful thread actually, I know this is JB, not for KK, but hope you will update it for KK.

In our instruction, "values-sw320dp-hdpi", of course this is for S II, so probably its native dpi 320??, that's why we make changes only values-sw320dp-hdpi folder, correct.

This is always confuses me, which dpi folder I should be modifying (400, 600, 320...etc), I know you are going to say "that depends on device",...when you check res folder, there's also values folder (without xxxdpi at the end), I am just wondering if it gets the values from this values folder if it does not matches any xxxdpi folder?
[Galaxy S II Themes and Apps] passerbyy:
thnx for the good work:good:​
[LG Optimus 2x] R0B3RTF1SH3R:
Selling, trading and exchanging devices or any item will no longer be permitted in any forum or via Private Messages.

XDA Makes Swappa Its Official Marketplace
[LG Optimus 2x] filarod:
Sales are no longer allowed in XDA.
[LG Optimus 2x] Custom40:
This topic will get closed. Sorry mate, rules are rules.
[LG Optimus 2x] R0B3RTF1SH3R:
sorry i only read the sticky rules in this subforum. thought there would be some rule against classifieds.
[Galaxy S III Mini Q&A, Help & Troubleshooting] RayQ1223:
My device battery is draining very fast so i wanted to calibrate the battery. I downloaded battery monitor and i get 4300++ when its on 100%. So do i still need battery calibration. Im planning on trying zeppelinrox battery calibration.
[Galaxy S III Mini Q&A, Help & Troubleshooting] samersh72:
Battery calibration is a myth.

Will do nothing other then wipe battery stats and make a new one.

It can be done by charging the phone till 100% and disconnect it from charger
[Galaxy S III Mini Q&A, Help & Troubleshooting] lifeiswisdom:
Instal good battery monitor like gsam etc. You will be able to see what is draining your battery. Also do not use full brightness all the time.

P.S. What is fast for you? Can your battery stand a day?
[Galaxy S III Mini Q&A, Help & Troubleshooting] RayQ1223:
Its like when i leave my phone for about 2 hr. The battery drops from 70-50% on wifi. And i used to be able the last the whole day with 3g on and my phone is only 2 weeks old.
[Galaxy S III Mini Q&A, Help & Troubleshooting] b2dj:
You're not alone bro. Same here!
[Galaxy S III Mini Q&A, Help & Troubleshooting] DayWalker:
well i agree with the battery saver is a myth statement... I see you have used battery very bad way and now battery has depleted its life span. So still battery is on good side... Just try to do one charge cycle and close all unwanted apps and processes/features so it will conserve battery that way you can keep your battery safe or if you are really unsatisfied try this http://www.mugenpoweronline.com/zas...tid=5&sortby=sortid&orderby=desc&type=carrier

Good luck!

Hit thanks if i helped :good:
[Galaxy S III Mini Q&A, Help & Troubleshooting] DarkBloodPro:
yes, battery calibration is a myth, so you must try install a fresh rom (try light by somin, its very battery friendly), use your brightness always low, and your wifi always off when you dont need it. you will see that your battery (if its not broken) will last for at least 2 days (depending on your phone usage)
[Galaxy S III Mini Q&A, Help & Troubleshooting] JackoMJ:
and the best "calibration" is to drain your device to 0% (it will shutdown) and then charge it to 100% without using during charging. Do this 2 or 3 times and your battery will be very well.

this http://www.mugenpoweronline.com/zaspx/product_details.aspx?file=pr&productno=1640&PageNo=4&ccatno=5&csubcatid=5&sortby=sortid&orderby=desc&type=carrier is bullsh** ;)
[Galaxy S III Mini Q&A, Help & Troubleshooting] koragg97:
If you're rooted you should also download DU Battery Saver PRO and tick the option "low cpu frwquency while screen off'. Just that little option changed my phone's whole life style :) It really does work so give it a try, you won't be dissapointed.

and yes battery calibration is a myth and doesn absolutely nothing which may help your battery life (i know from 1000s of personal experiances with the calibration thing :D)
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] High-Res:
First off I would like to say I am new here and I just got my first Android phone (AT&T Samsung Galaxy 4). I would really like to root my new device so I can do cooler things with it. But I have no idea how to root, I am really afraid of bricking my phone. Then having to pay the full fee to purchase a new one. If some one is able to help me root my phone is there a way to unroot it quickly if I have any problems with it. This is if I have to take it to the AT&T shop for some reason (broken, having some problems with it, ect.).

Second if I was to root my phone and I update to the new Jelly Bean 4.X.X will I still have root access?(By the way Currently at 4.2.2) Also what is ROM, Boot Locker, Boot Loader, Kernel, when phone is unlocked not rooted? I am sorry for such a noob thread :/

- Thanks, High-Res :)
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] scott14719:
http://xdaforums.com/showthread.php?t=2301762

http://xdaforums.com/showthread.php?t=2283918

Start with these two threads and read everything. If you have questions about what you are reading use the forum's "search" feature to help you. The key is to read and learn as much as you can before you try to do anything to your phone. Good luck.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] geby86:
I know you said you are new here, but you need to use the search function. Even for a new phone there are tons of 'noob' guides already. So search before you create useless threads.
[HTC Droid DNA] _phoey:
Not sure if this belongs in Q&A or Accessories, but does anyone have the red carbon fiber ghost armor for our phones? I'm considering getting one and want to see how the red skin looks with the red speaker grill and buttons.

Sent from my (sadley) stock HTC Droid DNA