yashsingh1/xdaforums huggingface dataset:
[Android Themes] wewoapsiak:
Here is a random question.

Is there a way to use the script like an if / else / then statement? Like having the script detect what rom the phone has on it and carry out a set of instructions. There are slight differences in some roms, and this would allow for 1 themed zip to be used for multiple roms that are different.

Like I said, just something random that popped in my head.
[Android Themes] pulser_g2:
That's feasible :)

In the actual theming ".sh" file you could add this.

Look up bash file syntax for if statements...

To detect the rom is your challenge but you could use awk or sed or grep or something like that, on the build.prop on the device
[Android Themes] zenosteam:
sorry i didn't see your replay i use galaxys2
[Android Themes] zenosteam:
ok it' kernel isue
[Android Themes] AvRS:
Doubt it. What is it you're actually trying to use VRTheme for? May sound a silly question but I've seen loads of people think you just install the zip from this thread and don't actually know what it's for.
[Android Themes] intronauta:
This error comes from the Universal Flasher Tool and not from VillainTheme tool.

Because the UFT doesn't work in the sdcard, it must check and guarantee enough space to the virtual working folder (Utmp) in ram , and after it must check the sd free space in the working sdcard for paste the backup on it.

In this case the problem seems to be in busybox, which is failing parsing the free mem space available in the /Utmp virtual folder with the "du" command, possibly for a format problem in the output. You can try updating your busybox, trying with a newer version of the UFT tool http://goo.gl/Gxucm or move your theme to the VillainTool template.

What rom and kernel are you using? I'm interested in find the problem.

The Universal Flasher Tools try to be very guarantor in the process, generate their own errors/screen outputs and may be very "tricky" compared to the Villain system.

I think that would be interesting to do a mention in the OP about forks or something like that for prevent confusions and nobody go crazy with incomprehensible errors :)

*sorry for my english
[Android Themes] dsmitty166:
I just flashed my first test on 0.4.0, and I think it hard bricked my device.

Got a status 7 error on my galaxy note in CWM...

Any one have any thoughts?

Cannot get it to turn on in anyway
[Android Themes] D.O.C:
There is no way u can brick ur device using this, charge ur battery, do a restock flashing original firmware, or even custom firmware. Dont worry, I am confident that using this is not your problem.
[Android Themes] pulser_g2:
Shouldn't be possible to brick... It could easily boot loop, but you could just flash a new rom from recovery...

Do you still get into odin ok?
[Android Themes] dsmitty166:
I can't get into anything. Won't even show a boot image. Phone is completely black. Jig didn't do anything. I'm stumped.

Anyone know what status 7 means?

Sent from my Inspire 4G with ICS!
[Android Themes] D.O.C:
So, jig doesnt do anything, but u can get into recovery?

Just flash another rom from recovery then. :)
[Android Themes] dsmitty166:
Nope, can't even get into recovery. Nothing but black screen.

Here's what I did. Took the universal theme download, and simply added images to the system ui.. That's it, just wanted to test if I did it right. Did I Miss something? Was I supposed to change the updater script?

Sent from my Inspire 4G with ICS!
[Android Themes] D.O.C:
Leave ur device charging overnght bro, see if that at least can get u into dwnld mode
[Android Themes] dsmitty166:
Alright, just flashed my first test from a vr theme, however after flash, nothing has changed. Can anyone give me any insights on where to start troubleshooting?
[Android Themes] D.O.C:
The published one here is a template, nothing should change, as a matyer of fact you are supposed to modify it to ur needs
[Android Themes] dsmitty166:
Right, I added a bunch of files to vrtheme/system/app/SystemUI.apk

But nothing changed?
[Android Themes] dsmitty166:
If I include resources.arsc, I'm assuming that this wont work if there are framework-res or sysui changes in the xml files correct?

Is there a way to include just parts of this file, so that we wouldn't have to redo upon framework changes?
[Android Themes] pulser_g2:
Sounds correct. At present we can't incorporate that, but in future it would be nice to be able to expand and rebuild the arsc... Just not sure how to do it on-device as of yet :(
[Android Themes] napster113:
Hi buddy would it be possible if you could include jpg images as well, as the htc one x uses some jpg's instead of png's thanks.
[Android Themes] D.O.C:
Uh?

Maybe I misunderstood you, but, judging from your question you are not getting the point of this method.

Place any image you want inside an apk following the correct folder structure
[Android Themes] napster113:
My bad sorry.
[Android Themes] Nazgul07:
Just thought I'd let everyone know in-case anyone had issues that I was having...

