[MOD] Enable Xperia P on-screen buttons (navigation bar) (for Stock ICS) - Sony Xperia P, U, Sola, Go

This is my first topic on english speaking forum and second on forums in general. Sorry for my english in advance.
Attension! May be you can just use this tool instead:
Pimp my Rom XDA Thread
Pimp my Rom (beta) on Google Play
I made this mod after reading this brunojcm's tutorial.
Link to my russian forum post with this Mod and link to translated to russian and adapted for Xperia P brunojcm's tutorial "Doing simple mods on framework-res.apk when apktool doesn't work properly".
Very long time ago, yet before I bought my Sony Xperia P, I hoped that I can enable on-screen navigation bar when ICS will have come to my device. But, I haven't found complete solution. However, 2 days ago I found this brunojcm's Mod on Xperia S Android Development thread and link to his tutorial at the end of his topic.
With the help of his Tutorial I made mine Mod for Xperia P and a little simplified tutorial (only in russian yet, it's hard to translate it because of it's length and links to auxiliary materials from the russian forum, but I will try to do it later).
Make backup of your device with Sony PC Companion and/or CWM.
Probably you will need Android SDK (or just adb from another sourse)
Your device must be rooted.
If something goes wrong (particularly endless reboot loop) you can force shutdown your phone by holding "VOLLUME UP
+ POWER" for about 10 seconds until triple vibration have occured and then flash your System partition from Stock ROM (without loosing any data, applications or configurations) via the Flashtool (suit's for most Sony's).
Attach your phone to PC
Download this archive and extract it somewhere:
[optional] download your framework-res.apk for backup reason.
Code:
adb pull /system/framework/framework-res.apk framework-res.apk.bkp
Push framework-res.apk from archive to your phone via executing these commands (Ubuntu sample by brunojcm, but works in Windows too)
Code:
[email protected]:~/Android/LT26i$ adb shell
[email protected]:/ $ su
[email protected]:/ # mount -o remount,rw /system
[email protected]:/ # mkdir /system/tmp
[email protected]:/ # ^D
[email protected]:/ $ ^D
[email protected]:~/Android/LT26i$ adb push framework-res.apk /system/tmp/framework-res.apk
4765 KB/s (15874684 bytes in 3.253s)
[email protected]:~/Android/LT26i$ adb shell
[email protected]:/ $ su
[email protected]:/ $ mv /system/tmp/framework-res.apk /system/framework/framework-res.apk
[email protected]:/ # ls -l /system/framework/framework-res.apk
-rw-rw-rw- shell shell 15874684 2012-06-28 03:58 framework-res.apk
[email protected]:/ # rmdir /system/tmp
[email protected]:/ # mount -o remount,ro /system
[email protected]:/ # ^D
[email protected]:/ $ ^D
[email protected]:~/Android/LT26i$ adb reboot
Wait for your device reboot.
Enjoy your ICS Navigation Bar)
Screenshots:
{
"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"
}
P.S. Don't be surprised much smaller size of my framework-res.apk - it caused by Normal Compession Strength of WinRAR, but I couldn't notice any lags increase. Nevertheless, If you don't like this, you can simply extract resources.arsc from my framework-res.apk, put it in yours framework-res.apk via some archiver (without compression) and push it to your phone.
P.P.S. May be I (or moderators) can move this topic to Xperia Mod's thread with time (when I jump over my 10 posts barrier).

Does this work for custom roms like cm9?

R: [MOD] Enable Xperia P on-screen buttons (navigation bar) (for Stock ICS)
Old thread

can yhu please post tutorial on how to get dis navigation button?

CM9 Support
No, it doesn't support any custom roms, only Stock, and it probably won't work with 6.1.1.B.1.75.
This caused by differences in framework-res.apk files in these roms.

igenid said:
No, it doesn't support any custom roms, only Stock, and it probably won't work with 6.1.1.B.1.75.
This caused by differences in framework-res.apk files in these roms.
Click to expand...
Click to collapse
i know it wont work on .75 FW dats why i was asking for A tutorial so dat one can do it himself!
thanks.

