Datenbank JB & ICS (AOSP) * Mods-Apps-Widgets-Launcher-Fixes * Für Entwickler

  • 106 Antworten
  • Letztes Antwortdatum
P.S; It will work on all Custom[ICS]ROMs.
http://forum.xda-developers.com/showpost.php?p=24733685&postcount=1366
Quelle xdahttp://forum.xda-developers.com/showthread.php?t=1328461&page=137
How To Fix External SD!!

Requirments;
Directory Bind [Download];DirectoryBind_0.2.0k.apk - 4shared.com - online file sharing and storage - download - Dashu
Rooted Phone

How To Fix It;

Download & Install Directory Bind
Open It
Press The Menu Button
Click Add New Entry
On the Source Path type /emmc/
On the Mount(target) path type /sdcard/ecternal_sd/
Then Hit! Add!

Then you will see the entry there will be a disk sign in grey color just press it once and it'll be green

Then Exit the app goto file manager
/sdcard/external_sd/
And your files will be there

Hope This Helped You
P.S; It will work on all Custom[ICS]ROMs.




barome bestädigt

Yes it's work. Originally, external SD is emmc. This app rename this folder.
 
  • Danke
Reaktionen: kryox
mit dem sd-card fix geht die usb verbindung am pc nicht mehr ? :/
will das meine externe sd card wieder unter windows angezeigt wird :(
 
synatic1807 schrieb:
mit dem sd-card fix geht die usb verbindung am pc nicht mehr ? :/
will das meine externe sd card wieder unter windows angezeigt wird :(

---
hast du evt. 'FastCharge' in den (u.a.) Nstools od. 'RomControl' aktiviert..? Dann deaktiviere das mal und teste den USB-Anschluss/SDcard noch einmal...
---
EDIT/

Dejá vú...???

DAS (!!) hatten wir doch schonmal... ;)
---


SentFrom Tapatalk2 by ICS-I9K
 
Stimmt :D
Ja Ne das phone wird mit fast Charge gar nicht erkannt
Deaktiviere ich des geht USB zwar , allerding sehe ich meine ext.sd nicht sondern nur die interne
Und ich find einfach nichts was das Problem behebt :/
 
synatic1807 schrieb:
Stimmt :D
Ja Ne das phone wird mit fast Charge gar nicht erkannt
Deaktiviere ich des geht USB zwar , allerding sehe ich meine ext.sd nicht sondern nur die interne
Und ich find einfach nichts was das Problem behebt :/

---
da brauchst du die 'Multimount' SDcard App aus'm 'PlayStore'.

Installieren, auf autom. und 'Beide SD Karten' konfigurieren und nach 'nem Neustart erhälst du nach dem verbinden des USB auch Beide SD's. (LW Buchstaben sind evt. vertauscht)
---



SentFrom Tapatalk2 by ICS-I9K
 
  • Danke
Reaktionen: synatic1807
CheekyLord schrieb:
---
da brauchst du die 'Multimount' SDcard App aus'm 'PlayStore'.

Installieren, auf autom. und 'Beide SD Karten' konfigurieren und nach 'nem Neustart erhälst du nach dem verbinden des USB auch Beide SD's. (LW Buchstaben sind evt. vertauscht)
---

yessir! läuft ! :drool:
daaaanke !! endlich kein elendiges hin und herschieben mehr :thumbsup:
 
[REQ] ICS - EAP SIM Support

Autor: darckengel by xda

Hi,
Some Cellphone Carriers supports EAP SIM technology.
I read that the protocol was coded on CM7 (and so maybe on CM9) but that it wasn't available when you choosed the protocol on the wifi config panel.
Could it be possible ta add this support on CM9 like roms (aokp, cna and others...)?

I found this with google seach, don't know if it could help:
http://code.google.com/p/seek-for-an...wiki/EapSimAka
 
Habe eine Frage wegen dem External SD Fix.. Und zwar ist die externe SD Karte nach dem Fix nur noch unter mnt/sdcard/external_sd zu finden oder auch noch unter mnt/emmc ???
Weil ich habe schon bei einigen Apps (z.B. Navigon) den Pfad auf emmc geändert und bei einigen noch nicht :D
 
by clay21 / xda



If anyone wants icons in settings menu and rom control like the screen shots, flashable zip is attached....looks very nice on this rom
smile.gif
.

Attached Thumbnails
Attached Files
zip.gif
Rom_control-settings.apk.zip - [Click for QR Code] (3.48 MB, 4 views)
 
xHCx schrieb:
Habe eine Frage wegen dem External SD Fix.. Und zwar ist die externe SD Karte nach dem Fix nur noch unter mnt/sdcard/external_sd zu finden oder auch noch unter mnt/emmc ???
Weil ich habe schon bei einigen Apps (z.B. Navigon) den Pfad auf emmc geändert und bei einigen noch nicht :D

---
Du kannst beide pfade weiter nutzen. (../emmc UND ../external_sd)
leider startet diese app, im autostart modus, immer im vollbild.
ware schön
wenn das im hintergrund stattfinden würden.
---



SentFrom Tapatalk2 by ICS-I9K
 
Sense 4 Multitasking! (Update 8.5)(Added BlackIce Package!)(Added B33) by locomain / xda

Sense 4 Multitasking! (Update 8.5)(Added BlackIce Package!)(Added B33) hi!
i start moding the normal AOKP SystemUI to look like sense 4 multitasking
this was a WIP but i think its save to say it close to the real thing


here is the mod with transparent background!



this is for GSM AOKP 32 and 33
but may work on other 4.0.4 roms confirmed to work on
-Foxhound ROM
-LTE CDMA AOKP Roms
-older 4.0.4 aokp roms

it works great and looks good
al though its not as smooth as i wanted it to be but i will be working on that
there are 2 CWM-zips files below
1 for the mod and the other one to go back to stock AOKP


if someone wants to help the systemui is in the attachment zip
this needs to be done:
-translate Recent app string for other languages, currently english greek german and dutch are working

CHANGELOG
-app labels are now centered
-disabled blue glow when touching the recent app
-added framework for better images!
-a view other little improvements
-softkey issue fixed!
-fixed the the No Recent App problem
-the images are now angled!
-fixed german
-changed the height of the app thumbnail so it looks more like the real thing
-added transparent
-added b33
-added greak

DOWNLOADS (AOKP 32)

Sense 4 Mod
http://dl.dropbox.com/u/63404537/Loc...e4-5%20B32.zip

Sense 4 Mod Transparent
http://dl.dropbox.com/u/63404537/Loc...32%20trans.zip

Back 2 Stock b32
http://dl.dropbox.com/u/63404537/LocoZipStock b32.zip

DOWNLOADS (AOKP 33)

Sense 4 Mod
http://dl.dropbox.com/u/63404537/Loc...e4-6%20b33.zip

Sense 4 Mod Transparent
http://dl.dropbox.com/u/63404537/Loc...33%20Trans.zip

Back 2 Stock
http://dl.dropbox.com/u/63404537/LocoZipStock b33.zip

DOWNLOADS BlackICE b33(untested)

Sense 4
http://dl.dropbox.com/u/63404537/blackice b33.zip

Sense 4 Transparent
http://dl.dropbox.com/u/63404537/bla...33%20trans.zip




enjoy!


if u like my work and want to support it
you can always do a little donation
biggrin.gif


 
[APP][ROOT] TouchPal Contacts 4.0.4 on steroids

Guys, here it is the new TouchPal Contacts version 4 patched to clear missed call notification, with an added bonus (over the previous one): it doesn't require NotiGo anymore!
Also, since in this new version the background service uses low ram (5mb in my case), i didn't disable it.

Upcoming patches:
- add translations (i'll do the italian one, please translate the strings.xml file and post it so that i can add it in the new releases)
- customizable number formatting

Installation:
Simply install the zip from CWM recovery!

[OLD VERSION]
Hi to all,
I like very much Touchpal Dialer, but it had some problems for me to be my daily dialer:

  • it launches a background service that eats 10-15 MB of precious ram (other similar apps don't have any bg service);
  • it does not clear missed call notifications (on Gingerbread, as all non stock dialers), and you cannot move it as a system app (e.g. using Titanium Backup) because doing so it crashes
  • it (like many other dialers) does not open when i tap on a missed call notification...

So I patched this app to work as it should be out of the... market!
  • I changed the service so that now it runs only when TouchPal is open;
  • I added support for NotiGo, so now TouchPal clears missed calls notifications also on Gingerbread.
    But for this to work you have to install NotiGo (see the first post) and install TouchPal after that.
  • Finally, I added support for the Galaxy missed call notification, so you can finally open TouchPal's call log when tapping on a missed call, instead of the built in (crap) call log.
-------------------------------------------------------------------------
For the techs this is what I've done:
  1. In SmartDialerService, method ensureService(), I replaced the call to startService() with bindService(), because every TouchPal activity calls ensureService on creation;
  2. In SmartDialerService I added a new method askForStop() to shut down the service when no TouchPal activity is using it, and added a call to this in the onDestroy() method of every TouchPal activity;
  3. In DialerActivity and CallLogActivity I added the call to NotiGo to clear the notifications;
  4. In the AndroidManifest.xml I added an intent support for the action"com.sec.android.app.dialertab.calllog.Detai lViewActivity", which is broadcasted when you tap a missed call notification. Also, obviously, added permission support for NotiGo ("thinkpanda.permission.CLEAR_MISSED_CALL")
For further details, please decompile the apk and compare the smali files to the original ones.
-------------------------------------------------------------------------

Please give me feedback on this mod, and if you like it hit Thanks!

Bit


Changelog:
  • com.cootek.smartdialer_3.3-mod1.apk: initial release (see before)
  • com.cootek.smartdialer_3.3-mod2.apk: corrected some label in italian translation
  • com.cootek.smartdialer_3.4-mod3.apk: reapplied all patches on new version 3.4
  • touchpal-contacts-4.0.4-mod4.zip: new version 4.0.4 patched and distributed as a CWM update

Attached Files
apk.gif
com.cootek.smartdialer_3.4-mod3.apk - [Click for QR Code] (1.84 MB, 513 views)
zip.gif
touchpal-contacts-4.0.4-mod4.zip - [Click for QR Code] (2.49 MB, 3 views)
Last edited by bitblaster; Today at 12:04 AM. Reason: new version

Der ursprüngliche Beitrag von 07:59 Uhr wurde um 08:03 Uhr ergänzt:

-------------------------------------------------------------------------------


[MOD][GUIDE][v1.1] Sense 4.0 style Multitasking on Stock ICS [Code updated]

-----------------------------------------------------------------------------
Updated to v1.1
- removed all resources (png files) : for other screen size devices..
- minor layout fixes.
- added landscape layout.
-----------------------------------------------------------------------------

This mod is originally posted on Nexus S theme forum :

[MOD] Sense 4.0 style Multitasking on Stock ICS

Preview :



  • hqdefault.jpg

y2w0A.png



This mod is related to SystemUI.apk and framework-res.apk, so making universal version for all devices and all roms is impossible. So here I post my source code and resource files for other users..
smile.gif


-----------------------------------------------------------------------------

* Caution : All values are (basically) for HDPI=WVGA devices *


How to :
1) Apply patch(diff).
2) Compile.
3) Done
smile.gif



