yashsingh1/xdaforums huggingface dataset:
[Android Themes] Modding.MyMind:
I have put together a script called, TWRPPORTER, that will port both the images and the ui.xml file from one specified resolution to another specified resolution.

The ui porter will not port the keyboardtemplate so it must be dealt with manually, and it will not touch the font size since that tends to be a preference amongst different devices, but it will handle everything else.

The images known to be used for TWRP themes are .jpg, and .png so the script will search for the given extensions based on where you point it to and then determine the original width and height of each image. It will resize them accordingly and write back to that same image to prevent duplicates.

After the script has been ran and you adjust the font size, then manually port the keyboardtemplate, all you are required to do is zip it up and name it, ui.zip.

Inside your TWRP folder will be another foldered named, theme (lowercase). Place the ui.zip inside the theme folder and boot in to your TWRP Recovery. Voila.

Please, keep in mind, that if you come across a TWRP theme which you later port and some things are still slightly off it could be due to a few causes:

1. The original theme developer was sloppy with his own work so you must fix his mistakes.

2. You grabbed a Theme designed for a Tablet to use on a regular device or vice versa. - ( Please use common sense)

Both scripts require the use of busybox applets which have been symlinked.

The script also requires the use of GraphicsMagick (gm) when porting images. Which overall the utility is mainly known for being a Linux utility but I was able to cross compile it from source. GM has been embedded into the TWRPPORTER script. When you run the script it will give you the option to install GM if your device is found not to have it. Later, the script will also give you the option to uninstall it if you so choose to do so.

The TWRPPORTER script will save a person HOURS of their time while porting TWRP Themes, but don't be fooled as the user will still be expected to have some personal experience porting such themes. The TWRPUI script WILL have to echo on to your screen certain values which can be located within "variable names" inside the ui.xml file. These special case values are to be determined by the human mind whether they resemble width or height and at which the user will type and enter, w/W or h/H. These special case values cannot be automatically determined simply due to the fact that any given themer can call these variable names whatever they want if they deem it necessary to do so. However, I have implemented some checks in to the script to help reduce this as much as possible.

However, the script WILL hunt down all x=, y=, w=, h=, width=, and height= values then automatically modify them according to the base and port resolution given as info to the script.

Once the script finishes you will find a file called, PORT_UI.xml.

To get access to this TWRP Theme Porter you can find it on my repo provided within the below link. The README.md file will provide a little more information.

https://github.com/ModdingMyMind/TWRP_IMAGE_PORTER

TWRPIMAGE

TWRPUI
[Android Themes] Modding.MyMind:
Here is a preview to show the results of using the TWRP Theme Porter seen from this link:
[Android Themes] ezknives:
Looks interesting... Now just to figure out how to use it... No PC here desperately trying to theme and mod via device only...
[Android Themes] Modding.MyMind:
This will work from the device but unless you have some sort of experience porting TWRP Themes then this script may not help you.

This will save someone hours of work.
[Android Themes] Modding.MyMind:
The gm binary in my repo is to be used in conjunction with the TWRPIMAGE script. Place the binary in /system/bin then set permissions to either 755 or 777 (your choice), though good practice would be 755.

777 = rwx-rwx-rwx

755 = rwx-r-x-r-x
[Android Themes] mauam:
Just want to leave an "amazing work", as usual:cool:
[Android Themes] ezknives:
I've been reading a lot about it that's how I came across this... Few more nights of reading and I'm sure I'll get it
[Android Themes] Modding.MyMind:
The best way to learn is to do one manually ;). After a successful port or two you will get the gist of it pretty quick. Then, when you use my work from here you will see how much of a relief it is lol.
[Android Themes] spanish33:
yes this script is big relief compared to the manual way! great work [MENTION=5537766]Modding.MyMind[/MENTION] can't thank you enough.
[Android Themes] Modding.MyMind:
https://github.com/ModdingMyMind/TWRP_IMAGE_PORTER/commit/80288e65e2faba6051068b53e98c2fe3a83be613
[Android Themes] Modding.MyMind:
https://github.com/ModdingMyMind/TWRP_IMAGE_PORTER/commit/dd70ffb30a18bc8b3667e684964412a35a02ee9b
[Android Themes] Modding.MyMind:
Hey, I failed to mention that the gm binary in my repo is cross compiled for ARM devices. If someone wishes to compile gm for MIPS or x86, please share with me so I may include it to my repo. I only have an ARM based device so there is no point in me compiling gm for MIPS or x86 since I have no way to test and confirm that they work.
[Android Themes] Modding.MyMind:
https://github.com/ModdingMyMind/TWRP_IMAGE_PORTER/commit/219e001dba63238fa9e6cc2ddaa7420939566795
[Android Themes] Modding.MyMind:
https://github.com/ModdingMyMind/TWRP_IMAGE_PORTER/commit/0ca59da6cee637fc22bd555bc30a33dddf28b70b

