[MOD]PopupBrowser - T-Mobile Samsung Galaxy Note II

Howdy folks -
I started with the modified-to-be-expandable PopupBrowser.apk found here and added/modded it a bit further. I reset a number of the layout dimension xml stuffs back to stock UVALL4/UVALK8 values, edited some smali stuff so the expanding states "fit" a little better (so minimized doesn't cut off the title bar, mid-size state is about the same as the size when you first open the popup browser, and large-size state fills up a bit more of the screen), and set it up so that when wanting to "popout" the content in the popup browser into a "full" browser it will look for Chrome first - if Chrome isn't installed, it'll point to the stock (given similarity of package names this should be either stock TW or AOSP) browser. FWIW I originally put this together for inclusion in a rom I put together... just putting that out there
Anyhoo - here it is
md5: DBAB8033D6041B39D664F0A1F175DB02
Let me know if there are any problems
NOTE: If odexed the zip should move /system/app/PopupBrowser.odex to /system/app/PopupBrowser.odex.bak

This looks great! Can't wait to give it a try!

I keep getting application not installed. I used to have an error saying a file name as such already exists.
After deleting popupbrowser using tbup, it now gives me application not installed.
Any suggestions or easy guides?

mitchillen said:
I keep getting application not installed. I used to have an error saying a file name as such already exists.
After deleting popupbrowser using tbup, it now gives me application not installed.
Any suggestions or easy guides?
Click to expand...
Click to collapse
Have you tried pushing it or manually placing it in system/app and then setting permissions?
Sent from my GT-N7105 using Xparent Skyblue Tapatalk 2

mitchillen said:
I keep getting application not installed. I used to have an error saying a file name as such already exists.
After deleting popupbrowser using tbup, it now gives me application not installed.
Any suggestions or easy guides?
Click to expand...
Click to collapse
I'm confused - when does it say application not installed? What are the errors exactly (the wording I mean)? After you deleted PopupBrowser.apk from /system/app did you reflash the zip from the OP? A possible issue could have been the popup browser already installed was slightly different in its name (if this was true it was likely a case issue) - what are you running? I can edit the updater-script to remove other similar-but-different-casing apks if this is what was going on.

dwitherell said:
I'm confused - when does it say application not installed? What are the errors exactly (the wording I mean)? After you deleted PopupBrowser.apk from /system/app did you reflash the zip from the OP? A possible issue could have been the popup browser already installed was slightly different in its name (if this was true it was likely a case issue) - what are you running? I can edit the updater-script to remove other similar-but-different-casing apks if this is what was going on.
Click to expand...
Click to collapse
I dl'ed the app straight from chrome browser on my phone. I opened it up using ES Zip viewer and it gives me two folders - Meta inf and system.
I open system folder and find popupbroswer.apk and click on it which brings me to the install page, once I click install it tells me "Application not installed"
Am I supposed to do anything else with the stuff that is in meta inf? I'd consider myself amateur with this stuff so bear with me, sorry!
Not sure what "casing" is but I'm stock rooted using Exynos Abuse on UVALK8. Hope that helps

mitchillen said:
I dl'ed the app straight from chrome browser on my phone. I opened it up using ES Zip viewer and it gives me two folders - Meta inf and system.
I open system folder and find popupbroswer.apk and click on it which brings me to the install page, once I click install it tells me "Application not installed"
Am I supposed to do anything else with the stuff that is in meta inf? I'd consider myself amateur with this stuff so bear with me, sorry!
Not sure what "casing" is but I'm stock rooted using Exynos Abuse on UVALK8. Hope that helps
Click to expand...
Click to collapse
Ah - I see. The zip is in a format so you can flash it in a custom recovery (CWM, TWRP, etc.). The apk itself cannot be installed via the package manager route (which is why you were having the problem), if you aren't going to use a recovery then you need to push/copy the apk itself into /system/app. Basically you need to set /system/app/ as rw so you can copy stuff into it, copy the apk into it, and (for good measure) set the permissions on PopupBrowser.apk to rw-r--r-- (or 644 if you use a terminal or something similar). Then you should be good to go. It's totally up to you on how you want to go about it. Lemme know (whether in this thread or via PM) if you have any questions.

I don't think this interested many, but I updated the OP - it should work for odexed folks now as well

dwitherell said:
I don't think this interested many, but I updated the OP - it should work for odexed folks now as well
Click to expand...
Click to collapse
I just found it and spent a while looking at pop-up browser options. It's awesome man...smaller title bar, shrinkable to view more of the background app.
I did have issues resizing it (bottom right corner of the pop-up window). It doesn't seem to allow me to resize. I can press the "expand" button or whatever it is in the title bar which will enlarge the window but only vertically.
I have the DPI of my phone set to 220 so maybe that's it?

djnutz said:
I just found it and spent a while looking at pop-up browser options. It's awesome man...smaller title bar, shrinkable to view more of the background app.
I did have issues resizing it (bottom right corner of the pop-up window). It doesn't seem to allow me to resize. I can press the "expand" button or whatever it is in the title bar which will enlarge the window but only vertically.
I have the DPI of my phone set to 220 so maybe that's it?
Click to expand...
Click to collapse
Resizing in that sense is not supported unfortunately - it's just the ability for 3 stages of "height" more or less.

dwitherell said:
Resizing in that sense is not supported unfortunately - it's just the ability for 3 stages of "height" more or less.
Click to expand...
Click to collapse
Gotcha - well either way thanks for posting it. Nice to have.

Can one of you send me a link the download in the op isn't working for me
Sent from my SGH-T889 using xda app-developers app

SIGMAxB said:
Can one of you send me a link the download in the op isn't working for me
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
Here ya go.

Related

Changing application icons - possible workaround?

So, I'm well-aware that the reason icons can't be changed easily on the Android home screen is because the icon image is stored in the APK file, and editing that image is, essentially, near impossible.
However, I had an idea that could potentially fix that problem, and I'm just curious how realistic the solution is:
As most G1 users know, AnyCut is a great application that can allow a user to create a shortcut to any number of actions on the phone. These shortcuts are customizable by name, and, for the time being, have a limited number of icons, one for each shortcut type.
I also recall using an app several months ago to change the icons of bookmarks (Bookmark 2, I believe it was called). With this app, a user could choose exactly what their icons would look like on the home screen, except, of course, that these icons could only link to bookmarks.
By combining these two applications, wouldn't an icon changer be quite possible?
Using this same methodology, wouldn't it be possible to create "shortcuts" to applications on the home screen, and thus, allow the user to rename apps and change their icons, at least on the desktop? I know that the icons would not be changed in the pull-out drawer or elsewhere on the system, but wouldn't this be a temporary workaround, until a better solution is reached? I have quite a few programs with horrendous icons, and it really takes away from the aesthetic of the home screen.
Again, all I'm asking is if there's a way to place a shortcut to an APK on the desktop, and preferably to customize that shortcut's icon, not the actual apps.
It is possible to edit .apk's and change the icons. Just look at the forum for theams.
http://forum.xda-developers.com/forumdisplay.php?f=450
soundwire said:
It is possible to edit .apk's and change the icons. Just look at the forum for theams.
http://forum.xda-developers.com/forumdisplay.php?f=450
Click to expand...
Click to collapse
Well, I know that the icons can be edited in a theme, but can non-stock icons be edited as well?
And also, my concern with that is that it seems like a lot of work to update a theme everytime a new app appears on the market. I'm a little OCD, so if I were able to change all the icons on my home screen, I would want them all to be absolutely uniform (like the themes' icons are). However, if a new, super-useful app were to appear on the market, and I absolutely needed it on my home screen, it would seem much easier to simply add an image to my phone, and make a shortcut using that image, than to have to edit an APK, resign the entire package, and reflash the phone each time. While I know my way around the G1, and I'm comfortable with basic rooting, I am by no means a developer, and just like most G1 users, I would probably be more comfortable making shortcuts than updating firmware.
Do you understand where I'm coming from?
I too, would also like to know how to change "non-stock" app icons. Bump.
jayaustn said:
Well, I know that the icons can be edited in a theme, but can non-stock icons be edited as well?
And also, my concern with that is that it seems like a lot of work to update a theme everytime a new app appears on the market. I'm a little OCD, so if I were able to change all the icons on my home screen, I would want them all to be absolutely uniform (like the themes' icons are). However, if a new, super-useful app were to appear on the market, and I absolutely needed it on my home screen, it would seem much easier to simply add an image to my phone, and make a shortcut using that image, than to have to edit an APK, resign the entire package, and reflash the phone each time. While I know my way around the G1, and I'm comfortable with basic rooting, I am by no means a developer, and just like most G1 users, I would probably be more comfortable making shortcuts than updating firmware.
Do you understand where I'm coming from?
Click to expand...
Click to collapse
I have yet to try this, but (provided you have root), you should be able to use adb to pull the apk for an app off your phone, edit it as described, and push it back to the same place. I will give this a go tomorrow, as I'm rather sleepy, and it's probably not a good thing to mess about with superuser stuff when I can't think straight.
If there's any flaws in my theory, I'd be happy to hear them.
RE: Changeing Icons!
I have a video on you tube on how to change icons. Here it is!
http://www.youtube.com/watch?v=AjnV_d9b22E
Hope you enjoy and your able to Change Your Icons.
Good Luck!
bms122223 said:
I have a video on you tube on how to change icons. Here it is!
http://www.youtube.com/watch?v=AjnV_d9b22E
Hope you enjoy and your able to Change Your Icons.
Good Luck!
Click to expand...
Click to collapse
Video doesnt show you how to change "non-stock" app icons, only icons for the original apps.
Well, I kind of figured out how to change the non-stock icons. But got stuck at the end...here's what I did...
1) Install/Open Astro.
2) Back up the app you want to change the icon for.
3) Grab that backup apk file off of your sdcard and put it on your computer.
4) Open it with Winrar.
5) Go to the proper folder and drag your new icon into the folder.
6) Close Winrar and move the apk back to your sdcard.
...this is where I get stuck, I know the icon changed because I can see it when I TRY to install the app. But the app doesnt want to install, it says "install unsuccesful". I'm guessing it needs to be signed?
I have used astro as well, I even signed the apk the same way I sign themes and no luck.
ultra spikey said:
Well, I kind of figured out how to change the non-stock icons. But got stuck at the end...here's what I did...
1) Install/Open Astro.
2) Back up the app you want to change the icon for.
3) Grab that backup apk file off of your sdcard and put it on your computer.
4) Open it with Winrar.
5) Go to the proper folder and drag your new icon into the folder.
6) Close Winrar and move the apk back to your sdcard.
...this is where I get stuck, I know the icon changed because I can see it when I TRY to install the app. But the app doesnt want to install, it says "install unsuccesful". I'm guessing it needs to be signed?
Click to expand...
Click to collapse
You're real close; once you replace the icon you need you need to delete META-INF folder then zip it back up, rename file extension to .apk and sign it with the test keys like the stock .apk. The META-INF is where the signature info is kept from the original author, you need to delete this so it doesn't conflict with the test keys.
Geo411m said:
You're real close; once you replace the icon you need you need to delete META-INF folder then zip it back up, rename file extension to .apk and sign it with the test keys like the stock .apk. The META-INF is where the signature info is kept from the original author, you need to delete this so it doesn't conflict with the test keys.
Click to expand...
Click to collapse
I will that a try. So this also mean that if author updates .apk file we will not be able to install update? Similar to google RC30 updates, we have to wait for JF to modify it.
johnowa636 said:
I will that a try. So this also mean that if author updates .apk file we will not be able to install update? Similar to google RC30 updates, we have to wait for JF to modify it.
Click to expand...
Click to collapse
Agreed; this might be a problem.
I mean, opening up the APK files is definitely a start, but it seems the shortcut approach I mentioned earlier is just so much easier. Shortcuts would allow basic users to change icons effortlessly and without fear of ruining the app, and the process could be just as easy as Bookmark 2, if a developer took charge, no?
ultra spikey said:
Well, I kind of figured out how to change the non-stock icons. But got stuck at the end...here's what I did...
1) Install/Open Astro.
2) Back up the app you want to change the icon for.
3) Grab that backup apk file off of your sdcard and put it on your computer.
4) Open it with Winrar.
5) Go to the proper folder and drag your new icon into the folder.
6) Close Winrar and move the apk back to your sdcard.
...this is where I get stuck, I know the icon changed because I can see it when I TRY to install the app. But the app doesnt want to install, it says "install unsuccesful". I'm guessing it needs to be signed?
Click to expand...
Click to collapse
i would like to verify that this method works to change non-stock apps without pushing files or inserting apps into updates. i used 7zip but i'd imagine winrar will work fine as well. just remember to delete the entire metainf folder, not just its contents. once you have your .apk, re-sign it using stericson's auto-sign utility and you'll be able to install the app through astro.
i should also note that i deleted all instance of the unmodified app from my sdcard. i uninstalled it and deleted the backup on my sd card. this may or may not be necessary, but i just wanted to take precautions.
I've given this method a try, and it seems simply too complicated for a moderate user like me. Wouldn't the shortcut method I mentioned be so much easier to quickly change home screen icons? Would any of the developers on this forum be interested in throwing such an app together? I'd gladly donate some money if a good app was able to take care of this problem.
what are you having trouble with, exactly? i'm far from an advanced user myself, but this is probably one of the easier things to do on the g1, probably second to flashing themes.
though i will say that there are a few apps that i can't change icons for. chomp and cubik have installed but force close when opened.
i have a feeling it's something to do with the signing the apk's, but like i said, i'm not an advanced user at all.
TruLuvNvrDies said:
what are you having trouble with, exactly? i'm far from an advanced user myself, but this is probably one of the easier things to do on the g1, probably second to flashing themes.
though i will say that there are a few apps that i can't change icons for. chomp and cubik have installed but force close when opened.
i have a feeling it's something to do with the signing the apk's, but like i said, i'm not an advanced user at all.
Click to expand...
Click to collapse
I opened up the APK using WinRAR, replaced the icon.png with my icon of choice, and then I'm stuck. I known I have to auto-sign the APK, but am not exactly sure how. I have Stericson's auto-signer tool, and used command 4 to manually enter the APK path, but once I do that I get a bunch of errors. If need be, I can copy down the exact error I get.
ultra spikey said:
Video doesnt show you how to change "non-stock" app icons, only icons for the original apps.
Click to expand...
Click to collapse
Nice video!
jayaustn said:
I opened up the APK using WinRAR, replaced the icon.png with my icon of choice, and then I'm stuck. I known I have to auto-sign the APK, but am not exactly sure how. I have Stericson's auto-signer tool, and used command 4 to manually enter the APK path, but once I do that I get a bunch of errors. If need be, I can copy down the exact error I get.
Click to expand...
Click to collapse
you probably need to delete the contents of the meta-inf folder. there should be three files in there, delete them all. if you extracted the contents of the .apk, zip them back up with an .apk extension. if you didn't extract them, you're at the last step, which is to re-sign the .apk. you don't actually need to manually re-sign the file through the console on stericson's re-signer. just right-click the .apk file and at the very top, there should be an option that says "resign .apk". click on that and your app will be re-signed and ready for an install attempt.
though, as i said before, this method is not 100%. of the 6 apps that i modified so far, i was only successful with 4 of them. even if you do all of the steps correctly, you might not have a working app at the end. the apps will install but will automatically force close when launched. i don't know what causes this, actually, and any suggestions would be appreciated.
I agree with the OP, while it is easy enough to edit the apks, resign them, copy them back onto your phone it would be far more elegant (IMHO) if you could have an application that allowed you to copy "Icon Packs" onto your SDCard, and then add links to applications on your home screen giving you a choice of icons from the aforementioned "Icon Pack".
Theme developers could then distribute the "Icon Pack" with the theme, and end users could easily add custom icons to your home screen from your phone without having to mess about on a PC.
liamw said:
I agree with the OP, while it is easy enough to edit the apks, resign them, copy them back onto your phone it would be far more elegant (IMHO) if you could have an application that allowed you to copy "Icon Packs" onto your SDCard, and then add links to applications on your home screen giving you a choice of icons from the aforementioned "Icon Pack".
Theme developers could then distribute the "Icon Pack" with the theme, and end users could easily add custom icons to your home screen from your phone without having to mess about on a PC.
Click to expand...
Click to collapse
So what everyone wants is Anycut that can do custom icons.

