yashsingh1/xdaforums huggingface dataset:
[Android Themes] nicholaschum:
Creating a flashable ZIP for yourself

Creating a flashable ZIP for yourself

Download my Flashable ZIP template here: https://www.androidfilehost.com/?fid=95897840722644285

STEP 1: Designing your updater-script (What get's shown in TWRP/CWM when flashing)

This is my updater-script from the zip file:

ui_print(" =============================================");
ui_print(" Flashable ZIP Template by Nicholas Chum");
ui_print(" =============================================");
ui_print(" ");
sleep(1);
ui_print(" Now mounting the system writeable....");
sleep(1);
ui_print(" ");
run_program("/sbin/busybox", "mount", "/system");
ui_print(" Copying the files... ");
sleep(1);
package_extract_dir("system", "/system");
sleep(1);
ui_print(" ");
ui_print(" File copy complete. ");
unmount("/system");
sleep(1)

- This installs everything in the system folder of the ZIP file into the system folder on your phone.

STEP 2: Structure your APK into the correct directories of the ZIP according to your phone's layout

- If you want to install SystemUI.apk, you cannot install it like on KitKat due to different directory structure, so for example, the correct location to install SystemUI.apk would be /system/priv-app/SystemUI/SystemUI.apk, so you'll have to create your own subfolders in the zip according to the apk you want to install.

STEP 3: After you're done, flash and have fun!
[Android Themes] nicholaschum:
Repetitive? Let's simplify it using batch files

Repetitive? Let's simplify it using batch files

I have a batch file collection here, check it out: https://www.androidfilehost.com/?fid=95897840722644292

To use my batch files, you may have to edit each batch file to confirm locations for directories on your computer.

These are the bat files you will have to edit: FRAMEWORK (Step 1) - Uninstall.bat, FRAMEWORK (Step 2) - Install.bat

You'll have to edit in your user account name, for example in FRAMEWORK (Step 1) - Uninstall.bat:

rd /s /q C:\Users\[COLOR="Red"]Nicholas[/COLOR]\apktool

Afterwards, it will work perfectly.

The point of Theming Tools.zip is to allow you to easily make new working directories and just copying everything in from the zip file to the working directory to save your time from moving files over (zipalign.exe, apktool.jar, apktool.bat...etc)

To use my batch files, use it in this order

Create working folder

Place framework-res.apk in the working folder

FRAMEWORK (Step 1) - Uninstall.bat

FRAMEWORK (Step 2) - Install.bat

Place your other APKs in, my batch only decompiles framework-res.apk, SystemUI.apk, Settings.apk, DocumentsUI.apk, TeleService.apk, so if you have another APK you want to automate, copy the structure of my calls in the batch file, then save it.

BUILD (Step 1) - Extract Starter 5 APKs.bat

Start theming your apps.

After you're done...

BUILD (Step 2) - Compile New 5 APKs.bat

Now open each of the original APKs in the working directory, then copy each META-INF and AndroidManifest.xml from the original to the new compiled ones.

Place each unzipaligned apks with the META-INF and AndroidManifest.xml into the BUILD ME folder - my batch only zipaligns framework-res.apk, SystemUI.apk, Settings.apk, DocumentsUI.apk, TeleService.apk, so if you have another APK you want to automate, copy the structure of my calls in the batch file, then save it.

After you're done...

BUILD - Zipalign All 5 APKs.bat

Place all files into a flashable zip.

Enjoy!
[Android Themes] nicholaschum:
Last hold, just in case.
[Android Themes] fahadali2315:
???Hold it right there .
[Android Themes] nofx161:
looking forward to that!!!! nice work
[Android Themes] djdarkknight96:
Very nice my friend, we needed something like this for noobs. Sending them ALL your way..... Lol
[Android Themes] Vivek_Neel:
Haha.

+1.

Very nice and handy :)
[Android Themes] Khizar:
Haha I think I'll be the first "noob" to try and learn theming.. Haha what say [MENTION=3605033]nicholaschum[/MENTION]? ?

Edit - BTW can't wait for your inverted theme for L, Bryan. Always loved your theme.. ?
[Android Themes] nicholaschum:
Well, I think I missed a step then.

For you specifically, Step 0: Buy a new computer!!!
[Android Themes] Khizar:
My brother ended up buying the tab and so the new laptop is just sitting there, might as well make it useful... ??
[Android Themes] nicholaschum:
I might change the last HOLD post to Porting themes to other ROMs, then you can start helping me do more nightly builds if theme chooser still doesn't function as well :P
[Android Themes] Khizar:
I am all for that bro. Told you I'd help and I'll try to help to the best of my abilities, while trying to learn. ?