* diff v1.1 : Download

diff -rupN ./a/core/res/res/values/dimens.xml ./b/core/res/res/values/dimens.xml --- ./a/core/res/res/values/dimens.xml 2012-04-25 11:31:16.000000000 +0900 +++ ./b/core/res/res/values/dimens.xml 2012-04-27 00:22:57.951903000 +0900 @@ -19,9 +19,9 @@ --> <resources> <!-- The width that is used when creating thumbnails of applications. --> - <dimen name="thumbnail_width">120dp</dimen> + <dimen name="thumbnail_width">168dp</dimen> <!-- The height that is used when creating thumbnails of applications. --> - <dimen name="thumbnail_height">120dp</dimen> + <dimen name="thumbnail_height">267dp</dimen> <!-- The standard size (both width and height) of an application icon that will be displayed in the app launcher and elsewhere. --> <dimen name="app_icon_size">48dip</dimen> diff -rupN ./a/packages/SystemUI/res/drawable/status_bar_recents_background.xml ./b/packages/SystemUI/res/drawable/status_bar_recents_background.xml --- ./a/packages/SystemUI/res/drawable/status_bar_recents_background.xml 2012-04-25 11:31:16.000000000 +0900 +++ ./b/packages/SystemUI/res/drawable/status_bar_recents_background.xml 2012-04-26 19:18:32.766622000 +0900 @@ -16,10 +16,11 @@ * limitations under the License. */ --> -<shape xmlns:android="http://schemas.android.com/apk/res/android"> +<shape android:shape="rectangle" xmlns:android="http://schemas.android.com/apk/res/android"> <gradient name="status_bar_recents_background" - android:startColor="#e6000000" - android:endColor="#c0000000" - android:angle="@integer/status_bar_recents_bg_gradient_degrees" + android:type="radial" + android:startColor="#ff4a4a4a" + android:endColor="#ff080808" + android:gradientRadius="400" /> </shape> diff -rupN ./a/packages/SystemUI/res/layout/status_bar_no_recent_apps.xml ./b/packages/SystemUI/res/layout/status_bar_no_recent_apps.xml --- ./a/packages/SystemUI/res/layout/status_bar_no_recent_apps.xml 2012-04-25 11:31:16.000000000 +0900 +++ ./b/packages/SystemUI/res/layout/status_bar_no_recent_apps.xml 2012-04-26 19:54:23.777459000 +0900 @@ -32,5 +32,6 @@ android:text="@string/status_bar_no_recent_apps" android:gravity="center_horizontal" android:layout_gravity="center" + android:visibility="gone" /> </FrameLayout> diff -rupN ./a/packages/SystemUI/res/layout-land/status_bar_recent_item.xml ./b/packages/SystemUI/res/layout-land/status_bar_recent_item.xml --- ./a/packages/SystemUI/res/layout-land/status_bar_recent_item.xml 2012-04-25 11:31:16.000000000 +0900 +++ ./b/packages/SystemUI/res/layout-land/status_bar_recent_item.xml 2012-04-27 15:03:54.731169000 +0900 @@ -22,55 +22,56 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="match_parent" android:layout_width="wrap_content" - android:paddingLeft="@dimen/status_bar_recents_item_padding" - android:paddingRight="@dimen/status_bar_recents_item_padding"> + android:paddingRight="@dimen/status_bar_recents_item_padding" + android:paddingLeft="@dimen/status_bar_recents_item_padding"> <RelativeLayout android:id="@+id/recent_item" android:layout_gravity="center_vertical" android:layout_height="wrap_content" android:layout_width="wrap_content" - android:paddingTop="@*android:dimen/status_bar_height"> + android:paddingTop="@*android:dimen/status_bar_height" + android:layout_centerInParent="true"> <FrameLayout android:id="@+id/app_thumbnail" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_alignParentLeft="true" - android:layout_alignParentTop="true" - android:layout_marginTop="@dimen/status_bar_recents_thumbnail_top_margin" - android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" - android:background="@drawable/recents_thumbnail_bg" - android:foreground="@drawable/recents_thumbnail_fg" + android:layout_centerInParent="true" + android:background="#00000000" + android:foreground="#00000000" android:visibility="invisible"> <ImageView android:id="@+id/app_thumbnail_image" - android:layout_width="@dimen/status_bar_recents_thumbnail_width" - android:layout_height="@dimen/status_bar_recents_thumbnail_height" + android:layout_width="120.0dip" + android:layout_height="191.0dip" + android:layout_marginTop="7.0dip" + android:layout_marginBottom="7.0dip" + android:scaleType="centerInside" /> </FrameLayout> <ImageView android:id="@+id/app_icon" - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin" - android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" - android:layout_alignParentLeft="true" - android:layout_alignParentTop="true" - android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" - android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" + android:gravity="center_horizontal" + android:layout_marginTop="32.0dip" + android:layout_below="@id/app_thumbnail" + android:maxWidth="35dp" + android:maxHeight="35dp" android:scaleType="centerInside" android:adjustViewBounds="true" /> <TextView android:id="@+id/app_label" - android:layout_width="@dimen/status_bar_recents_app_label_width" + android:layout_width="match_parent" android:layout_height="wrap_content" - android:textSize="@dimen/status_bar_recents_app_label_text_size" - android:fadingEdge="horizontal" - android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" + android:gravity="center_horizontal" + android:textSize="12dip" + android:fadingEdge="none" + android:fadingEdgeLength="0.0dip" android:scrollHorizontally="true" - android:layout_alignLeft="@id/app_thumbnail" - android:layout_below="@id/app_thumbnail" - android:layout_marginTop="@dimen/status_bar_recents_text_description_padding" - android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" + android:layout_below="@id/app_icon" + android:layout_alignParentBottom="true" + android:paddingTop="0.0dip" + android:layout_marginTop="0.0dip" android:singleLine="true" android:ellipsize="marquee" android:textColor="@color/status_bar_recents_app_label_color" @@ -80,12 +81,13 @@ android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:textSize="@dimen/status_bar_recents_app_description_text_size" - android:fadingEdge="horizontal" - android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" + android:fadingEdge="none" + android:fadingEdgeLength="0dip" android:scrollHorizontally="true" - android:layout_alignLeft="@id/app_thumbnail" + android:layout_alignParentBottom="true" + android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_below="@id/app_label" - android:layout_marginTop="@dimen/status_bar_recents_text_description_padding" + android:layout_marginTop="3.0dip" android:singleLine="true" android:ellipsize="marquee" /> diff -rupN ./a/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml ./b/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml --- ./a/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml 2012-04-25 11:31:16.000000000 +0900 +++ ./b/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml 2012-04-27 14:05:59.391168000 +0900 @@ -29,27 +29,33 @@ android:background="@drawable/status_bar_recents_background" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_alignParentBottom="true" - android:clipToPadding="false" - android:clipChildren="false"> - - <com.android.systemui.recent.RecentsHorizontalScrollView android:id="@+id/recents_container" - android:layout_width="wrap_content" - android:layout_height="match_parent" - android:layout_marginRight="@dimen/status_bar_recents_right_glow_margin" - android:divider="@null" - android:stackFromBottom="true" - android:fadingEdge="horizontal" - android:scrollbars="none" - android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" - android:layout_gravity="bottom|left" - android:orientation="horizontal" - android:clipToPadding="false" - android:clipChildren="false"> + android:layout_centerVertical="true"> + + <ImageView + android:gravity="center" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_marginTop="0.0dip" + android:src="@drawable/status_bar_recents_background" + /> + + <com.android.systemui.recent.RecentsHorizontalScrollView + android:id="@+id/recents_container" + android:layout_gravity="bottom|left|center" + android:scrollbars="none" + android:fadingEdge="none" + android:fadingEdgeLength="0.0dip" + android:clipChildren="false" + android:clipToPadding="false" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginRight="0.0dip" + android:stackFromBottom="true" + android:divider="@null"> <LinearLayout android:id="@+id/recents_linear_layout" - android:layout_width="wrap_content" - android:layout_height="match_parent" + android:layout_width="match_parent" + android:layout_height="wrap_content" android:orientation="horizontal" android:clipToPadding="false" android:clipChildren="false"> @@ -57,6 +63,16 @@ </com.android.systemui.recent.RecentsHorizontalScrollView> + <TextView + android:textSize="18.0dip" + android:textColor="#ffe5e5e5" + android:gravity="center_horizontal" + android:layout_marginTop="10.0dip" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/recent_apps_title" + /> + </FrameLayout> <include layout="@layout/status_bar_no_recent_apps" diff -rupN ./a/packages/SystemUI/res/layout-port/status_bar_recent_item.xml ./b/packages/SystemUI/res/layout-port/status_bar_recent_item.xml --- ./a/packages/SystemUI/res/layout-port/status_bar_recent_item.xml 2012-04-25 11:31:16.000000000 +0900 +++ ./b/packages/SystemUI/res/layout-port/status_bar_recent_item.xml 2012-04-27 01:14:26.541369000 +0900 @@ -20,69 +20,61 @@ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_height="wrap_content" - android:layout_width="match_parent" - android:paddingTop="@dimen/status_bar_recents_item_padding" - android:paddingBottom="@dimen/status_bar_recents_item_padding"> + android:layout_height="match_parent" + android:layout_width="wrap_content" + android:paddingRight="@dimen/status_bar_recents_item_padding" + android:paddingLeft="@dimen/status_bar_recents_item_padding"> <RelativeLayout android:id="@+id/recent_item" - android:layout_gravity="center_horizontal" + android:layout_gravity="center_vertical" android:layout_height="wrap_content" - android:layout_width="wrap_content"> + android:layout_width="wrap_content" + android:paddingTop="@*android:dimen/status_bar_height" + android:layout_centerInParent="true"> - <TextView android:id="@+id/app_label" - android:layout_width="@dimen/status_bar_recents_app_label_width" - android:layout_height="wrap_content" - android:textSize="@dimen/status_bar_recents_app_label_text_size" - android:fadingEdge="horizontal" - android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" - android:scrollHorizontally="true" - android:layout_alignParentLeft="true" - android:layout_alignTop="@id/app_icon" - android:paddingTop="2dp" - android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" - android:singleLine="true" - android:ellipsize="marquee" - android:textColor="@color/status_bar_recents_app_label_color" - /> <FrameLayout android:id="@+id/app_thumbnail" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_alignParentTop="true" - android:layout_toRightOf="@id/app_label" - android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" - android:background="@drawable/recents_thumbnail_bg" - android:foreground="@drawable/recents_thumbnail_fg" + android:layout_centerInParent="true" + android:background="#00000000" + android:foreground="#00000000" android:visibility="invisible"> <ImageView android:id="@+id/app_thumbnail_image" - android:layout_width="@dimen/status_bar_recents_thumbnail_width" - android:layout_height="@dimen/status_bar_recents_thumbnail_height" + android:layout_width="212.0dip" + android:layout_height="305.0dip" + android:scaleType="center" /> </FrameLayout> - <View android:id="@+id/recents_callout_line" - android:layout_width="@dimen/status_bar_recents_app_label_width" - android:layout_height="1dip" - android:layout_alignParentLeft="true" - android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" - android:layout_toLeftOf="@id/app_thumbnail" - android:layout_below="@id/app_label" - android:layout_marginRight="3dip" - android:layout_marginTop="3dip" - android:background="@drawable/recents_callout_line" - /> <ImageView android:id="@+id/app_icon" - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_toRightOf="@id/app_label" - android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" - android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin" + android:gravity="center_horizontal" + android:layout_marginTop="105.0dip" + android:layout_below="@id/app_thumbnail" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:scaleType="centerInside" android:adjustViewBounds="true" /> + <TextView android:id="@+id/app_label" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center_horizontal" + android:textSize="@dimen/status_bar_recents_app_label_text_size" + android:fadingEdge="none" + android:fadingEdgeLength="0.0dip" + android:scrollHorizontally="true" + android:layout_below="@id/app_icon" + android:layout_alignParentBottom="true" + android:paddingTop="0.0dip" + android:layout_marginTop="3.0dip" + android:singleLine="true" + android:ellipsize="marquee" + android:textColor="@color/status_bar_recents_app_label_color" + /> + <TextView android:id="@+id/app_description" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" @@ -90,10 +82,10 @@ android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:scrollHorizontally="true" - android:layout_alignParentLeft="true" + android:layout_alignParentBottom="true" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" - android:layout_below="@id/recents_callout_line" - android:layout_marginTop="3dip" + android:layout_below="@id/app_label" + android:layout_marginTop="40.0dip" android:singleLine="true" android:ellipsize="marquee" /> diff -rupN ./a/packages/SystemUI/res/layout-port/status_bar_recent_panel.xml ./b/packages/SystemUI/res/layout-port/status_bar_recent_panel.xml --- ./a/packages/SystemUI/res/layout-port/status_bar_recent_panel.xml 2012-04-25 11:31:16.000000000 +0900 +++ ./b/packages/SystemUI/res/layout-port/status_bar_recent_panel.xml 2012-04-27 14:11:39.881175000 +0900 @@ -29,31 +29,49 @@ android:background="@drawable/status_bar_recents_background" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_alignParentBottom="true"> + android:layout_centerVertical="true"> - <com.android.systemui.recent.RecentsVerticalScrollView - android:id="@+id/recents_container" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginRight="0dp" - android:divider="@null" - android:stackFromBottom="true" - android:fadingEdge="vertical" - android:scrollbars="none" - android:fadingEdgeLength="@*android:dimen/status_bar_height" - android:layout_gravity="bottom|left" - android:clipToPadding="false" - android:clipChildren="false"> + <ImageView + android:gravity="center" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_marginTop="0.0dip" + android:src="@drawable/status_bar_recents_background" + /> + + <com.android.systemui.recent.RecentsHorizontalScrollView + android:id="@+id/recents_container" + android:layout_gravity="bottom|left|center" + android:scrollbars="none" + android:fadingEdge="none" + android:fadingEdgeLength="0.0dip" + android:clipChildren="false" + android:clipToPadding="false" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginRight="0.0dip" + android:stackFromBottom="true" + android:divider="@null"> <LinearLayout android:id="@+id/recents_linear_layout" android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="vertical" + android:orientation="horizontal" android:clipToPadding="false" android:clipChildren="false"> </LinearLayout> - </com.android.systemui.recent.RecentsVerticalScrollView> + </com.android.systemui.recent.RecentsHorizontalScrollView> + + <TextView + android:textSize="20.0dip" + android:textColor="#ffe5e5e5" + android:gravity="center_horizontal" + android:layout_marginTop="45.0dip" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/recent_apps_title" + /> </FrameLayout> diff -rupN ./a/packages/SystemUI/res/values/colors.xml ./b/packages/SystemUI/res/values/colors.xml --- ./a/packages/SystemUI/res/values/colors.xml 2012-04-25 11:31:16.000000000 +0900 +++ ./b/packages/SystemUI/res/values/colors.xml 2012-04-26 19:46:08.367467000 +0900 @@ -22,8 +22,8 @@ <drawable name="notification_item_background_color_pressed">#ff257390</drawable> <drawable name="ticker_background_color">#ff1d1d1d</drawable> <drawable name="status_bar_background">#ff000000</drawable> - <drawable name="status_bar_recents_background_solid">#b3000000</drawable> - <drawable name="status_bar_recents_app_thumbnail_background">#88000000</drawable> + <drawable name="status_bar_recents_background_solid">#00000000</drawable> + <drawable name="status_bar_recents_app_thumbnail_background">#00000000</drawable> <color name="status_bar_recents_app_label_color">#ffffffff</color> <drawable name="status_bar_notification_row_background_color">#ff090909</drawable> <drawable name="notification_header_bg">#FF000000</drawable> diff -rupN ./a/packages/SystemUI/res/values/config.xml ./b/packages/SystemUI/res/values/config.xml --- ./a/packages/SystemUI/res/values/config.xml 2012-04-25 11:31:16.000000000 +0900 +++ ./b/packages/SystemUI/res/values/config.xml 2012-04-26 20:20:19.237457000 +0900 @@ -27,7 +27,7 @@ <!-- Whether recents thumbnails should stretch in both x and y to fill their ImageView --> - <bool name="config_recents_thumbnail_image_fits_to_xy">false</bool> + <bool name="config_recents_thumbnail_image_fits_to_xy">true</bool> <!-- Control whether status bar should distinguish HSPA data icon form UMTS data icon on devices --> diff -rupN ./a/packages/SystemUI/res/values/dimens.xml ./b/packages/SystemUI/res/values/dimens.xml --- ./a/packages/SystemUI/res/values/dimens.xml 2012-04-25 11:31:16.000000000 +0900 +++ ./b/packages/SystemUI/res/values/dimens.xml 2012-04-26 20:31:54.317462000 +0900 @@ -21,9 +21,9 @@ <!-- Recent Applications parameters --> <!-- Upper width limit for application icon --> - <dimen name="status_bar_recents_app_icon_max_width">48dp</dimen> + <dimen name="status_bar_recents_app_icon_max_width">42dp</dimen> <!-- Upper height limit for application icon --> - <dimen name="status_bar_recents_app_icon_max_height">48dp</dimen> + <dimen name="status_bar_recents_app_icon_max_height">42dp</dimen> <!-- Size of application thumbnail --> <dimen name="status_bar_recents_thumbnail_width">164dp</dimen> diff -rupN ./a/packages/SystemUI/res/values/strings.xml ./b/packages/SystemUI/res/values/strings.xml --- ./a/packages/SystemUI/res/values/strings.xml 2012-04-25 11:31:16.000000000 +0900 +++ ./b/packages/SystemUI/res/values/strings.xml 2012-04-30 10:53:24.049658000 +0900 @@ -377,4 +377,8 @@ <!-- Content description of the clear button in the notification panel for accessibility (not shown on the screen). [CHAR LIMIT=NONE] --> <string name="accessibility_clear_all">Clear all notifications.</string> + + <!-- for Sense 4.0 style multitasking mod --> + <string name="recent_apps_title">Recent apps</string> + </resources> diff -rupN ./a/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java ./b/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java --- ./a/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java 2012-04-25 11:31:16.000000000 +0900 +++ ./b/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java 2012-04-27 00:13:08.221367000 +0900 @@ -410,7 +410,7 @@ public class RecentsPanelView extends Re h.thumbnailViewImageBitmap.getWidth() != thumbnail.getWidth() || h.thumbnailViewImageBitmap.getHeight() != thumbnail.getHeight()) { if (mFitThumbnailToXY) { - h.thumbnailViewImage.setScaleType(ScaleType.FIT_XY); + h.thumbnailViewImage.setRotationY(25.0f); } else { Matrix scaleMatrix = new Matrix(); float scale = mThumbnailWidth / (float) thumbnail.getWidth();
Thanks to brucekey in rootzwiki
(this mod is based on his WEBAOKP mod.)
 
