yashsingh1/xdaforums huggingface dataset:
[HTC Desire X] Captain_Throwback:
When you specify the path, do you have to link to the /images folders, or just the folder where all the image folders are (there are quite a few in the theme)? I just to set the path as a relative path to the folder where I extracted the theme, but I got a bunch of errors over and over:

./TWRPIMAGE: line 94: local: can only be used in a function
./TWRPIMAGE: line 95: local: can only be used in a function
find: missing argument to `-iname'
gm identify: Unable to open file (/) [No such file or directory].
gm identify: Request did not return an image.
gm identify: Unable to open file (/) [No such file or directory].
gm identify: Request did not return an image.
awk: cmd. line:1: fatal: division by zero attempted
awk: cmd. line:1: fatal: division by zero attempted
awk: cmd. line:1: fatal: division by zero attempted
awk: cmd. line:1: fatal: division by zero attempted

Porting from x to 0x0
gm convert: Unable to open file (/) [No such file or directory].

Do I need to extract all the images to a folder?
[HTC Desire X] :
Just unzip the ui.zip. Then direct the path to the root of it. If there are multiple folders which contains TWRP images, the script will automatically find them.
[HTC Desire X] :
Hmmm, seems Ubuntu is making it difficult after reviewing the errors you are getting. And you mentioned that when set to /bin/sh it repeats itself on your linux distro... I use Ubuntu myself, so I will have to probably run some tests. If you can't figure out the solution then I would suggest just running it from your android device like it was intended for.
[HTC Desire X] Captain_Throwback:
Is there an arm-compiled version of GraphicsMagick available somewhere?

P.S. The UI port is working fine, though, it seems.
[HTC Desire X] :
Yup, when you downloaded my repo as a zip you also acquired a binary called, gm. That's it ;). It was a pain for me to cross compile it lol.
[HTC Desire X] Captain_Throwback:
Did you compile gm with any specific flags? I'm wondering if that's my issue.
[HTC Desire X] :
Nope, compiled it as is. I had to go through the configure file and fix up the paths for awk because it couldn't find awk and therefore wouldn't compile properly. Otherwise, I simply used it as it was designed and compiled it using 4.7. Did it straight from my phone.

Edit, I forgot that I did use -O3 optimization.
[HTC Desire X] Captain_Throwback:
I guess I will have to try porting the images on my phone, then. At least the ui port seems to be working. there was quite a bit of user interaction required, though. Some of the questions were on fields that had "x" or "y" at the end. Some even had "height" and "width", but it would be difficult for the script to know that, I suppose.
[HTC Desire X] :
It would be impossible simply because those variable names can be whatever the themer wants them to be. However, I could technically have the script check if the variable name consists of keywords and if it finds those keywords then to go ahead and proceed automatically without user interaction. That wouldn't be a bad idea actually lol.
[HTC Desire X] :
The Holofied Themes are well written and most of the ui works off those variable names. However, if you try porting a theme which is not a Holofied Theme you would find less variable names to be determined by the user and a CRAP load of the other values being automatically handled. That's where the script really becomes a time saver.
[HTC Desire X] Captain_Throwback:
Well it still definitely saved me time as I would never have even attempted to port the theme without your script ;).

And the image porter appears to be working perfectly fine on my device. So I guess it just didn't like Ubuntu for some reason. Now to see what the finished product looks like.

Oh wait, I forgot to manually port the keyboard stuff. Let me look at that, then.
[HTC Desire X] :
You can still check out the port before you mess with the keyboardtemplate just so you are aware, but yea, I normally get that out of the way since it doesn't take me long at all.
[HTC Desire X] Captain_Throwback:
It seems like everything ported okay! I had to change the font values as the default font was too large for the resolution I'm porting to. The only issue I seem to be having is that with the Black theme, the theme colors won't change. I'm stuck with orange highlights with light blue text, for some reason. Not sure what's up with that.
[HTC Desire X] :
Something on your end then. I can confirm that my port changes colors lol.
[HTC Desire X] Captain_Throwback:
I have no idea what, though. Was hoping for a little insight, lol.

---------- Post added at 01:14 PM ---------- Previous post was at 01:11 PM ----------

I just found something that's off with the port - the brightness scale no longer goes to 100. That value apparently got ported as well, lol.
[HTC Desire X] :
Would you copy and past that line from the ui for me? Thanks for letting me know.
[HTC Desire X] Captain_Throwback:
<data variable="tw_brightness_pct" min="10" max="100" />

It doesn't appear in the stock ui.xml, though - just in the Holofied theme.
[HTC Desire X] :
Interesting, the script shouldn't be working that value at all. Which means I'm probably gonna need to fix up my conditional block checks.
[HTC Desire X] :
[MENTION=1162986]Captain_Throwback[/MENTION], I found the problem and am working out a solution. That value for brightness is being modified within the XX wrapper function found in my script. The XX function searches for x="" values per line that is read during the while loop but I didn't take in to account that since I am using egrep that it will also grab values from any words that end with the letter x and follows after it with ="". That is why max="" is being modified because max="" matches x="". I will have to fix this for all values being searched since they all resemble the same outcome. Thanks for bringing this to my attention. This definitely needs to be fixed.
[HTC Desire X] :
[MENTION=1162986]Captain_Throwback[/MENTION],

https://github.com/ModdingMyMind/TWRP_IMAGE_PORTER/commit/80288e65e2faba6051068b53e98c2fe3a83be613

Problem resolved.
[HTC Desire X] :
Hey guys, some of you may be experiencing problems trying to change the color themes in Black, Dark, and Light. A new method using a script within the ui.xml is being applied and is currently being worked on to resolve this issue so this feature will hopefully work on all devices which use these themes.

I already have a fix but I am going to hold off until [MENTION=2719389]z31s1g[/MENTION] makes another release of his themes.
[HTC Desire X] :
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.
[HTC Desire X] :
Hey guys, got good news for you all :)

Holofied Black, Dark, Light, Play, and XDA have all been updated to TWRP 2.8.0.x.

See the attachments in the OP for download.

Enjoy!
[HTC Desire X] AndroidMaster1909:
What is aromafm.zip ? And what are the advantages. Also any screenshots for it?
[HTC Desire X] shyvam:
i think that means this zip will take to the aroma installer in recovery

i am not sure
[Nook HD, HD+ Q&A, Help & Troubleshooting] jdjohn:
Hi all,

I purchased a used Nook HD+, and have already began reading threads here about how to root it, etc. I have rooted my last two HTC phones with help from XDA, so look forward to being part of this Nook community as well.

My Nook is still in transit right now, but I already know it is missing the charger and cable, so I'm trying to determine whether I need to purchase replacements, or whether I could use standard micro-USB cables and phone chargers. I see an HDMI port listed as being on the Nook, but does it have micro-USB as well? Like I said, mine is still in transit, so I can't look myself. Any idea if a standard Android phone charger would suffice? If I need a dedicated/proprietary charger and cable, I wanted to go ahead and order them even though my Nook hasn't arrived yet.

I appreciate any help. TIA
[Nook HD, HD+ Q&A, Help & Troubleshooting] leapinlar:
It does not have a standard microUSB port. It uses a proprietary connector and charger. Look in the accessories forum to see sources.
[Nook HD, HD+ Q&A, Help & Troubleshooting] jdjohn:
Thanks. I had forgotten there was a B&N store nearby, so I actually went in today at lunch and was able to check one out in person. The plug is reminiscent of an iPod/iPhone. I usually shop on eBay for cables and chargers, so will probably go that route.
[Nook HD, HD+ Q&A, Help & Troubleshooting] Goggles2114:
The problem is the nook HD/+ is NOT compatible with iPhone accessories.
[Nook HD, HD+ Q&A, Help & Troubleshooting] jdjohn:
Understood...just making a comparison ;)
[Nook HD, HD+ Q&A, Help & Troubleshooting] zeppelinman_2000:
B&N online has charger and cable on sale, fits hd and hd+

From the Ether of Time
[Droid RAZR M Q&A, Help & Troubleshooting] magranger18:
Well, hello everyone

I was hoping it would not come to this, but this is a dire emergency. I am sort of new to this as well.

My Droid Razr M or (xt907) was boring so I rooted it. After doing so I wanted to look through some settings and stuff to see what it could do. I tried to add partitions to my sd card along the line and when I did so I must have chosen the wrong place, even though it said SD and it did not crash when i did whatever it was. I was using an app to make partitions I forget the name, but when I did so it asked to restart and after it did it showed the AP fastboot Flash mode screen

this is what it shows exactly...

-------------------------------------------------------------------

Device is LOCKED, Status Code: 0

Battery OK

Transfer mode:

USB Connected

Failed to hab check for gpt_main: 0x35

Failed to hab check for gpt_backup: 0x35

failed to load GPT

CID Read Failure

Invalid CID status 0x69

No SP partition found

-----------------------------------------------

I have no clue what to do, and I really need my phone. I dont have any knowledge of android programing.

Someone please just help me.
[Droid RAZR M Q&A, Help & Troubleshooting] aviwdoowks:
Go general forum, house of moto , my post.
[One (M7) Q&A, Help & Troubleshooting] Prasad:
Hello. I acquired a system dump of the latest official stock ROM for my T-Mobile HTC One. I'm currently running the same ROM and lost the following apps after unlocking bootloader:

Calculator

Flashlight

Voice Recorder

Please help me find where these would be located. The only thing I found was /app/CalculatorWidget.apk and I'm not even sure if that's what I'm looking for. Also, should I be copying the .odex files for the apps as well ? Finally, what permissions should I set after copying ?

Thank you for your time :)
[One (M7) Q&A, Help & Troubleshooting] alray:
/data/preload/
[One (M7) Q&A, Help & Troubleshooting] Prasad:
/data exists. /data/preload does not... (neither in my phone nor the system dump)
[One (M7) Q&A, Help & Troubleshooting] Prasad:
Wow.. have a look!
[One (M7) Q&A, Help & Troubleshooting] nkk71:
"system dump" could imply only the /system partition was backed up, not the /data/preload partition.... do you have access to the OTA file? you could get them from there: for example:
[One (M7) Q&A, Help & Troubleshooting] Prasad:
HTC hasn't pushed the RUU for the latest official stock TMo ROM. The system dump, I understand, but why might the 'preload' folder not be in my phone? :eek:
[One (M7) Q&A, Help & Troubleshooting] nkk71:
1- /data/preload get's wiped when you unlock using HTCdev

2- the /data/preload will only come back if "someone" put it into whatever you flashed (hence for 1.28.401.7 http://xdaforums.com/showthread.php?t=2200628 but those won't work for you as they're old versions)

3- not the RUU, you just need the OTA file... the 3.xx+ OTAs should have the complete /data/preload folder, not just diffs

(and how could someone make a "latest" system dump without the OTA)
[One (M7) Q&A, Help & Troubleshooting] Prasad:
Thank you! I'll download the OTA and push preload via ADB. :)
[One (M7) Q&A, Help & Troubleshooting] Prasad:
Hey. I acquired the OTA and therefore the /data/preload folder. I copied it to sdcard via MTP and moved contents to /data/preload via ADB shell su. What permissions should I set?
[One (M7) Q&A, Help & Troubleshooting] alray:
/data/preload to rwxrwx--x

apps to rw-r--r--
[One (M7) Q&A, Help & Troubleshooting] Prasad:
Thanks! There's also a TMo xml file in there. What perms should that have?
[One (M7) Q&A, Help & Troubleshooting] alray:
rw-r--r--
[One (M7) Q&A, Help & Troubleshooting] Prasad:
Thanks again mate! :)
[One (M7) Q&A, Help & Troubleshooting] nkk71:
not entirely sure, but probably should be like /data/app

ls -l /data

drwxrwx--x system system 2014-03-16 21:49 app -> so the folder is system:system 771

and inside that the

ls -l /data/app

-rw-r--r-- system system 8014363 2014-03-15 15:21 com.pinterest-1.apk -> so the files are system:system 644

ah, too slow [MENTION=4654136]alray[/MENTION] got it waaay before :good: :laugh:
[One (M7) Q&A, Help & Troubleshooting] alray:
look at post #4 :p
[One (M7) Q&A, Help & Troubleshooting] nkk71:
oui, mais c'etait en francais alors j'ai rien compris :p
[One (M7) Q&A, Help & Troubleshooting] ghoulachi:
Hello

I have install the rom "renovate minestrone 9.03, everything going well, wifi connection, etc. but after click on"finish", I get this message"Unfortuntely, Setup has stopped"."

I retry installing several times, but always the same message on black screen.

Thank you for your help.
[One (M7) Q&A, Help & Troubleshooting] alray:
what recovery version are you using?
[One (M7) Q&A, Help & Troubleshooting] ghoulachi:
Thank you for your reply

I have install the 2.7.0.0 TWRP and after installing the ROM "Elegancia" and after checking further to your question, I find myself with the 2.6.3.3 version.

Therefore TWRP 2.6.3.3. For the time being.

But during the installation of "Renovate" I was in 2.7
[Sony Xperia P, U, Sola, Go] alone_in_dark:
I am back with a new mod... :)

This time...

I have modified the Stock camera of Xperia P JB to look like Xperia Z2's camera...

You can use this mod along with Cybershot mod :)

Camera shutter sound is changed..You'll like it.. ;)

Screenshots​

​

.: Download V2 for JB :.​

Install instruction

*** Flash through CWM ***

Features

*** Changed camera and video capture button to fully look like Z2's camera ***

*** Renamed "scene recognition" mode to "Superior Auto" like Z2 ***

*** Renamed "Normal" mode to "Manual" like Z2 ***

*** Renamed Camera to "Cyber-Shot®" ***

*** Changed the photo/video mode slider icon ***

*** Lots of new icons ***

*** Added new camera capture sound ***

*** A lot more things, Check by yourself *** ;)

Thanks

To [MENTION=2902434]Pandemic[/MENTION] for testing and screenshots :)
[Sony Xperia P, U, Sola, Go] zeyad xu:
[MENTION=4877295]alone_in_dark[/MENTION] you rock buddy

i sent a friend request

i will test it now
[Sony Xperia P, U, Sola, Go] ChinmayKunkikar:
Hey bro!

Awesome work!

Will test within an hour on my sola! :D
[Sony Xperia P, U, Sola, Go] alone_in_dark:
Tnx buddy..!! :)

I've accepted it...

Lol...!! Keep the private name secrete... :p
[Sony Xperia P, U, Sola, Go] zeyad xu:
sure edited
[Sony Xperia P, U, Sola, Go] alone_in_dark:
Tnx bro...!! Test and give feedback...!! :)
[Sony Xperia P, U, Sola, Go] ChinmayKunkikar:
Tested it!

Feels awesome! :)

But I gotta problem (See Screenshot), Scene Recognition isn't renamed to Superior Auto mode and also the Normal mode isn't renamed to Manual mode.

Also, it would be great if the gap between the icons and the text was a bit more. :p (doesn't really matter much though) :)

Overall, It's great! :) :good:
[Sony Xperia P, U, Sola, Go] alone_in_dark:
Oh... wait... I am fixing it...!! :) Tnx for the feedback
[Sony Xperia P, U, Sola, Go] ChinmayKunkikar:
Anytime bro! ;)
[Sony Xperia P, U, Sola, Go] lokitooxd:
[MENTION=4877295]alone_in_dark[/MENTION] there will be any problem if I use cyber shot mod?
[Sony Xperia P, U, Sola, Go] alone_in_dark:
Version 1.5 released with bug fixes... Plz download it and upgrade....!! :)

No problem at all...!! :)
[Sony Xperia P, U, Sola, Go] ChinmayKunkikar:
Thanks!

Fixed! :)
[Sony Xperia P, U, Sola, Go] Prabu Fx:
Awesome Bro..

:good::good:
[Sony Xperia P, U, Sola, Go] sebasrock156:
[MENTION=4877295]alone_in_dark[/MENTION] Guy, help you to port this better Click Me :3
[Sony Xperia P, U, Sola, Go] lokitooxd:
[MENTION=4877295]alone_in_dark[/MENTION] works perfect! long hoped that interface. (I had to force detention and delete data to work). But one thing, I do not miss Superior Auto, Scene Recognition says, (I download the v1.5). can fix that?

(Yes, Panorama Mode not work)
[Sony Xperia P, U, Sola, Go] Eyarowen:
Working on Xperia Go Stock JB but...

Camera works in Xperia GO but

Sweep Panorama FC

I have used previous version of SemcCamera3D (from Themed Xperia Z1 Camera) and it works.
[Sony Xperia P, U, Sola, Go] alone_in_dark:
Ok... I'll look in it... Tnx for ur report...!! :)
[Sony Xperia P, U, Sola, Go] alone_in_dark:
Can u make it more clear bro... I understand that everybody is facing problem with panorama... Anything else...?
[Sony Xperia P, U, Sola, Go] siddheshvartak:
my 3D camera has gone after flashing this...

and swap panorama is not working on my xu...

everything else works fine...

what should i do????
[Sony Xperia P, U, Sola, Go] lokitooxd:
of course bro, there I said you changed the name of "Scene Recognition" to "Superior Auto", but appears me my scene recognition
[Sony Xperia P, U, Sola, Go] alone_in_dark:
JB camera doesn't contain 3d camera... ICS version has 3d... And i'll fix the sweep panorama tonight when i get home... Wait till then... :)

Bro,i've changed for international languages... I think,u r using your own language... :)
[Sony Xperia P, U, Sola, Go] lokitooxd:
you can do with Spanish (Spain)? :what: Spanish I use on my phone, not English :(

change to English and scene recognition continues

Thanks!!
[Sony Xperia P, U, Sola, Go] siddheshvartak:
actually i had working 3D camera on my jb 4.1.2:)

the 3D camera apk is still there in my system/app

if you want i can share it here....

if you can do anything to work it again...:D
[Sony Xperia P, U, Sola, Go] alone_in_dark:
Great news... If you have ur working 3D camera,then send it to me in pm... I'll mod it... :)
[Sony Xperia P, U, Sola, Go] siddheshvartak:
see this thread..

http://xdaforums.com/xperia-u/themes-apps/jb-3d-camera-support-t2264467

you will get apk ...

thanx to [MENTION=4264637]dewanshu93[/MENTION]:)
[Sony Xperia P, U, Sola, Go] alone_in_dark:
Haha... Told u earlier... It is ics version of 3D camera... ;) i'll take it from my ics version and include in it... Wait till tomorrow... :)

Bro,maybe i'll add it for u in the next bug fix release if i get time.. Or in the later update... It is a lengthy process. I've to decompile the apk,change it and give someone to test it (main camera) coz now,i don't own P series... Now my main work is to fix panorama ;)
[Sony Xperia P, U, Sola, Go] siddheshvartak:
actually i am using Xperia U...

and it worked on xperia U also.....

and if you need testers ...

i am always there....;)
[Sony Xperia P, U, Sola, Go] Pandemic:
Sweep panorama i never use, so sorry peeps i didn't test that :(

Verstuurd vanaf mijn LT22i met Tapatalk
[Sony Xperia P, U, Sola, Go] lokitooxd:
that would be great bro, no problem, yeah panorama for that there is not a major fault (the rest because it makes it quiet :) ) I'll wait. and excellent work!
[Sony Xperia P, U, Sola, Go] siddheshvartak:
it's working now....
[Sony Xperia P, U, Sola, Go] alone_in_dark:
V2 released

V2 released with sweep panorama bug fix... If everything is working ok,then this will be the final version of this mod...!! :)
[Sony Xperia P, U, Sola, Go] lokitooxd:
yeah everything works perfect, but no style z2 :(

everything else was excellent, bro [MENTION=4877295]alone_in_dark[/MENTION] you're my idol haha, hope to see more mods from you for these models :thumbup: if you need testers, here I am :)
[Sony Xperia P, U, Sola, Go] alone_in_dark:
If I mod the sweep panorama...it creates problem...!! I modded it before and it worked... Bt now I can't test it anymore..and it is a lengthy process to mod and send it to someone for testing...!! And I think,people don't use sweep panorama that much..!! ;) So,let it remain stock..!! :p

Cheers... :)
[Sony Xperia P, U, Sola, Go] lokitooxd:
any reason why sweeping panoramic calls root? :what: :what:
[Sony Xperia P, U, Sola, Go] alone_in_dark:
Nope...!! :eek: I have used the stock sweep panorama from Xperia P JB...!! :eek:
[Sony Xperia P, U, Sola, Go] deepak purohit:
hey is dis ill work on cm11 ??

i m using cm11 in my xperia p ?

or any can give me the link for sony camera mod for cm11

thanx in advance
[Sony Xperia P, U, Sola, Go] Pandemic:
[MENTION=5740296]deepak purohit[/MENTION]

No !!

It needs sony framework so far i know !!

please people if you want this so badly then dont use CM11 but just a JB stock or costum rom !!
[Sony Xperia P, U, Sola, Go] deepak purohit:
ya was trying cm11 ...

yes u r right , i m eagerly waiting for your new rom v10 :p
[Sony Xperia P, U, Sola, Go] fulerpl:
work in CM9?
[Sony Xperia P, U, Sola, Go] Pandemic:
No and ya'll cm users don't even read !! -__-

Send from my XZ With My Own Personal Modified MoonWalker SuperB !
[Sony Xperia P, U, Sola, Go] azmishidqi:
Alternative Link

Link dead, please give altenative link.:good:
[Sony Xperia P, U, Sola, Go] azmishidqi:
Can work with my Xperia P.

i'm using PhoeniX V8 Custom ROM & Stock Kernel + LB
[T-Mobile myTouch 4G Slide] OfficerJimLahey:
Good afternoon,

I'm setting up Nine (Exchange ActiveSync) on my HTC Doubleshot, and part of the policy my work has is that the device must be encrypted. So I plug the phone into my charger, enter my password and start the process. I get the Android encryption logo but nothing else. It's been like that for three hours now.

I checked online, and there would have been a progress bar (or a reboot) by now. Is it safe to say that I can reboot my device without any ill effects (that I won't be interrupting any processes)?

I am using official Cyanogenmod 9 nightly (20130929). I'm thinking I'd get better luck with CM 9.1 (since its most stable I can think of - but do;t know if that will work either). One step at a time, but any other suggestions for CM9 ROMS if 9.1 official fails as well?

Thanks in advance.
[T-Mobile myTouch 4G Slide] OfficerJimLahey:
I rebooted anyways, no issues. I put CM 9.1 back on, and started the encryption process. Same logo, no progress bar nor reboot. :(

So now I am looking to other ROM's that will do this trick. Do I have to be on stock (or close to it like MikTouch) to accomplish encryption? If so, how complicated would putting CM back on be?