[FIX] CM9, AOKP DPI issues... SOLVED! - T-Mobile Samsung Galaxy S II SGH-T989

Hello guys!!! After just receiving my amazing SGS2 i began flashing ROMs like a maniac just like any other of my phones xD and i was beginning to greatly fall deeply in love with both CM9 and AOKP but one thing which just really got under my skin was the DPI issues. Well ive done a bunch of research and i believe if you follow my steps all issues will be gone
Firstly, DO NOT SET DPI TO 160!!!!!!!
You must use a DPI of 161 or higher. I use 162.
Why? Well its cause anything lower and ICS thinks the phone is actually a tablet. Which is where a lot of the issues lie. But anyhow to the fix!
Easiest and permanent fix:
MARKET FIX
1. Download LCD Density Modder Pro from the market.
2. Set your desired DPI level
3. Click "Save as system DPI" allow device to reboot.
4. Once rebooted open up LCD Density Modder Pro again
5. Click "Fix Market Compatibility Issues"
6. Download both Modded play store AND GSF apk
7. Follow instructions....
8. Install both mods.
9. After a reboot everything should be working grand
PHONE FORCE CLOSE FIX
1. Simply visit ME and follow that thread to fix the phone. I used the latest phone.apk and have no issues
****VERY IMPORTANT FINAL STEP****
REBOOT TO RECOVERY, SELECT ADVANCED, SELECT FIX PERMISSIONS, REBOOT SYSTEM and enjoy!
Fix without LCD Modder Pro (For those who are cheap xD)
1. Change DPI using LCD Modder or editing build.prop
2. Download "hacked" market from attachment (I just googled this from when i had my HD2)
3. Using a root explorer or adb, navigate to /system/app and check to see what your market name is (Mine was Phonesky.apk) not sure if its universal though.
4. Rename attached file to whatever your market file is if not already Phonesky.apk
5. DELETE old Phonesky.apk
6. Copy the attached file to the /system/app directory
7. Reboot to recovery, and once again FIX PERMISSIONS (See above for a how to)
Well both methods work swell for me Its just the second method doesnt stick forever, and after awhile you must go into "Apps" setting and Clear the market cache. I guess there is something with the GSF mod that makes it stick. Not sure. But everything is working for me now and im a happy camper!
Any issues, feel free to post in here or PM me thanks all for looking! AND OF COURSE! HIT THANKS TO ANYONE WHO HELPS YOU!

Related

[N2E][1.1] TouchNooter 2.1.31