Zuletzt bearbeitet von einem Moderator:
[SCRIPT][CM7/9] /datadata/ low storage notification lagless fix - init.d script / by xda

Hello fellow I9000 users.

tl;dr - This fixes your low storage notification problems just by flashing it on CWM.

Disclaimer
First of all, I'd like to inform you that this post is a compilation of the work done by drafnel on the CyanogenMod forums, revthanki on the XDA-Developers forum, and as such I take little to no credit in it, as all I've done was ask for drafnel to help me in the cleanup code for me to put it in a flashable zip.

Sources:
http://forum.cyanogenmod.com/topic/3...ata-partition/
http://forum.xda-developers.com/show....php?t=1444333

Also, as you should know, you take full responsability should data loss or other kinds of damage occur.

Introduction
Lot's of people have encountered the problem where their /datadata partition fills up and then apps begin force closing. This is often confusing since there is usually a lot of space available on the internal 2GB storage partition. But these are two different partitions on cyanogenmod. The created the datadata partition on the fast internal memory so that apps would start up and run faster (i.e. less lag), but it is only about 170MB (which can't be helped).

One thing that can be done is to move the contents of /datadata onto the 2GB /data partition. That will solve the space problem, but then you have the lag problem. So, what we need is for the files that take up a lot of space to reside on the 2GB partition and the files that are accessed frequently by an app to reside an the fast 170MB partition. The files that are accessed often, or that affect app startup speed are the sqlite database files and the xml preferences files. These reside in the databases and shared_prefs sub-directories in each app directory. Drafnel has written a script to perform these operations.

