[MOD] Enable Xperia S on-screen buttons (Stock ICS) - Sony Xperia S, Acro S, Ion

Hi, all!
It's my first mod and first thread on XDA, so forgive my mistakes.
I really don't like the Xperia S capacitive buttons. After ask a question about the matter on XDA, I decided to try to do it myself. And after a few hours eating some bits, I could finish my work:
Native ICS on-screen buttons on Xperia S!!!
(See screenshots attached)
Short story:
I started reading this post, that led me to this other post that led me to try to use a tool called apktool. Sadly, apktool seems a little buggy and I decided to modify the framework-res.apk without decompile and recompile it. How? Binary diff. I can't say it was easy, but after a few hours I could modify the apk. In the Long story, on the second post, I'll tell how.
Things you need:
1. Root your device (see this post to learn how to unlock and root)
2. adb installed (or a working recovery)
Things I don't need to say (but I will):
YOU are responsible for any damage this mod could cause in your phone. I did exactly what I described below and it worked for me, but only God can make sure it will work for you. I don't think it's a big deal since you can flash you ROM again in case of any problem.
How to backup:
If you really want to backup your original framework-res.apk, run it before installing:
Code:
[email protected]:~/Android/LT26i$ adb pull /system/framework/framework-res.apk framework-res.apk.bkp
And save the file framework-res.apk.bkp.
It's not very important because you can get this file from the ROM package or from here (link from optik19918).
How to install:
Install this mod is as simple as replace the file /system/framework/framework-res.apk by the modified framework-res.apk. Here follow some options to accomplish that:
Option 1 (via adb):
1. Choose a folder on your computer
2. Download framework-res.apk.
For firmware 6.1.A.0.452:
mediafire
my home (slow link)
For firmware 6.1.A.1.58:
my home (slow link)
For firmware 6.1.A.2.45:
my home (slow link)
3. Run the following steps (I did on Ubuntu Linux, but they are easily translatable to Windows):
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
4. Wait your phone to restart
5. Thanks me by clicking 'Thanks' button below
6. Say some bad words to the physical buttons!!!
Option 2 (via recovery):
1. Download the on-screen-buttons.zip
2. Reboot on recovery
3. Apply this zip
4. Restart the phone
5. Thanks me by clicking 'Thanks' button below (and also Soheil_rf for the zip version)
6. Say some bad words to the physical buttons!!!
Option 3 (via file manager):
1. Download the same file of option 1, step 2 (above)
2. Use your favorite file manager to copy the downloaded file to /system/framework/framework-res.apk
3. Restart the phone
4. Thanks me by clicking 'Thanks' button below
5. Say some bad words to the physical buttons!!!
How to uninstall:
Just repeat Option 1 or 3 above, but using the framework-res.apk.bkp you backed up or this one (link from optik19918).
----------------------
Some points:
1. The file is really smaller than the original, and it must be caused by the linux archive app when I copied the patched 'resources.arsc' to the original apk. It worked for me up to now, but I will try to figure out why it happened.
2. I will explain how I patched the 'resources.arsc' and changed the boolean value in the first reply of the thread. It was a pain in the ass, but worth sharing (edit: explained here: http://forum.xda-developers.com/showthread.php?t=1823223).

Long story
Reserved to tell the long story about the patch, If I have time.
EDIT:
And finally had some time! But it was to big for a single answer, I created a new thread:
http://forum.xda-developers.com/showthread.php?p=29979582
Hope you like it!

Thanks a lot! Can u make a flashable zip since now we have recovery in kernel!
Sent from my LT26i using xda premium

WebMuth said:
Thanks a lot! Can u make a flashable zip since now we have recovery in kernel!
Sent from my LT26i using xda premium
Click to expand...
Click to collapse
I don't know how to do it yet, but I can learn.
Let's test it on more devices before, and then we can do it.

Thanks!
but man pls upload it to mediafire or something like that! is to slow 50 minutes to download

Great Work
I make it Flashable on-screen-buttons.zip
@ brunojcm :also I can make smaller buttons if you tell us how to patch resources
Thanks brunojcm

Wow this app is amazing, Awesome work guys....
I now only have to press once to go back or home, BUT there is one little problem. The last botton on the right is not assigned to open the settings menu like the original one. Is this fixable?
thx though grate work!!!!
Also could you make the black border slightly slimmer...

slyevo said:
Wow this app is amazing, Awesome work guys....
I now only have to press once to go back or home, BUT there is one little problem. The last botton on the right is not assigned to open the settings menu like the original one. Is this fixable?
thx though grate work!!!!
Also could you make the black border slightly slimmer...
Click to expand...
Click to collapse
That button is for the task manager if you noticed is not needed the other button becose in apps that require that button now there is a new button with 3 dots that is the settings button
Oh and this thread is not ment for development section, but for themes and apps
Sent from my LT26i using xda premium

WebMuth said:
That button is for the task manager if you noticed is not needed the other button becose in apps that require that button now there is a new button with 3 dots that is the settings button
Sent from my LT26i using xda premium
Click to expand...
Click to collapse
I have just figured that out, A bit late i know. Your mod is amazing i hit the correct button every time now!

Nice!
I've updated my xperia S to ICS. but i didnt find a topic about rooting it...
could you please point me to that topic? thanks
I'm going to unlock BL today just because this hack!
Portugal!

wow, great work I just installed it and it works great thanks:good:
---------- Post added at 03:43 PM ---------- Previous post was at 03:38 PM ----------
one thing, it would be possible to make buttons, auto-hide, as the Galaxy Nexus?

zbuh said:
Nice!
I've updated my xperia S to ICS. but i didnt find a topic about rooting it...
could you please point me to that topic? thanks
I'm going to unlock BL today just because this hack!
Portugal!
Click to expand...
Click to collapse
Are you for real? Cant you see the stickies?
Skickat från min LT26i via Tapatalk 2

Soheil_rf said:
I make it Flashable on-screen-buttons.zip
Click to expand...
Click to collapse
Thanks! I added an option for your method.
Soheil_rf said:
@ brunojcm :also I can make smaller buttons if you tell us how to patch resources
Thanks brunojcm
Click to expand...
Click to collapse
Man, believe me, using the way I used to patch the file, it's impossible to change images... I think we will need to wait until apktool is fixed.
zbuh said:
Nice!
I've updated my xperia S to ICS. but i didnt find a topic about rooting it...
could you please point me to that topic? thanks
I'm going to unlock BL today just because this hack!
Portugal!
Click to expand...
Click to collapse
I've put a link to a DoomLord thread explaining everything about unlock and root. You'll see there that there is two ways for root currently, both need a unlocked bootloader.

robyroby0 said:
wow, great work I just installed it and it works great thanks:good:
Click to expand...
Click to collapse
Good! Just click Thanks on me and that's all right!
robyroby0 said:
one thing, it would be possible to make buttons, auto-hide, as the Galaxy Nexus?
Click to expand...
Click to collapse
Are you talking about the little dots when you're on galery, for example? It's working for me. If you're not, I don't know this feature.

Is it possible to remove the mod from the home screen & just have it appear when is task windows?

slyevo said:
Is it possible to remove the mod from the home screen & just have it appear when is task windows?
Click to expand...
Click to collapse
Don't think so... Have you ever seen a Android with this behavior?

slyevo said:
Is it possible to remove the mod from the home screen & just have it appear when is task windows?
Click to expand...
Click to collapse
Atm nope wait for aokp amd maybe u'r lucky but not sure
Sent from my LT26i using xda premium

i found some bug in camera app, the camera screen button it not in the side of the screen, please fix.
also make the black bar smaller 25%, and the placement of back icon should be more left so it on a line with the dot and transparent bar so does the task manager too, should be more right.
and also please make an option to disable the original touch button
thanks for your effort

is there a way to uninstall this mod?

skydawn1001 said:
is there a way to uninstall this mod?
Click to expand...
Click to collapse
yes use this zip http://www.mediafire.com/?62d7d4c2j2uy19m
or if you made a backup of the original file use the option 1 with the stock file

Related

[BootAnimation] Nexus Android - Tested on G1

I found this amazing boot animation on the nexus one forums and I modified it for my G1 device.
I have not created the animations, I just modify them as per my choice.
Thought of sharing this on this forum.
Instructions:
** Please take a nand backup - I am not responsible for any goof ups.
a. Copy bootanimation.zip on root of your sdcard
b. Go to Terminal Emulator
c. Type following commands: (Press enter after each line)
su
cp /sdcard/bootanimation.zip /data/local/
reboot
It is working on my G1 phone running Ginger Yoshi RC5.1.
***EDIT1- Modified another bootanimation for T-Mobile users.
Hope you like it.
will try , look good
Fantastic work, loving the second one (sbootanimation.zip) only problem is the size, the first and last letters of ANDROID are missing so only see NDROI.
shadowch31 said:
Fantastic work, loving the second one (sbootanimation.zip) only problem is the size, the first and last letters of ANDROID are missing so only see NDROI.
Click to expand...
Click to collapse
Thanks shadowch31. Check the sbootanimation.zip now, its fixed for D/S phones.
But this is not my animation, so I wont take credit for someone else's work. I just modified it.
virajss said:
Thanks shadowch31. Check the sbootanimation.zip now, its fixed for D/S phones.
But this is not my animation, so I wont take credit for someone else's work. I just modified it.
Click to expand...
Click to collapse
Works like a charm
And my thanks sir are for the fact you brought and modified it so that it runs on my very happy little G1.
So thanks again fella, appreciated.
that's simply awesome, thanks a million
Hey Guys,
I did the following commands and rebooted,
How do I enable this?
Thanks
Heeter
Heeter said:
Hey Guys,
How do I enable this?
Click to expand...
Click to collapse
You don't have to enable anything. When you reboot, you would see the animation after the G1 logo.
I redid the terminal commands again,
rechecked if I uploaded the right zip folder into sdcard.
But it is not working. HTC dream with CM6.1.0-DS here on mine.
Thanks
Heeter
Huh, thats strange, Lets do this step by step:
1. you copied bootanimation.zip file on your root of sdcard. (if using sbootanimation.zip, rename it to bootanimation.zip)
2. you went to terminal emulator
3. you typed su and entered
4. cp /sdcard/bootanimation.zip /data/local/
5. reboot
and you are not seeing the animation? let me know if this helped
DOH!!!!
Forgot to rename the sbootanimation zip file to bootanimation.
What a Homer I am...........
Thanks a million, virajss
Heeter
good its working.
I have uploaded some Honeycomb bootanimations: http://forum.xda-developers.com/showthread.php?t=973924
THANKS!!
Thanks for the port! Very nice work and I appreciate the effort you put into it.
The second one is very very good! Thank you!
river-dragon said:
The second one is very very good! Thank you!
Click to expand...
Click to collapse
Thanks sisterchick. You are my inspiration!!
Thank you river-dragon.
that's great!...........................

[ENG.DEV.] Sony Bravia Engine -DesZ- HQ IMAGE/MOVIE Quality Improvements

Hello guys i'm very happy to share with you this...BRAVIA ENGINE! Enjoy
I tell about this: video
IT's A Post-Processing Engine, so you can view the improvements only on your phone's screen...enjoy new quality!
1) GUIDE for Manual Installation on each Rom! (2.2 & 2.3)
-Download BraviaE Files Pack: HERE
-Extract files on phone and put they in the directory:
Code:
[B]/system/etc[/B]
-Open /system/build.prop with a text editor (like RootExplorer)
and add these lines at the end:
Code:
#Additional Tweaks by XxXPachaXxX
#Bravia Engine Service
ro.service.swiqi.supported=true
persist.service.swiqi.enable=1
-Then, Save the file and Exit
-Now, set the right permissions or open a terminal emulator and execute:
Code:
su
busybox chmod 0755 /system/etc/be_photo
busybox chmod 0755 /system/etc/be_movie
busybox chown 0.0 /system/etc/be_photo
busybox chown 0.0 /system/etc/be_movie
-Fully Reboot the device and enjoy BRAVIA
DOWNLOADS:::INFO:::SUPPORT
hi, I had tried but when I write on emulator "busybox chmod 0755 /system/etc/be_photo
" it replies to me "Busybox permission denied"!
which ROM is supported??
It's supposed to work only when viewing photos/vids?
If so, it seems to work for me. Contrast bumped a bit.
Unity 2.39 on European DZ, if anyone's interested.
Would be good if it's possible to add this BE toggle to settings, to disable/enable it on the fly (to compare the image quality, for ex.)
Thanks for your post.
edit: nope, it seems it doesn't work. got another dz to compare and there's absolutely no difference in image quality.
maybe some devs will get their hands on this thing?
Flashable zips ? 0_o where?
Sent from my HTC Vision using XDA App
Yeah I'd like the flash zip
Not into changing permission and crap. Too lazy
Also will it work on miui and cm7?
Sent from my HTC Vision using xda premium
TheUndertaker21 said:
Yeah I'd like the flash zip
Not into changing permission and crap. Too lazy
Also will it work on miui and cm7?
Sent from my HTC Vision using xda premium
Click to expand...
Click to collapse
Same xD Flashing a zip would be nicer than messing with permissions xD
Thanks for your work, but I've tried it and this makes no difference whatsoever.
I've installed it without a problem. I don't see very much difference between having it enabled or not, and installation is too cumbersome to maintain everytime I update to a new rom or nightly. Its cool, but too much hastle. Make it a flashable zip if you want more people to use it.
Not the biggest difference in the world. But it still looks really nice and it's a joy to use. I love it!
bruciato said:
hi, I had tried but when I write on emulator "busybox chmod 0755 /system/etc/be_photo
" it replies to me "Busybox permission denied"!
Click to expand...
Click to collapse
Type "su -", press enter, than type the busybox command.
Honestly, I'm not even sure if this even runs at all. Putting two files in /system/etc and adding 2 lines to build.prop doesn't seem to me that it makes anything run. I'm not 100% sure how build.prop works, so I might be wrong.
I've tried the fix on one G2 and compared to another G2 on the same picture, at the same time. Exact same picture quality, but then again, my eyes might not be good enough.
tsubus said:
Honestly, I'm not even sure if this even runs at all. Putting two files in /system/etc and adding 2 lines to build.prop doesn't seem to me that it makes anything run. I'm not 100% sure how build.prop works, so I might be wrong.
I've tried the fix on one G2 and compared to another G2 on the same picture, at the same time. Exact same picture quality, but then again, my eyes might not be good enough.
Click to expand...
Click to collapse
eyes might not be good enough? lol
If you cannot see the difference then obviously the quality change is insignificant enough to disregard the trouble of typing in all these commands
I applied this patch, but i have to say for me its also hard to see the difference... Is there any way to proof that its working?
Sent from my HTC Vision using XDA App
Stargazer418 said:
Type "su -", press enter, than type the busybox command.
Click to expand...
Click to collapse
no it was a problem with su..now works!But I can't see particular changes..
tsubus said:
Honestly, I'm not even sure if this even runs at all. Putting two files in /system/etc and adding 2 lines to build.prop doesn't seem to me that it makes anything run. I'm not 100% sure how build.prop works, so I might be wrong.
I've tried the fix on one G2 and compared to another G2 on the same picture, at the same time. Exact same picture quality, but then again, my eyes might not be good enough.
Click to expand...
Click to collapse
I agree. I can't tell a difference on video either. I CAN tell when Sony did it's demo but this... nada. I smell bs here. I doubt a rendering engine can be so small. It seems like these are just files that accompany an engine and not the full deal. The OP needs to come up with some proof that this sh!t runs because the consensus is that same everywhere he posts this: it doesn't do a thing!
This is a dev forum. But I have only seen one person reply with anything dev worthy. By that I mean what rom they are using. Just saying you ran this on a g2 or a DZ does not help anything. More info about what your running would be best to make this discussion worth anything.
Also. What video are you attempting to view? Something converted to the phones resolution? Video taken with the phone? A blueray 1080p rip? I see alot of *****ing but no info coming forth.
Sent from my HTC Vision using xda premium
ngc604 said:
This is a dev forum. But I have only seen one person reply with anything dev worthy. By that I mean what rom they are using. Just saying you ran this on a g2 or a DZ does not help anything. More info about what your running would be best to make this discussion worth anything.
Click to expand...
Click to collapse
it was me, lol
But ROM name/version won't help here IMO.
The files OP has uploaded are too small.
And the contents is quite strange. Not an ELF or any other binary. Maybe just a screen color profile, sort of ICC. But it won't work if we just put them onto phone.
There should be some service to manage all these things. Something from /system/lib or /system/framework. There's something about "swiqi" service in original post, but there's no file for this.
Why should our rom just use files put to /etc?
So I'm guessing it won't work... maybe just yet
NeverGone\RU said:
it was me, lol
But ROM name/version won't help here IMO.
The files OP has uploaded are too small.
And the contents is quite strange. Not an ELF or any other binary. Maybe just a screen color profile, sort of ICC. But it won't work if we just put them onto phone.
There should be some service to manage all these things. Something from /system/lib or /system/framework. There's something about "swiqi" service in original post, but there's no file for this.
Why should our rom just use files put to /etc?
So I'm guessing it won't work... maybe just yet
Click to expand...
Click to collapse
that's what I was saying... there are no lib files or any type of an engine to run this overlay. It doesnt work that way.
Is there a flash able zip for cm7.1 stable.?? If solo can someone please pm me please !
Sent from my HTC Vision using XDA App