This Nooter is officially supported by The Nooter Project for Nook Simple Touch​
I'm not adding certain things because I don't believe they should be available as part of a rooting kit designed to give users more control of their devices. Things such as additional readers or CPU Clocks are up to the user to install themselves and needlessly putting them in Nooter creates app bloat that a user may or may not want. You can always drop Apps you want into \nooter\data\app and they will install automatically when you root the device. This Nooter is designed with the sole purpose of opening up the possibilities of the device by giving users Root, Google Apps, and other Apps which make the device more usable as an android device than just an e-reader.
What it does:
Enables ADB via uRamdisk
Installs adbWireless
Installs Button Savior
Installs NookTouch Tools
Installs Amazon Marketplace
Installs su and Superuser.apk
Installs ADW + E-ink Friendly Theme
Installs Busybox & Busybox Installer/Uninstaller
Installs Gapps (Gmail, Market, Youtube, Others)
Installs NookColor Tools (To Enable Non-Market Installs)
System Files that get Modified:
/system/build.prop - Enabling Google Check In
packages.xml - Allows Gapps to install properly.
framework.jar - Should allow a proper Android ID to generate.
Changes:
January 26, 2012 -
Tested Fix: ADW not installing - Caused by spaces in ADW's Filename in 2.1.26
Added: Amazon Marketplace, Opera Mini
January 26, 2012 -
Added: adbWireless, SuperManager (Root File Manager, APK Manager, other useful tools), Busybox Installer/Uninstaller
Untested Fix: Market 1 Day wait
Updated: busybox, ButtonSavior.apk, su & SuperUser.apk
November 20, 2011 -
Removed: GoLauncher, LiveWallPaper Picker, maybe some other stuff.
Added: New Market, ADW with Black Minimalist Theme, NookTouchTools.
New: Rooting Image
June 24, 2011 -
Removed: Multitouch Permission
Added: Modified framework.jar
June 22, 2011 - Fixed: Script not running at boot.
June 20, 2011 - Initial Release
Before you begin:
You must already have a registered Nook Simple Touch
You must have a Gmail/Youtube linked Account. IF you used a Gmail account for B&N Registration you should use that one for this process.
You must either have dd (Linux) or WinImage (Windows) software.
You must have an external microSDCard reader or this will not work. Using the Nook Simple Touch can result in it becoming unusable (bricked).
You must have enough intelligence to follow instructions.
Let's get started:
Download TouchNooter from here: touchnooter-2-1-31.zip - Uploaded
Linux: Unzip and use dd if=touchnooter-xx-xx-xx.img of=/dev/sdcard (where xx-xx-xx is the version number)
Windows: Unzip and use WinImage to "Restore Virtual Hard Disk Image" to your SDcard.
Windows Alternative: https://launchpad.net/win32-image-writer/+download
If you wish to use Underclocking follow these steps
Download Underclock.zip from uploaded attachments
Unzip it and place the data folder in /nooter/
Check that the com.antutu.CpuMasterFree folder is in the /nooter/data/data folder
Check that com.antutu.CpuMasterFree.apk is in /nooter/data/app
Power off your Nook Simple Touch.
Insert TouchNooter SDcard into your Nook Simple Touch.
Power on your Nook Simple Touch.
You should see the new TouchNooter boot screen, follow all instructions.
That was the hard part, now to the simple stuff.
Upon boot unlock your screen.
At the Android Welcome Screen skip Sign In.
Enable Location Services when given the option.
Connect to Wifi and launch Youtube from ADW's App Drawer (Or the App Drawer of your Choice).
Click the Menu button (The right one in the middle of the status bar).
Select "My Channel" and Login using your Gmail Account.
Exit Youtube and Launch Gmail from ADW's App Drawer.
Sync your Gmail Account and Exit. (If it fails to sync that is fine.)
At this time Market fails and you must wait up to a day. Just check it every so often. Future updates should fix this.
Open up Market and Accept Terms and Service.
If you made it this far your nook should be successfully Rooted. Go Download an App to make sure.
Enable Non-Market Installs by running the NookColor Tools App.
If your Youtube fails to launch Uninstall and Reinstall Youtube from /data/app
Go to Settings > Device Info > SdCard > UnMount > Format
Thanks To:
XorZone - NookTouchTools - http://forum.xda-developers.com/showthread.php?t=1289894 - Sorry, been busy, credit where credits due.
Torimu.Joji - For the configurations for CPU Master Free that allows simple automated underclocking
xevious - Kick starting my brain to get this update out
mali100 - modified framework.jar for 1.1
eded333 - Repackaged Gapps, the idea that may fix 1 Day Market Issue.
ros87 - uRamdisk
nemith - helping me figure out getting it to run at boot.
JesusFreke - For getting root.
MrMuffin - For the original Market Hack that we're using.
If I'm using an app in TouchNooter and you would like Credit/Thanks, or to have it removed, please PM me, otherwise I might not see your requests
Currently Working On: School
What's great info but are you going to still develop it to make gapps working?
domi.nos said:
What's great info but are you going to still develop it to make gapps working?
Click to expand...
Click to collapse
If I can find a way to do it without killing the device I will.
Works great
Hi
It works great, thanks.
Beside the full GApps do you know if there's a way today to get the Market working on a firmware 1.1 with TouchNooter 1.11.11 ?
ZeAuReLiEn said:
Hi
It works great, thanks.
Beside the full GApps do you know if there's a way today to get the Market working on a firmware 1.1 with TouchNooter 1.11.11 ?
Click to expand...
Click to collapse
Go through all the steps manually with something like noogie. The reason TouchNooter can't do it is because to get the script to run requires the the system to boot, replacing the files while the system is active will cause the system to crash when you go to reboot it to complete the steps for Market. Because of this to install Gapps you have to use a method that doesn't require the system to be active like Noogie.
Another method which would allow us to add Gapps, is if someone completed a version of CWM for Nook Touch.
Dear Gabriel,
somehow i gained working market on my Nook with 1.1. I used the older touchnooter with subplanted framework.jar and uRamdisk (wifi one). Then i've done all steps as in guide. Market however didn't saw any applications. I removed youtube app, and it started working! Then updated market to that one http://forum.xda-developers.com/showpost.php?p=15084704&postcount=51 using adb.
"adb install -r Vending.apk"
And right now i'm cool.
I've done the root for 1.1 manually, and it was a bit of a pain, so everybody should be thanking Gabrial here for streamlining the process a bit and not having to hunt down all the elements necessary to make a rooted Nook useful. (It's not actually difficult, but nobody has centralized *all* of the info even if much of it can be found in the Knowledge Base thread, including e.g. that you need Busybox even for something as simple as the cp command.)
domi.nos-
Is the -r switch for reinstallations any different than removing the old Vending.apk and then installing the new one? I still have not got market 100%; search won't work. Is it working for you? It's not really that big a deal because I only need a few apps but all the same it'd be nice...
Is it necessary to revert to original Nook ROM (the backup I've made before rooting the Nook Touch)?
No as a see it does not search. ;/ But in my opinion it is more important to find out why did my nook (any everyone elses' as i presume) disappear from pc market website.
But as i remember in the previous 1.01 software market couldn't do true way of searching, it was only showing most used searches.
This may sound dump, but I don't have a lot of knowledge with android yet.
This root is without any google apps, Can I download the google apps apks and install them on my device?
Dark_hawk,
From what I read from Gabrial, the only way to install Gapps if when nook is booting, and there is no safe way as from now. I'm still checking, though.
My experience so far? 1.1, touchnootered with 1.11.11, backup recovered with titanium backup pro (which worked quite well, I might add), and besides market, everything else is working?
I'm looking for info on how to install Gapps, or market at least, but no luck yet. Gabrial mentioned something about using noogie, but I don't even know where to look for Gapps version that may work on Nook STR>
(Hard method)
First, install this:
http://forum.xda-developers.com/showpost.php?p=19201466&postcount=352
Then try this, it should work:
http://nookdevs.com/NookColor:Manual_market_enable
and if search dosn't work, this:
http://forum.xda-developers.com/showpost.php?p=15084704&postcount=51
(Easy method)
Follow this guide:
http://www.mobileread.com/forums/showthread.php?t=156539
Read post 7, it explains how to do it easily.
How can I install Side-loaded APK?
I think, its dumb NB question... but I can not figure out, how I can install side-loaded APKs... I copied APKs to Nook but just not find a way to install them on nook... Is this something simple ? or not that simple as I think?
WORKS WITH 1.1.0 and gapps!
eded333 said:
(Hard method)
First, install this:
http://forum.xda-developers.com/showpost.php?p=19201466&postcount=352
Then try this, it should work:
http://nookdevs.com/NookColor:Manual_market_enable
and if search dosn't work, this:
http://forum.xda-developers.com/showpost.php?p=15084704&postcount=51
(Easy method)
Follow this guide:
http://www.mobileread.com/forums/showthread.php?t=156539
Read post 7, it explains how to do it easily.
Click to expand...
Click to collapse
The Easy method above worked perfectly with my new nook running 1.1.0.
all I would add is that I got search working in the market by toggling "allow non market apps" in Nook Tools app, then installing the vending.apk file from my sd card with ES file explorer as an application. just select yes when it asks you to replace system app.
To get ES file explorer to begin with, I scrolled thru the whole list of top free apps, which took awhile.
Apps that I was able to install and work:
ES file explorer, Facebook, Google reader, Google voice, XDA app, Opera mobile, Opera mini, Google+, Quickpic and Paint easy.
Thanks to everyone for all the hard work that made it easy for a N00b like me to root and customize my NST!
Orz-Orz said:
I think, its dumb NB question... but I can not figure out, how I can install side-loaded APKs... I copied APKs to Nook but just not find a way to install them on nook... Is this something simple ? or not that simple as I think?
Click to expand...
Click to collapse
+1 It seems ES File Explorer is not installed!
Well, I followed the recipe:
- Restored
- Resetted
- Updated to 1.1.0
- Touchnootered with 1.6.24 and framework and uramdisk for 1.1.0
- Three locked boots (at least 5 minutes each)
- When tried without SD, got back to regular nook!!!!
I did register, though, after reset. Would that make a difference???
Gotta try.
I've tried to install ESFile Explorer through browser but with no results. Besides, browser crashes when, for instance, I try to write something on google.
One way to side-load apk's
Orz-Orz said:
I think, its dumb NB question... but I can not figure out, how I can install side-loaded APKs... I copied APKs to Nook but just not find a way to install them on nook... Is this something simple ? or not that simple as I think?
Click to expand...
Click to collapse
The way I did it was to copy apk's to my SD card, then download a file explorer/manager app from the market (my personal favorite is ES file explorer), which allows you to view the contents of your SD card, and select apk's to install.
---------- Post added at 07:48 PM ---------- Previous post was at 07:32 PM ----------
apeine said:
Well, I followed the recipe:
- Restored
- Resetted
- Updated to 1.1.0
- Touchnootered with 1.6.24 and framework and uramdisk for 1.1.0
- Three locked boots (at least 5 minutes each)
- When tried without SD, got back to regular nook!!!!
I did register, though, after reset. Would that make a difference???
Gotta try.
Click to expand...
Click to collapse
It sounds like you did it the exact same way I did. Just to make sure did you delete the old Framework and uramdisk files, then copy/rename their replacements to match the original files? i.e. framework.jar and uRamdisk
---------- Post added at 07:51 PM ---------- Previous post was at 07:48 PM ----------
myself11 said:
I've tried to install ESFile Explorer through browser but with no results. Besides, browser crashes when, for instance, I try to write something on google.
Click to expand...
Click to collapse
I think the easiest way to get it would be from the market. if you haven't updated the vending.apk file to fix searching the market then you would have to use the category buttons at the top of the market to browse for it and install it.
Yes, I deleted the old version, installed uRamdisk usb 1.1 and framework 1.1.jar and renamed them properly (same name as erased files).
Did it all over again, no registering, and same result: after running for 3 times, went back to regular nook STR!!!
Forget about the restart the process three times, do it like this:
1) Use nookRestore to restore /system.
2) Erase and Deregistered to wipe /data
(If it dosnt let you, force it shutting down your nook, then starting it up, and when the screen flickers press right and left bottom buttons, hold for 5+ seconds).
3) Register, or not, as you preffer.
4) Apply 1.1 firmware update.
5) Open the TouchNooter 1.6.24 image and inside the nooter folder, search and substitude the uRamdisk for this one http://www.multiupload.com/CJ981FWPJG
and framework.jar for this one http://forum.xda-developers.com/showpost.php?p=19201466&postcount=352.
6) Use the new TouchNooter 1.6.24 to root your device. Follow the instructions here: http://forum.xda-developers.com/showthread.php?t=1132693
If it dosnt work, try again until it works.
7) Continue with registering: Youtube (401 error) --> GMail --> Market.
8) Download adb, and unzip it:
http://forum.xda-developers.com/showthread.php?t=1124160&page=6
download this vending apk:
http://forum.xda-developers.com/showthread.php?t=1124160&page=6
and sqlite3:
http://www.sqlite.org/sqlite-shell-win32-x86-3070900.zip
copy the apk and sqlite3 tothefolderyouunzippedadb/platform-tools , open cmd and then:
cd tothefolderyouunzippedadb/platform-tools
adb connect yournooktouchip
Now we are going to enable non market apps use my method, or what madmachinist said:
adb shell
mount -o rw,remount -t ext2 /dev/block/mmcblk0p5 /system
adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db
sqlite3 settings.db "update secure set value=1 where name='install_non_market_apps';"
adb push settings.db /data/data/com.android.providers.settings/databases/settings.db
adb reboot
now when NST reboots:
cd tothefolderyouunzippedadb/platform-tools
adb connect yournooktouchip
adb install Vending.apk
adb reboot
You are done, everything should work now.

[Resource] Epic 4G Touch Owner's Toolkit