I overlooked my last gm binary thinking it was truly static when compiled. However, I went back and noticed it was only partially compiled as static.

This has been fixed and it will also work with Android L.

Initially compiled for ARM.
[Android Themes] Modding.MyMind:
https://github.com/ModdingMyMind/TWRP_IMAGE_PORTER/commit/3ef72ac1a43671f64cd69062fa0518ad21e49a98

Overhaul Update:

- Merged TWRPIMAGE and TWRPUI into one script called, TWRPPORTER

- Still kept old method but moved over to OLD folder.

- Updated root of README.md to reflect changes and instructions.

- Script will check system for gm and busybox. The script will inform you if neither are installed and then abort the script.

- Updated script to read and accept directory/filenames with spaces. The old method did not do this.

- Script will port the TWRP Images, or the TWRP ui, or BOTH based on the user's selection while running TWRPPORTER.
[Android Themes] Modding.MyMind:
https://github.com/ModdingMyMind/TWRP_IMAGE_PORTER/commit/5df4977a68c0ad5de80ddcf8f3f1d37ced3efc30

NEW UPDATE:

- Bumped to version 3.0.

- GM binary has been embedded in to the TWRPPORTER script.

- TWRPORTER can install GM from extracting the embedded data itself as requested by the user.

- TWRPORTER can uninstall GM as requested by the user.

- If busybox is found not installed the script WILL abort after a quick warning to the user.

- Have added more checks to the script to keep it running smooth. Most is merely cosmetic work.

- At the end of the script is the GM binary data which has been embedded. DO NOT MESS WITH IT!