Requirements

  • Samsung Galaxy S based phone (GT-I9000, Vibrant, Fascinate, Captivate, etc.)
  • Kernel that supports init.d scripts

How to use it?
As you would flash a ROM update or a Kernel:
  1. Download the file to your sdcard.
  2. Reboot your phone into CWM.
  3. Choose 'install zip from sdcard', and choose the script from there.
It will run on boot everytime. It's pretty light so your total boot time shouldn't suffer. It will only do the operations if they are needed, and it will clean up after itself. No need to worry about broken links or stale resources.


What it actually does?
On every boot:
  1. Runs a check to see if /data/data is still symlinked to /datadata/
  2. Moves everything that isn't performance critical from /datadata/ to unlinked /data/data/
  3. Cleans up old databases from uninstalled apps

Other stuff to watch out for
  • Titanium Backup users should tick the Preferences > Troubleshooting settings > Follow all symbolic links option
  • SlimICS users should follow this procedure

Changelog
11032012 - First working release.
Attached Files
zip.gif
DataFix_11032012.zip - [Click for QR Code] (195.4 KB, 7229 views)
 
N Abend!

Ich bin auf der Suche nach folgendem Battery Icon, aber in "ICS-blau". http://sdl2.4pda.ru/i/1540563/image/png/i.png