I did this for the EVO 4G so I'm going to do it for the E4GT. After watching people ask and sometimes search and ask again for the same things over and over, I thought it would be a good idea to have one thread to hold all of these valuable resources, basic tips and tricks. Many of these links will be found in multiple locations, forums, threads and posts and I will try to keep this single thread updated with links to as many resources as we can come up with.
There are already several great posts like this. Barnacles has the incredibly informative E4GT Wiki stickied in General (hopefully this can contribute to that wiki), Qbking has his threads with links to his excellent video tutorials, and sfhub posts up all sorts of goodness with his Auto Root and stock tar threads. But I didn't really find a thread devoted to just basic methods and problem solving. This thread strives to provide a collective space for learned knowledge, quick tips and fixes for common issues.
If this isn't needed or wanted, it will surely fall to the XDA basement no harm no foul If it has any value, then hopefully it will help a few people in their endeavor to create the best personal Android experience possible!
I take no credit for many of these items, I have only gathered and edited most of them for a one-stop easy shop opportunity. All fixes have been edited for clarity and efficiency with links wherever possible. Please let me know of any broken/missing links or errors. Links to the original source are provided when possible. I have not run all of these fixes personally, but try and confirm fixes I don't test by finding at least three user corroborations for each.
If you have questions on a specific fix with a Source listed, I recommend directing questions/issues to the original source for best results. Otherwise feel free to ask here and we may be able to assist. ~js
Like my EVO Owner's Toolkit, this is a work in progress and a living document. I try to keep it up to date and appreciate new information, suggestions and knowledge which can be added to the OP's. I always provide credit when possible/applicable.
Epic 4G Touch Owner's Toolkit​Updated: January 6, 2011​
Always make a NANDROID before you do anything!​
If you have any questions/needs that are not listed here, I recommend starting with a Search and reviewing ☞ ☆.☆. [WIKI] ROOT, ROMs, KERNELS, MODEMs, HOW-TOs
If you still have questions/concerns, post 'em!
E4GT HOWTO's
How to make a nandroid backup (as requested)
Make sure you have your setup where you want it (I usually update all my apps in the market and do a Titanium Backup before my Nandroid as well.)
Boot into recovery (Hold [Power]+[Vol. Up] or just Hold [Power] if your ROM supports boot menu)
Navigate to Backup and Restore and press [Power] (or [Home] soft key depending on your recovery version)
On next screen select Backup and let it do it's thing
Reboot and you are good to go.
*The backup will look something like 2011-12-26.03.00.15 and likely be in /sdcard/external_sd/clockworkmod/backup.
If you decide to rename the backup, make sure that there are no spaces in the name. (I.e. 2011-12-09_Calk_2.0_EG31 would be fine, while 2011-12-09 Calk 2.0 EG31 would be a no-no.)
Hands Free Activation A way to improve data speed and stability, address data or wifi issues, etc. (especially after flashing a new modem):
Make sure you are not roaming (WiFi is fine, even a poor signal is fine, but roaming can mess with things.)
Make sure you don't have system updates removed or frozen in titanium backup
Get your Master Subsidy Lock (MSL) code (Use Terminal Emulator and type "su" then "getprop ril.MSL" (case sensitive and if using swype make sure the "i" in "ril" doesn't auto capitalize. Use another kb if necessary.) **alternate method below.
Go to dialer and enter ##72786#
Enter your MSL and hit OK
On the SCRTN screen select yes
Phone will auto reboot and take you to Hands Free Activation
If you have an SD card, media scanner will do its thing first.
Re-activation will initiate, let it run (DO NOT TOUCH THE SCREEN, no need to Press OK it will continue on its own)
Phone will then update Profile, then PRL, (you can select cancel when it searches for Firmware update if you want)
Phone will reboot again
Also a good idea to pop out your battery for a few seconds (many have reported this helping and Sprint usually has you do this during the process.)
That should improve things.
**Alternate Method for obtaining MSL for those having trouble with original method after upgrading to ICS
Download the alogcat app from Market
Open alogcat. Press the hourglass and type "msl" and wait while it filters. The screen should go blank.
Press your Home button
Go to your dialer and enter ##3282#
When the menu pops up choose Edit and when it asks for your msl, enter 6 random numbers. You will get an error message.
Long press the home button to bring up recent apps and choose the alogcat app.
At the bottom of the list it will say "MSL result : XXXXXXX" where xxxxxx is your MSL number.
That's it.
(*Unfortunately MSL Reader app in market only works on HTC CDMA phones.)
Click to expand...
Click to collapse
How to boot into 'Safe Mode' should you need to for any reason
Hold Home softkey while rebooting
That's it you are in 'Safe Mode' (I don't know exactly what you can do in safe mode, but probably similar to Windows safe mode.)
Click to expand...
Click to collapse
How to extract an apk from a ROM/zip (you'll need a program like 7-zip, winrar, etc.)
Download the ROM/zip that contains the desired apk(s)
Double click the zip and it will open in your default zip program
Navigate to system/app and drag the desired apk(s) to an easy to remember location. (I use Dropbox or Minus, which makes the apk available on my phone without any further desktop steps.)
If not using a cloud storage option, connect your phone to your desktop and copy apk(s) to your SD
That's it, you now have the apk(s) on your phone and can proceed with double clicking and installing the app or if a system app to the next tutorial for installing a system apk.
Click to expand...
Click to collapse
How to remove a system apk w/Root Explorer (ROM Toolbox can also be used, but slightly different process):
Open Root Explorer (or ROM Toolbox Root Browser) and navigate to system>app
Mount R/W (top right in Root Explorer, R/W is on by default in ROM Toolbox)
If this is a system app, long press existing apk and either move (if you want to keep it) or delete (if you don't care)
Hit OK and your free of the undesired app.
CAUTION: make sure you research before randomly removing things or you are likely to bork something. A good list of items that have/can be removed successfully in naerok's incredibly streamlined ROM can be found in Post #3 here.
Click to expand...
Click to collapse
How to install a system apk w/Root Explorer (ROM Toolbox can also be used, but slightly different process):
Download or extract the desired app apk and place it somewhere on your SD where you can find it (I highly recommend Dropbox for this)
Open Root Explorer (or ROM Toolbox Root Browser or ES or Other) and navigate to /system/app
Mount R/W (top right in Root Explorer, R/W is on by default in ROM Toolbox)
If this is a system app, long press existing apk and either move (if you want to keep it) or delete (if you don't care)
If moving, navigate to the place you want to store the original apk using the Parent Folder line at the top
Paste to the desired location then go to the place with the new/replacement system apk
Longpress the replacement apk and choose copy or move
Navigate back to /system/app (should still be mounted) and paste the replacement apk
Longpress the replaced apk and select permissions
On the permissions pop-up leave all three in the first column (Read) checked, only the top item in the middle column (Write) checked and none in the third column, (Execute) and nothing else checked.
Hit OK and enjoy! Your permissions should now read (rw-r--r--)
Click to expand...
Click to collapse
How to extract a bootanimation from a ROM (you'll need a program like 7-zip, winrar, etc.)
Download the ROM/zip that contains the desired bootanimation.zip
Double click the zip and it will open in your default zip program
Navigate to system/media and drag the bootanimation to an easy to remember location. (I use Dropbox or Minus, which makes the apk available on my phone without any further desktop steps.)
If not using a cloud storage option, connect your phone to your desktop and copy bootanimation.zip to your SD
That's it, you now have the bootanimation zip on your phone and can proceed to the next tutorial for installing/replacing a bootanimation
Click to expand...
Click to collapse
How to replace/add a boot animation
Download or extract a bootanimation.zip
Place the bootanimation.zip on root of your SD card (or use a cloud app i.e. Dropbox, Minus, Box, etc.)
Make a copy of the bootanimation and name it sanim.zip and move that to your SD card as well
Open a root manager app (I prefer Root Explorer)
Navigate to system/media
Select Mount R/W (top right in Root Explorer, on by defauly in ROM Toolbox) then either delete, or move existing bootanimation.zip and sanim.zip
Navigate back to sdcard, then copy or move bootanimation.zip to system/media and then repeat with sanim.zip
Some people replace only the bootanimation.zip and others only the sanim.zip, but I find each of those methods seem to create issues if the kernel you are running does not support custom bootanimations by default. So I replace both zips and it has worked well on multiple ROMs/Kernels. If this doesn't work for you, try replacing each individually. One of the three methods will definitely work for your ROM/Kernel combo.
User 12MaNy has created a thread with several bootanimations available as well some methods for install
Boot animation sounds can be found/added at /system/etc/poweron.wav and /system/etc/1_Power_on.ogg (may be listed as /system/etc/poweron.bak and /system/etc/1_Power_on.bak if these have been "muted".)
Also make sure to check and see if your dev has already moded the boot ani setup as nerys71 discovered here.
Click to expand...
Click to collapse
How to hack custom bootanimation support (Via chris41g) Only works with source built kernels. Thanks dtm_stretch.
Rename /system/bin/samsungani to something else... (eg samsungani.old)
Rename /system/bin/bootanimation to /system/bin/samsungani
After that it will load whatever bootanimation is at /system/media/sanim.zip
Click to expand...
Click to collapse
How to add/restore/change bootanimation sounds (you'll need a program like 7-zip, winrar, etc.)
Open the ROM zip that you want to run
Navigate to /system/etc/ and look for poweron and 1_Power_on
If they appear as poweron.wav and 1_Power_on.ogg you are good to go
If they appear as poweron.bak and 1_Power_on.bak you need to rename them as above
If they don't exist, you will need to add them to this location or replace them with similar sized sound files of your choice. Make sure to keep the filenames and formats as above
Click to expand...
Click to collapse
Stuck at a black screen, bootanimation, etc
No need to jump through all sorts of hoops. Simply download and flash a different CWM Kernel. You can try it first by holding down [Power] + [Vol. Up] until it takes you to recovery (it may reboot once or twice, just keep holding.) If it never does take you into recovery, you can flash a kernel via Odin. Once you have the kernel flashed you will either be up and running on your new ROM or you can now go into recovery and flash the ROM of your choice.
*Assumes you were rooted to begin with as you are in this thread and have previously flashed the ROM.
Click to expand...
Click to collapse
Lockscreen/Reboot Issues
If you are having issues with reboots and resets and are using a 3rd party lockscreen or the native lock pattern, make sure that the selected custom lockscreen is "None"
Settings>Lockscreen Settings>Lockscreen Settings>Lockscreen style>None
Click to expand...
Click to collapse
SOME HOT LINKS TO OTHER GREAT HACKS, MODS AND FIXES
[How To] Upload a custom PRL to your Epic Touch 4G by R1ptide Thanks to TonyTurboII for the recommendation
I used to use a similar hack from Techknowfile back on the EVO 4G and it did work well, just make sure to be aware of the risks if you overuse data while roaming.
Click to expand...
Click to collapse
Always make a NANDROID before you do anything!​
► New Modems - First, do not run out and flash the latest modem just for the hell of it. Use some restraint and think before you act. There are sometimes unknown hazards, such as the issue of no return from the EG31 modem to EG30 a few weeks back. Consider why you want the new modem. Are you having legitimate issues or do you just want the latest stuff? It's your phone, do as you please, just remember that you had a choice if something bad happens, like being stuck on an unofficial build.
► LoS issues - LoS issues really should be a thing of the past since the EK02 and EL13 modems emerged, but if for some reason you have not moved to those modems and you are having LoS issues flash a stock kernel! I prefer Rogue *STOCK* kernels, but pretty much any kernel listed as "stock" should help.
► Data/signal Issues - If you are having data/signal issues after flashing a modem, perform a Hands Free Activation, if that doesn't work, try pulling the battery for a few seconds (thanks Guillo1). If that still doesn't work you may need to call Sprint.
► Poor Battery Life - If you have poor battery life make sure you have calibrated your battery and given yourself several full charging cycles. And use either Battery Repair (Doctor Boost) ($2.69) or Battery Calibration (FREE). User evolart passed on this method as well: Best way to calibrate S2 Battery. I'm not quite ready to believe that calibration does nothing for us, but this is an alternative method to try for those who feel compelled. I sent messages to both app developers. I'll test and keep an eye out for other user's opinions and update this as necessary.
► Bootloops? -
Make sure that you have a default launcher selected and if using a 3rd party launcher that it is NOT set to auto update in the market as an update overnight would leave you without a default selected. (Thanks to 1BadHEMI, rickyq12 and playya for jogging my memory.)
If that didn't solve it and you are absolutely sure you wiped properly, you probably didn't so you might want to try that again. Recovery > Wipe Cache + Dalvik cache > Reboot (see Issues Flashing ROM below re: wiping)
If that doesn't work, flash a stock kernel via recovery or odin and start from fresh ROM again. This time let everything settle in before applying any changes (voltage tweaks, themes, mods, new apps, restoring settings, etc.)
► Issues Flashing ROM - If you are having issues flashing a ROM or an update here are some tips.
With some ROMs like Calkulin's ROMs, you generally do not need to wipe anything when going from one version to another. Just boot into recovery and apply the zip, his wipes for you. I have had the most success doing this and the Dev will note otherwise if the process changes. (It doesn't hurt to wipe cache + dalvik cache, so do that if you are fearful of not wiping anything.)
If coming from one ROM to another, you should wipe everything. I do it manually and use the Format_All zip, but you can do it anyway you like so long as everything (cache, dalvik, system, battery stats) gets wiped at least once. Some format system for good measure, I don't. Your choice.
If you have done either of these processes and are having issues it could be anything from a bad download to wiping issue to bad luck. Do it again and take a look at the Bootloops note above.
► Google Voice - when I answer my phone I get a recording where I have to press 1 to answer
Open Google Voice > Options (gear icon top right) > Voice Settings > Calls > Call Screening > toggle to "Off"
► Apps Issues - Apps missing, not working, acting strangely?
Reboot your phone
Reboot your phone
Reboot your phone
Fix permissions (ROM Manager > Fix Permissions or boot into recovery > Advanced > Fix permissions)
Clear app data (Settings> Applications > Manage applications > All > [the app] > Clear data)
Uninstall and reinstall the app
If it is something like Google music, Amazon Appstore, Spotify, etc. you may need to go to the web and clear some connected/authorized devices from the settings, there is a limit.
► Fresh Start - If you've tried everything else, try flashing the STOCK EG30 TAR or Stock EL13 TAR via Odin. Either will help you start fresh.
► More Links And a whole bunch more useful links in qbking77's thread.
► Post Logs - Super easy way to grab logs and post them for review. Install a log collector such as aLogcat and Pastebin from the market. Then run alogcat after the event, click share from the log and select Pastebin from the popup list. Copy the URL it provides you and send that or post it here.
GPS Fixes
Various fixes. If one doesn't work, try another. More posted as they come. Unfortunately, everything I have posted in this GPS fix section is sketchy at best, working for some not for others. Right now it is the best we have so it doesn't hurt to try, but remember, YMMV.​
Using the Supersonic GPS Driver Thanks
Download one of the drivers below. (CM7 version shared by ebuechler3 and daryelv and "flash3" version shared by colorado_al, thanks to lunchboxVA for pointing it out.
Download GPS Status and Toolbox App from the Market.
Boot into Recovery (Hold [Power]+[Vol. Up] or just Hold [Power] if your ROM supports boot menu)
Wipe cache + dalvik cache
Flash the zip
Connect to GPS
Turn on GPS Status and Toolbox and let it get a fix
Turn on the map/nav app of your choice and let it get a lock
*Lock should be significantly faster than before the flash (mine went from just under 5 min. to about 11 seconds.)
You'll want to come back and try again later in the day to make sure it's still working. You may have to flash again when changing ROM's making mods. Good thing it's easy
UPDATE: user adma84 brings up a good point in that this driver does not appear in /system/lib/hw after flashing and I am actually unable to locate the driver anywhere in /system at all. I am going to see if I can get any sort of explanation, but as of now the jury is out in if/how this fix actually works. I can confirm that I did extensive controlled testing on this process and I definitively experienced a quantifiable improvement in lock time and duration, however whether the improvement was coincidence or a result of flashing the zip is unconfirmed. I can also confirm that flashing the zip does nothing bad so that you should have nothing to lose by flashing it irrespective of whether it is actually proven to work or not. I will update if I learn anything new on this.
Click to expand...
Click to collapse
GPS Status & Toolbox Fix
Download GPS Status & Toolbox from Market
Enable GPS
Open GPS Status & Toolbox
Menu > Tools > Manage A-GPS state > Reset
Menu > Tools > Manage A-GPS state > Download
Menu > Tools > Compass calibration > follow popup directions
Other app options that I've had occasional success with are:
All FREE and found in the Market, Faster Fix, GPS Fix and GPS Test Each of these just seem to act as a catalyst to get things moving. I haven't had consistent success with any of them, but in a pinch these are three that I use.
Click to expand...
Click to collapse
GPS EPST (##GPSCLRX#) Fix
Get your Master Subsidy Lock (MSL) code (Use Terminal Emulator and type "su" then "getprop ril.MSL" (case sensitive and don't use stock swype as the "I" malfunctions.)
Launch phone dialer and dial ##GPSCLRX# (##4772579#)
Enter the MSL Number from above as the password
Your phone will automatically reboot
Once booted back in the ROM open Maps or Navigation and obtain a GPS fix (This is an important step!)
Click to expand...
Click to collapse
GPS Configuration tweaks post by Xenova
These tweaks have been around for a long time. I used them on MIUI on the EVO 4G and they seemed to work really well for some and not for others. This is definitely work a look if nothing else is working for you.
Click to expand...
Click to collapse
Exchange the Phone
Sadly the other option is to take your phone back to Sprint and see if you can get a new one. Several people have claimed to get better signal on a new handset. That wasn't the case for me, but my exchange was very early on after release of the phone, so who knows what hardware changes may have occurred since then.
Click to expand...
Click to collapse
Get Free Storage and Mount it as a Virtual Drive​
This is how to get a ton of free storage space and then mount it as a virtual drive on your Windows PC (sorry, haven't tested the Linux method personally and don't have a mac, but I'm sure someone slick can figure out a method based on my post.) The free storage is from Box.net and GMail. These are both workarounds/mods and neither method is sanctioned by Box.net nor Google. These have worked for me for quite awhile, but I am in no way responsible should either entity decide to penalize your accounts for use of these methods. Use at your own risk.
Box.net 50GB Promotion (there are several great tutorials on this hack here at XDA, I used tomcat420m's as I felt is was really clear)
This is a limited time promotion offered by Box.net for a free 50GB account upgrade for owners of LG PHONES. Some slick users came up with a method of modifying the build prop in order for any Android user to take advantage of the offer. It's a free 50gb Account and raised upload limit from 25mb to 100mb. The promotion ends 3/30/2012, but the 50GB is free forever. Here is the official promotion page Box.net.
Now hit the link to tomcat420m's tutorial and grab you some free space, then come back here to learn how to mount it as a drag and drop virtual drive!!
=========================================================================================
Mount Box.net Account(s) as Virtual Drives on Windows 7 (XP and Vista may works as well.)
Install MS Software Update for Web Folders or (\Downloads \MSWebfldrs-KB907306-ENU)
Open Windows Explorer
Right click on Network
Select Map Network Drive
Click on link (Connect to a Web site…)
Click Next
Click Choose custom network location, then Next
In the address bar paste http://box.net/dav
Click Next, then enter your box.net user name and password and click OK
Name your drive and drag it to link to the Favorites bar
Repeat the process with a second Box.net and so on for a whopping 50GB of storage per virtual drive!!
*Alternately, there are many services that let you mount multiple accounts such as Otixo which is free and Gladinet which is limited for free.
=========================================================================================
Mount Box.net Account(s) as Virtual Drives on Linux Thanks to Benjamin Kerensa for his howto on this.
What you are going to do is mount a WebDAV filesystem on Linux so that you can access the files like you do with any other folder on your desktop.
Open a Terminal window and install davfs2 by typing:
Code:
sudo apt-get install davfs2
Create the mount directory by typing:
Code:
sudo mkdir /media/box.net
Mount the WebDAV system:
Code:
mount -t davfs https://www.box.net/dav /media/box.net
(Note: The HTTPS should create a secure connection so your authentication will be safe)
Add your username and password:
Code:
sudo nano /etc/davfs2/secrets
echo “https://www.box.net/dav username password” >> /etc/davfs2/secrets
Benjamin notes you can access Box.net via Nautilus using WebDAV:
Just use Connect to Server to dav://www.box.net/dav and make sure to select Secure WebDAV.
A slightly different method by Andrew Martin can be found here.
======================================================================================
Mount GMail Storage as a Virtual Drive on Windows 7 (7.48GB per account)
DL and Install Gmail Drive Shell extension
Double click on the new mounted drive "GMail Drive"
Enter the credentials for one of your GMail accounts
Sign in and let it authorize
Download Gmail Drive Config utility from Convivea
Right-click the gmail_drive_config file and 'Run as administrator'
Click Add Drive
Enter a unique Label and another GMail user account name
You should receive a pop-up confirmation that reads:
DllRegisterServer in
C:\Windows\system32\ShellExt\GMFS004.dll succeeded.
Click to expand...
Click to collapse
Close all explorer windows
Re-open an explorer window
The new drive will appear under Computer after the last drive
Double-click this new drive to enter the password and login
Close all explorer windows...
Repeat steps 6-12 to add up 999 Gmail accounts
An neat little trick to Gmail Drive is that every file that shows up in your Gmail Drive is visible in your Gmail account with GMAILFS: somewhere in the subject. Gmail Drive can even organize files into folders based on the subject.
For example, sending yourself an empty email with a subject of GMAILFS: /music/ should create a music folder in your Gmail Drive. Then sending an email with an attached file called my_song.mp3 with the subject GMAILFS: /music/my_song.mp3 should place my_song.mp3 into your music folder in Gmail Drive, browsable with Windows Explorer.
I also setup filters to automatically label and archive any message with GMAILFS with my label of choice GMail Drive which keeps these all together and keeps my inbox tidy.
Warning: Be aware that if you upload too much too soon Google is likely to temporarily freeze your account for "Unusual Usage". Also, there's still a number of limitations of the file-system (such as total filename size must be less than 65 characters). Since the tool hooks up with the free Gmail Service provided by Google, changes in the Gmail system may break the tool's ability to function so there is no guarantee that files stored in this manner will be accessible in the future. The file size is limited to the same restrictions as Gmail attachment size, which I believe is 25mb.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Just because.
Can we just sticky this right now please? Nice job!!! If I didn't wait long enough, just let me know Just_s. Thanks!
Sent from my SPH-D710 using xda premium
JohnCorleone said:
Can we just sticky this right now please? Nice job!!! If I didn't wait long enough, just let me know Just_s. Thanks!
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Lol, thanks. This is just a rough draft. It will be much more complete when I can get to it.
As far as sticky, I'm going to see if I can get it in Barnacles wiki. Jerdog wants to keep that first page clean, which is a good thing. I'll bump it from time to time as I keep it updated.
Sent from my SPH-D710 using xda premium
Wow! Definitely some good info for the newbies. Nice work man
Sent from my E4GT
One word. Awesome! Thanks for this. Hopefully it'll save alot of future questions.
Sent from my SPH-D710 using Tapatalk
Great job with this.
qbking77 should be dropping in soon
Awesome guide. Just a few notes:
-For some reason the "How to hack custom bootanimation support" does not work on stock pulled kernels, but does work on source built kernels, it will just send the phone into boot animation loops on stock pulled.
-For the "Stuck at a black screen, bootanimation, etc" you really could flash any kernel that has the appropriate recovery(CWM), it doesn't have to be that specific kernel.
Again great job.
dtm_stretch said:
Awesome guide. Just a few notes:
-For some reason the "How to hack custom bootanimation support" does not work on stock pulled kernels, but does work on source built kernels, it will just send the phone into boot animation loops on stock pulled.
-For the "Stuck at a black screen, bootanimation, etc" you really could flash any kernel that has the appropriate recovery(CWM), it doesn't have to be that specific kernel.
Again great job.
Click to expand...
Click to collapse
Thanks! Alot of these are a couple of months old and most were in relation to Starburst ROM, so I am in the process of updating everything now. Hopefully others will follow your lead and let me know of any quirks such as the bootanimation hack.
Looks awesome, you and qbking77 would be a great how to team
Thanks for your time and work.
cds0699 said:
Looks awesome, you and qbking77 would be a great how to team
Thanks for your time and work.
Click to expand...
Click to collapse
Thanks. Gotta respect qbking's work. He puts in some serious time making those awesome videos. There are some definite high powered users here and I think the more users that can contribute the better.
I'm hopeful that between qb's vids, Barnacles wiki, contributions like sfhub's and this thread, we can help the devs focus on dev'ing ROMs and Kernels rather than wasting time answering the same old played out questions over and over.
Thanks so much for doing this. I think this is a great resource for everyone.
Just FYI, I followed the steps in the Hands Free Activation section and while the phone rebooted, it never ran the hands free activation. Tried it three times. Am I missing something?
FYI, I am running Calkulins 2.6 ROM
Awesome guide !
I would like to suggest adding instructions for making a Nandroid backup.
this is a fantastic guide! made it in my top 10 bookmark bar in Chrome
curious though. i want a VERY specific font flashed to my system and its not available in rom toolbox pro. does anyone have a link to a guide on how to get one into the system? im asking here because im assuming its very similar to what you posted for pushing/pulling apks, boot animations, and sounds? please slap me silly if this isnt the case
This thread is lame and posted by a lame person!
LOL
Love you bro! Great idea on this, we know that your tool kit on our MIUI.US forum was super helpful and popular
Sent from my SPH-D710 using xda premium
dr_gibberish said:
Thanks so much for doing this. I think this is a great resource for everyone.
Just FYI, I followed the steps in the Hands Free Activation section and while the phone rebooted, it never ran the hands free activation. Tried it three times. Am I missing something?
FYI, I am running Calkulins 2.6 ROM
Click to expand...
Click to collapse
Yes, definitely missing something. Are you following each step exactly? What happens after it reboots?
Drumrocker said:
Awesome guide !
I would like to suggest adding instructions for making a Nandroid backup.
Click to expand...
Click to collapse
Done.
JasonK75 said:
This thread is lame and posted by a lame person!
LOL
Love you bro! Great idea on this, we know that your tool kit on our MIUI.US forum was super helpful and popular
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Don't listen to this guy, he moved to MI willingly LOL Where you been?
stretchwookie said:
this is a fantastic guide! made it in my top 10 bookmark bar in Chrome
curious though. i want a VERY specific font flashed to my system and its not available in rom toolbox pro. does anyone have a link to a guide on how to get one into the system? im asking here because im assuming its very similar to what you posted for pushing/pulling apks, boot animations, and sounds? please slap me silly if this isnt the case
Click to expand...
Click to collapse
Really easy to do.
Download font apk
Install font apk
Go to Settings > Display > Screen display > Font style > choose the font you want
That's it
You can start with this FlipFonts. Also, a collection of font apk's you should be able to use here and a how to create your own thread here.

Do you want full tablet mode? Here's the answer!

So, here it is:
1: Download CM 9.1 and flash boot.img via fastboot http://forum.xda-developers.com/showthread.php?t=1706001 . I use the newest version of CM 9, and do NOT choose CM10, because it will not work.
2: Reboot and download root explorer or anything like that.
3: Download this http://forum.xda-developers.com/showpost.php?p=30382245&postcount=2 , take ICS multi DPI (I tested only stock Google Play, not inverted).
4: Put two .apk's from the .zip file (.zip/system/app) onto your SD-card
5: Put .apk's into /system/app, replace these with existing files
6: Open build.prop, and change:
ro.sf.lcd_density=320 to ro.sf.lcd_density=192
7: Reboot and enjoy tablet mode with Google play fully compatible! Also, I did a full wipe, so I recommend a full wipe after doing all these steps.
And as always, I do not take resposibility for bricks, but I will try to help.
You can do this in CM10 too dude
just change density to 170.
MeLViN-oNe said:
You can do this in CM10 too dude
just change density to 170.
Click to expand...
Click to collapse
Maybe, I did not try, but with DPI 192, everything is very small, and with 170, it will be microscopic
Sent from my Nokia 3310 using XDA App

Help with getting Hearthstone up and running

Hey Everyone,
So Blizzard just released Hearthstone for android and everyone's rushing to be able to play the game on their android devices. I've seen some comments about how to get it to work but I have had no luck as my app crashes when I get to the option to log in. I'm currently on the most recent Slimkat stable build so that may be another reason as to why it doesn't work.
Taking the info I received from a thread on reddit:
https://www.reddit.com/r/hearthstone/comments/2pestg/hearthstone_is_out_on_android_tablets/
Download the .apk linked by /u/Xeonelite
Download both .obb files also linked by /u/Xeonelite
Put .obb files in the directory /sdcard/Android/obb/com.blizzard.wtcg.hearthstone
Run the .apk to install (you may need to enable installation of unknown apps in your settings)
You should be good to go if your screen is larger than 6". If not, follow the next few steps.
Install the Xposed module "App Settings"
Enable "App Settings" in Xposed and find Hearthstone on the app list
Check the box that says "xlarge res."
Save the settings and exit
Launch Hearthstone, you should be good to go!
Click to expand...
Click to collapse
The link to the files are here in this comment. I've had no luck so far, but others have reported being able to get it working. Have any of you been able to get it running? Successfully got it working with my reply down below! If one of the builds doesn't work, then use the other linked!
Im just trying to get works too. I think it should works flashing some custom rom and decreasing the DPI. We only can test and test until get it
---------- Post added at 02:56 PM ---------- Previous post was at 02:46 PM ----------
Hi, i just find that:
Hey there
It seems everybody is eager to play Hearthstone on their mobile phone, but they can't because their phones aren't 6 inch or bigger. There is a way to get around this, but it involves some decompiling/recompiling and changing two lines of code.
First of all, the tools that you need are:
To decompile the APK: This tool
To decompile CSharp: Decompile CSharp: This tool
This one requires a plugin though; when you start this software, look for the menu item "Plugins/Plugins Manager" and install the plugin called "Assembly Editor"
Other things you need:
The original APK: This one
The OBB files: These
Step one:
Fire up APK Studio and decompile the Hearthstone APK
Open up the AndroidManifest.xml file
Replace android:normalScreens="false" with android:normalScreens="true"
The same goes for android:smallScreens="false" -> android:smallScreens="true"
Save this file
Step two:
Fire up JustDecompile and open the file Assembly-Csharp.dll (your_decompiled_folder/assets/bin/Data/Managed/Assembly-CSharp.dll)
Look in <Default namespace> for the class "MobileCallbackManager"
(if you haven't by now, open up the plugin by selecting it in the Plugins window (Reflexil))
There is a method in there called "IsAndroidDeviceTabletSize()", click on it
In the window of the plugin, on the "Instructions" tab, you should now see a line that has a value of 6 in the Operand column (http://puu.sh/dx8bX/bff8ee08ad.png)
Right click on this and select edit and change the value to 1 (or whatever you want, just a number smaller than the size of your phone) and then click Update
In the list on the left, scroll all the way back up, right click on "Assembly-CSharp", select "Reflexil 1.8 -> Save As" and save it (trying to overwrite the original one caused problems for me)
(If you have problems with this one, go to step two.one)
Remove the Assembly-CSharp.dll file and rename the new dll to Assembly-CSharp.dll
Steo two.one (Only if you're having problems saving the DLL):
- On the same line where you clicked edit and changed the value from 6 to whatever. Right click again and select "Replace all with code"
- This should open a window showing some code, **just click cancel**
- Now try to save using the normal steps
Step three:
Open APK Studio again
Click on the hammer icon (make sure you have the project selected) to build your modified APK (rebuilt.apk in the build folder)
Step four (you can skip this if you already have the OBB files on your phone):
Put the OBB files on your SD card in the following folder
Android/obb/com.blizzard.wtcg.hearthstone/XXX.OBB
Step five:
Install the APK
Enjoy the game
I've tested this myself on a Nexus 4 (KitKat) and Nexus 5 (Lollipop) and it starts on both. However, at some point it just decides to crash on my Nexus 5 and I assume this is because of Lollipop.
Cheers
Click to expand...
Click to collapse
So it turns out another build of Hearthstone works quite well. Thanks for your possible fix too zliffer, that may help others who might need it! This one is version 738705 instead of the 738702 which was linked before. This one doesn't require being on a GPE rom, just follow the same steps for the same files and it should work!
https://www.reddit.com/r/hearthstone/comments/2pestg/hearthstone_is_out_on_android_tablets/cmwfy74
Nice, i will try it now. in the other hand i had read that only changing the dpi in adb it should works
You could also try this.
Runs on my Samsung Galaxy Note 2 without problems. Without root!
Just copy files and install apk.
More information in readme.
>>http://goo.gl/ah8tbu
Greez
Here you go.. https://plus.google.com/101677185367200067540/posts/4sKpo3sBL8C
Sent from my HTC One_M8 using XDA Free mobile app
app not installed
please help me install it on my root samsung galaxy note 2. i already installed it previously but need to uninstall. after that i can't reinstall the .apk it let me press install and it shows installing but after that it says "X app not installed". :crying: thanks for helping in advance
The goo.gl link doesn't work anymore.
Here is the direct link: >>http://ul.to/3gjvo0hs.
Greez

[ROOT HD 10] Enable advanced power menu (global actions) + my other framework mods!

*****ONLY WORKS FOR FIREOS 5.6.2.0 OR LOWER*****
The title says it all. I've activated the stock global actions power menu. The options need tweaking a bit still, but this was too good to wait.
For the moment, without an Xposed module, the stock options are: Airplane Mode, Settings, Lock Now, and volume. With Gravitybox, you can add power (might be stock. I noticed this after gravitybox was installed), restart (which leads to soft reboot, reboot, recovery reboot and boot loader reboot).
How?
One minor edit to the framework was all it took. The menu was disabled, the value set to 0. Change the value to 1, and you get the menu. Simply long press the power button for a couple of seconds and it will pop up.
I have been trying for so long to get this to work. I looked at the configuration dozens of times and didn't figure out what it meant until today. This needs a bit more work and can probably be added to my settings.apk, but that's for another day.
Requirements:
Rooted HD 10 on FireOS ***5.6.1.0 or 5.6.2.0****
Windows PC with ADB
Installation:
1. Download and install adbd insecure.
2. Download and place the attached framework-res.apk in your ADB folder and plug your tablet into your PC.
3. Open adbd insecure and check the top box to make adb insecure. Open an adb window and type the following, hitting enter at the end of each line:
Code:
adb remount
adb push framework-res.apk /system/framework/framework-res.apk
adb reboot
4. Long press power button. Score. :highfive:
P.S. This framework also contains all previous modifications. References:
How to guide: Enable 'ok Google' to work from ANY screen
[ROOT] [HD 10 2017] FireTabletSettings.apk Rewritten [August 22, 2018]
[FIRMWARE] [STOCK] Pre-rooted, optimized, stock firmware for HD 10 Suez [APRIL 2019]
[Root] [HD 10 Suez] Remove parental control applications/restrictions [May 2019]
[TEST] [Flash Zip] [HD 10] [ROOT] All-in-1: The ultimate hacks, tricks & mods zip
[Root] [App] [All tablets] Disable & replace lock screen - set custom wallpaper
NO ROOT REQUIRED: Working Screen Mirroring
UPDATE (for 5.6.1.0):
June 1, 2019
- Increased default system volumes from -6 db to 8
- Set preference for 5ghz wifi to false. Setting this to true only allows 5ghz connections. 2ghz are ignored if set to true.
- Fixed typo in time server I found in the system logs.
- Extend network attributes (I don't know if these actually work but doesn't hurt either way)
- Wpa_supplicant_scan_interval by default is set to 15000.... milliseconds. Raised value to 150000000. This may have been the cause of disconnects on a constant level.
- preferences prefer dual pane set to true
- Bar separating notifications from system messages was narrow (set to true). Set it to false.
- Low battery warning is now 10% instead of 25%. Extreme low battery warning (almost dead battery) set at 5%
DragonFire1024 said:
The title says it all. I've activated the stock global actions power menu. The options need tweaking a bit still, but this was too good to wait.
For the moment, without an Xposed module, the stock options are: Airplane Mode, Settings, Lock Now, and volume. With Gravitybox, you can add power (might be stock. I noticed this after gravitybox was installed), restart (which leads to soft reboot, reboot, recovery reboot and boot loader reboot).
How?
One minor edit to the framework was all it took. The menu was disabled, the value set to 0. Change the value to 1, and you get the menu. Simply long press the power button for a couple of seconds and it will pop up.
I have been trying for so long to get this to work. I looked at the configuration dozens of times and didn't figure out what it meant until today. This needs a bit more work and can probably be added to my settings.apk, but that's for another day.a
Requirements:
Rooted HD 10 on FireOS ***5.6.1.0*** (5.6.2.0 comes soon. Possibly 5.3.x.x)
Windows PC with ADB
Installation:
1. Download and install adbd insecure.
2. Download and place the attached framework-res.apk in your ADB folder and plug your tablet into your PC.
3. Open adbd insecure and check the top box to make adb insecure. Open an adb window and type the following, hitting enter at the end of each line:
Code:
adb remount
adb push framework-res.apk /system/framework/framework-res.apk
adb reboot
4. Long press power button. Score. :highfive:
Click to expand...
Click to collapse
I have updated to the latest, 5.6.3.0 (erroneously called 5.3.6.4). I guess it is risky to do this until someone tries it and says it works? I've been using retyre's prerooted installs for the last couple of releases. So if this screws things up, I would have to adb sideload and root again, which I'd like to avoid.
Ignoring that issue, can the file just be copied into the correct folder with a file manager since I'm already rooted?
sga999 said:
The title says it all. I've activated the stock global actions power menu. The options need tweaking a bit still, but this was too good to wait.
For the moment, without an Xposed module, the stock options are: Airplane Mode, Settings, Lock Now, and volume. With Gravitybox, you can add power (might be stock. I noticed this after gravitybox was installed), restart (which leads to soft reboot, reboot, recovery reboot and boot loader reboot).
How?
One minor edit to the framework was all it took. The menu was disabled, the value set to 0. Change the value to 1, and you get the menu. Simply long press the power button for a couple of seconds and it will pop up.
I have been trying for so long to get this to work. I looked at the configuration dozens of times and didn't figure out what it meant until today. This needs a bit more work and can probably be added to my settings.apk, but that's for another day.a
Requirements:
Rooted HD 10 on FireOS ***5.6.1.0*** (5.6.2.0 comes soon. Possibly 5.3.x.x)
Windows PC with ADB
Installation:
1. Download and install adbd insecure.
2. Download and place the attached framework-res.apk in your ADB folder and plug your tablet into your PC.
3. Open adbd insecure and check the top box to make adb insecure. Open an adb window and type the following, hitting enter at the end of each line:
I have updated to the latest, 5.6.3.0 (erroneously called 5.3.6.4). I guess it is risky to do this until someone tries it and says it works? I've been using retyre's prerooted installs for the last couple of releases. So if this screws things up, I would have to adb sideload and root again, which I'd like to avoid.
Ignoring that issue, can the file just be copied into the correct folder with a file manager since I'm already rooted?
Click to expand...
Click to collapse
There was one report of it working a week or two ago. No one has said anything since. If it doesn't work, worst case is you need to flash back to 5.6.x.x
DragonFire1024 said:
There was one report of it working a week or two ago. No one has said anything since. If it doesn't work, worst case is you need to flash back to 5.6.x.x
Click to expand...
Click to collapse
1. If it fails, and I'm unable to boot, I will have to redo the sideload of the bin file. Then I have to reroot. As I said, I've just been using the prerooted version for the last couple of releases which means I don't have to go through extra steps to root. Since I am rooted, I just use Flashfire to flash the new prerooted version by retyre.
2. I was asking about copying the framework file that you put out there. If I ignore the problems of it possibly messing up my system, and I just want to try it anyway, why is it necessary to use Adb insecure and the PC? Since I'm rooted, can't your framework file just be copied to the correct folder?
3. Finally, can you tell me exactly what you changed in the framework? In your other thread about modifying the framework, you give some good instructions on how to decompile and recompile. I might want to try that instead of using the version that you have created here (since I'm on 5.6.3.0). Is it really just one boolean that needs to be changed?
sga999 said:
1. If it fails, and I'm unable to boot, I will have to redo the sideload of the bin file. Then I have to reroot. As I said, I've just been using the prerooted version for the last couple of releases which means I don't have to go through extra steps to root. Since I am rooted, I just use Flashfire to flash the new prerooted version by retyre.
2. I was asking about copying the framework file that you put out there. If I ignore the problems of it possibly messing up my system, and I just want to try it anyway, why is it necessary to use Adb insecure and the PC? Since I'm rooted, can't your framework file just be copied to the correct folder?
3. Finally, can you tell me exactly what you changed in the framework? In your other thread about modifying the framework, you give some good instructions on how to decompile and recompile. I might want to try that instead of using the version that you have created here (since I'm on 5.6.3.0). Is it really just one boolean that needs to be changed?
Click to expand...
Click to collapse
1. Yes
2. With a root explorer yes.
3. For this? An integer was all. Everything else? That's too much to type. Honestly I spend hours and days reading them testing and mostly failing. I can't tell you the amount of bookmarks i have, maybe close to 500 or more. A lot of times I have to mix together old tricks. you spend most time reading than anything.
DragonFire1024 said:
1. Yes
2. With a root explorer yes.
3. For this? An integer was all. Everything else? That's too much to type. Honestly I spend hours and days reading them testing and mostly failing. I can't tell you the amount of bookmarks i have, maybe close to 500 or more. A lot of times I have to mix together old tricks. you spend most time reading than anything.
Click to expand...
Click to collapse
I don't understand your answer to 3. I'm just interested in what you changed in the framework-res to get the advanced power menu. You said it's just an integer. If I decompile framework-res.apk, where is the integer that must be changed? When you said "everything else", maybe you mean all your changes in the thread about hacks, tricks, and mods? I'm not asking about those. I'm only asking about the advanced power menu that you are talking about in this thread.
sga999 said:
I don't understand your answer to 3. I'm just interested in what you changed in the framework-res to get the advanced power menu. You said it's just an integer. If I decompile framework-res.apk, where is the integer that must be changed? When you said "everything else", maybe you mean all your changes in the thread about hacks, tricks, and mods? I'm not asking about those. I'm only asking about the advanced power menu that you are talking about in this thread.
Click to expand...
Click to collapse
If you decompile it, it would be in res/values/integers. The config would be (paraphrasing) 'long_press_on_power'. Since in this AOSP framework the global actions are active, you have a choice of values of 0 or 1. 0 being no action, 1 being the action. It's a few lines away from 'long_press_on_home' which is supposed to be between 0 and 3. 2 would activate the voice assist. But for some reason I haven't figured out, setting that value does nothing one way or the other but gravitybox fixes it.
You can change around the global action menu too I saw, but didn't have time to experiment with that yesterday.
@DragonFire1024
Nice hack! Like your new power menu - always wanted something like that!
Now, given that it'd be such a burden to update this for every FireOS version, any chance you'd take a stab at putting this together as an Xposed module? Other rooted Fire tablets could use it too.
I recall sometime in the past there were modules designed for FireOS - if you find that on XDA, you could start from that one.
DragonFire1024 said:
If you decompile it, it would be in res/values/integers. The config would be (paraphrasing) 'long_press_on_power'. Since in this AOSP framework the global actions are active, you have a choice of values of 0 or 1. 0 being no action, 1 being the action. It's a few lines away from 'long_press_on_home' which is supposed to be between 0 and 3. 2 would activate the voice assist. But for some reason I haven't figured out, setting that value does nothing one way or the other but gravitybox fixes it.
You can change around the global action menu too I saw, but didn't have time to experiment with that yesterday.
Click to expand...
Click to collapse
Here's what is in my integers.xml file for 5.6.3.0. Are you saying I need to change 2 to 1 in the first one? And no changes to the others?
<integer name="config_longPressOnPowerBehavior">2</integer>
<integer name="config_shortPressOnPowerBehavior">1</integer>
<integer name="config_doublePressOnPowerBehavior">0</integer>
<integer name="config_triplePressOnPowerBehavior">0</integer>
@DragonFire1024, Have you edited smalis? It is for do it in the framework-res.apk of another tablet.
sga999 said:
Here's what is in my integers.xml file for 5.6.3.0. Are you saying I need to change 2 to 1 in the first one? And no changes to the others?
<integer name="config_longPressOnPowerBehavior">2</integer>
<integer name="config_shortPressOnPowerBehavior">1</integer>
<integer name="config_doublePressOnPowerBehavior">0</integer>
<integer name="config_triplePressOnPowerBehavior">0</integer>
Click to expand...
Click to collapse
Correct. First config set to 1 and leave the others as is, unless you want to test them out.
Rortiz2 said:
@DragonFire1024, Have you edited smalis? It is for do it in the framework-res.apk of another tablet.
Click to expand...
Click to collapse
I have not. I rarely touch that at least not Amazon smali. It doesn't translate well at all. And haven't really had to so far. And the framework is odexed...well the .jar in system/framework is, so they don't have smalis.
bibikalka said:
@DragonFire1024
Nice hack! Like your new power menu - always wanted something like that!
Now, given that it'd be such a burden to update this for every FireOS version, any chance you'd take a stab at putting this together as an Xposed module? Other rooted Fire tablets could use it too.
I recall sometime in the past there were modules designed for FireOS - if you find that on XDA, you could start from that one.
Click to expand...
Click to collapse
I was thinking about that however if gravity box works to bring out the rest (reboot etc) I imagine other power menu modules will also work now.
DragonFire1024 said:
I was thinking about that however if gravity box works to bring out the rest (reboot etc) I imagine other power menu modules will also work now.
Click to expand...
Click to collapse
Gravity box might work - AFTER your framework-res.apk replacement (which needs updating after each OS version). As is, for me Gravity does not bring anything out beyond the stock "Power off" option. It seems a module could simply patch framework with the correct flag, and then Gravity will do its thing. Same logic would apply to other features that Amazon might have chosen to disable.
bibikalka said:
Gravity box might work - AFTER your framework-res.apk replacement (which needs updating after each OS version). As is, for me Gravity does not bring anything out beyond the stock "Power off" option. It seems a module could simply patch framework with the correct flag, and then Gravity will do its thing. Same logic would apply to other features that Amazon might have chosen to disable.
Click to expand...
Click to collapse
Install framework in OP then you need to enable the advanced power menu in gravitybox, power tweaks. Then long press power button, tap restart, then you get your options for reboot.
Rortiz2 said:
@DragonFire1024, Have you edited smalis? It is for do it in the framework-res.apk of another tablet.
Click to expand...
Click to collapse
Also for the most part Amazon just moved configurations around maybe changed a few characters or couple of words. But for the most part a significant portion if not almost all of the Android source for this version was left inside these files. There are very few things I actually had to rebuild. The battery stats is one of those things. Other things are more difficult and require other pieces of software, for example specific apks. That took quite a lot of time to hunt down working versions of certain apks. Remember we are working with what is considered a stone age OS version. So we have to literally search for needles and haystacks just to find the one tiny thing that makes it all work... Well at least some of it
Gosh, I tried for a long time to decompile/recompile framework-res.apk (5.6.3.0)...no luck! I'm using your instructions in post 2 in the 7 wallpaper thread as a guideline. I can decompile successfully. Then, even without making any changes at all, recompile does not work. I won't bother to put the error display here unless you're interested. (systemui.apk fails on the recompile also, but in a different way). A "regular application" will decompile and recompile just fine.
So I have no idea what's wrong. I do have xposed/gravitybox installed, and I wonder if that causes the problem (but it sounds like have those also?). Or some change to 5.6.3.0 that you did not encounter with prior releases. I'm wondering if you can upload your framework-res.apk somewhere so that I can try that. At least that would narrow it down to the new release or my error.
There are lots of posts about this kind of problem, but they mostly talk about wrong paths, etc. That is definitely not my issue.
I had downloaded the most recent apktool, 2.3.4. Just for fun, I just tried 2.2.0. There are 4 warnings, but otherwise, it worked. I haven't tried to install the new framework, so I can't be sure all is okay, but it's certainly a good sign. I will also try more recent versions of apktool, i.e. ones between 2.2.0 and 2.3.4, and see where it went wrong.
EDIT: 2.3.2 and earlier are good, 2.3.3 and 2.3.4 are bad.
---------- Post added at 04:58 PM ---------- Previous post was at 04:55 PM ----------
If it ain't one thing, it's another! After changing the integer, I'm trying to drag and drop with 7zip from the new apk to the old, as you described in your other thread. For resources.arsc, it works as you said, i.e. it asks if I'm sure I want to copy. But for the res folder, it doesn't ask me anything and just starts extracting into the old. I cancel it before it can complete.
Do you recall doing something different for the res folder? I could be on a different 7zip version than you, of course. I've used 7zip, but I'm not that familiar with it.
EDIT2: I don't think a notification is done if my edit gets combined with my prior post. I tried both reply and quick reply, and both ended up combining. Can someone tell me how to make it do a new post? Or maybe I'm wrong and another notification occurs, in which case, ignore this!
sga999 said:
I had downloaded the most recent apktool, 2.3.4. Just for fun, I just tried 2.2.0. There are 4 warnings, but otherwise, it worked. I haven't tired to install the new framework, so I can't be sure all is okay, but it's certainly a good sign. I will also try more recent versions of apktool, i.e. ones between 2.2.0 and 2.3.4, and see where it went wrong.
EDIT: 2.3.2 and earlier are good, 2.3.3 and 2.3.4 are bad.
---------- Post added at 04:58 PM ---------- Previous post was at 04:55 PM ----------
If it ain't one thing, it's another! After changing the integer, I'm trying to drag and drop with 7zip from the new apk to the old, as you described in your other thread. For resources.arsc, it works as you said, i.e. it asks if I'm sure I want to copy. But for the res folder, it doesn't ask me anything and just starts extracting into the old. I cancel it before it can complete.
Do you recall doing something different for the res folder? I could be on a different 7zip version than you, of course. I've used 7zip, but I'm not that familiar with it.
EDIT2: I don't think a notification is done if my edit gets combined with my prior post. I tried both reply and quick reply, and both ended up combining. Can someone tell me how to make it do a new post? Or maybe I'm wrong and another notification occurs, in which case, ignore this!
Click to expand...
Click to collapse
Lol it's going to take a bit to get used to everything. I actually had messed around with apktool when I first started all this and got so frustrated I just stopped trying. 6 months after that I tried again and it took me a week or so before I successfully compiled and installed a system apk. My initial goal was to use this method to try and trick a non rooted tablet into thinking it was installing an update to a system app. Though it worked on rooted devices, I could never get it to work for non rooted ones. Don't give up,keep trying and re check everything, especially make sure your PATH to the proper tools is correct. I'll look at the latest fireOS framework tomorrow.
P.S. without any further modifications, I tested APM+ Xposed module and it works too. You can add and remove all the optioions plus add different ones depending on the module. No further tweaking needed on my end.
Okay, when dragging and dropping res, it does finally ask if I really want to copy AFTER it takes quite a while "extracting". I was confusing extracting with unzipping or unpacking...or some other term that would imply it was changing the format. I'm still not sure if it's doing it properly, but I'll keep trying. And I'd still like to know how to make these combined posts cause a notification, and if not, how can I force it to.

Categories

Resources