Will this work on .75 rom?

HAPPINESS is here?
With this tool may be there will be no need for my method any more and it's cool !
Tell me if it works for you. I can't see result, may be because I already have enabled buttons with my metod.
Pimp my Rom XDA Thread
Pimp my Rom (beta) on Google Play

Related

[MOD] Reboot Options in Power Menu [2.01.2011] Updated

Requirements:
1. Android 2.1
2. Root privileges
3. Compare version information in post #4
Note: This replaces framework-res.apk, i.e. will remove all previously installed themes.
{
"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"
}
Installation:
1. Unrar archive.
2. Copy extracted files to /sdcard, and
3. In command prompt:
a) adb shell
b) su
c) remount /system partition as read-write (mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system)
d) replace framework.jar (busybox cp /sdcard/framework.jar /system/framework/framework.jar)
e) replace android.policy.jar (busybox cp /sdcard/android.policy.jar /system/framework/android.policy.jar)
f) replace framework-res.apk (busybox cp /sdcard/framework-res.apk /system/framework/framework-res.apk)
Credits:
MrRusch
untermensch
[20/11/2010]Bugs fixed
[22/11/2010]Added Reboot + Battery Only
[01/12/2010]Fixed Org. Framework + Reboot
**Guys If u like this Mod thank me by donating me .**
shivenjuneja said:
Requirements:
1. Android 2.1
2. Root privileges
3. Compare version information in post #4
Note: This replaces framework-res.apk, i.e. will remove all previously installed themes.
Installation:
1. Unrar archive.
2. Copy extracted files to /sdcard, and
3. In command prompt:
a) adbshell
b) su
c) remount /system partition as read-write (mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system)
d) replace framework.jar (busybox cp /sdcard/framework.jar /system/framework/framework.jar)
e) replace android.policy.jar (busybox cp /sdcard/android.policy.jar /system/framework/android.policy.jar)
f) replace framework-res.apk (busybox cp /sdcard/framework-res.apk /system/framework/framework-res.apk)
Credits:
MrRusch
untermensch
Click to expand...
Click to collapse
HI shivenjuneja
What clock widget are you using?
beautiful widgets
shivenjuneja said:
beautiful widgets
Click to expand...
Click to collapse
Thank you
Hi. can you do this for the mini, not the pro?
thanks
it is for x10 mini & mini pro bt i have tested on x10 mini pro thats y m sure.... u can try on your mini if it is not working i'll make 1 for mini..... and ya dnt forget to backup ur original apps.....
ok thanks. i will give it a try and will lwt you know! cheers m8
Can I perform the operation of replacing the three files through "Root Explorer"? If yes, then what permissions shall I have to give all the three files before copying them to /system/framework? Is it "644"?
if u wanna do with root explorer do in the same order as given in the post 1 .... 1st framework.jar,2nd android.policy.jar,3rd framework-res.apk permissions are same as before...
i like this mod quite a bit
If I only want to get the reboot function, do I just replace the 2 files below?
/system/framework/framework.jar
/system/framework/android.policy.jar
This is really cool!
Can you tell me which XML files i have to edit/replace in framework-res to get the reboot option in my own theme?
we have to edit framework-res,framework,android.policy to get it into our theme
@ strykme no u have to replace all the things ..... if u dnt want my firmware you can download the original 1 attached in the downloads in 1st post.....
I really dony understand this. I have x10 mini pro 2.1 rooted, have installed lots of other stuff, app2sd, market patch etc.
But when doing the last
busybox cp /sdcard/framework-res.apk /system/framework/framework-res.apk
The phone restarts and dont want to boot anymore.
Have to restore with SEUS
What is going wrong here?
people who dont know how to replace framework with adb use this methode http://forum.xda-developers.com/showthread.php?t=837470
this is the safe methode and easy one
u have to wait more after the copy of new framework and android.policy then the normal boot....and when u boot do u see the boot animation??
it would be really nice if you would give us some instructions how to add the reboot option by ourself
I just installed the black HTC Theme by Draco and dont want to change but the reboot option would be nice
u can add my theme @My Theme
okey thanks to the link i got it installed.
permissons was not set now it boots and looking good.
But bot the shutdown and reboot button reboots. i cant turn off the phone it reboots no matter what i do.
Update: And the one with original framework does not show the menu at all it just reboots