In Perka's file stash oder anderswo bin ich leider noch nicht fündig geworden... Das Icon gibt es aber definitiv in der Farbe, habe es auf Bildern schon gesehen, nur weiß ich leider nicht mehr wo das war.

Vielen Dank schonmal im Voraus! :D
 
@Brainwashed988, falsche Baustelle!
Hier bist Du besser aufgehoben:
THEMES für AOSP ICS Roms - CM9 - AOKP - Dark Night - NEXUS S/4g



[GUIDE] How to create a swap partition on external micro-sd / by xda

Alright folks, you asked for it and here's a simple how-to that will guide you to create and enable a swap partition on external micro-sd on our SGS.

First things first I assume you have already flashed the kernel Devil2_0.73_swap_i9000_CFS_BLN_CMC_20120420 or any other kernel which supports swap partition.

First thing, you want to partition your SD card in order to create our swap partition, I recommend you to follow this accurately.
If you are on mac you can use iPartition to partition your sd-card, while linux users can use Gparted or any other partition tool they may like.

Now that we have successfully created our swap partition, we want to boot up the phone and enable our swap partition in order to be accessible to the kernel.

To detect the swap partition that we have just created open up a ADB terminal and type


Code:
fdisk -l dev/block/mmcblk1
it will look something like this


Code:
/dev/block/mmcblk1p2 1861 1924 514080 82 Linux swap
write down the exact number of the swap partition and let's activate it by typing