[CM9]Camera Developement How-to, Q&A

Hi guys, I've opened this thread so we can talk about the camera developement for CM9.
Here is the link including files and a how-to.
Here is the second link if you want even clearler instructions (Thanks to texten)
andy did u try it?( camera work)
Sent from my GT-I8150 using xda premium
Nothing, isn't working for me...
EDIT: I've an alpha 3, flashed the zip, and checked the permissions... Waiting for Arco...
I think we are missing with something..hopefully our Mentor. arco68 have the time to pass thru ere..
Can somebody poke alisd too...NVM I think I just did
http://forum.xda-developers.com/showthread.php?p=26384027
Sent from my GT-I8150 using Tapatalk 2
We can wait xD
iSadic said:
Nothing, isn't working for me...
Click to expand...
Click to collapse
+1
I tried very quickly 'cuz I don't have much time, but oisis' update zip+alpha2 didn't work.
this link is better:
http://forum.xda-developers.com/showpost.php?p=26511647&postcount=428
have fun!
texten said:
this link is better:
http://forum.xda-developers.com/showpost.php?p=26511647&postcount=428
have fun!
Click to expand...
Click to collapse
tried the instructions, but not working...
mike_kenji said:
tried the instructions, but not working...
Click to expand...
Click to collapse
maybe you will need to replace the "firmware"folder in that zip with firmware folder of gingerbread for you device
also the same procedure for the "media_profile.xml" in etc...
this could work:
just take that zip in my post, replace firmware folder and the media_profile.xml with the ones of your latest gingerbread...
and follow the installation instructions in my post
texten said:
this link is better:
http://forum.xda-developers.com/showpost.php?p=26511647&postcount=428
have fun!
Click to expand...
Click to collapse
texten said:
maybe you will need to replace the "firmware"folder in that zip with firmware folder of gingerbread for you device
Click to expand...
Click to collapse
where can i find those files? is the camera working for you?
mike_kenji said:
where can i find those files? is the camera working for you?
Click to expand...
Click to collapse
look here http://forum.xda-developers.com/showpost.php?p=26511647&postcount=428
you can see whats working and whats not working...
you can use the camera_experimental-0.1.zip
but you need to replace the firmware folder and the media_profile.xml in that zip with the ones of the latest gingerbread for your device
and do not forget to follow the installation instructions
for your further development on camera, you can also use these "instructions for camera testers"
(maybe you will add these to post#1 of this topic here)
--------------------------
here are instructions for camera testers:
Few important things:
1. make notes, because we will need it to restore steps.
2. make a logcat:
Code:
adb logcat -d > logcat.txt
if you want, edit logs like that (less logs - easier to read, logs only related with camera):
Linux shell:
Code:
cat ./logcat.txt | grep camera > logcat.new.txt
Windows cmd:
Code:
type logcat.txt | findstr camera > nwelogcat.txt
3. If you will find in log that HAL cannot connect with camera do not post logs, because they are useless
4. Do not zip or rar logs = easier to read on phone
----------------------------------
Additional Links:
You can try files from these phones.
Phones with MSM8255:
- CDMA XPeria Play
- LG Revolution
- HTC Desire S
- Sony xperia mini,mini pro, neo etc - camera works
- My touch 4g - camera works
- Xperia play - camera works
- Htc desire s - camera works
- Huawei honor - official ICS
- Htc one V - no front camera but official ICS
- http://forum.xda-developers.com/showthread.php?t=1639634
Thanks to: Spider550 for links, he cannot post here yet.
----------------------------------------------------------------------
if you make a logcat, do not forget to post which files you used.
folders for all files:
do not forget to set permissions for changed files/folders like all other files/folders there... and reboot after all changes you made!
*.so files to /system/lib
media_profile.xml to /system/etc
camera.apk to /system/app
firmware files to /system/firmware (maybe you have to create a folder)
---------
now you can start with testing.
for logcat = shutdown device - boot - start camtests - after that make a logcat directly.
texten said:
look here http://forum.xda-developers.com/showpost.php?p=26511647&postcount=428
you can see whats working and whats not working...
you can use the camera_experimental-0.1.zip
but you need to replace the firmware folder and the media_profile.xml in that zip with the ones of the latest gingerbread for your device
Click to expand...
Click to collapse
i'll try this in a while... thanks a lot... sorry for being a noob...
mike_kenji said:
i'll try this in a while... thanks a lot... sorry for being a noob...
Click to expand...
Click to collapse
no problem, maybe one other user of your device will give it a try
texten said:
no problem, maybe one other user of your device will give it a try
Click to expand...
Click to collapse
uhm... one last question, where do i put the firmware files? hehehe
*EDIT
nevermind, found it... thanks again!
mike_kenji said:
uhm... one last question, where do i put the firmware files? hehehe
Click to expand...
Click to collapse
open the zip file, delete the folder "firmware" and push your firmware folder from the latest gingerbread of your device on that place...
the same do with media_profile.xml
texten said:
open the zip file, delete the folder "firmware" and push your firmware folder from the latest gingerbread of your device on that place...
the same do with media_profile.xml
Click to expand...
Click to collapse
thanks.... wish me luck
mike_kenji said:
thanks.... wish me luck
Click to expand...
Click to collapse
good luck.
hahaha, i'm stuck on a bootloop.... try again...

[GUIDE][FIX] Weird Bottom Line Fix in CM10.1 RC7

You guys must be witnessing a weird line at the bottom of the screen in CM10.1 RC7!
To make that annoying line at the bottom disappear Just follow the following steps:
1.) Download any root browser/explorer
2.) Go to system folder and open build.prop with text editor
3.) Now add the line given below to the bottom of the build.prop file
Code:
debug.sf.hw=0
4.) Save
5.) Reboot
YOU ARE DONE Enjoy using CM10.1 RC7
Credits:
@misbahking
PRESS THANKS IF THIS POST HELPED YOU!
Best Regards,
ArnavGosain
nice
this change has been merged into device folder here and will come with next update of cm10.1
THANK YOU!
ArnavGosain said:
You guys must be witnessing a weird line at the bottom of the screen in CM10.1 RC7!
To make that annoying line at the bottom disappear Just follow the following steps:
1.) Download any root browser/explorer
2.) Go to system folder and open build.prop with text editor
3.) Now add the line given below to the bottom of the build.prop file
Code:
debug.sf.hw=0
4.) Save
5.) Reboot
YOU ARE DONE Enjoy using CM10.1 RC7
Credits:
@misbahking
PRESS THANKS IF THIS POST HELPED YOU!
Best Regards,
ArnavGosain
Click to expand...
Click to collapse
Thanks a lot! I was wondering what that weird bottom line was. I thought it was a problem with my phone's LCD. It was very annoying. However...thanks for sharing.
Thanks! the Line was very annoying . Thanks again
Thanks man
Sent from my LG-P350 using xda app-developers app
Thanks
That disables HW ui rendering.am i right?
blazecodester said:
That disables HW ui rendering.am i right?
Click to expand...
Click to collapse
debug.sf.hw=1 completely disables hardware compositing and debug.sf.hw=0 enable it
Work for me!!!
...with cm10.1 RC7 - Kernel 2.6.35.10-PecanCM
Thanks
Thanks man! You tackeled an annoying bug.