I got this to work on the Galaxy Nexus (VZW LTE) by doing 2 things:

1:change all references to /sdcard to /data/media (in updater-script and in installtheme.sh)

and

2:change mount commands like this "run_program("/sbin/mount", "/dev/block/mmcblk0p9", "/system");" to this "run_program("/sbin/busybox", "mount", "/system");"
[Android Themes] jalie85:
Can this use on any devices?
[Android Themes] D.O.C:
Yes, just needs little adaption from device to device, some can use /cache, some /sdcard, some /emmc etc.
[Android Themes] Dic3ptor:
Hi,

i have tried this on my Sensation to change some png in the Rosie.apk but 4ext says installing aborted and now my devices is dead. I can not boot and i can not boot into bootloader. The LED stays off if the devices is on charger.

PLS help.

EDIT: qhsusb_dload
[Android Themes] pulser_g2:
What did you try to flash? Sounds like you've done something to one of the protected partitions like bootloader?

There's ways to unbrick the sensation though, maybe give that a shot?
[Android Themes] Ba7rani123:
Great I have been looking for this :)

When the flasher works it shows the name of the flasher and everything... I want to know how I can add my name ? I dont want to remove anything from the name of the flasher but I just want to add the name of the mod ?

Thanks :)
[Android Themes] pulser_g2:
Just copy one of the ui_print lines in meta-inf/com/Google/android/updater-script

And edit it as required to show your theme name :)
[Android Themes] Ba7rani123:
hehhehe thanks I saw it before i saw the post, How do I remove the bootlogo ? Because now when it reboots it says "failed to load boot image" now I want to restore it :(, The original galaxy logo shows but before it theres a fail msg
[Android Themes] Ba7rani123:
I need someone to help me with the update binary *-) am not a coder but I need a few things to be done :)

Anyone please ? :)
[Android Themes] pulser_g2:
The binary? That isn't something we modified.
[Android Themes] Ba7rani123:
Well am new in the flashing zips thing but I have a few ques :

1. Can I turn off the "android upgrading" ?

2. Can I add another system app into the backup ? I want to add the SG3 launcher.

3. How to remove the bootimage from flashing zip ? I just deleted it....

4. Now I have 3 booting images how do I change them to only one ?
[Android Themes] lrate:
Bricked

Hey,

I dropped the zip onto the root of my sdcard and ran it in clockwork however something failed with the installation, it said "aborted" and now my HTC One S is bricked. No charging light and can't get into recovery or anything, completely unresponsive. Just wondering if anyone can help, I noticed a couple of other people had issues like this but there didn't seem to be any solutions. Going to leave it charging overnight.

Thanks for any help.

UPDATE# So have noticed that when I plug the phone into my computer it comes up in Device Manager as QHSUSB_DLOAD which apparently means that the device is completely bricked. Although, upon researching more it seems that installing CWM through Rom Manager, which I had just done, can lead to hard-bricking the device which may explain what has happened here. I guess I'll try HTC to see if they can fix it although I'm not getting my hopes up :(
[Android Themes] skifyr123:
Bricked

Yep, bricked my Sony Xperia S trying this. Just added some files to theme systemUI, flashed the zip, installation aborted (some error), tried to reboot. Kernel image is on loop. Tried flash stock firmware with different tool = same loop.

OP should be updated with more info, as I now see that many bricked their devices this way. Clearly it says DEV, but many stupid people like me wants tot try stuff. So, yeah. FML.

Edit. Holy f**king sh*t, I managed to fix it! But only thanks to Sony and their tools.. Anyway, people without such tools as SEUS will have a hard time un-brick after trying this.

Stupid non-DEV friend, do not try this if you are not 110% sure what it is/will do. Take my warning.

ps. Not saying this is a bad tool, but for those who it doesn't work for, it could brick their devices.
[Android Themes] ssojyeti2:
Just found out about this patch. Just what I was looking for. Before, I was using and old patch created by Effdee and modded by Firerat that would do essentially the same thing, but for some reason would fc apks when pushing xml's into the apps...

I'll give this one a shot. Hopefully this one will be able to do what I want it to. One question though... I was looking in the updater script and saw something about changing the boot logo. Does this mean splash screen or is it some aroma installer type splash when flashing?
[Android Themes] D.O.C:
Delete that whole.line, its better.

Remember, the updater script does need adaptation from device to device, the real thing here are the scripts, not the updater script.....
[Android Themes] ssojyeti2:
I am unable to push an xml into the app with this patch. I tried compiling apk pulling xml with a zip viewer and placing it in correct directory like it says to do in the op. Didn't work. I also tried putting the decompiled xml into the patch. Also didn't work. The pngs are working for me but the xml isn't...