Code:
swapon /dev/block/mmcblk1pX
** where X is the number of the swap partition **

We can now check if our swap partition has been activated by executing the command free

Now we want to make our swap partition to be activated at boot time, without having to activate it manually everytime we reboot the phone.

Assuming you know how to at least write and save a text file in VI, let's go back to our fido ADB shell and type


Code:
vi /system/etc/init.d/05userinit
now lets drop few lines in


Code:
#Activate swap at boot #!/system/bin/sh swapon -a
If you are not really comfortable with VI you can also use Nano or even RootExploer or any other root editor if you are more comfortable with UI.

save it and once again in ADB shell lets make it executable


Code:
chmod 750 /system/etc/init.d/05userinit
Now lets create a fstab file so that the kernel can look at and activate the correct swap partition


Code:
vi /system/etc/fstab
Here it goes our swap partition. Remember where X is your actual swap partition according to your partition layout.


Code:
/dev/block/mmcblk1pX swap swap
As last step you may want to change the swappiness value. Note that most of the roms have it set to 60 by default, which is good enough in my opinion, although setting it to higher (max is 100) may help to improve overall performance, while setting it to lower may increase interactivity and overall stability.

Temporary change (until next reboot)


Code:
echo 60 > /proc/sys/vm/swappiness
Permanent change


Code:
echo vm.swappiness=60 >> /system/etc/sysctl.conf
As result


Code:
shell@android:/ # free total used free shared buffers Mem: 385772 376352 9420 0 26420 -/+ buffers: 349932 35840 Swap: 514076 0 514076

** few notes **

I don't intend to take credit for this how-to as it takes few pieces of commands and hints from any guides out there which covers this topic, and anyways its basic linux knowledge really..

/** A special shout goes out to @DerTeufel1980 for listening to our request and enabling swap on his kernel. **/

So cheers you all and enjoy
smile.gif
 
  • Danke
Reaktionen: Brainwashed988

Ähnliche Themen

kingoftf
Antworten
20
Aufrufe
12.670
Islaris
Islaris
Q
Antworten
66
Aufrufe
29.668
unsuwe
unsuwe
Zurück
Oben Unten