[GUIDE]Rooting your phone...from your phone [ALL US SGS3]

Rooting your phone...from your phone (what?!)
DISCLAIMER: I do not expect anything to go wrong as I have personally tested this. However, YOU are choosing to make these modifications to your phone so I DO NOT take responsibility for any damage that may come as a result of using this. If you come back and point the finger at me, I will laugh at you.
If your phone is not an SGS3, this MAY still work for you. I take absolutely NO responsibility either way.
Prerequisites
The following files are attached to this post for convenience. Download and install the apps, download and extract the zip file somewhere convenient.
Superuser by Koush(MUST be this one. You can change it later if you so desire.)
Terminal Emulator by Jack Palevich ( MUST be this one)
Zip file, extracted somewhere convenient
Click to expand...
Click to collapse
Click to expand...
Click to collapse
THE GOODS
These generic names will be used:
/path/to/motochopperDir - This is the full path to the extracted motochopper-mobile DIRECTORY or FOLDER. Example: /sdcard/motochopper-mobile (will vary depending on where you extracted the files).
NOTE: After running the script, Motochopper may or may not print "Failed", but the exploit DOES indeed work regardless of this. Make sure you reboot for changes to take effect.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Download the attached zip file AND both apps.
Install Terminal Emulator and Superuser (use a file manager, navigate to the downloaded .apk files and click on each file to install them).
Open up Terminal Emulator and type the following commands. Press the ENTER key after each command.
Code:
cd /path/to/motochopperDir
cat setup.sh > /data/data/jackpal.androidterm/setup.sh
cd /data/data/jackpal.androidterm
chmod 755 setup.sh
./setup.sh /path/to/motochopperDir
From there, my setup.sh script will handle the rest of the process. If you are still unsure, see my sample run below.
Sample run (files were extracted to /sdcard/moto)
Code:
cd /sdcard/moto
cat setup.sh > /data/data/jackpal.androidterm/setup.sh
cd /data/data/jackpal.androidterm
chmod 755 setup.sh
./setup.sh /sdcard/moto
Credits
Motochopper exploit by djrbliss (Dan Rosenburg). Original thread here.
Jack Palevich and Koush for their apps, especially Jack Palevich. This would not be possible without the shared permissions on his app's data directory.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Link
Download the attachments!
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Very nice write up :good:
TEAM MiK
MikROMs Since 3/13/11
Can confirm this worked on my SGS3 with a broken USB port.
Sent from my SPH-L710 using xda app-developers app
CNexus is on a ROLE HERE!!!! first he brings us a sense port, now this??? woaw thanks:good::good::good::good::highfive: i wonder whats next o.0
So ...... will this give me CWM or TWRP ???? GREAT JOB ! :highfive: :good: :good: :good:
Will this change my radios/modem
J/K.... Great Job @CNexus
Sent from the future via Tapatalk 4
TexasLTE said:
So ...... will this give me CWM or TWRP ???? GREAT JOB ! :highfive: :good: :good: :good:
Click to expand...
Click to collapse
Probably not. I'm assuming that you will have to use ROM Manager to install CWM or TWRP.
|| Acer || said:
Probably not. I'm assuming that you will have to use ROM Manager to install CWM or TWRP.
Click to expand...
Click to collapse
I'm pretty sure he was kidding
CNexus said:
I'm pretty sure he was kidding
Click to expand...
Click to collapse
Oh. Yeah. I knew that...heh
|| Acer || said:
Probably not. I'm assuming that you will have to use ROM Manager to install CWM or TWRP.
Click to expand...
Click to collapse
C'mon ║Acer║ you've known me for over 2 years already - U gotta know I luv 2 kid around alot ... :laugh: :laugh: :laugh:
TexasLTE said:
C'mon ║Acer║ you've known me for over 2 years already - U gotta know I luv 2 kid around alot ... :laugh: :laugh: :laugh:
Click to expand...
Click to collapse
lol I know. Wasn't really paying attention.
Will this work on my iPhone 5?
Lol just kidding :thumbup:
Now I can go root my friends phone who doesn't have a computer. Thank you.
------------------------
Sprint Galaxy S3 "Supernexus" Thanks To Cyanogenmod
Whiplashh Rom
Look it up.
Great job CNexus, this is pretty sweet.
does it make a differance what android version im on? gonna do this for a buddy just wanted to make sure before i do
xxaddictedxx said:
does it make a differance what android version im on? gonna do this for a buddy just wanted to make sure before i do
Click to expand...
Click to collapse
I can confirm it works on the latest MD4 4.1.2 stock rom. So any version below that is good.
Hey I tried this on my friend's S3, and the phone is still not rooted after three attempts. On stock MD4 4.1.2. Any thoughts?
Sent from my SPH-L710 using xda app-developers app
mightybryan said:
Hey I tried this on my friend's S3, and the phone is still not rooted after three attempts. On stock MD4 4.1.2. Any thoughts?
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
Hmm...Try following the original guide by djrbliss using ADB from a computer (link to thread is in credits section).
Star mobile Knight - i-mobile IQX - i mobile IQ9 - Does it work ?
Hello,
Someone has tried on Starmobile Knight ? (imobile iqx)
Thank you.
Cnex I tried this method twice and no luck am I doing something wrong?
I get a ... [+] this may take a few minutes
[-] failure
Cleaning up
Exploit finished reboot phone........
When I reboot the superuser says... Su binary needs to be updated. When I try to install gives me an error message.
I'm on cm 4.2.2 root was broken.
It seems to be working for some and not for others. Can't say exactly what the issue without interrogating everyone who tried
I personally tested before posting and it worked fine for me

Categories

Resources