[THEME]Openswift Perfected v1.0

This is my Attempt to create a another Theme.
Note:
-I do not take any Responsibility of any kind of damage to your phone. Do it at your Own Risk.
-This is not my work. I have Only perfected a theme and Ported it to our Device.
Read The Whole Post Before Posting questions about Installing the Theme
Screenshots:
{
"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"
}
Instructions
Method 1:
1. Make Sure the phone is turned on.
2. Make sure, you have installed Kies for Phone drivers
3. Connect your device with your computer
4. Start console with command cmd
5. Change to the directory where you downloaded adb-toolbox and the framework is in the Same Directory.
6. To be sure, adb found your mobile, check it with adb devices
There should be an output like:
Code:
List of devices attached
I550056fbb140 device
7. If it was detected successfully, push up the framework into phone:
Code:
adb shell mount -o rw,remount /dev/stl12 /system
adb push framework-res.apk /system/framework
adb push twframework-res.apk /system/framework
adb shell rm -r /data/dalvik-cache/*
adb reboot
Also, If you have Installed Full Android Development kit and Installed it. Just Run the "Recovery.bat" and Then, "Install Theme.bat".
Method 2:
-Using Root Explorer
Download Link:
First, Grab the Theme here
Works Only in Motofaca Custom Rom v2.0.9.x.
Will not Work On CyanogenMod and Motofoca Rom v2.1.0
Not Tested On Motofoca Rom v2.2.x/2.3.[Make a backup if you are going to test]
Please, Give feedback and a bug report. Report any problems or Problems you are facing in installing the theme.
<Reserved For Later........>
the pics don't work
awesome! thanks! i'm going to try this one
you can replace the menu color (in desktop menu) because if you have "white color and white font in menu" you don't see the font.
Sorry for my bad english, But I'm learning english.
It will get ALOT better if u replace the menu color as RAD1XS said!
Do that please =]
fjfcb said:
It will get ALOT better if u replace the menu color as RAD1XS said!
Do that please =]
Click to expand...
Click to collapse
I promise future updates, if there are many more testers and leave comments about the theme. If not, it is like I am working for no reason. I can make many more themes and also make them better with more support.
I will rip off an update for this theme soon.
LvAnDroid said:
I promise future updates, if there are many more testers and leave comments about the theme. If not, it is like I am working for no reason. I can make many more themes and also make them better with more support.
I will rip off an update for this theme soon.
Click to expand...
Click to collapse
The theme works perfect.
LvAnDroid said:
I promise future updates, if there are many more testers and leave comments about the theme. If not, it is like I am working for no reason. I can make many more themes and also make them better with more support.
I will rip off an update for this theme soon.
Click to expand...
Click to collapse
problem is that g5 is not "popular" here at this forum u must go here : www(dot)madteam(dot)co/forum/
can you please make an video i do not understand it...please help
LvAnDroid said:
This is my Attempt to create a another Theme.
Note:
-I do not take any Responsibility of any kind of damage to your phone. Do it at your Own Risk.
-This is not my work. I have Only perfected a theme and Ported it to our Device.
Read The Whole Post Before Posting questions about Installing the Theme
Screenshots:
Instructions
Method 1:
1. Make Sure the phone is turned on.
2. Make sure, you have installed Kies for Phone drivers
3. Connect your device with your computer
4. Start console with command cmd
5. Change to the directory where you downloaded adb-toolbox and the framework is in the Same Directory.
6. To be sure, adb found your mobile, check it with adb devices
There should be an output like:
Code:
List of devices attached
I550056fbb140 device
7. If it was detected successfully, push up the framework into phone:
Code:
adb shell mount -o rw,remount /dev/stl12 /system
adb push framework-res.apk /system/framework
adb push twframework-res.apk /system/framework
adb shell rm -r /data/dalvik-cache/*
adb reboot
Also, If you have Installed Full Android Development kit and Installed it. Just Run the "Recovery.bat" and Then, "Install Theme.bat".
Method 2:
-Using Root Explorer
Download Link:
First, Grab the Theme here
Works Only in Motofaca Custom Rom v2.0.9.x.
Will not Work On CyanogenMod and Motofoca Rom v2.1.0
Not Tested On Motofoca Rom v2.2.x/2.3.[Make a backup if you are going to test]
Please, Give feedback and a bug report. Report any problems or Problems you are facing in installing the theme.
Click to expand...
Click to collapse
can you please make an video i do not understand it...please help
and please say what drivers i must to install...................
aa
please fast help .....pm me soon as possible
If you don't understand it, its probably best that you don't try it.
thanksssssssssssssssssssssssssssssssssssssssss

[MOD] Reboot Options in Power Menu [4.0.2.A.0.42]

This enables you to reboot the phone from the power menu
{
"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"
}
Reboot Options
Reboot - Reboot phone normally
Fastboot - Reboot into FASTBOOT mode (requires conected to pc with installed fastboot drives)
Download Links (please do not mirror)
[Latest - 4.0.2.A.0.42]
RebootOptions_4.0.2.A.0.42
[Old - 4.0.1.A.0.283]
RebootOptions_4.0.1.A.0.283
Istallation:
Copy .zip to sdcard
Flash .zip in recovery
Note: By replacing framework-res.apk you will remove any previously installed themes. And if you install another mod (framework-res.apk) you will need to copy back your stock android.policy.jar and framework.jar.
what did happen when u do reboot .. do you mean close all application or restarting the phone ??
Could you update these files to the 145 firmware
thanks
Great Thanks Adam.. Will try it tomorrow
I tried for 181 and got into a boot loop..
007Arc said:
I tried for 181 and got into a boot loop..
Click to expand...
Click to collapse
Then you probably set the wrong permisions, I have tested both versions and it works for me
Eighty89Teen said:
Could you update these files to the 145 firmware
thanks
Click to expand...
Click to collapse
Upload your framework.res.apk, framework.jar and android.policy.jar.
And i will fix it
AdamTt said:
Then you probably set the wrong permisions, I have tested both versions and it works for me
Click to expand...
Click to collapse
Whats the correct permission?
I used xxo
xoo
xoo
Sent from my LT15i using Tapatalk
Yes..but you need to put it into system folder first.. Change perms then move to correct folder..also ensure you're using correct version for your rom.
Sent from The Arc!
im_iceman said:
Yes..but you need to put it into system folder first.. Change perms then move to correct folder..also ensure you're using correct version for your rom.
Sent from The Arc!
Click to expand...
Click to collapse
I did exactly what u say. I had also the correct verion. But I only tried the the root explorer method.
Sent from my LT15i using Tapatalk
Another way to do it is using the terminal ( i don't like to press power button)
Start terminal then type su then type reboot
You should update your list of commands. framework-res.apk should be last because once it changes, your phone automatically reboots and you can't run the other commands.
However, I still can't get it to work on my Rogers-branded, rooted arc.
2.3.2, 3.0.A.2.181
Using the following commands:
Code:
adb push android.policy.jar /sdcard/android.policy.jar
adb push framework.jar /sdcard/framework.jar
adb push framework-res.apk /sdcard/framework-res.apk
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
dd if="/sdcard/framework.jar" of="/system/framework/framework.jar"
dd if="/sdcard/android.policy.jar" of="/system/framework/android.policy.jar"
dd if="/sdcard/framework-res.apk" of="/system/framework-res.apk"
chmod 644 "/system/framework-res.apk"
mv "/system/framework-res.apk" "/system/framework/framework-res.apk"
Just boot loops.
BluechipJ said:
You should update your list of commands. framework-res.apk should be last because once it changes, your phone automatically reboots and you can't run the other commands.
However, I still can't get it to work on my Rogers-branded, rooted arc.
2.3.2, 3.0.A.2.181
Using the following commands:
Code:
adb shell
su
adb push android.policy.jar /sdcard/android.policy.jar
adb push framework.jar /sdcard/framework.jar
adb push framework-res.apk /sdcard/framework-res.apk
mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
dd if="/sdcard/framework.jar" of="/system/framework/framework.jar"
dd if="/sdcard/android.policy.jar" of="/system/framework/android.policy.jar"
dd if="/sdcard/framework-res.apk" of="/system/framework-res.apk"
chmod 644 "/system/framework-res.apk"
mv "/system/framework-res.apk" "/system/framework/framework-res.apk"
Just boot loops.
Click to expand...
Click to collapse
oh sorry, missed that.. Fixed now.
Thats strange, it worked last time i checked.. But i will flash back to .181 tomorrow, and test it again
First post updated with .145 version
does this show battery percentage, because I want to keep that feature from another mod
confirmed .145 version working on me, thanks adam, really appreciate it
kagemand123 said:
does this show battery percentage, because I want to keep that feature from another mod
Click to expand...
Click to collapse
Unfortunately not.
AdamTt said:
oh sorry, missed that.. Fixed now.
Thats strange, it worked last time i checked.. But i will flash back to .181 tomorrow, and test it again
Click to expand...
Click to collapse
Confirmed that .184 works on my Rogers-branded arc:
2.3.3, 3.0.A.2.181
(.181 framework-res.apk kept boot-looping.)
BluechipJ said:
Confirmed that .184 works on my Rogers-branded arc:
2.3.3, 3.0.A.2.181
(.181 framework-res.apk kept boot-looping.)
Click to expand...
Click to collapse
Good
Then i probably messed something up with the .181 (will take a look at it later)
As far as i know, the files from 181 and 184 are the same.
If you like, I can add battery percentage
Hey dude! Thanks alot!! It worked great. Found a possible bug though.. Could just be my unit but when using the widget for toggling backlight on and off the screen locks. Could be something or not. Just my 2 cents Keep up the great work man!!!
(I'm on .181)

[RECOVERY][14/11/11] 5.0.2.7-nAa-r2 ClockworkMod for Stock Xperia Mini/Pro/Active/Arc

This is ClockworkMod Recovery (v.5.0.2.7) ported to work on Xperia mini (ST15 and S51SE versions) / Xperia mini pro / Xperia Active / Xperia Arc
Introduction
This CWM recovery is for people who don't want to unlock their bootloaders risking their DRM / warranty. It is not 'true' recovery per se, since it installs in /system, but all the CWM functions should work.
Features
ADB root shell
reboot system now
apply update from sdcard
wipe data / factory reset
wipe cache partition
install zip from sdcard
backup and restore
backup
restore
advanced restore
mounts and storage
mount / unmount /cache
mount / unmount /data
mount / unmount /sdcard
mount / unmount /system
mount / unmount /sd-ext
mount / unmount /cache
format /cache
format /data
format /sdcard
format /system
format /sd-ext
mount USB storage
advanced
reboot recovery
wipe Dalvik Cache
wipe Battery Stats
report Error
key Test
partition SD Card
Ext Size
Swap Size (Set this to 0)
Rest Size is for vfat
fix permissions
power off
Usage
When booting your phone and when the 'Sony Ericsson' logo appear, press and release continuously the volume down button.
Once you are in the CWM recovery, use the volume keys to navigate upwards / downwards, the 'home' key to select, the 'back' key to go back.
Requirements
Stock 2.3 ROM
Root
Installation
Download CWM from here and extract its contents.
Using Root explorer: copy ALL the contents of the system folder (system/bin and system/xbin) to /system (system/bin and system/xbin respectively), then give 755 permissions to those files, especially to /system/bin/chargemon, or you'll get bootloop. Double check everything before rebooting.
{
"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"
}
Notes to everyone
Do NOT use this recovery if you are not in Stock 2.3 firmware.
Credits:
draco_ag for his effordless testing and debugging
koushd for writing the piece of software the first place
Cyanogen for the obvious reasons...
Disclaimer:
I can't be held responsible if this Mod bricks your device or makes it explode in your hands! Use it at your own risk!
​
woww finally
there is a way to instal recovery without unlockin the bootloader, i'll gonna try it ASAP
EDIT : does it support offline charging?
Thanks god it's here,thank you so much,you are the man
Thanks but i'm not sure about that :
Copy recovery.tar, charger and chargemon to /system/bin. CHMOD 755
Copy sh to /system/xbin/. CHMOD 777
Am i right ??
This's run perfectly in WT19i
Please someone explain this line:
then give 755 permissions to those files, especially to /system/bin/chargemon
Files means those two folders?
And then the chargemon we need to give it permission again even if i o'redy give the permission to the /bin?
Please help me,i want this to work as it meant to be.
Thanks for replyin
quangnhut123 said:
Thanks but i'm not sure about that :
Copy recovery.tar, charger and chargemon to /system/bin. CHMOD 755
Copy sh to /system/xbin/. CHMOD 777
Am i right ??
This's run perfectly in WT19i
Click to expand...
Click to collapse
755 should be enough for all files.
For charger you might need to:
chmod u+s /system/bin/charger
for offline charging. It hasn't been tested though.
nobodyAtall said:
755 should be enough for all files.
For charger you might need to:
chmod u+s /system/bin/charger
for offline charging. It hasn't been tested though.
Click to expand...
Click to collapse
For giving the permission,is it same like installing Xrecovery?
Give 755 permission to all content of xbin and bin?
nobodyAtall said:
755 should be enough for all files.
For charger you might need to:
chmod u+s /system/bin/charger
for offline charging. It hasn't been tested though.
Click to expand...
Click to collapse
cwm recovery work on my XMP
offline charging also working..
thanks nobodyAtall for your effort
Black_jackss said:
For giving the permission,is it same like installing Xrecovery?
Give 755 permission to all content of xbin and bin?
Click to expand...
Click to collapse
Why would you want to touch files other than the one's you are installing?
Yes, it's like installing the old xrecovery if that makes you feel comfortable
many thanks nobodyAtall
with bootloader locked not flash CM7 and kernel just? copy all file .tar or scompactly?
BR.
nobodyAtall said:
755 should be enough for all files.
For charger you might need to:
chmod u+s /system/bin/charger
for offline charging. It hasn't been tested though.
Click to expand...
Click to collapse
I just chmod 755 for charger and it's working properly !
Still cant install,put bin and xbin to /system
set permission to those files with 755 permission
==
Edit: My bad,it works like a charm
The master is here! He did fabulous things for our X10 Mini's great and now presenting this information / work for Xperia Mini!
Thank you naa!
this is what i'm waiting for.i will make adb script for easy installation.i will post it when ready.
This what i'm lookin for...thanks nAa..soooo much
have anyone tried to restore from backup.i have made something like this before.but it will not restore system partition.currently i don't have my xperia active at my hand.so i can't test it now.
where do we get the right chargemon and busybox for the sk17i?
>manually extract the
oh ok nvm.
um what happens if the phone is already rooted? but has the stock firmware (.42) ?
it WORKS..
Thank's so much nAa.. it works on my xperia mini pro..
iam your fans since x10mini
Wait how do you the chmod thing
Sent from my ST15i using XDA App
You guys can use my tools to do that automatic : http://forum.xda-developers.com/showthread.php?t=1346190
Thanks for nobodyAtall !

[Q] Can't install APK from Eclipse or ADB

I recently upgraded my HTC incredible from CM 7.1 to AOKP. Ever since the upgrade I cannot install any of my APKs from Eclipse or ADB. In Eclipse I get the error:
[2012-02-20 16:17:40 - ABC] Android Launch!
[2012-02-20 16:17:40 - ABC] adb is running normally.
[2012-02-20 16:17:40 - ABC] Performing com.vorsk.ABC.ABCActivity activity launch
[2012-02-20 16:17:40 - ABC] Automatic Target Mode: using device 'HT06YHJ01492'
[2012-02-20 16:17:40 - ABC] Uploading ABC.apk onto device 'HT06YHJ01492'
[2012-02-20 16:17:40 - ABC] Installing ABC.apk...
[2012-02-20 16:17:41 - ABC] Installation failed due to invalid URI!
[2012-02-20 16:17:41 - ABC] Please check logcat output for more details.
[2012-02-20 16:17:41 - ABC] Launch canceled!
In ADB I get:
C:\Users\lanrat\workspace\ABC\bin>adb install ABC.apk
1044 KB/s (23523 bytes in 0.022s)
pkg: /data/local/tmp/ABK.apk
Failure [INSTALL_FAILED_INVALID_URI]
Any ideas on why this is happening? If I move the apk to my SD card first it installs just fine.
I really don't want to go back to CS 7.1 just to get the ability to develop apps back
Had this problem on the Incredible as well. As a new user I can't post links, but there's a StackOverflow post that details the fix. First Google hit for INSTALL_FAILED_INVALID_URI.
Basically /data/local doesn't have the right permissions, so a simple
Code:
adb shell
cd /data
chmod 777 local
should fix you up. Not sure if the new permissions are overbroad, but I'm not too worried.
That fixed it.
I tried chmod 777 /data/local/tmp but that did not work.
I wonder what caused this issue in the first case, its relatively fresh install of the rom.
JokoInteractive said:
Had this problem on the Incredible as well. As a new user I can't post links, but there's a StackOverflow post that details the fix. First Google hit for INSTALL_FAILED_INVALID_URI.
Basically /data/local doesn't have the right permissions, so a simple
Code:
adb shell
cd /data
chmod 777 local
should fix you up. Not sure if the new permissions are overbroad, but I'm not too worried.
Click to expand...
Click to collapse
Thanks, this helped.
I had to chmod 777 both /data and /data/local on ics rom for htc incredible. This really surprised me.
Same thing happened to me since I upgraded my phone to Jelly bean.
I'm on SGS 3 (I9300) with freshly installed I9300XXDLIH_I9300VFGDLJ1_VIP and rooted afterwards.
Eclipse still displays this:
Installation failed due to invalid APK file!
Please check logcat output for more details.
Launch canceled!
Click to expand...
Click to collapse
Even though I have done: chmod 777 /data /data/local /data/local/tmp
Code:
[email protected]:/ # ls -ld data data/local data/local/tmp
ls -ld data data/local data/local/tmp
drwxrwxrwx system system 2012-10-23 15:40 data
drwxrwxrwx root root 2012-08-25 10:40 local
drwxrwxrwx shell shell 2012-10-23 16:36 tmp
Eclipse still refuses to install (any) APK.
If I copy the Eclipse-generated APK to the phone, I can install it manually.
What can I do to fix this?
FYI, I've the the 20.0.3 Android SDK on fully updated Eclipse 4.2.1
My system properties:
{
"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"
}
Update:
Installed SiyahKernel S3-v1.6.8 and w/o any tampering with the settings (e.g. through ExTweak) the problem is solved.
Root cause seems to be UMASK.
- on stock kernel I had 0077
- now on SiyahKernel I have 0000
Still, as can be seen from numerous other threads on the same issue out there, it's very wrong for the stock kernel to cause that problem.

Categories

Resources