BTW why isn't [MENTION=5444625]fahadali2315[/MENTION] helping you out? He's become lazy since getting OPO and now shamu.. LOL
[Android Themes] nicholaschum:
He's my official tester......only...... and he has like a dozen flagship phones. He should really do something with them.

Where's my Sense ROM on Nexus 6? XD
[Android Themes] BellaxMiu:
[MENTION=3605033]nicholaschum[/MENTION] so this was what you did when we had no Internet and I was napping? Lol....
[Android Themes] nicholaschum:
LOL....yes.....tethering.....and I'm still not done either :p
[Android Themes] Khizar:
In his defense, he keeps losing the phones so he wouldn't get far.. Haha JK

The OPO sense port... Makes my point.. ?

He plans to do even more once you get Internet back... LOL
[Android Q&A, Help & Troubleshooting] ZduneX25:
I am making a mod for miui roms to strip unicode in text messages and i used to prepare flashable zip packages, but since I broadened my knowledge about programming I decided to write an app that will recognize device then download (new version if exists) and install proper modded apk itself.

To do so I need to get root access in my app and that's the problem.

My code looks this way:

public void RunAsRoot(String[] cmds) {
Process p;

try {
p = Runtime.getRuntime().exec("su");
DataOutputStream os = new DataOutputStream(p.getOutputStream());
os.writeBytes("mount -o remount rw /system/\n");
for (String tmpCmd : cmds) {
os.writeBytes(tmpCmd + "\n");
}
os.writeBytes("mount -o remount ro /system/\n");
os.writeBytes("exit\n");
os.flush();

} catch (IOException e) {
e.printStackTrace();
}

<uses-permission android:name="android.permission.ACCESS_SUPERUSER" />

and it works well as long as i use regular superuser app from play store, but miui has own control panel that contains root app and if i use this build-in app to gant root access for my app then nothing happens..

Any ideas how to make it compatible with miui?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dionsat:
Hello guys i have one lcd light problem with my xperia st15i ....

its works and suddenly stop working the lcd and shows stripes on it...with low light...

needs lcd replacement or is another hardware problem ?
[Android Q&A, Help & Troubleshooting] steve_77:
I dont know if there is already info on this subject, but i recently got a sandisk 64G mSD and it didnt even seem to last a year - kept getting into 'read-only' mode for some reason..... i though it was my KKDS_1.4 (4.4.4) rom, link2sd and all the other stuff there, but dont know if that's the case kept having to do the following to get it out of read only mode :

Plug SD into windows and :

Start > Run > cmd

type "diskpart" -> runs diskpart.exe from system folder

type "list volume" -> now you see all your connected drives, see which one is the drive

type "select volume #" -> # being the letter of your drive

type "attributes disk clear readonly" -> removing the protection

Then open your SD, you can now edit, delete, move files.

However this didn't seem to last long... and think the SDcard on its last leg - even though i didn't use it much.... i did have a ton of pictures, videos, programs and music on it but still had about 12G free but was really slow - even though its one of the SanDisk Ultra 64G XC I (UHS Class 1).... Granted I do use Link2SD and have partitioned the card as follows [59G Fat, 4G ext4, 1G Swap], but cant account for things taking so long, and then sometimes finding the card in read-only mode.

Anyhow... from my reading i dont think android will even use the 'swap' space i made, so on future SD I plan on a 4G ext4 (for second partition) with the remaining 60G as a FAT32, ExFat, or NTFS - for my KitKat (4.4.4) Device - will one filesystem be better an any other for the first partition (windows / linux compatible) - im thinking NTFS (reliable & windows compatible) but not sure if KK supports write mode to NTFS filesystem? There is also ExFat - but not sure about android support for that either... Know many people suggest raw FAT but just not possible with todays bigger cards so kinda seem stuck with FAT32. :(

Regressing and getting to the heart of my post here, I was wondering if there has been any long term studies of Which mSD Cards last longer and transfer data pretty fast? Perhaps there are ones more reliable... thought Sandisk was pretty good (my USB 3.0 SanDisk Extreme 64 GB Flash Drive kicks butt) I know the technology is different but the 64G Ultra SDXC was UHS Class 1. (so at least class 10)... but its only a year old and already giving me trouble... what are the better cards out there -- and what filesystem should the first partition be set to to make it last (and usable in a windows [or linux] environment) ?

I did read over a few good posts :

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

and http://xdaforums.com/showthread.php?t=1150369

as well as a few other places here , here , here , and here

Im starting to think that since im using Link2SD perhaps class 10 card not optimal for the ext4 r/w , but i do use the primary partition quite a bit (like a flash drive ans dont want to wait eons while transferring all my tunes and videos etc to phone.....

Has anyone done any research into these issues? Are there any cards the use SLC nand? or just last longer? :(

Can anyone comment on any of this.
[Android Q&A, Help & Troubleshooting] OfficerJimLahey:
I just answered on the other thread, but I wanted to add that AFAIK Android doesn't support NTFS (at least not without serious jigging) and I think exFAT is close to the same situation. Why? These are proprietary Microsoft formats (arguably FAT32 is as well, but it is based on the standard FAT16 and has been opened up considerably) that even for a Linux system have to go through hoops to get the drive to properly write (well, not too bad, install the ntfs-3g package).
[HTC One X] halfboss:
Hi guys i'm a happy owner of htc one x I had already unlocked the bootloader with htc dev then I had flahsed the cwm and than I had maked the root and insalled android revolution rom hd but now I have a question I searched a lot for this but I don't found nothing so now I make the question today is possible to make the s-off for tegra 3 hox without pay anything??? Thanks a lot and sorry for my bad english :)
[HTC One X] sathara:
negative
[HTC One X] halfboss:
And if i pay there is a way ???
[HTC One X] Thant:
yes in some service centre
[HTC One X] halfboss:
I don't think who in my city there is this service center ??
[Xperia Z2 Q&A, Help & Troubleshooting] gregbradley:
Thread closed

Duplicate of this thread you have already posted in the wrong section

http://xdaforums.com/xperia-z2/general/benefits-unlocking-xperia-z2-official-t3004681#post58222329

I will move that for you to this section.
[Galaxy Tab S Q&A, Help & Troubleshooting] Nishesh:
Well liollipop seems to be out in form of blisspop and cm12 for the t700 and t800 versions of the tab however there seems to be few roms for t805 and none of them is lollipop. Is no one developing for t805? Am dying to get a good rom something like blisspop on my tab. Am dying to get a good rom for the tab. I am begging for a good lollipop rom for t805.
[Galaxy Tab S Q&A, Help & Troubleshooting] ranju5859:
hi you can get the official lollipop update by the end of april:good::good:;)
[Android Apps and Games] Jijin$sure:
Hey Guys It would be a big help If you could download and review my game Jumping Jo :)

Here's the play store link " play.google.com/store/apps/details?id=com.jj " ;) I made it using Construct 2 tool and its great for those travel in metro or some other public transports, it's simple and fun :) You'll love it and yes more updates on the way :cool:
[Fire TV Q&A, Help & Troubleshooting] Thilly1:
I just spoken with Amazon live chat about keyboard layout.