change search button to recent apps (root required)

I know I looked at similar threads in other device forums so I apologize if I'm not giving proper credit here. I researched this months ago and figured I should post the solution that's been working for me with the ICS leaked roms.
(1) unzip the two attached files.
(2) use a root file explorer (I used Root Explorer) to navigate to /system/usr/keylayout and mount that directory as R/W.
(3) rename or backup the existing "sec_touchkey.kl" and "melfas-touchkey.kl" files.
(4) copy the unzipped files into the directory overwriting the existing files (if you haven't renamed them).
(5) reboot.
You can obviously hold the home key to get the same result, but I find this more useful.
This approach can obviously be refined (only one file is probably necessary) or scripted, but I haven't had a chance to do either.
Thanks..but app swither can be launched from lockscreen..its kinda bug?
Sent from SPH-D710 using Tapatalk
Also, try this app. It's not in the market anymore...not sure why not, still works great for me and it's awesome! I use it to switch my search & menu keys since you hit menu waaay more often yet search is the closest to your thumb! (at least if you're right handed it is )
I hope this upload works...I didn't know for sure how to do it - I emailed myself my titanium backup saved info and one of the things it sent was this .apk file...so I'm pretty sure this is all you need. Let me know if it doesn't work, if you try to install it.
DutchDogg54 said:
Also, try this app. It's not in the market anymore...not sure why not, still works great for me and it's awesome! I use it to switch my search & menu keys since you hit menu waaay more often yet search is the closest to your thumb! (at least if you're right handed it is )
I hope this upload works...I didn't know for sure how to do it - I emailed myself my titanium backup saved info and one of the things it sent was this .apk file...so I'm pretty sure this is all you need. Let me know if it doesn't work, if you try to install it.
Click to expand...
Click to collapse
Parsing error on this. Not sure what happened but won't install.
Thanks to OP for posting this! Great Mod!
LudoGris said:
Parsing error on this. Not sure what happened but won't install.
Thanks to OP for posting this! Great Mod!
Click to expand...
Click to collapse
Wow...sorry about that...I was in a hurry leaving work but wanted to get the apk posted...here's the right one: http://db.tt/kL5cLEGm
Hope this one works...its a pretty tight app.
mgb95 said:
...
(2) use a root file explorer (I used Root Explorer) to navigate to /system/usr/keylayout and mount that directory as R/W.
(3) rename or backup the existing "sec_touchkey.kl" and "melfas-touchkey.kl" files.
(4) copy the unzipped files into the directory overwriting the existing files (if you haven't renamed them).
...
Click to expand...
Click to collapse
beautiful, works great on FF11, love the mod, many thanks!!
DutchDogg54 said:
Wow...sorry about that...I was in a hurry leaving work but wanted to get the apk posted...here's the right one: http://db.tt/kL5cLEGm
Hope this one works...its a pretty tight app.
Click to expand...
Click to collapse
Error on your dropbox ... I been looking for the app. Didn't think it got pulled anyways what's the name of the app? I'll just look for it SOMEWHERE
Sent from my SPH-D710 using xda premium
here is the version that isn't in the market. i also included a link to the new version of it in the market because its now a paid app called launchkey. the older one is called button remapper. i'm sure the new one prolly had way more options, not too sure.
https://play.google.com/store/apps/details?id=com.beansoft.launchkey
Can anybody find launchkey? Its not in the market
Sent from my SGH-T839 using xda app-developers app
will this work on CM9?
I was wanting to re-map a couple scripts to the search button, like a tx-power switch for higher at home and lower when away, but got sidetracked on other stuff. The button-remapper app I've used and didn't have any problem with it. As for recent apps, it seems a bit moot when long-pressing on home does the same, right?
Sent from my SPH-D710 using xda app-developers app
mgb95 said:
I know I looked at similar threads in other device forums so I apologize if I'm not giving proper credit here. I researched this months ago and figured I should post the solution that's been working for me with the ICS leaked roms.
(1) unzip the two attached files.
(2) use a root file explorer (I used Root Explorer) to navigate to /system/usr/keylayout and mount that directory as R/W.
(3) rename or backup the existing "sec_touchkey.kl" and "melfas-touchkey.kl" files.
(4) copy the unzipped files into the directory overwriting the existing files (if you haven't renamed them).
(5) reboot.
You can obviously hold the home key to get the same result, but I find this more useful.
This approach can obviously be refined (only one file is probably necessary) or scripted, but I haven't had a chance to do either.
Click to expand...
Click to collapse
Just did this on a TW ROM. Freakin awesome. Smooth and quick!
Sent from my SPH-D710 using xda app-developers app
Can you hold menu to get a menu or how do you get to menu's after install?
NVM! I just realized this changes the search key not the menu key
Roundtableprez said:
Can anybody find launchkey? Its not in the market
Click to expand...
Click to collapse
The full version appears to have disappeared off the face of the earth, but the lite version is available here: http://forum.xda-developers.com/showthread.php?t=818499
And a version of buttonremapper here: http://forum.xda-developers.com/showthread.php?t=850464
Well, I didn't find either of those apps useful, but this mod is working great, thanks! I love it!
to make things easy without remapping most 3rd party launchers offer gestures to accommodate your need of app switching and menu swapping
Thanks for this worked guna try out app posted too

Anyone got a link to a flashable mod for extended power menu with screenshot option?

Just installed HenseMod 7 and it has no screenshot option on the power menu. Does anyone have a link to download a flashable mod for it?
Just get screenshottr or equivalent from the market.
-----------
"You can overclock as much as you want, your phone will always seem too slow."
omnomnomkimiiee said:
Just get screenshottr or equivalent from the market.
-----------
"You can overclock as much as you want, your phone will always seem too slow."
Click to expand...
Click to collapse
Already have a screenshot app, haven't installed it though, would prefer to use something more built-in.
Use this. http://forum.xda-developers.com/showpost.php?p=26170987&postcount=63
Just replace those files with some file manager(Total commander) and add attached two lines to build.prop. Reboot.
miso00 said:
Use this. http://forum.xda-developers.com/showpost.php?p=26170987&postcount=63
Just replace those files with some file manager(Total commander) and add attached two lines to build.prop. Reboot.
Click to expand...
Click to collapse
Assuming the APK goes in /system/app, the .so file goes in system/lib?
If so, just tried that, modifided build.prop and rebooted and... no screenshot option.
You did it right. This dont add option to power menu. You must press power and home button. POWER button + HOME button = screenshot.
miso00 said:
You did it right. This dont add option to power menu. You must press power and home button. POWER button + HOME button = screenshot.
Click to expand...
Click to collapse
Still doesn't work. I would prefer the screenshot option on the power menu. I have seen a thread where you have to decompile a couple of files and edit them, recompile and overwrite them, and then reboot... I just wondered if there was a flashable mod that will install via CWM or similar.
Maybe it doesnt work because of HenseMod. I am using it on stock ROM without problem. Did you mount system to write and set RW permissions ? Files must be replaced correctly. Look into build.prop if it contain necesary lines for screenshot service.
miso00 said:
Maybe it doesnt work because of HenseMod. I am using it on stock ROM without problem. Did you mount system to write and set RW permissions ? Files must be replaced correctly. Look into build.prop if it contain necesary lines for screenshot service.
Click to expand...
Click to collapse
Yes, otherwise I couldn't have overwritten the files in the first place. The lib file existed, so overwrote it. the APK did not exist, so added it to /system/app. Build.prop did not contain any lines for screenshots, so I added the single line from the text file (the first line is just a comment and not needed). Rebooting was normal, but there was no change in functionality afterwards... pressing Power + Home did not do anything.
I think ROM must contain this APK file. In stock ROM this APK file exists. I just replaced it. So this is a problem, probably. If HenseMod do not contain this APK it shouldnt work.
miso00 said:
I think ROM must contain this APK file. In stock ROM this APK file exists. I just replaced it. So this is a problem, probably. If HenseMod do not contain this APK it shouldnt work.
Click to expand...
Click to collapse
The APK wouldn't work with the package installer either... so its definitely meant to be just placed in /system/apps.
On another note, I've managed to grab the APK for screenshots from another CM7 ROM, and it has installed, but no new menu options anywhere, nor is it visible in my app drawer. Link2SD lists it as installed though. Also put the screenshot binary file in /system/bin just in case it was needed, but nothing has changed there either.
That cm7 apk wont work because it needs to be hardcoded in the framework.
Just use a market app, way easier.
Ask tigger for help if you cant get his screenshot script to work.
Btw: i wont add id in, this rom is finished, no more support for it.
Im busy on other things.
Sent from my WFS
No worries, its working now, not sure why cos I did exactly the same as before. Oh well. Great ROM!
Posted from Android 2.3.5
miso00 said:
Use this. http://forum.xda-developers.com/showpost.php?p=26170987&postcount=63
Just replace those files with some file manager(Total commander) and add attached two lines to build.prop. Reboot.
Click to expand...
Click to collapse
thanks buddy..its awesomee and really works very good..
miso00 said:
I think ROM must contain this APK file. In stock ROM this APK file exists. I just replaced it. So this is a problem, probably. If HenseMod do not contain this APK it shouldnt work.
Click to expand...
Click to collapse
strange but wildfire s has screenshot ability.you no need to overwrite apk or lib.
just add build.prop and it worked.
i dont know why htc dont just add two lines.because of that we had to suffer long time for this inbuilt feature.

Xperia Z Gallery and Movies apk

I posted this because surprisingly I have not seen this post for our nexus 4. Thank this awesome guy from xda for creating this for all devices!!! Here's the link to his post and also here's some snapshots
http://forum.xda-developers.com/showthread.php?t=2143860
Oh if you didn't know you can pinch to zoom to do this awesome zoom effect. Try it out!! You have to flash through twrp or cwm. It will install the xperia launcher as well so if you want that aligned perfectly you have to edit your build prop. How to do that?
Easy!!
1st download es file explorer (its free)
2nd when you open es file explorer hit the menu key and tap settings
3rd scroll all the way down and click root settings and check all the boxes.
Now that you've done that, hit back until you get to a sign that pops up and says "press again to exit" then don't exit obviously.. You've just got full access to your files!! Meaning be careful which system files you touch! You only need to modify one. Trust me. It sounds hard but is a lot less complicated. Simply navigate to system/ then go all the way down to build.prop. simply tap on it and click es note editor. Then locate " ro.sf.lcd_density=320" then simply change the 320 to 340 and save. It will automatically create a back up build prop for you. Here's where you really need to watch out. Make sure after your done editing and saving your build.prop you TAP AND HOLD build.prop and scroll all the way down to properties and tap it. Then tap change and check all the boxes on the left and below write tap the top middle box. If your confused I posted a pic below... What your are doing here is setting permission to the file you just modified. Then now that you just set permission your good to reboot!!! After you reboot you just flash jb gapps and clear cache and dalvik cache. And your launcher is perfectly set. If you did not fix permissions the way the pic looks you won't boot up at all you'll only be able to fastboot. That's why I say its important to follow step by step. Also the reason I say flash gapps is because if you don't you won't be able to install certain apps in the play store (it'll say device not compatible). No more misaligned launcher!! If your don't like the launcher simply use titanium backup to remove it or search through file explorer. Bye all!!
Sent from my Nexus 4 using xda app-developers app
Cool.
[NEXUS⁴] [CARBON1.6] [MATR1X8] [TWRP]
If I remember from the Nexus 7 forums correctly, changing your build prop will cause future Android update to fail during installation. This looks awesome though.
It may cause problems with installation with modified changes
But that would just require you to go back to stock with our recovery tool. I never update my ROM straight through a custom rom. Or simply use your "back up build.prop" that I mentioned es explorer does automatically for you and rename that back up back to build.prop then delete modified build.prop. Of course always make sure you set your permissions even on the back up !
Sent from my Nexus 4 using xda app-developers app
dEris said:
Cool.
[NEXUS⁴] [CARBON1.6] [MATR1X8] [TWRP]
Click to expand...
Click to collapse
Thanks
Sent from my Nexus 4 using xda app-developers app

Odex ANY touchwiz ROM for the GN2 #moreperformance

“ADMIRAL WILL YOU PLEASE COLOR CODE THAT WALL OF TEXT?” – why yes I will.
GREEN = Informational stuff about what we are doing.
BLUE = Instructions for process
RED = IMPORTANCE, PLEASE DO NOT DISREGARD
BLACK = not too important
PINK = very manly
####################################################################
DISCLAIMER – THIS WILL IMPROVE PERORMANCE (again…lolllll) AND FURTHER AND FARTHER OPTIMIZE YOUR DEVICE, SAVE STORAGE SPACE ON YOUR INTERNAL SD, AND PUT YOUR /SYSTEM/FRAMEWORK DIRECTORY AND ALL CONTENTS ON THE MOST POTENT ANABOLIC STERIODS KNOWN TO MAN. I AM NOT RESPONSIBLE IF/WHEN YOU FINISH READING THIS THREAD YOUR DEVICE RUNS OFF WITH YOUR GIRLFRIEND/WIFE/FAMILY/JOB BECAUSE IT IS NOW MORE “MANLEY” THAN YOU (see wut I did there…manley..rofl…).
####################################################################
Ok on to the serious part….
First, why odex? And what does it mean?
1.Odexing has the following benefits: Saves space in your /data directory, speeds up boot times SLIGHTLY, boosts loading of apps (in this case the apps that compose your framework), zip aligns framework and corresponding .odex files, reduced CPU cycles by optimizing framework.
2.So what is an “odex” file? Android applications similar to zip files. APK stands for “android package” and all of them contain java code, which is the second language in android aside from Linux. This code speaks to the device to execute operations that in turn speak to other system files, then ultimately the kernel, hardware, etc etc etc… we’ll not get into that. Java code is packed into a file within the APK called a “classes.dex” file and this file is parsed (copied) by the dalvik JVM and a cache of the processed classes.dex file is stored in the device’s /data/dalvik-cache directory.
An odex file is basically an already processed version of the classes.dex file that is “execution ready” for Dalvik. When xxxx application is “odexed”, the classes.dex is removed from the APK entirely and the information is converted to an odex file, and stored aside its owner APK (or in this case framework file). So rather than have two copies of the same file, and in different locations, you have one copy of that file, in the same location of the APK, all ready to go, and therefore making it more optimized for access by you – the user.
The benefits of doing this are tremendous! I have been doing this to all of my ROMs since I can remember. This process is detailed, but simple, just read carefully. I outlined the directions as simple and clear as I possibly could
On to the fun part>>>>>
FIRST, BEFORE YOU CONTINUE, BEAR IN MIND I DO NOT CURRENTLY HAVE A SCRIPT MADE TO UNDO THIS MOD, ONCE IT IS DONE, IT IS DONE! IT IS SAFE, HOWEVER, JUST FOLLOW DIRECTIONS CAREFULLY!
ALSO, MAKE SURE YOU ALREADY HAVE YOUR FAVORITE THEME INSTALLED! I WILL NOT BE RESPONSIBLE IF YOU APPLY THIS MOD THEN TRY TO FLASH XXXXX THEME AND GET CAUGHT IN A BOOT LOOP BECAUSE YOU COULDN’T DECIDE IF YOU WANTED GREEN OR BLUE BATTERY ICONS THEN CHANGED YOUR MIND ABOUT IT AFTER DOING THIS…..just don’t waste your time posting in this thread if you do that. But if you MUST bother such a story, here is your answer to the problem… “flash your ROM again, no need to wipe data, your device will boot now”############
Instructions:
1.Download Terminal emulator and FX file explorer and FX root add on from market.
2.Download the zip file at the end of this post named “odex.zip” to your device.
3.Open FX file explorer, find the odex.zip file, long press on it and select “open with” then select “Archive Extractor” then hit “extract here”
4.After it is done, you will then find a folder named “odex” in the same location of the downloaded “zip” version. Llong press on that folder and select copy
5.Navigate to the home screen of the FX file app, and select the red system logo (this is the one that allows you to explore as root.
6.Navigate to /data/local/tmp, when you get to tmp, select the icon at the top right corner of the app that says “clipboard” and paste the folder into /data/local/tmp
You should now have a folder there named “odex”
7.Long press on the folder, select “permissions” and check ALL of the 3 boxes for Read, Write, and Exec(ute)… if you have done this successfully the bottom left of that little popup window for setting permissions should say 0777, hit “ok” to commit the changes.
8.Now go into the odex folder, and inside of it repeat step 7 for ALL 5 files. They should all have FULL permissions.
9.After that is done, hit back until you are at the root directory, seeing “System (Root)” at the top of the FX file window with the red box with a # symbol inside of it. You’ll notice as well, the top right corner there is a yellow lock icon, inside a green box. We need that to be red, with an “unlocked” lock icon. Select it, and disregard built in FX file warning about how the world is going to end etc etc etc if you don’t know what you are doing – you know what you are doing, so no worries. If it is already red and “unlocked” then awesome, skip to step 10.
10.Scroll down a bit, and you will see “system” folder, this is your system directory. Go in there, and again make sure we are “red” and “unlocked” in the top right corner. You are a savage animal at this point, on a mission. Your device needs optimizing, disregard doomsday warnings about the T1000 enslaving the human race and how your brother will likely turn into a cylon if you unlock your /system directory (or make it read/writable… which is all this is doing)
NOW! The really fun part. You got your favorite theme? Sweet. Got your odex files all cocked and ready to rock? Check. Got your kids addicted to Teletubbies in case you mess up your ***t and you need like an hour to fix it?!?! Kidding… that won’t happen…
FIRST BEFORE YOU CONTINUE!!!!! PUT YOUR DEVICE INTO AIRPLANE MODE!!!!!!! You do not want to get a phone call or something while this script is executing. Interruptions will be rude and unkind… Please follow this instruction, please. For the love of the last terrible terminator movie.
11.Open terminal emulator, and type the following commands WITHOUT the quotes, hitting enter after each line:
“su” (if it asks for super user permission, grant it, obviously, if it doesn’t ask, you have already granted it)
“/data/local/tmp/odex/odex”
About 8.7 seconds later, it should be done, and you will see a little message saying “reboot to recovery and wipe cache and dalvik cache one more time” at the very end.
12.Hold power button, select “reboot options” then “recovery” hit ok, boom. If you don’t have that neat little modification to your android.policy.jar file, then power off, and boot into recovery by holding the volume up, home, and power button. In that order, until you see something on your screen. If you are NOT RUNNING EXT2… meaning you are not running Malicious ROM and/or you have not used my ext2 modificaitons…. Then simply type “reboot recovery” in terminal emulator, hit enter, and skip all the previous crap in “12”… “but then y u no say that first admiral?” … “Don’t question me son, it is for the good of the nation and humanity, and noobs who would read “oh ok reboot recovery BOOM” then they corrupt a file somewhere because of an unclean shutdown and are back at step -1 of this entire instruction which is restoring their backup… if they were pansy enough to make a backup. The admiral is manley, he has no use for backups. But he also knows what to do in case he needs one and doesn’t have one, cadet.”
ALSO IMPORTANT!!!!! Before you wipe dalvik cache again from recovery… if you are running my ext2 modification for /system /data/ and /cache…. MAKE SURE YOU VERIFY “THE BOX” is checked in twrp settings… you know which one I am talking about at this point. lol. It is the “format with yadda yadda rm command”
Wipe dalvik cache from recovery once more, then reboot the device.
DONE! Your ROM is now odexed!
-Admiral
http://db.tt/na11Ma9L
Another may mod. I'm not the only one who enjoys odexed. I was actually going to make the next release odexed... or was at least tossing the idea around in my head
Sent from my SGH-T889 using xda app-developers app
kintwofan said:
Another may mod. I'm not the only one who enjoys odexed. I was actually going to make the next release odexed... or was at least tossing the idea around in my head
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
Well now you can.
I'm a firm believer in odexing. Most efficient way to run. I'm all about efficiency
Sent from my SM-N900T
Is tweaked odexed?
Sent from my SGH-T889 using xda premium
Tweaked is not odexed by default. You can find out if the ROM you are running is odexed or not by going to /system/framework with a file explorer. If you see a bunch of files in there with ".odex" tags on the tail end of them, then it is odexed.
If they are not there, then it is not odexed.
Sent from my SM-N900T
AngryDinosaur said:
Is tweaked odexed?
Sent from my SGH-T889 using xda premium
Click to expand...
Click to collapse
Non if the custom ROMs are odexed. It's more of a stock thing
Sent from my SGH-T889 using xda app-developers app
Alright
Sent from my SGH-T889 using xda premium
I keep getting this
Sent from my SGH-T889 using xda premium
Can we Odex our roms with XPosed framework mod installed? Or can we only Odex the apps and not system? Thanks a bunch for sharing.
Noellenchris
noellenchris said:
Can we Odex our roms with XPosed framework mod installed? Or can we only Odex the apps and not system? Thanks a bunch for sharing.
Noellenchris
Click to expand...
Click to collapse
you can odex any framework with this...
Not sure what you mean by the second part of your question, though. This is odexing your framework... which is found in /system ...?
ezsoulja said:
I keep getting this
Sent from my SGH-T889 using xda premium
Click to expand...
Click to collapse
For some reason it is thinking you are trying to execute a folder? And not a file?
Not cutting or flaming you in any way, but this is a user error. You typed the command properly, and everything looks like it SHOULD have executed. Go back to the step where you are moving the odex folder to the /data/local/tmp directory, make sure you did everything correctly, and retry.
Admiral Sir Manley Power said:
you can odex any framework with this...
Not sure what you mean by the second part of your question, though. This is odexing your framework... which is found in /system ...?
For some reason it is thinking you are trying to execute a folder? And not a file?
Not cutting or flaming you in any way, but this is a user error. You typed the command properly, and everything looks like it SHOULD have executed. Go back to the step where you are moving the odex folder to the /data/local/tmp directory, make sure you did everything correctly, and retry.
Click to expand...
Click to collapse
i made sure of it, i extracted the folder to the tmp folder and changed the odex folder 1 and 2 to 777 and all the files inside the 2nd odex folder and had both the root of the system and folder unlocked with the red icon. im not sure what could else be missing. im on tweaked 2.4.1 btw
ezsoulja said:
i made sure of it, i extracted the folder to the tmp folder and changed the odex folder 1 and 2 to 777 and all the files inside the 2nd odex folder and had both the root of the system and folder unlocked with the red icon. im not sure what could else be missing. im on tweaked 2.4.1 btw
Click to expand...
Click to collapse
Why do you have two odex folders?
Sent from my SGH-T889 using Tapatalk 2
Admiral Sir Manley Power said:
you can odex any framework with this...
Not sure what you mean by the second part of your question, though. This is odexing your framework... which is found in /system ...?.
Click to expand...
Click to collapse
With XPosed installed it can modify the framework, I'm afraid if I odex the framework, the xposed add on will crash my system. There is also an application on XDA called "Odex Me" which only Odex's the Applications and not the framework, that's what I was talking about in my second part of the question. I suppose I can do a backup and give it a go and see what xposed does.
Also Xposed also does other system mods other than framework. So it may only disable the framework modding portions after I odex the framewok.
Noellenchris
Admiral Sir Manley Power said:
Why do you have two odex folders?
Sent from my SGH-T889 using Tapatalk 2
Click to expand...
Click to collapse
For some reason when I extracted it, that's the way it came.. So it's basically just like the line says /data/local/tmp/odex/odex
EDIT: just removed one of the odex folders from within the odex folder and transfered the files to the first folder and everything worked from that point on..
Sent from my SGH-T889 using xda premium
noellenchris said:
With XPosed installed it can modify the framework, I'm afraid if I odex the framework, the xposed add on will crash my system. There is also an application on XDA called "Odex Me" which only Odex's the Applications and not the framework, that's what I was talking about in my second part of the question. I suppose I can do a backup and give it a go and see what xposed does.
Also Xposed also does other system mods other than framework. So it may only disable the framework modding portions after I odex the framewok.
Noellenchris
Click to expand...
Click to collapse
You'll be fine.
Go ahead and do it. Just make a backup of your /system if you wanna be safe, that's what they are there for
The DL link isn't working
Edit: Got it downloaded and working thanks for the odex man.
P.S What can be modified without messing up the odex for example will xposed framework modules cause the rom and odex to have complications. Thanks in advance
Sent from my SGH-T889 using xda premium
gonnapushthru06 said:
The DL link isn't working
Edit: Got it downloaded and working thanks for the odex man.
P.S What can be modified without messing up the odex for example will xposed framework modules cause the rom and odex to have complications. Thanks in advance
Sent from my SGH-T889 using xda premium
Click to expand...
Click to collapse
It may or may not. Honestly, either way it will require a little bit of work on your part after you flash it (assuming it actually boots, but it should...)
Just, best thing to do, like I said in the OP... Is flash your themes first, then odex. It will save you from the extra headaches and work trying to do the process in reverse.
Admiral Sir Manley Power said:
You'll be fine.
Go ahead and do it. Just make a backup of your /system if you wanna be safe, that's what they are there for
Click to expand...
Click to collapse
I've odex'd and it seems fine with xposed, after reading info on xposed they say it works on deox and odex roms, and it's running smooth. For some reason the screen appears brighter and sharper, probably some mod is not working but either way it is smooth and placebo maybe but looks great. Thanks again. I've done this in the past, but never to the system, just apps.
Noellenchris

Categories

Resources