I'd love to get the xml working, this seems like a great patch. Help would be greatly appreciated...

Edit: Nevermind. The xml seems to have changed yet the mod did not occur. Strange:confused:
[Android Themes] silverxbv2:
So I just read through all 17 pages and never saw an answer about the duplicate res folders. Is it an updater script issue? I have no idea what actually happens when the zip is flashed, but it seems to work with no ill effects. Just seeing 2 res folders and 4 drawable xhdpi folders kinda bothers me. Can someone possibly explain what causes it and a possible solution?

Thanks

Sent from my ADR6425LVW using Xparent Blue Tapatalk
[Android Themes] pulser_g2:
That sounds strange... Could you upload a patched apk perhaps?
[Android Themes] silverxbv2:
Well, now that I'm looking at it on my pc it looks normal. But when it is installed on the phone, using root explorer, I see 2 res folders with 2 drawable xhdpi folders in each that are identical. So i guess uploading the apk would do no good in this situation
[Android Themes] Ba7rani123:
Any reply please ?
[Android Themes] D.O.C:
All your questions are already answered through the forums, this thread is specific to raw villaintheme system, so this thread is not the right place to ask, mainly cause almost all of us are ysing different devices ;)

Most of your questions are device specific, try reading those forums, I am sure you will find an answer there :)

D.O.C

XDAstaff
[Android Themes] Ba7rani123:
Thanks but the question about "turning off" the bootimage flashing isnt device specific

Thanks :)
[Android Themes] pulser_g2:
Do you mean boot animation?

It won't get flashed by this in less you put the boot image zip into the right location in the raw folder :)
[Android Themes] D.O.C:
Ah, you must reffer to the boot splash, delete the corresponding line at the updater script, it does vary :)

D.O.C

XDAStaff
[Android Themes] sleshepic:
I'm trying to get VRtheme going for us on my phone, S2 Epic Touch, but am also having the duplication issue with my res folder in framework-res. I updated the updater-binary for my phone, and everything else seems to work, but for some reason I get two res folders, or wherever I mod a folder. can't figure it out. looked at all the updater files and can't see what would be causing the issue. I see it has been discussed earlier, and that is was said it may even be "normal" an causes no known issues, but I can't imagine having duplicate folders is right. Think everything is setup right
[Android Themes] mattmanwrx:
Hi Everyone,

A quick question...

I'm using AROMA installer with VRTheme system in quite a few of my projects! All is working fine!

I'm now having an issue. I want to install a new SystemUI.apk, which has a battery mod, and then theme it, with the user choosing the (very small) theme'ing options...

Only thing is, VRTheme system pulls the original SystemUI.apk and not the one that I want to install (with battery mod)...

Is it possible to write the new SystemUI.apk to say "/cache/tmp" and then in the installtheme.sh change

cp /system/app/$f /cache/vrtheme/apply/system/app/

TO;

cp /cache/tmp/$f /cache/vrtheme/apply/system/app/

Would that work? Would I see any discrepancies?

I can't see anything to stop it working that way... I'm'a try it now and report back!

Matt :)
[Android Themes] mattmanwrx:
I'm now having this problem...

As stated, I'm trying it with AROMA installer, and all my other mods work fine (Check out the HTC One X Status Bar Mods)...

This most recent I'm doing with aroma, I have saved the logs and see something a bit strange!

updating: res/drawable-hdpi/stat_sys_battery_charge_anim89.png (deflated 10%)
updating: res/drawable-hdpi/stat_sys_battery_charge_anim9.png (deflated 15%)
updating: res/drawable-hdpi/stat_sys_battery_charge_anim90.png (deflated 10%)
updating: res/drawable-hdpi/stat_sys_battery_charge_anim91.png (deflated 10%)
updating: res/drawable-hdpi/stat_sys_battery_charge_anim92.png (deflated 10%)
updating: res/drawable-hdpi/stat_sys_battery_charge_anim93.png (deflated 10%)
updating: res/drawable-hdpi/stat_sys_battery_charge_anim94.png (deflated 10%)
updating: res/drawable-hdpi/stat_sys_battery_charge_anim95.png (deflated 10%)
updating: res/drawable-hdpi/stat_sys_battery_charge_anim96.png (deflated 10%)
updating: res/drawable-hdpi/stat_sys_battery_charge_anim97.png (deflated 10%)
updating: res/drawable-hdpi/stat_sys_battery_charge_anim98.png (deflated 10%)
updating: res/drawable-hdpi/stat_sys_battery_charge_anim99.png (deflated 10%)
updating: res/layout/status_bar.xml (deflated 71%)
updating: res/layout/status_bar_expanded.xml (deflated 63%)
adding: res/ (stored 0%)
adding: res/layout/ (stored 0%)
adding: res/drawable/ (stored 0%)
adding: res/drawable-hdpi/ (stored 0%)
adding: res/drawable-hdpi/ic_sysbar_search_land.png (deflated 2%)
adding: res/drawable-hdpi/ic_sysbar_search.png (deflated 0%)
Patched system files
Zipaligning SystemUI.apk
Zipaligning aligned
Unable to open 'aligned' as zip archive
VillainTheme is done
UI Theming complete