My German keyboard as a different set out to UK keyboards and therefore some letters are different and the Fire TV uses UK or US layout.

Eg. Z & Y are opposite.

They told me after a lot of waiting that the USB does not work/should not work. It will be passed on to the technical department, and maybe in future the problem will be addressed.

Anybody in the UK and US with keyboard connected are all the keys in the right place?

Thanks
[Fire TV Q&A, Help & Troubleshooting] mjbxx:
Keyboard working as expected here in the US. Did an Amazon rep really tell you that a USB connected keyboard should not work on the Fire TV?
[Fire TV Q&A, Help & Troubleshooting] Thilly1:
Yes,She said she as spoken with the technical department and they say it is not yet in use, it maybe in the future though.

I have plugged my Lenovo N5902A into my PC to check the layout and windows recognizes it as a German keyboard and the layout is correct.
[Fire TV Q&A, Help & Troubleshooting] Thilly1:
The @ keys are:

@ German is Q key

@ UK is in the bottom right hand side.

@ US is 2 key

My Fire TV @ is the number 2 key. What do you have and which country are you in?

http://xdaforums.com/attachment.php?attachmentid=3118675&stc=1&d=1421443897
[Fire TV Q&A, Help & Troubleshooting] plissk3n:
Thanks for addressing this topic and contacting support. I would love a solutions for my german K400.

Please keep us updated :D
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] MikeyJay1992:
Exactly as the title says.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] jd1639:
Use fastboot to put twrp on then flash supersu in twrp.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] MikeyJay1992:
how do I do that?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] jd1639:
Google it

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

Edit, sorry you're on the s4. That's not going to work. Use towelroot from your device
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Thr33-F0ur:
Go to towelroot.com from your phone and click on the lambda to download the apk to root. Then download SuperSU from the play store and install the SU binary.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Oppressa:
I've just become addicted to upgrading and the new versions of your ROM. What fixes and updates are you planning to add?