- GM will work for pre-jb devices and up. It is in compliance with Android L (current release). Initially compiled for ARM.
[Android Themes] Modding.MyMind:
GM is causing problems when compiling it as true static. So, unfortunately, I must revert back to it being partially static. This means your device must be ARM. It most likely will not be in compliance with Android L :(. Feel free to confirm this. Will push the update to my repo shortly.
[Android Themes] Modding.MyMind:
https://github.com/ModdingMyMind/TWRP_IMAGE_PORTER/commit/64982aadddde8de97a5d1c51181906683abf0c59

Fix:

- Bumped version to 3.1

- Revert back to partial static GM binary compiled for ARM.

- Note: True Static binary caused problems with source so had to revert.

- Binary is still embedded inside the script. If GM is installed from version 3.0 please uninstall and reinstall gm.
[Android Themes] mauam:
Hi bud,

Sorry the stupid question but, where I put the theme (I grab the black 720x1280 to port to 480x800) to be ported!!? It's my first time, so be kind:laugh:
[Galaxy S 5 Q&A, Help & Troubleshooting] ptkbra:
Hey guys,

Hoping to get some help:

On a rooted Galaxy S5 900I, if I upgrade the firmware via KIES, will that brick my phone? Will I loose root?

Current firmware: PDA:ND2 / CSC:ND2 / PHONE:ND2(XSA)

Latest firmware: PDA:NE1 / CSC:NE1 / PHONE:NE1(XSA)

Thanks for your help!
[Galaxy S 5 Q&A, Help & Troubleshooting] babygau:
1. Your phone will not be bricked, it's safe to do that

2. You will lose Root after upgrading but you can reroot
[Galaxy S 5 Q&A, Help & Troubleshooting] fffft:
There have been recent posts saying that the latest updates are breaking towel root. So re-rooting may increment Knox if that matters to you.

.
[Galaxy S 5 Q&A, Help & Troubleshooting] gee2012:
Easiest is to flash your updated stock rom with Mobile Odin Pro and keep root that way so you won`t have to reroot ;)
[Sony Xperia ZL] Jinnee:
Can anyone help me????? i have rooted my phone a long time, but, last night, jusst installed PurePerformances™X Golden Edition

now my phone always reset and stop at SONY logo, sometime at animation. I flash it by flashtool, now, i just can start my phone with charge on, my battery is fullfill but it still error at SONY logo unless charge on. ANY EXPERTS CAN HELP ME ???? :'(
[Sony Xperia ZL] soprano77:
That´s a known issue of Xperia ZL.

See here

http://xdaforums.com/showthread.php?t=2541503
[Sony Xperia ZL] scifan:
So, can you boot your phone up, and then it shuts off when you unplug it?

or are the symptom's different?
[Sony Xperia ZL] Jinnee:
Right like you said, i can turn on if charge battery, when i unplug it, it shuts down :crying::crying::crying::crying::crying::crying:
[Sony Xperia ZL] Jinnee:
tks guys, now i see the dark future with my phone :'(((((((, So, The process of ROOT,CWM and other activities are not the main reason to break my phone ?????? Just simple are BATTERY ???:crying::crying:
[Sony Xperia ZL] scifan:
That's the battery issue...

How old is your phone (should it be under hardware warranty?), did you buy it new, did you unlock your boot partition (and if so, did you save it?)
[Sony Xperia ZL] Jinnee:
hello man, i have just bought it for 1 year, today i bring it in my store where i buy it. The phone repair personnel change a new battery and my phone still not working. :))))))) funny mobile
[Sony Xperia ZL] scifan:
Wow... I'm surprised... that's generally the fix for that.
[Sony Xperia ZL] Jinnee:
Now the store keeps my phone to test hardware components and machine :))) I hope it will soon back to normal, Fortunately, I didn't unlock bootloader
[Sony Xperia ZL] soprano77:
When I took mine with same issue to my provider, it was sent directly to a Sony repair center where they replace both camera and battery!

(I swear, they gave me a diagnostic document)

Since then, my phone has been working very well
[Sony Xperia ZL] Jinnee:
last night, the store confirms for me my phone was broken with battery :)))) so just wait, tks to share :))))
[Galaxy S III Themes and Apps] k-semler:
It would be nice to be able to have the google dialer 1.1 in a zip file, so I can flash it automatically in TWRP when I update my OmniROM installation. I have the 1.01 *.zip, but only the 1.1 APK. Is there a flashable ZIP of it available?

Here's a link to the APK: http://www.androidpolice.com/2014/0...-4-3-works-on-android-4-4-2-too-apk-download/
[Galaxy S III Themes and Apps] MattBooth:
http://ultimarom.com/themed-apps/google-dialer/
[Galaxy S III Themes and Apps] k-semler:
Thanks! What's the VRTheme package difference between the builds?
[T-Mobile LG G3] roughmouth:
Has anyone figured out a way to increase the screen sensitivity yet? I really like my glass screen protector but sometimes it makes the thing glitchy with my otterbox
[T-Mobile LG G3] Semantics:
I have a glass screen protector and have no issues. What thickness screen protector did you get? I have a .23MM and have no issues. I'm sure you did, but I still need to ask, you did take the screen protector off of the Otterbox right? You aren't going with plastic on glass on glass, right?
[T-Mobile LG G3] BACARDILIMON:
Lmao me 2 man it sucks. But otter box is a definitely needed. Do you have the belt clip to. Mine sits loose in it.
[T-Mobile LG G3] Semantics:
I have no issues with a .23mm glass protector, I took the screen protector off the Otterbox, are you using the plastic on glass on glass?
[T-Mobile LG G3] BACARDILIMON:
Well I tried with the otter box built on one and glass one. Went back to otter box one cause I need to have something.
[T-Mobile LG G3] Semantics:
I just ripped the plastic one off the otterbox and kept my glass on there. I don't need the dust protection, just the drop.
[T-Mobile LG G3] BACARDILIMON:
Me to but otter box would not fit . so I pulled glass one and called otter box for replacement case
[T-Mobile LG G3] mingkee:
Screen sensitivity decreases a bit after Zagg installed, but it's not bad when using with cheap TPU case. However, it may be frustrating when playing Angry Birds.
[T-Mobile LG G3] roughmouth:
I think i found a solution. This app is not designed for this phone but it seems to work none the less.

https://play.google.com/store/apps/details?id=br.shop4apps.touchscreenbooster.com
[T-Mobile, Samsung Galaxy SIII] ShernDog:
I saw on a thread that someone was using "Multiboot" to run CM11 as their daily driver but also having TW on it to use for WiFi calling and such.... I want to ask:

Was this a fib?

If not then how can I do it?

Is there a guide I can look at?

If it is possible then I would like to run CM11 and TW 4.1.2, I already have the images and ODIN for that. I never updated to 4.3 so I don't think that is a problem?

If you have help please quote my post so I can get a handy email of the response ^-^

Thanks
[T-Mobile, Samsung Galaxy SIII] Bass_Man25:
Good morning.

This describes me. :) I use CM as my daily driver but I use z999 Touchwiz ROM as a backup for the wifi calling.

Quick questions: are you rooted? Have you flashed a custom ROM/recovery before? Your answers will help me in answering your questions on how to do. :)
[T-Mobile, Samsung Galaxy SIII] ShernDog:
Yes I'm rooted, have CM11 installed with the latest CWM recovery.
[T-Mobile, Samsung Galaxy SIII] daggorlad:
Simply follow this thread

It only took a quick search of "multiboot" in development to find this thread.
[T-Mobile, Samsung Galaxy SIII] Bass_Man25:
Get the AT&T version 2.12 - it has a fix in it for the External SD card that appeared in 2.11. While it's an AT&T recovery, it'll work fine on our phones as the TMO and AT&T S3 are the same phones.

Once you have the file, flash it via CWM and you'll have a MultiBoot TWRP as your recovery. The thread for the MultiBoot Recovery has a couple of Youtube videos that walk through setting up additional ROMs. I'm currently using z999 (Odexed 4.1.2 TW ROM) as my backup ROM to use for Wi-Fi calling.

Let me know if you have any additional questions.
[T-Mobile, Samsung Galaxy SIII] ShernDog:
Thank you, I'll try this tonight. I searched multiboot online but didn't find anything and Tapatalk doesn't have a good search function :/
[T-Mobile, Samsung Galaxy SIII] Bass_Man25:
Did you have any luck?
[T-Mobile, Samsung Galaxy SIII] ShernDog:
My schedule is busy I'll try it asap
[T-Mobile, Samsung Galaxy SIII] mp3deviant721:
I have a question. This external SD Care problem, what was it? Was it an issue with the card getting unmounted? Or was it another issue?

GS³: Carbonized, KT747'd, Philz'd
[T-Mobile, Samsung Galaxy SIII] Bass_Man25:
For some reason, on the 2.11 version, I couldn't get the secondary ROM to see my external SD card. I backup all of my apps there - it was a pain to copy my backups to the internal SD card. There were a lot of comments about the issue on the AT&T forum and the developer put out a new version (2.12). However, he never put out a version for d2tmo - only d2att. So, I messed around with the install script and loaded the newer recovery on my phone. External SD problem solved. :)
[T-Mobile, Samsung Galaxy SIII] ShernDog:
Okay so I am researching how to do it and I believe I understand BUT the T-mobile TW file I have has to be flashed through ODIN, it's not a zip, and I want CM to be my stock ROM. So I was searching for a 4.1.2 TW rom (I prefer that version) and couldn't find any zip files...

Do you know how to help me? Do you know where to find a stock .zip flashable through recovery?
[T-Mobile, Samsung Galaxy SIII] ShernDog:
I followed all the instructions to use multiboot and I got the z999 touchwiz rom on there but then it wouldn't "find" my CM rom that was already on there so I ended up formatting and having no OS, so I tried to sideload but the multiboot stuff messed it up so I'm using ODIN to go back to stock >.> this has failed miserably.
[T-Mobile, Samsung Galaxy SIII] Bass_Man25:
The multi boot recovery won't "find" your CM ROM - it will always be the "internal" ROM. Multi boot will only show secondary ROMs in the multi boot menu. Anytime you want to boot CM, just boot the internal ROM.

Give me some time and I'll do a video on how to set up multiple ROMs.
[T-Mobile, Samsung Galaxy SIII] ShernDog:
Thank you! I'm gonna try it again today and see how it goes. Maybe I got confused because when I rebooted the phone it booted TW no matter what and I couldn't get it to boot into CM...there was no option to boot internal or whatever...
[T-Mobile, Samsung Galaxy SIII] ShernDog:
[MENTION=4900821]Bass_Man25[/MENTION] I finally got it working!

I couldn't install it on the internal storage directory. So I ADB pushed the files to the /tmp folder and installed it off that and I finally have it working!
[T-Mobile, Samsung Galaxy SIII] Bass_Man25:
Awesome. Glad to hear.

...and I just finished the video. LOL! :silly:

https://www.youtube.com/watch?v=rSYkSFbDguA
[T-Mobile, Samsung Galaxy SIII] ShernDog:
You're so nice :) thank you so much I will use that video because I hardly know what I'm doing still but I got it working somehow xD

Many thanks!

Edit:

Wow your video explained everything, it is much clearer now!
[T-Mobile, Samsung Galaxy SIII] ShernDog:
[MENTION=4900821]Bass_Man25[/MENTION]

Would it be possible for me to use a 4.3+ ROM using multiboot? I have the old boot loader or whatever that came with 4.1.2 along with those modems etc.

If it's possible to run a 4.4.4 aosp ROM on the old boot loader how come you can't run newer versions of TW? If there is a ROM I can use along 4.1.2 that'd be nice.
[T-Mobile, Samsung Galaxy SIII] DocHoliday77:
TW roms have Knox.
[T-Mobile, Samsung Galaxy SIII] Bass_Man25:
To be honest, I don't know. From what I've read, some of the 4.3 ROMS don't play nicely with MultiBoot. I haven't given it a try yet. If you're willing to give it try, please let me know what you find. The good new is, if you try it as a secondary ROM and it doesn't work, you can just delete it. :)
[T-Mobile, Samsung Galaxy SIII] ShernDog:
I don't think it'd work :/

Thanks [MENTION=4081205]DocHoliday77[/MENTION] for that tidbit
[T-Mobile, Samsung Galaxy SIII] ShernDog:
[MENTION=4900821]Bass_Man25[/MENTION] [MENTION=4081205]DocHoliday77[/MENTION]

I got it working. Doc's 4.3 ROM deodexed no knox ROM, z999 4.1.3 ROM, and CyanogenMod11 are all working in multiboot with cellular data as well. I'm not quite sure how, I think the 4.3 modem went to all ROMs, not sure about the 4.3 kernel but all data is working so I'm good. Thanks all.

Now I need to debloat Doc's 4.3 stock rom :p it's incredibly slow.
[T-Mobile, Samsung Galaxy SIII] :
Awesome! Glad to hear it's working. :)
[T-Mobile, Samsung Galaxy SIII] hasansabuz:
At last i did it..i can boot my favourite roms without flashing again and again...|

thanks BASS MAn and twrp :silly::silly::silly::silly:
[T-Mobile, Samsung Galaxy SIII] Scenic-3:
Multiboot for the GS-i9300 international

Hallo.

Is it possible to get multiboot for the GS-i9300 international, would like that very much.

Best regards

Scenic3
[T-Mobile, Samsung Galaxy SIII] ShernDog:
As far as I know there is no Multiboot for the international version of the GS3. The one for our phone was made by the wonderful Phil_Suz.
[T-Mobile, Samsung Galaxy SIII] BehindTheMath:
I know your post was from a while ago, but I just saw it, so I figured I'd answer in case it helps anyone.

The i9300 has multiboot through the Siyah kernel. Here is a good tutorial.
[T-Mobile, Samsung Galaxy SIII] Gibson99:
watched your video (well, the first half), as well as the videos on the original post in teh dev forum. i'm still not having any luck. i posted there with a long drawn out description of what i did, but the executive summary is:

clean/virgin t999 with stock 4.3. used skipsoft toolkit to root and install twrp. booted to twrp, flashed multiboot 2.2, booted back into new recovery. looks fine. created a rom named cm12, accepted default sizes, "set" that rom active, tried to install latest cm12 nightly from external sd, and it failed with a very vague error. rebooted, deleted cm12 rom slot, created one for cm11 (again, default sizes), set rom, flashed M12 for d2lte (since there isn't one for the d2tmo anymore), this one looked ok. no errors. went thru the rest of the routine like you showed, but when it reboots, all i see is the Samsung logo and "recovery booting" in the upper left, then a black screen. nothing, even after letting it sit 10 minutes. i have to pull the battery to make anything happen. i CAN boot to the stock rom on internal, but i can't seem to flash anything as a secondary rom. even tried renaming and deleting the multiboot folder and rebooting back into recovery - no change. also tried flashing cm11 m3 specifically for d3tmo and that actually failed with a huge long error message about getprop("ro.bootloader") == "T999UVDLJA" and a list of several others. is it looking for a specific recovery, like maybe cwm?

i'd LOVE to be able to multiboot like i did using safestrap on my droid4, but so far i've had zero luck. any suggestions?
[T-Mobile, Samsung Galaxy SIII] BehindTheMath:
If your bootloader is LJA, maybe try updating it.
[T-Mobile, Samsung Galaxy SIII] Gibson99:
is bootloader the same thing as recovery? before i did anything, i made sure i'd gotten all the ota's that were available. it was already up to date.

i tried flashing the roms i had been trying to put as secondary, into my primary, overwriting stock. same issues. apparently downloading them to my home server then copying down to the sd card caused some form of corruption. so i re-downloaded all the roms directly to the sd card... cm12 still wouldn't flash, nor would cm11m13, but a kanged 4.4.4 rom based on cm11, but with some bloat ripped out... worked fine. so that's what i'm running right now. i don't need new and shiny (L); i need stable and love features like privacy guard. i have cm11m7 on my previous phone, a t699 (apexqtmo) galaxy relay so i'm already comfy with that and can easily xfer everything with tibu.

of course now i've remembered why my wife stopped using this phone in the first place. charging is SLOOOOOOOW. gonna try to reflow the solder on the usb port and clean the contacts with a pin and contact cleaner; maybe i'll get lucky. also would love to find the big zerolemon ext batt she had. found its case but not the battery. :confused:
[T-Mobile, Samsung Galaxy SIII] BehindTheMath:
Bootloader and recovery are 2 different things. Bootloader is the first piece of code the device runs when it starts up. Recovery is a stripped down OS in a separate partition that's there in case something wrecks your ROM, so you'll be able to recover.
[T-Mobile, Samsung Galaxy SIII] Gibson99:
how do i check bootloader version? i can see baseband is ENC2 in about phone, but that's probably not what you're interested in.
[T-Mobile, Samsung Galaxy SIII] BehindTheMath:
Try the "Phone INFO ★Samsung★" app.

https://play.google.com/store/apps/details?id=org.vndnguyen.phoneinfo
[T-Mobile, Samsung Galaxy SIII] Gibson99:
According to that app, both the baseband and boot loader are ENC2 already.
[T-Mobile, Samsung Galaxy SIII] BehindTheMath:
Are you using the Tmo version of Multiboot?
[T-Mobile, Samsung Galaxy SIII] Gibson99:
yes, i made sure of that when downloading it (both times). might have time to mess with reloading everything tonight, not sure.