Instead of "updating" it "adds" the folders that are duplicated!! Any idea why this might happen?
[Android Themes] D.O.C:
Why dont you add those battery mods using vrtheme into the original systemui.apk?, thats the reason for its existence!. Anyway, sure it can be done, just change the order of the updater-script to firstly copy the apks you desire into system/app and then run the vrprogram :), that is the cleanest easiest way I can think of.

I cannot explain why those duplicated folders happen. apk does not change in size and, there are no bugs coming from it, on top of that, a user above reported that while exploring it at the pc, it looked fine (no duplicated folders). It happens using metamorph as well, which also modifies apk inside the device. Personally the main reason I have not digged into it is that since it causes no known issues (used it now with my roms...with thousands of downloads) there is no much reason to spend time on it :).

Just a word of an advise, if you are new at using these kind of programs, please be sure you read, understand the updater script and modify it to fit your device to avoid any potential issues. the sh programs are not device specific, although modifiable as well :)
[Android Themes] mattmanwrx:
Thanks D.O.C. I thought it couldnt add the files, and only replaces them...

When doing it the way you mention, the updater-script copies the SystemUI.apk into the /system and in the same script it then extracts the images, but I'm not sure that the VRTheme system copies the SystemUI that the updater-script copies... Confusing, lets try another way!! Does my SystemUI get copied before the VRTheme System starts? Does my SystemUI go to /system before the VRTheme takes my /system app? :)

I do believe I was doing something wrong, as I have had VRTheme working on many different projects (you have even commented in one of my threads for the One X)... I will need to look into it properly and see if my thinking is an error or not...

P.S. - am fimiliar with the updater-scripts / aroma-config's / other things! Always look into these before, dont want to break my One X! ;) (Even though I'm doing this on my old desire!) - Just wasn't sure on changing the .sh :)

Again, Thank you!! Will report back!! :)
[Nexus S Q&A, Help & Troubleshooting] voyager_s:
Hello all.

Hope you guys can help me figure out a little problem I've been having with my nexus.

Its basically quite simple. I've had this problem with both the infin1ty and oxygen roms.

Basically my phone randomly jumps back to the pin entry screen. Its not a total reboot, it Just goes to the pin entry and its like I just restarted the phone again.

Its happened mostly when the phone has been asleep but also one time when I was using it to browse the web. It just jumped to the pin screen asking for my sim card pin code. Its never a full on total reboot.

I don't know what could be causing the problem. The only connection between the two different roms I'm using is the fact that I use the same netarchy kernel, with set cpu and proton voltage app.

I figure if I didn't have my sim card pin enabled then the phone would just connect to the network automatically and I would be none the wiser but due to security I always have my pin enabled. So its quite annoying that when I go to wake my phone to use for something I see the pin screen waiting for me and no signal. I hope some of you guys can help me figure out what's causing the issue.

Thanks in advance
[Nexus S Q&A, Help & Troubleshooting] hoponpop:
did it happen when you were on the stock rom?
[Nexus S Q&A, Help & Troubleshooting] voyager_s:
Anyone???? :-(

Well it didn't happen on stock but I haven't been on stock since January. Long time ago. And its a recent issue
[Nexus S Q&A, Help & Troubleshooting] hoponpop:
did you have a sim card pin enabled while on stock?
[Nexus S Q&A, Help & Troubleshooting] nekoss:
same issue here, some solution ?
[Nexus S Q&A, Help & Troubleshooting] voyager_s:
Hey, what do you know ...I'm not the only one. That's comforting at least. :-)