Also, what do people WANT to see added?
[8525, TyTN, MDA Vario II, JasJam ROM Development] klikman:
can we have com manager. with irda on/off.?

that would be nice . . .
[XDA Assist] XDA Visitor:
I was rooting my first gen Galaxy Tab 10.1 p7510, and I ended up completely wiping the thing, OS included so now I can't boot it, I can't connect to my laptop because it won't recognize it either, someone help please !!
[XDA Assist] Darth:
Hi,

You can try flashing stock firmware again using this guide.

> Samsung Galaxy Tab 10.1, 10.1v > Galaxy Tab 10.1 Android Development > [All ROM][P7500/P7510]Odin Image and Customs in One Place

If you still need help, you can ask for help here,

> Samsung Galaxy Tab 10.1, 10.1v > Galaxy Tab 10.1 Q&A, Help & Troubleshooting

Good luck!
[Verizon Galaxy Note 3 General] Digital DJ:
Hey all, I'm runnning Google Now launcher and I love it so far. Today I swung by the Verizon store to check out a couple things. I never pulled my Galaxy note 3 out of my pocket while in the store. The rep started talking to me about the galaxy note edge. I've never been interested in it so I have NEVER done a search for it in my chrome or google now browsers. At least no anytime in the last 8 months. Anyway when I got back into my car, i opened up my screen and noticed that google now had a story by phonedog and the galaxy note edge.

Could google now be listening in even when I'm not actively using the phone? it was in hibernation screen...
[Verizon Galaxy Note 3 General] wpcprez:
you are paranoid
[Verizon Galaxy Note 3 General] Digital DJ:
I wouldn't say paranoid, just curious. But thanks for posting
[Verizon Galaxy Note 3 General] caifan:
Or maybe he isn't http://www.androidauthority.com/undeletable-verizon-cookie-used-ad-companies-track-customers-580951/
[Verizon Galaxy Note 3 General] wpcprez:
what does a cookie have to do with an app recording all sounds from your mic and translating them then uploading them so they can send you ads?
[Verizon Galaxy Note 3 General] donc113:
No...no one is listening.

But what does happen....is if you allow google to track your location....they know you were in a Verizon store....they know what kind of phone you have and could (don't know if they do or not) base ads on that.
[G 2014 Q&A, Help & Troubleshooting] sm_94:
Can someone please install World of Tanks - Blitz on this device and test performance of this game, on 4.4.4 KitKat or Lolipop, just average fps in combat. Tnx a lot.
[G 2014 Q&A, Help & Troubleshooting] reefuge:
I installed on 4.4.4 before xmas something like 3.6gb un packed , cant remember fps but i was playable but not overly great
[G 2014 Q&A, Help & Troubleshooting] jay2the1:
http://xdaforums.com/showpost.php?p=57356963&postcount=23 ;)

Plays great on mine no lags or stutters, I have the game data on the microSD card to save space on the internal.
[ONE Themes and Apps] bashrulz:
So, I got it install this new theme engine for cm12 and installed some icon packs and bootanimations,

seems like everything works fine...

here's a sneak peek :D

https://www.youtube.com/watch?v=vR38IlYPY_I

Only bug i saw is after installation of a Icon pack , Fonts , Ringtones , Bootanimation it just freeze's (Touch screen will be unresponsive) until you reboot it, once you reboot it everything will be back to normal :)
[ONE Themes and Apps] vikas44493:
can you provide the link or rom in which cm12 theme engine is working?
[ONE Themes and Apps] nicholaschum:
Can we get one of those installable themes please? I would like to check it out as a template.

EDIT: Just realized they were just your themes. Do you know of any CM12 theme specific templates?
[ONE Themes and Apps] bashrulz:
Nope no CM12 Theme templates yet,

Check this you might get some idea..

https://plus.google.com/u/0/117889454318656086861/posts/ZTk2TAdi7NM
[ONE Themes and Apps] nicholaschum:
Yeah I saw that yesterday. But it'll be different for Lollipop and KK based ROMs, and with the new theme engine, it could work a different way (other than changing from 19 to 21) so I was waiting for a template.
[ONE Themes and Apps] bashrulz:
Me and my friend are tryin to workaround and see if it works...
[ONE Themes and Apps] bashrulz:
Try this bro...

https://www.androidfilehost.com/?fid=95897840722644445
[ONE Themes and Apps] nicholaschum:
Is that a working CM12 theme template?
[ONE Themes and Apps] bashrulz:
Yes but its missing alot of stuff maybe u can fill some of it or edit some of the stuff :D
[ONE Themes and Apps] nicholaschum:
I'm working on it. Thanks a lot man! Good news is that it doesn't look too hard, was expecting a whole lot of changes.

VTS doesn't work with it yet, going to use the traditional way of apktool + zipalign, etc.
[ONE Themes and Apps] bashrulz:
Awesome, lookin forward to see ur first theme for cm12 :D
[ONE Themes and Apps] nicholaschum:
I would love to work on it now, but ISP at home being a nuisance and I can't get a solid network.

A 30 second 300mb ROM download became an 18 hour hell. I'll wait for tomorrow!

But anyways, thanks for the template. :)
[ONE Themes and Apps] lacoursiere18:
? I am fairly new to theme engine but not to theming. Since lollipop the directories of apps have changed.. do they need to changed as well in the assets folder? Also, what is the difference between the android folder and the common folder..

