Related
This is a quick guide for setting up ADW.Launcher and CM6 (changes from defaults only). I'm just posting it here so I can link people to it, My apologies if something better already exists here. I lean towards minimalism for the sake of speed. Do this holding the phone in portrait mode, or I don’t think you will see the alpha sliders in some steps.
1. Drag and Drop preferred apps onto the left or right action buttons to change them (e.g. I change the R.A.B. to Dolphin Browser by dragging the Dolphin shortcut on the homescreen on top of the button I want to replace (see step 10.b. to add 2 more buttons)
2. Menu>Settings>Display>Animation>No Animations
3. Menu>Settings>Display>Brightness>Auto
4. Menu>Settings>CyanogenMod>User Interface>Uncheck 270 degrees
5. Menu>Settings>CyanogenMod>User Interface>Auto BackLight>Use Custom>Check
*Then... >Auto BackLight >Other Levels
Set buttons column to all zeros to kill the trackball light and hit ‘Save & Apply’
6. Menu>Edit> Remove un-needed screens (3 is enough, you widget lovers)
7. Menu>Settings>ADW.Launcher>Screen Preferences>
a. Default Screen (set to middle screen (e.g. “2” if you use 3 screens or “3” if you use 5 screens
b. Desktop Scrolling Speed: 167 (lower is faster!)
c. Desktop Overshoot: 208. Menu>Settings>ADW.Launcher>Drawer Settings>
a. Zoom effect speed: 385 (lower is faster!)
b. Fade App Labels: Uncheck
c. Background Color: Black, don’t use any alpha (slide right to make it opaque!)9. Menu>Settings>ADW.Launcher>System Preferences>
a. Home button binding> “Move to default desktop”
b. Swipe down actions> “None”
c. Swipe Up Actions> “None”
d. Home Orientation> I use portrait for the home screen because flopping annoys me10. Menu>Settings>ADW.Launcher>UI Settings>
a. Desktop Dots> Uncheck (useless dots… swipe left/right instead)
b. Secondary Action Buttons> (adds two more buttons to the dockbar)
c. TintAB>uncheck
d. Highlights Press Color> Slide alpha to the right
e. Highlights Focus Color> Slide alpha to the right
f. Show desktop indicator> uncheck (really, you know what screen you are on)
11. Menu>Settings>Accounts & Sync>Facebook>UNcheck! (refresh manually in the app)
12. App Drawer>News&Weather>Menu>Settings>Refresh Settings>Uncheck
13. Long hold your finger on a blank space on the home screen to add shortcuts, change wallpapers, etc.
14. After everything is set up the way you want.
a. Menu>Settings>ADW.Launcher>Backup and Restore>Backup ADW Settings
b. Menu>Settings>ADW.Launcher>Backup and Restore>Backup desktop configurationThat will make restoring everything after a wipe and reflash so much easier. Between the google backup function of 2.2 and this, all you will have to do is login, wait for everything to download, restore these two xml files, and then restore your widgets into the placeholders.
15. Dialer>Menu>Preferences>View Contact>Text Action for Mobile Only>Check!
MUST have Apps:
• Smart Vibrate for 1.6+ (set longer and custom vibrations)
• GPS Status (for resetting GPS when you get slow locks)
• Google Voice (I laugh at those of you who use Sprint VVM)
• ES File Explorer
Suggested Apps:
• Dolphin Brower (I use the original, but have HD as well, the latter moved to SD using the 2.2 function Menu>settings>application>manage applications>downloaded>(app)>Move to SD
• Bookmarks to SD (I only use the “sync” portion to sync bookmarks to http://bookmarks.google.com
• AK Notepad
• Chrome to Phone
• Yelp
Widgets I use/suggest:
• Clock Widgets: Digi-Clock
• Power Widget: Extended Controls (I have to have airplane mode that “Power Control" doesn’t have)
Do NOT use a task killer. It isn't needed, you don't need one, and they only screw things up. If you want to kill apps manually, just do it through: Menu>Settings>Applications>Running>(app)>Force Stop
CM6 Question&Answer Thread
CM6 Nightlies Thread
CM6 RC1 Thread
HEROC Cyanogen Forum See "Downloads" folder for latest versions
Black taskbar
How to change the taskbar to black without flashing a mod:
A restart is required to change the bar color itself... other changes will eventually update without restart (e.g. clock will change when the next minute ticks over)
The theme is already loaded on the phone, and it is now just a 2 step process:
1. Menu>Settings>CyanogenMod>User Interface>Tweak Extras>Select A Theme>STOCK_Black
2. Reboot the phone.
sladehawke said:
How to change the taskbar to black without flashing a mod:
A restart is required to change the bar color itself... other changes will eventually update without restart (e.g. clock will change when the next minute ticks over)
1. Menu>Settings>CyanogenMod>User Interface>Tweak Extras>Save Current Theme> "before" and save! (making a backup)
2. Menu>Settings>CyanogenMod>User Interface>Notification Colors>Custom Notification Bar> Check!
3. Menu>Settings>CyanogenMod>User Interface>Notification Colors>Bar Color> pick black and tap center
4. Menu>Settings>CyanogenMod>User Interface>Notification Colors>Notifications Ticker Color> pick white and tap center
5. Menu>Settings>CyanogenMod>User Interface>Notification Colors>Notifications Count Color> pick white and tap center
6. Menu>Settings>CyanogenMod>User Interface>Status Bar>Clock Color> pick white and tap center
7. Menu>Settings>CyanogenMod>User Interface>Date and Provider>Date Color> pick white and tap center
8. Menu>Settings>CyanogenMod>User Interface>Tweak Extras>Save Current Theme> "after" and save! (making another backup, useful after reflashing)
9. Reboot the phone.
Click to expand...
Click to collapse
Darn! Wish you had made this post 2 weeks ago! Thanks
Good stuff. I use most of these settings already.
Sent from my HERO200 using XDA App
APK's and packages to remove
Here is a list of apk's and packages that I personally remove... Assuming you have made a recent nandroid backup and have the SDK installed the first step is to start a command shell, adb remount for delete priveleges, start an adb shell, and then change directories
in windows: Start>Run>cmd.exe
Code:
cd\android-sdk-windows\tools
adb remount
adb shell
cd system/app
The next step is to delete/uninstall whatever you want. Most are a two step process (removing "rm" an apk file and then uninstalling "pm uninstall" the server package); but some are just rm'ing the apk file.
Google Talk: useless to me and doesn't break anything else (like Voice or Gmail et al) if you get rid of it:
Code:
rm Talk.apk
pm uninstall com.google.android.talk
News and Weather: I have windows in my house. This app bugs me because of its background data/battery use.
Code:
rm GenieWidget.apk
pm uninstall com.google.android.apps.genie.geniewidget
Keyboard Tutorial: I bet you've already figured out how to use the CM6 keyboard, if not, run this once before you get rid of it:
Code:
rm LatinImeTutorial.apk
pm uninstall com.google.android.latinimetutorial
Live Wallpaper Picker: Live wallpapers are useless eye candy on the underpowered HeroC once the novelty wears off:
Code:
rm LiveWallpapersPicker.apk
pm uninstall com.android.wallpaper.livepicker
POP3 Email Client: I only use Gmail... and pop3 pulling will kill your battery
Code:
rm Email.apk
pm uninstall com.android.email
Bluetooth: I'd rather not look like I'm talking to myself and it isn't installed in my car
Code:
rm Bluetooth.apk
pm uninstall com.android.bluetooth
Tips Widget: really???
Code:
rm Protips.apk
pm uninstall com.android.protips
Speech Recorder: This is not for recording voice notes... run it once if you don't believe me
Code:
rm SpeechRecorder.apk
pm uninstall com.android.speechrecorder
Twatter: no thanks.
Code:
rm Twitter.apk
pm uninstall com.twitter.android
Amazon mp3:
Code:
rm com.amazon.mp3.apk
pm uninstall com.amazon.mp3
First boot setup wizard: If it worked once, you won't need it again
Code:
rm SetupWizard.apk
pm uninstall com.android.setupwizard
Voice Dialer: run it if you don't know what it is... I don't use bluetooth and google voice search works without this installed
Code:
rm VoiceDialer.apk
pm uninstall com.android.voicedialer
VPN Client: If you don't use a corporate VPN, feel free to delete it
Code:
rm VpnServices.apk
pm uninstall com.android.server.vpn
CM6 Wallpapers: I use my own wallpaper and wouldn't be caught dead with a nerdpaper on my phone
Code:
rm CMWallpapers.apk
Car Home:
Code:
rm CarHomeGoogle.apk
rm CarHomeLauncher.apk
You should end up with a little bit more free memory from all of this, probably more than the attached screenshot shows because the screenshot program eats a fair amount of memory.
With Build #75 on 9/2/2010:
Before I removed the bloat:
Other: 48MB in 5 --- Avail:13MB + 68MB in 15
After I removed the bloat:
Other: 34MB in 4 --- Avail: 64MB + 60MB in 15
115MB Internal Available
Funny thing is happening here... When I try to remove Twitter.apk with adb, I get "Can't remove, directory not empty". But I can remove it with ES File Explorer in root mode. However "pm uninstall com.twitter.android" gives me Failed ..... Is there maybe that's something needs to be removed before Twitter?
trancephorm said:
Funny thing is happening here... When I try to remove Twitter.apk with adb, I get "Can't remove, directory not empty". But I can remove it with ES File Explorer in root mode. However "pm uninstall com.twitter.android" gives me Failed ..... Is there maybe that's something needs to be removed before Twitter?
Click to expand...
Click to collapse
Before you can uninstall the package, you need to remove ("rm") it from the directory.
rm -f /system/app/Twitter.apk
pm uninstall com.twitter.android
http://wiki.cyanogenmod.com/index.php?title=Barebones
I solved it yesterday... No one's talking here about S-OFFing the phone but it is crucial. This thread helped me S-OFFing it properly (made bootable USB with unetbootin), and only then the procedure you told me works...
so i just flashed the AmeriCanAndroid rom and everything is running smoothly. the only issue is that the screen is very small. like the notification bar is so small i can hardly see it. the lock screen is a little bigger then a US stamp. i searched the original thread but there are over 1500 pages and the search function yeilded no results . so how do i fix the screen size?
The very first page of ACA thread says
"-Starting with 080111 and later, users can edit /sdcard/android/startup.txt prior to booting to adjust LCD_DENSITY, GPS_ZONE, and DATA_SIZE (data.img)
(ie: the default lcd_density of ACA is 167. Edit the lcd_density= value to 240 to get standard sized icons and fonts)"
The part you're looking for is to change the value to 240.
I do agree, its a plague to look through that thread and search ain't no help if you don't search right
RE: Wrong Section
Hi...please put this in the questions and answers section...iron fist will be on you ...here are some solutions I found by simply using the search:
You can increase the density (sort of like changing monitor resolution) on your screen by simply changing the build.prop file. This gives you more viewing area on your screen. The build.prop file contains many user variables that are editable and one of them is the LCD Density. The lower the number, the higher the resolution. The default value is 240, but by simply changing it to 200, you can increase the resolution and see more emails in your email app, more app listings in the market, more room for widget alignment, crisper graphics, and much more!
PERMANENT ROOT SOLUTION:
now that we can do perm root, you can permanently change this by modifying your build.prop file located /system/build.prop. look for ro.sf.lcd_density and modify the number and save and reboot.
Recommended value is 200, though many users like 190. If you are unsure what you like, please try TEST MODE shown below!
Please be sure to download Spare Parts from the Market, and disable Compatibility Mode in the app. This will fix many, many apps from not displaying full-screen, however there are some apps that will not re-size.
This works really well if you pair it with something like Launcher Pro or ADW.Launcher, where you have control over rows/columns and resizing widgets.
Easiest Method -- Go to Market and download one of the LCD Density apps. Search "LCD Density."
Phone-Only Method:
You can use Root Explorer, or any text editor like notepad++ or text edit.
1. Open a File Manager and locate /system/build.prop
2. Make sure "/system" is mounted as R/W (in Root Explorer, click the Mount R/W button at the top.)
2A. MAKE A BACKUP!
3. Open and Edit the file.
4. Find ro.sf.lcd_density=240 and change it to desired value (recommend 200 or 190 for G2).
5. Save the file.
6. Exit and Reboot!
If you use a separate text editor, just copy the file to your SDCard, edit it there, and move it back and overwrite the original. I recommend backing up the original just-in-case.
ADB Method:
at the cmd prompt:
1. adb pull /system/build.prop
2. Go to SDK / Tools folder and open build.prop in a text editor (recommend WORDPAD for Windows).
3. Find ro.sf.lcd_density=240 and change it to desired value (recommend 200 or 190 for G2).
4. Save & Exit
5. go back to cmd prompt and type: adb shell mount -o remount,rw /dev/block/mmcblk0p25 /system
6. type: adb push build.prop /system/
7. exit and reboot phone!
hope this helps you out
Or if that doesn't work, go to spare parts and uncheck "compatibility mode" then reboot phone
Pansi SMS screen size issue
I am using american android 2.3.7.
I have installed Pansi SMS application for messaging but some how it is not coming on the fullscreen of HD2. It is just capturing upper middle part of the screen Neither am i able to open the settings of Pansi SMS. Even the windows key is not working to open its setting.
How can i resolve this.
Is there any other SMS app as good as PANSI ?
With this procedure you will be able to disable the capacitive buttons and enable the real android onscreen buttons, NOT PIE.
This has been tested in a Tab Pro 8.4 with the latest CM build. If you follow the instructions correctly you shouldn't have any issues, however make a backup just in case. If anyone wants to try it with a stock rom please let me know if it works.
Requisites: Root access and a root explorer.
1. With your preferred root explorer open your build prop and add the following line all the way to the end:
qemu.hw.mainkeys=0
Save and exit.
2. Navigate to system/usr/keylayout and open sec_touchkey.kl as text.
You should have two lines. Add a # at the beginning of each line as follows:
#key 158 BACK
#key 254 APP_SWITCH
Save and exit.
3. Exit the file explorer and go to settings, buttons and turn off the buttons light.
4. Reboot and voila!!!
I hope this helps.
I'm wondering if someone got the chance to test this and if it work for everybody else as it works for me.
I managed to get the soft keys showing via step 1.
However, I do not find a file called sec_touchkey.kl in step 2.
Any advice?
I have atmel_mkt_ts.kl, gpio_keys.kl and synaptics_rmi4_i2c.kl instead.
uPDATE - managed to do step 2 by editing generic.kl instead
All works great now!
It works fine in portrait but broken in landscape. Keys dont show up at all. Any fix for this?
burshturs said:
I'm wondering if someone got the chance to test this and if it work for everybody else as it works for me.
Click to expand...
Click to collapse
I have the same problem with stock ROM.
aeron16 said:
I managed to get the soft keys showing via step 1.
However, I do not find a file called sec_touchkey.kl in step 2.
Any advice?
I have atmel_mkt_ts.kl, gpio_keys.kl and synaptics_rmi4_i2c.kl instead.
uPDATE - managed to do step 2 by editing generic.kl instead
All works great now!
Click to expand...
Click to collapse
Are you trying it in stock or CM?
Hi am using Stock
Hi guys i tried on CM 11 and i dont find #key 254 APP_SWITCH , i rebooted my TAB and Hardware button still works , and appear Software button too , any clue?
Works like a sharme on cm11. The only thing is that the file isn't named 'sec_touchkey.kl' but 'sec_touchscreen.kl' (newest nightly 9-9-2014)
Thanks, works great for me on cm11, too
Works like a charm.
But it's annoying to do this every time I flash a new nightly - so I made a recovery zip-file that does the trick in recovery. Just flash it after you flashed a new ROM.
It's tested on CM11. The script is quite generic and maybe also works on other ROMs.
It first deletes the line with qemu.hw.mainkeys in build.prop if there is one (to avoid duplicates) and then inserts the command at the end of the file.
After that it removes all "#" in front of key assignment in sec_touchscreen.kl (again to avoid duplicates) and then adds "# " in front of every key assignment in this file.
@burshturs: Feel free to post this zip in the OP, if you want to.
The code of the shellscript, if someone is interested:
Code:
#!/sbin/sh
sed -i '/qemu\.hw\.mainkeys/d' /system/build.prop
echo "qemu.hw.mainkeys=0" >> /system/build.prop
sed -i 's/\# *key/key/gI' /system/usr/keylayout/sec_touchscreen.kl
sed -i 's/key/\# key/gI' /system/usr/keylayout/sec_touchscreen.kl
Good stuff. Thank you ! So I guess the way to undo the process I is simply to flash a CM update?
Just flash the ROM again without reset and everything will be as before. Or edit the files as described in the OP and revert the changes.
Nice!
I tried this om my sm-t520 and it works.
I did not phase out the Samsung bar, because in portait mode the bar is gone.
Is there a solution for the Andoid bar in portrait mode?
Sorry if this sounds like a dumb question but you said to open the build prop and add that line to the bottom and my question is where, exactly? I'm using solid explorer and am in the system root folder but to which file do I add that line? Is it in system>usr>keylayout>Generic.kl like I navigated to to disable the capacitive buttons?
I found how to do that in another post and then enabled Pie, but I'd rather have the normal buttons instead.
Sent from my SAMSUNG-SM-N900A using XDA Free mobile app
@baldwyn: build.prop is a file in /system.
Does anybody know the key for the home-button? I have already disabled #172 but that's not working.
petty500 said:
Nice!
I tried this om my sm-t520 and it works.
I did not phase out the Samsung bar, because in portait mode the bar is gone.
Is there a solution for the Andoid bar in portrait mode?
Click to expand...
Click to collapse
You can use this app instead of the build.prop edit. That works just great, The Pro version even allows many customizations incl. behaviour like auto hide or not or custom icons. Important - it works both portrait and landscape,
https://play.google.com/store/apps/details?id=com.mrbimc.udn.lite&hl=de
Working in CM12?
hypophysis said:
Works like a charm.
But it's annoying to do this every time I flash a new nightly - so I made a recovery zip-file that does the trick in recovery. Just flash it after you flashed a new ROM.
It's tested on CM11. The script is quite generic and maybe also works on other ROMs.
It first deletes the line with qemu.hw.mainkeys in build.prop if there is one (to avoid duplicates) and then inserts the command at the end of the file.
After that it removes all "#" in front of key assignment in sec_touchscreen.kl (again to avoid duplicates) and then adds "# " in front of every key assignment in this file.
@burshturs: Feel free to post this zip in the OP, if you want to.
The code of the shellscript, if someone is interested:
Code:
#!/sbin/sh
sed -i '/qemu\.hw\.mainkeys/d' /system/build.prop
echo "qemu.hw.mainkeys=0" >> /system/build.prop
sed -i 's/\# *key/key/gI' /system/usr/keylayout/sec_touchscreen.kl
sed -i 's/key/\# key/gI' /system/usr/keylayout/sec_touchscreen.kl
Click to expand...
Click to collapse
Has anyone tried this in CM12? Or perhaps CM12 has a built-in setting that accomplishes the same thing?
Thanks,
Ron
kingofcomedy said:
Click to expand...
Click to collapse
Thank you for this. With this setting are the capacitive buttons disabled? I would prefer that they were.
Sent from my SM-T320 using Tapatalk
Hello, I was messing around with my DPI and found that if you change the DPI to 640 and reboot you get the old S6 style icons back. Do a backup in twrp before you do this, this is just a useless bug and it also breaks the camera along with the gallery icon being missing this is literally just to try...
Code:
adb shell
$su
#wm density 640
reboot
Hello, I'm trying to get my status bar icons names.
According to that thread:
https://www.reddit.com/r/GalaxyS8/c...move_status_bar_icons_without_root_using_adb/
I copied my framework-res.apk, extract, but couldn't find a file contains status bar icons names.
Anyone can help?
Thanks
These are the status bar icon names for the S8 plus, they should be the same for the S8....
<string-array name="config_statusBarIcons">
<item>power_saver</item>
<item>rotate</item>
<item>headset</item>
<item>data_saver</item>
<item>managed_profile</item>
<item>knox_container</item>
<item>smart_network</item>
<item>felica_lock</item>
<item>ime</item>
<item>popup</item>
<item>volte</item>
<item>glove</item>
<item>gesture</item>
<item>smart_scroll</item>
<item>face</item>
<item>sync_failing</item>
<item>sync_active</item>
<item>cast</item>
<item>hotspot</item>
<item>location</item>
<item>gps</item>
<item>lbs</item>
<item>wearable_gear</item>
<item>bluetooth</item>
<item>nfc_on</item>
<item>nfc</item>
<item>femtoicon</item>
<item>tty</item>
<item>speakerphone</item>
<item>zen</item>
<item>mute</item>
<item>volume</item>
<item>com.samsung.rcs</item>
<item>vowifi</item>
<item>wifi_p2p</item>
<item>wifi</item>
<item>wifi_ap</item>
<item>wifi_oxygen</item>
<item>cdma_eri</item>
<item>phone_signal_second_sub</item>
<item>data_connection</item>
<item>phone_evdo_signal</item>
<item>phone_signal</item>
<item>battery</item>
<item>alarm_clock</item>
<item>toddler</item>
<item>ims_volte</item>
<item>keyguard_wakeup</item>
<item>safezone</item>
<item>secure</item>
<item>clock</item>
<item>wimax</item>
<item>smart_bonding</item>
<item>private_mode</item>
</string-array>
Get the APKTool [1] for decompiling/decoding and run it with:
Code:
apktool.bat decode -s -o framework-decoded framework-res.apk
This creates a subfolder "framework-decoded" there you will find the XML in \res\values\arrays.xml
HF
[1]: APKTool-Website: ibotpeaches.github.io/Apktool/