I just switched to a new rom about a week ago now and same issues...it seems whatever this thing is, it runs real deep. Very annoying now.
[Nexus S Q&A, Help & Troubleshooting] slonn:
Having the same issue - it happens irregardless of which custom rom I use. Doesn't happen often, though, like once a week and usually when I'm not using the phone. Have no clue why...
[Nexus S Q&A, Help & Troubleshooting] voyager_s:
^^^it must be that we are just a small unlucky minority or else others would probably have found a solution by now.
[Nexus S Q&A, Help & Troubleshooting] nevrlow:
getting a new sim card will solve this issue. worked for me
[Nexus S Q&A, Help & Troubleshooting] voyager_s:
Really? Interesting...might try that and see. Thanks for the tip
[Nexus S Q&A, Help & Troubleshooting] atrixboy:
As a general note you should always clear any and all sim card locks before putting them into any smartphones. They almost all use different protocols to communicate with the sim card and without clearing the pin before insertion can cause corruption and that's how these errors arise.
[Android Software/Hacking General [Developers Only]] peterrus:
Hello,

Is it possible to use tasker (through the intent actions) to change my google talk status (to busy, for example). If so, how would one do this?
[Android Software/Hacking General [Developers Only]] Kev8124:
I've been trying to figure out the same thing. Did you have any luck?
[Android Software/Hacking General [Developers Only]] dakuth:
there is a Locale plugin called gtalk updater that you can use with Tasker.

Just be careful, because there are two similar, but one has Airpush ads attached... you don't want that one, I'm sure.
[Nexus S General] barmanham:
Bascially my gf has a g2 I have a Nexus S.Both Using Opera not mini

Anyways the G2 Loads pages faster then my nexus s.Anyone know what can be causing that? I tried a different ROM kernel already didnt work.

Its kinda wierd when im in an area with decent 3g I think its faster then my home WIFI but with speedtest im getting 6mbs and on the speedtest.net webpage im getting over 10mbs Im at a lose here and the stock g2 beating my nexus S is pretty sad help
[Nexus S General] barmanham:
Think I figured it out Opera 11.1 loads pages slower then Opera 11 up4 thats the name of the version older version which loads pages faster
[Eee Pad Transformer Q&A, Help & Troubleshooting] TonyCubed:
Just curious about this, do you think it might be possible to port Windows 8 ARM to our Transformer, Xoom and so on? What would be the system requirements of such a thing?
[Eee Pad Transformer Q&A, Help & Troubleshooting] Braincrack:
I love this future questions that nobody know :D
[Eee Pad Transformer Q&A, Help & Troubleshooting] Proz00:
Just a guess mostly likey yes

I guesses most of the drivers will be exist the development will start fast

But lets wait
[Eee Pad Transformer Q&A, Help & Troubleshooting] david279:
Windows 8 comes out when? Early 2013?
[Eee Pad Transformer Q&A, Help & Troubleshooting] krispy1:
microsoft demod windows on arm using a tegra 2, i donno if it was windows 8 as they didnt show the interface only a desktop environment
[Eee Pad Transformer Q&A, Help & Troubleshooting] mikeseth:
removed.
[Eee Pad Transformer Q&A, Help & Troubleshooting] finalhit:
1) Is it the arm version?

2) is it a legit version.

Between now and forever...depending on licencing...there would prabobly zero development with windows 8 on xda.

Unless the device speciafically comes with it...or ms allows people to install/buy it into a specific target device, distributing a rom containing windows 8 would be like posting a pirated copy of windows.

So as far windows 8 development on the tf, not gonna happen
[Eee Pad Transformer Q&A, Help & Troubleshooting] david279:
Well at least until can put ubuntu on it. That leaves the door open for other Distros.
[Eee Pad Transformer Q&A, Help & Troubleshooting] newtonc:
With the leak of build 7989, i'd love to see a port for the transformer. In fact, i bought the transformer exclusively because of win8, as I need one note.
[Eee Pad Transformer Q&A, Help & Troubleshooting] Dyskmaster:
why did you buy this for windows 8? Asus has many almost identical tablets (albeit a bit thicker) that run windows 7 fine. And microsoft said that any computer that could run windows 7 could run windows 8.
[Eee Pad Transformer Q&A, Help & Troubleshooting] jerrykur:
March 2012 is the latest I heard (Mary Jo Foley post)
[Eee Pad Transformer Q&A, Help & Troubleshooting] david279:
Um thats my birthday. :p
[Eee Pad Transformer Q&A, Help & Troubleshooting] finalhit:
the leak is x64, not arm.
[Eee Pad Transformer Q&A, Help & Troubleshooting] ondoy1943:
A msft video which shows a prototype tablet powered by a kal-el quad-core arm soc running windows 8, was really stunning. That should be it.
[Eee Pad Transformer Q&A, Help & Troubleshooting] foxtrot5:
Sounds like a neat project. There's got to be a significant amount of driver porting work to do though.