Edit: NVm answer my last two ?'s
[ONE Themes and Apps] nicholaschum:
Looking into them now...finally grabbed CM12 theme engine enabled ROM on my 4G.
[ONE Themes and Apps] lacoursiere18:
Yep whatever I do to this apk it won't install after signing it.. Not sure whats up with that
[ONE Themes and Apps] nicholaschum:
I got it to work. I did it using apktool and just decompiling and compiling at first, which breaks it.

Try using the VTS method: http://www.google.com/url?q=http://...sntz=1&usg=AFQjCNEzP-AyZs2p-tpyu2USGFsUi5DTGw

Works wonders, except I find too many transparent "new" variables inside, keeps failing to install into Theme chooser when i remove them.
[ONE Themes and Apps] mackentosh:
Here's another working template http://xdaforums.com/showthread.php?t=3005025
[ONE Themes and Apps] lacoursiere18:
Eeek I would not necessarily say this is a template. I know you prob meant no harm but his second post advises you not to use it as your base.. So for that matter I would not. But thanks for the link. Once I get home I will build my own and post it here so everyone can use.
[ONE Themes and Apps] nicholaschum:
That's pretty much the same as the first one :P
[ONE Themes and Apps] mackentosh:
Mybad just trying to lend a hand
[ONE Themes and Apps] nicholaschum:
Yeah his base is very complicated. I'm trying to salvage and understand CM12 theme engine as much as possible. His base makes everything quite transparent and it doesn't change as much as i want it to...
[ONE Themes and Apps] _Beni_:
My System-UI is crashing since i tried a Theme, with latest Nightly. Anybody knows how to reset to the default theme?
[ONE Themes and Apps] tomkozuki:
I tried installing the cm11s hexo theme and while most things worked, the loading animation stayed lollipop and not the spinning hexagon. Also not sure if I'm just not finding the option but I can't seem to choose my own lock screen wallpaper. I get how to choose a lock screen wallpaper from an installed theme but I just want it to be the same as my current wallpaper.
[ONE Themes and Apps] Hez L:
Theme engine got added to Validus yesterday, now just got to wait for some themes eh
[ONE Themes and Apps] aheeejd:
Search "glass cm12 theme", I know it's out there, I just don't remember where I got it. Not much of a theme, but it's a start & it works.

Sent from my LG-ls990 using Xparent Green Tapatalk 2
[ONE Themes and Apps] ted77usa:
There u go if someone want it http://xdaforums.com/showthread.php?p=58227708 thanks to [MENTION=5230774]asdfasdfvful[/MENTION]
[ONE Themes and Apps] nicholaschum:
You guys can also check out mine, I have more theme templates than the link above.

http://xdaforums.com/oneplus-one/themes-apps/cm12-dark-material-cm12-theme-engine-wip-t3005867
[ONE Themes and Apps] Pepsy89:
How i instal screencast ? i dont have it instaled anymore on 5.0.2
[XDA Assist] :
Hi guys,

I have a problem. I have a HTC Desire 310 but I can not install mobogenie to root my device as i only have a mac. Is there an alternative or am i stuck not being able to move my bigger apps to my external sd card?

Many Thanks,

Sammy.
[Transformer TF300T Q&A, Help & Troubleshooting] QA Bot:
Q&A for [ROM][TF300T/TF300TG/ME301T][4.2.1][GRIMLOCK_V2.2][Nov 29 2013]

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [ROM][TF300T/TF300TG/ME301T][4.2.1][GRIMLOCK_V2.2][Nov 29 2013]. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[Transformer TF300T Q&A, Help & Troubleshooting] Shimra:
Hardware Problem

I´ve flashed this ROM Grimlock on ASUS TF300TG, evrything works OK, only the volume up/down button works no more. And that is th problem. I cannot enter the bootloader mode. Do you have a solution? Thnx a lot.