Enable Pen Mode - Any pen or pencil works as stylus! - Xperia Z1 Android Development

AOKP introduced pen mode for Z1 and I could enable it on stock ROM!
Xperia Z Ultra can use the pen or pencil made of wood or metal as stylus, but Z1's screen also supports it and Sony disabled it for some reason.
root is needed to enable this.
To enable pen mode, there's three methods.
One of them is enough.
● Create init.d script in /system/etc/init.d (requires init.d support):
Code:
#!/system/bin/sh
chown system:system /sys/devices/virtual/input/clearpad/pen
echo 1 > /sys/devices/virtual/input/clearpad/pen
● Add these lines at the bottom of /system/etc/hw_config.sh:
Code:
chown system:system /sys/devices/virtual/input/clearpad/pen
echo 1 > /sys/devices/virtual/input/clearpad/pen
● Use toggle app
I created pen mode enable/disable toggle app with Tasker.
https://drive.google.com/open?id=0B0j3VJ1Xp5N8ZWtYVlRRYWNPSWM
Now you can use anything made of wood, metal or rubber.
I couldn't use a plastic pen, though...
I recommend changing one value in /system/usr/idc/clearpad_pen.idc for more accuracy.
Change
Code:
# Pressure
touch.pressure.scale = 0.2
to
Code:
# Pressure
touch.pressure.scale = 0.1
works for me.
{
"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"
}
In /sys/devices/virtual/input/clearpad/,
there is "grove" but I could only show circle with pen and I couldn't use with glove.
http://i.imgur.com/RibpIAi.png
Thanks championswimmer for finding this.

RyokoN said:
AOKP introduced pen mode for Z1 and I could enable it on stock ROM!
Xperia Z Ultra can use the pen or pencil made of wood or metal as stylus, but Z1's screen also supports it and Sony disabled it for some reason.
To enable pen mode, create init.d script:
Code:
#!/system/bin/sh
chown system:system /sys/devices/virtual/input/clearpad/pen
echo 1 > /sys/devices/virtual/input/clearpad/pen
or add these lines to hw_config.sh:
Code:
chown system:system /sys/devices/virtual/input/clearpad/pen
echo 1 > /sys/devices/virtual/input/clearpad/pen
Now you can use anything made of wood, metal or rubber.
I couldn't use a plastic pen, though...
In /sys/devices/virtual/input/clearpad/,
there is "grove" but I could only show circle with pen and I couldn't use with glove.
http://i.imgur.com/RibpIAi.png
Thanks AOKP for infomation.
Click to expand...
Click to collapse
where to add the lines in hw_config.sh , at bottom ?
Anyone tried it ?

ImAnurag said:
where to add the lines in hw_config.sh , at bottom ?
Anyone tried it ?
Click to expand...
Click to collapse
I tried in hw and in init.d, but it doesn't work, also clearpad doesn't look like folder when i browse with root explorer it looks like file??

Changed 0 to 1 in sys/devices/virtual/input/clearpad/pen
Too bad it didn't work with plastic

ImAnurag said:
where to add the lines in hw_config.sh , at bottom ?
Anyone tried it ?
Click to expand...
Click to collapse
Yes, bottom is safe to add.

secretfile said:
I tried in hw and in init.d, but it doesn't work, also clearpad doesn't look like folder when i browse with root explorer it looks like file??
Click to expand...
Click to collapse
clearpad folder looks like this:
Please try my toggle app, this will change pen's 0 to 1.
http://d-h.st/5az

RyokoN said:
clearpad folder looks like this:
Please try my toggle app, this will change pen's 0 to 1.
http://d-h.st/5az
Click to expand...
Click to collapse
it works perfectly mate....thank you :good:

It was root explorer that cose problem with folder,
with es explorer i can see inside folder and there is pen file with content 1 but i tried with ball pen and it didn't work,
could this be because of screen protector?
Ok it works now strange there is part of screen where it doesn't detect pen.
OP - good job

Is a flashable zip possible for stock based roms?
Edit: the apk worked perfect, thanks mate...!
Sent from my C6903 using XDA Premium 4 mobile app

@RyokoN
I have Changed 0 to 1 in sys/devices/virtual/input/clearpad/pen => needn''t to reboot => WORK
But after reboot NOT WORK and i check the value it back to 0 again?????

thanhhii said:
@RyokoN
I have Changed 0 to 1 in sys/devices/virtual/input/clearpad/pen => needn''t to reboot => WORK
But after reboot NOT WORK and i check the value it back to 0 again?????
Click to expand...
Click to collapse
The values reset to default after reboot, hence why it's required to use init.d script or hw_config
Sent from my C6903 using Tapatalk

tomascus said:
The values reset to default after reboot, hence why it's required to use init.d script or hw_config
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
Hw_config in system/etc not work
Can u help me?
Sent via Honami 6903

thanhhii said:
Hw_config in system/etc not work
Can u help me?
Sent via Honami 6903
Click to expand...
Click to collapse
Change permission of file to rw-r-rw then you can edit it. Add the lines as specified and save and close the file. Change permissions back to normal rw-r-r.
Sent from my C6903 using Tapatalk

tomascus said:
Change permission of file to rw-r-rw then you can edit it. Add the lines as specified and save and close the file. Change permissions back to normal rw-r-r.
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
I can edit but after reboot it not work!
The code add still in hw_config but not work
Sent via Honami 6903

It work for me with the App.
It awesome that we have something like that.
I must learn to write with pencil
Sent from awesome Z1

thanhhii said:
@RyokoN
I have Changed 0 to 1 in sys/devices/virtual/input/clearpad/pen => needn''t to reboot => WORK
But after reboot NOT WORK and i check the value it back to 0 again?????
Click to expand...
Click to collapse
Use this: https://www.dropbox.com/s/q0n4beony585gmv/Pen_Mode
Move to system/etc/init.d
Enviado desde mi C6906 mediante Tapatalk

Working greeeeeeeeeeeat on my phone, thanks.
Than's to yall Dev's who make our devices more fun/great every day
Cheers!

danytrial said:
Use this: https://www.dropbox.com/s/q0n4beony585gmv/Pen_Mode
Move to system/etc/init.d
Enviado desde mi C6906 mediante Tapatalk
Click to expand...
Click to collapse
Still not work bro!
Second time i delete .txt but still not work
Try to add code into hw_config but still not work!
Can u help me?

Works like a charm!!!:thumbup:
Thanks!
Sent from my Rooted C6903 using XDA Premium

Ohh...it's working, it just needed few seconds to start accepting pen...
Nice new feature
Tnx mate...
Sent from my C6903 using Tapatalk

Related

[APP][18/06/2012]Thoravukk Control [RELEASED] for Thoravukk Kernel

{
"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"
}
HI, I am new member of team-blockbuster.
I am developing an android application for thoravukk kernel made by pinpong.
Lets start with screenshots:
Reboot options for rebooting device in 3 modes.
Cpu- Change governors, Change IO schedulers, Change min-max Frequencies
Gpu- Change Frequencies and voltages
Misc- Change charging voltages( Charger,Misc,USB )
Set level for Vibrator from 0-6
Set gamma level, Set LED timeout
Ntfs mount option for sdcards and hdd
Save as boot settings option
Still many to come in next versions.
Changelog beta v2
Script generation failed error fixed .
New icon added
Changed LED min- max timeouts
Changelog beta v3
New screen added - lulzactive settings
Added BLN toggle button
Added Touch screen sensitivity
Added Fuel gauge reset
Changelog beta v4
New Screen Cpu voltages added
New Screen Cpu States added
Script now have lulzactive commands
Reset fuel gauge yes buttons fixed
Orientation is fixed to portrait now until beta finish
New screen added- screen & soft key
Blinking effect control added
Changelog Final Version
Minor bugs fixed
Script fixed , hope now works properly
***Please uninstall old app before installing new one***
To download application use the link below
DOWNLOAD
Great Thanks to-
All of them which are there in credits section of pinpong thread
---Team Blockbuster---
fuss132 for supporting me
pan cit for excellent graphics,icons in application and thread
and
pinpong for all information needed to build this app
For more information related to my development visit my page
For information related to kernel,apps,roms and more .. visit our homepage
FAQ:-
Q.The application is crashed ( Force close) , what should I do ?
A. Give me logcat using adb logcat or aLogcat application
Q.Can I use this application with some different kernel ?
A. No. ( currently it only supports thoravukk)
Q.If anyone getting script generation failed error ?
A. Consider giving me logcat
There is no blink toggle and blink on/off interval features in application, they will be added in next release ^^
Just give me feedback about the app after using it
Welcome
Can't wait for this wonderful application
Sent from my GT-I9100 using Tapatalk 2
im the one who are using this great kernel..keep up good work...
I use it too !!! Great job at the team !!!
But i have too look more seriously, it seems that settings arn't saved after reboot ... i retest it !
EDIT : it's probably script related ... i take a look at this. It doesn't work at all after reboot
Tom_2b said:
I use it too !!! Great job at the team !!!
But i have too look more seriously, it seems that settings arn't saved after reboot ... i retest it !
EDIT : it's probably script related ... i take a look at this. It doesn't work at all after reboot
Click to expand...
Click to collapse
Btw application is still in beta version, I ll look at it. is there any file named "thoravukk" in /system/etc/init.d folder ?
rohitiskul said:
Btw application is still in beta version, I ll look at it. is there any file named "thoravukk" in /system/etc/init.d folder ?
Click to expand...
Click to collapse
Maybe he got wrong permissions for folder "init.d"? Was installing kernel 2.45 and i had to set permissions to 775 (rwxrwxr-x). On v2.43 I only needed 755 to set up thoravukk init.d script.
Gesendet von meinem GT-I9100
rohitiskul said:
Btw application is still in beta version, I ll look at it. is there any file named "thoravukk" in /system/etc/init.d folder ?
Click to expand...
Click to collapse
Yes the script is correctly written, the init.d folder works, the VC's script is loaded but when i try with the thoravukk it isn't
Envoyé depuis mon GT-I9100 avec Tapatalk
Script creation failed...
Set permissions for init.d to 775 and 755 but still same issue.
Using kernel v2.45...
Gesendet von meinem GT-I9100 mit Tapatalk
Tom_2b said:
Yes the script is correctly written, the init.d folder works, the VC's script is loaded but when i try with the thoravukk it isn't
Envoyé depuis mon GT-I9100 avec Tapatalk
Click to expand...
Click to collapse
I tested the script on my galaxy sl i9003, the script works fine on my phone.
my init.d permissions are rwxr-xr-x and script with rwxrwxrwx permission.
Even pinpong also said me its working fine on his galaxt s II i9100. So just check permissions of init.d folder.
Ok thanks i ll take a look
Envoyé depuis mon GT-I9100 avec Tapatalk
OK .. If anyone facing script generation failed problem , pls send me logcat.
Also, report me about .. how much cpu screen lags while changing the values of min,max,scheduler,governor ?
rohitiskul said:
OK .. If anyone facing script generation failed problem , pls send me logcat.
Also, report me about .. how much cpu screen lags while changing the values of min,max,scheduler,governor ?
Click to expand...
Click to collapse
OK, seems App doesn't mount /system/etc/init.d as R/W but keeps it as R/O only:
I/System (13356): at com.stericson.RootTools.b.run(Unknown Source)
W/System.err(13356): java.io.FileNotFoundException: /system/etc/init.d/thoravukk: open failed: EROFS (Read-only file system)
(Changed CPU from 100 -1200Mhz)
EDIT: manually mounted R/W (using root explorer) and script is created
Thanks, for checking the script logcat.
And can u tell me when u changed cpu values do you feel stuttering while swiping value gallery ?
rohitiskul said:
Thanks, for checking the script logcat.
And can u tell me when u changed cpu values do you feel stuttering while swiping value gallery ?
Click to expand...
Click to collapse
no swiping seems still smooth for me, neither within swiping the values nor in swiping the menues
rohitiskul said:
Thanks, for checking the script logcat.
And can u tell me when u changed cpu values do you feel stuttering while swiping value gallery ?
Click to expand...
Click to collapse
You could use a simple Runtime for executing the command "su", and then "busybox mount -o rw,remount /system", then no more EROFS. This is how my apps does it. Also FileWriter class doesn't work over /system files, at least not on some times. You better use runtime for "busybox echo "+string+" > /system/somewhere"
fine kernel , fine apk fine team
Charge Power
Hi. I love this app in Combination of the Kernel!
I used the Kernel V 2.45 and all works fine.
Now i have a question about the App.
in the App i can change the charge power by usb, misc and Charger.
I change it by +50mA on every Port but i seems no effect or just a little bit.
has someone experience of it? Can i only crash my Battery or my Handy also if i reach to much?
Can i raise it? I think the carger gives me the max of it or?
The max of my Charger is 1 Amp. I think USB 2.0 max Power is 500mA.
And what means the Misc Option?
Is it possible to add an option to have backlight for keylights to be always on?

[SCRIPT]SoftKeyLightAlwaysOffV2.0 [Update: June 17/2012]

Post 1:Changelog
See Post two for instructions for how to use!
=========================================================================================================================
Please note that i no longer have a galaxy gio, so it is up to you guys to tell me if this works!
=========================================================================================
Version 2.0 (June 17, 2012)
Finally figured out how to change the value in a file with linux commands.
This makes for a much cleaner mod, not confusing and no more waiting lights to be off
ability to revert without rebooting (in progress)
====================================================================================================================================================
Version 1.0 (Outdated)
Chmod 000 to remove permissions (very unclean way of doing this)
First Release
=====================================================================================================================================================
========================================================================================================================
Instructions to install/use:
1. Download SoftKeyAlwaysOffv2.0.zip and extract the sh file
2. Place on SDcard root (anywhere will do)
3. Execute with terminal emulator using sh command. Since mine is on sdcard root it would look like "sh /mnt/sdcard/SoftKeyAlwaysOff.sh"
4. Enjoy :^)
========================================================================================================================
Instructions to Revert to stock:
1. Download SoftKeyRevertv2.0.zip and extract the sh file
2. Place on SDcard root (anywhere will do)
3. Execute with terminal emulator using sh command. Since mine is on sdcard root it would look like "sh /mnt/sdcard/SoftKeyRevertv2.0.sh"
4. Enjoy :^)
========================================================================================================================
How you mean "not to touch" the screen after starting the script?
Should we wait until the patch loads in successfully, or you are trolling us with this script?
Maybe cuz that forces the lights to go on, wich you are disabling and so crashes..? Just follow the instructions, dont be a badass and touch oit
Sent from my GT-S5660 using xda premium
Cause if the lights are on when the permissions are applied by my script, the stay on FOREVER until reboot. Read point number 4 in first post.No trolling here, its legit you can touch the screen, its just the script won't work how you want it.
Sent from my GT-I9000 using XDA
after applying the script, how long do you wait until you can use the phone (touch the screen)?
/confused
bdasmith said:
after applying the script, how long do you wait until you can use the phone (touch the screen)?
/confused
Click to expand...
Click to collapse
Just until the script had ended! When you see is say reboot to revert you can go. its just we want the soft key lights off during the script. Good to go after!!
Sent from my GT-I9000 using XDA
Thanks to AlwaysDroid and galaxy888 idea, I have made a quick and dirty app to disable the touch light keys on the fly; next up, a service to set the backlight on boot, and maybe conditional behaviour (like disable key light only if specific app is running).
To enable the light, after unchecking the box, you must perform one backlight cycle (lock/unlock the screen).
It needs root, but no other permissions are required.
PS. I haven't bothered yet to change the checkbox state based on setting, so after reboot even if it's checked, lights are still on; just uncheck-check it again. Don't be too judgemental about it, I just put this together in like 5 mins
Great
Sent from my GT-S5660 using xda premium
coccolino_dbro said:
Thanks to AlwaysDroid and galaxy888 idea, I have made a quick and dirty app to disable the touch light keys on the fly; next up, a service to set the backlight on boot, and maybe conditional behaviour (like disable key light only if specific app is running).
To enable the light, after unchecking the box, you must perform one backlight cycle (lock/unlock the screen).
It needs root, but no other permissions are required.
PS. I haven't bothered yet to change the checkbox state based on setting, so after reboot even if it's checked, lights are still on; just uncheck-check it again. Don't be too judgemental about it, I just put this together in like 5 mins
Click to expand...
Click to collapse
Any feedback?...
coccolino_dbro said:
Any feedback?...
Click to expand...
Click to collapse
hi , you see there is no feedback because there is no problem, your work is perfect, thank you.
coccolino_dbro said:
Thanks to AlwaysDroid and galaxy888 idea, I have made a quick and dirty app to disable the touch light keys on the fly; next up, a service to set the backlight on boot, and maybe conditional behaviour (like disable key light only if specific app is running).
To enable the light, after unchecking the box, you must perform one backlight cycle (lock/unlock the screen).
It needs root, but no other permissions are required.
PS. I haven't bothered yet to change the checkbox state based on setting, so after reboot even if it's checked, lights are still on; just uncheck-check it again. Don't be too judgemental about it, I just put this together in like 5 mins
Click to expand...
Click to collapse
Does the app change the value back to 1 or mess up the permissions for the file that controls backlight, the app might work on a sensation but it's default value is 255
Sent from my GT-S5660
What the application does is, when disabling the lights, write a 0 into the file and denies any access by removing all permissions, and, when enabling them back, writes a 1 and change permissions back to default value (in Gio case, 644). I know this is kinda hackish, but my programming and Android kernel knowledge is limited...
If you'd like to try it on Sensation, I can modify it... I just need to know the file's exact path and default permissions. But first, to be sure, you can try to change by hand, to see if this hack does work on Sensation.
coccolino_dbro said:
What the application does is, when disabling the lights, write a 0 into the file and denies any access by removing all permissions, and, when enabling them back, writes a 1 and change permissions back to default value (in Gio case, 644). I know this is kinda hackish, but my programming and Android kernel knowledge is limited...
If you'd like to try it on Sensation, I can modify it... I just need to know the file's exact path and default permissions. But first, to be sure, you can try to change by hand, to see if this hack does work on Sensation.
Click to expand...
Click to collapse
No need to, I found a similar feature with more options in the rom.
{
"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"
}
Sent from my HTC Sensation
iok1 said:
No need to, I found a similar feature with more options in the rom.
Sent from my HTC Sensation
Click to expand...
Click to collapse
Yes but, this is for our gio, we dont have that rom
Sent from my GT-S5660 using xda premium
iok1 said:
No need to, I found a similar feature with more options in the rom.
Click to expand...
Click to collapse
Well, it seems that the Sensation has different hardware capacities for the keys light (dimming), whereas Gio has only two states (on/off). So my guess is that this "hack" won't work on Sensation, even done manually...
New update out. No more not touching the screen. It actually replaces the value in the file. Enjoy

[MOD][XPERIA S] Small Apps with Xperia T systemUI (%) or Xperia GX systemUI [06/12]

{
"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"
}
Here's the original SystemUI from the Xperia T and the Small Apps:cyclops:
How to Install the SystemUI only:
Delete SystemUI.odex
Copy SystemUI.apk with a file explorer.
Paste it in /system and set right permissions (rw-r--r--)
Move file to /system/app
Reboot
Changelog for SystemUI:
24/09: GPS bug fixed
18/10: USB message bug fixed
18/10: Missaligned icons fixed
Download:
SystemUI from Xperia GX: http://forum.xda-developers.com/showpost.php?p=34052903&postcount=318
SystemUI from Xperia T: attached at bottom
Small Apps:
How to Install the Small Apps:
Here's what you have to do if you are using 6.1.A.2.50 original rom:
1) Install the Kernel of your choice (Advanced Stock ICS Kernel, KA Xperia SSpeed kernel, ...)
2) Flash a 6.1.A.2.50 deodexed rom
3) Download parts 0 and 1 and place them on your SD Card
4) Download part 2T or 2GX or 2S (According to wich SystemUI you want) and place it to your SD Card
5) Download part 3 and place it to your SD Card
6) Flash Part 0, wipe dalvik cache (In advanced) and reboot
7) Let it boot and update android and go until you see the ask of the pin code.
8) Turn off by pressing Power and Volume + a few seconds
9) Come back in recovery and flash Part 1 and Part 2T (or 2GX or 2S) and Part 3 in the same time
10) Reboot
Here's what you have to do if you are using 6.1.A.2.55 original rom:
1) Install the Kernel of your choice (Advanced Stock ICS Kernel, KA Xperia SSpeed kernel, ...)
2) Flash a 6.1.A.2.55 deodexed rom
3) Download parts 0 and part 1.55 and place them on your SD Card
4) Download part 2T or 2GX or 2S (According to wich SystemUI you want) and place it to your SD Card
5) Download part 3 and place it to your SD Card
6) Flash Part 0, wipe dalvik cache (In advanced) and reboot
7) Let it boot and update android and go until you see the ask of the pin code.
8) Turn off by pressing Power and Volume + a few seconds
9) Come back in recovery and flash Part 1.55 and Part 2T (or 2GX or 2S) and Part 3 in the same time
10) Reboot
Download:
Small Apps Part 0: http://www.mediafire.com/?4x2up0hl30b8gno
Small Apps Part 1: http://www.mediafire.com/?1l2wo1oejq4w3g3
Small Apps Part 1.55: http://www.mediafire.com/?zkuwj0jsfg6epee
Small Apps Part 2T: http://www.mediafire.com/?0xcoi3klsmc7xya
Small Apps Part 2GX: http://www.mediafire.com/?ga7wp1945r2igb1
Small Apps Part 2S: http://www.mediafire.com/?fup1sijdm85do7q
Small Apps Part 3: http://www.mediafire.com/?s5kexs5b1c0drp0
Changelog for Small Apps:
06/12: Fix for copy/paste added
06/12: New Part 1.55 for 6.1.A.2.55 rom
Credits
Many thanks to Krabappel, zohaib0001, AeonWorld, Donjamal, Krazyazy and Felimenta97 for their works and tips
Can we use it on other phones then xs? Maybe on XperiaP
Psierra117 said:
Can we use it on other phones then xs? Maybe on XperiaP
Click to expand...
Click to collapse
You can try but do an android backup before
It works on my Xperia P.
btw, Can I include this in my ROM here http://forum.xda-developers.com/showthread.php?t=1889581 I'll give proper credits. I tried one myself but have no idea how to add battery percentage as text.
Windows X said:
It works on my Xperia P.
btw, Can I include this in my ROM here http://forum.xda-developers.com/showthread.php?t=1889581 I'll give proper credits. I tried one myself but have no idea how to add battery percentage as text.
Click to expand...
Click to collapse
No problem
niaboc79 said:
No problem
Click to expand...
Click to collapse
Thanks. How could you make Xperia T's SystemUI.apk work as deodexed apk btw? I tried using baksmali and smali myself with Xperia T's framework but no luck.
Windows X said:
Thanks. How could you make Xperia T's SystemUI.apk work as deodexed apk btw? I tried using baksmali and smali myself with Xperia T's framework but no luck.
Click to expand...
Click to collapse
I've used xUltimate 2.4 to deodex
JESUS this is what i was waiting for !!! thanks so much mate !
Dude i have a problem, when i try to paste it i got this error: libcore.io.errnoexceptionpen failed: EROFS (READ-ONLY FILE SYSTEM) , what can i do?
lapocha5 said:
Dude i have a problem, when i try to paste it i got this error: libcore.io.errnoexceptionpen failed: EROFS (READ-ONLY FILE SYSTEM) , what can i do?
Click to expand...
Click to collapse
Set system to read/write
niaboc79 said:
Set system to read/write
Click to expand...
Click to collapse
Sorry if you could explain to me how to do that i would be nice because i´m a noob i´m using astro, with that works right?
niaboc79 said:
I've used xUltimate 2.4 to deodex
Click to expand...
Click to collapse
Tried but didn't work still. I put apps extracted from Xperia T into orig_app then deodex app for getting some deodexed apps like Browser/Exchange/etc. but no luck still. Any help would be appreciated
P.S. If possible, please deodex app/framework and upload.
Can someone port this to Xperia Neo V ICS 4.0.4 buildnr 587?
Best Regards
..:: [email protected]€m!c ::..
lapocha5 said:
Sorry if you could explain to me how to do that i would be nice because i´m a noob i´m using astro, with that works right?
Click to expand...
Click to collapse
i try to set the permissions but i couldn´t with astro, what program could i use?
Windows X said:
Tried but didn't work still. I put apps extracted from Xperia T into orig_app then deodex app for getting some deodexed apps like Browser/Exchange/etc. but no luck still. Any help would be appreciated
P.S. If possible, please deodex app/framework and upload.
Click to expand...
Click to collapse
Put all the framework folder inside origi_frame
I've used this tutorial as this is the first time I deodexed...
http://technologic101.wordpress.com/2012/07/24/tutorial-how-to-deodex-a-stock-android-rom/
lapocha5 said:
i try to set the permissions but i couldn´t with astro, what program could i use?
Click to expand...
Click to collapse
I'm using root explorer
niaboc79 said:
I'm using root explorer
Click to expand...
Click to collapse
yes, but i was looking a free one because i dont have credit care and i cant buy that one..
Oh, the gps icon bug is still there
On .45 stock it didn't work. I lost the notification bar completely. The phone will boot up but there will be no notification bar at all. I replaced the SystemUI.apk with the original one and rebooted and it's back on track. I really wanted the quick buttons in the notification area :|
EDIT: Working now with SystemUI.odex DELETED
valy_cta said:
On .45 stock it didn't work. I lost the notification bar completely. The phone will boot up but there will be no notification bar at all. I replaced the SystemUI.apk with the original one and rebooted and it's back on track. I really wanted the quick buttons in the notification area :|
Click to expand...
Click to collapse
Deleted SystemUI.odex?
"I got my values. So you can keep yours, OK?"

[MOD][i9082]How to Enable and Disable On-screen/soft Buttons Enable on-screen buttons

{
"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"
}
How to Enable and Disable On-screen/soft ButtonsEnable on-screen buttons:]
You will need root access for this.
Please take complete backup before proceeding, in case if you do something wrong..
If your phone isn’t rooted, you can use this method to root the phone.
You will need root access for this. If your phone isn’t rooted, you can use this method to root the phone.
Install ES File Explorer File Manager on your phone from the Play Store. This is a file manager that will be used to edit those system files to enable/disable on-screen/soft buttons. Those already experienced with using a root-enabled file manager can go directly to 4.
Open ES Explorer. Then, click the menu button on your device and click Settings. Here, tick the “Up to Root” option. Then go down and tick the “Root Explorer” option, then press Allow/Grant button when prompted to grant it root access. Then, tick the “Mount File System Option” as well. Once all three options are selected, press back to exit the settings.
Hit the Up on top in ES Explorer till you reach the outermost folder (till it says / at the top).
Go into the system folder, then scroll down to find the build.prop file. Tap on this file to start editing it. If you get an “Open With” prompt, select “ES Note Editor”.
Now, at the end of the file (at the bottom after the last line), add the line “qemu.hw.mainkeys=0″ (without the ” quotes), then save the file (press the Menu button to see the Save option).
Then, reboot the phone. After the phone boots up, you should have the virtual on-screen buttons on your phone
Disable Soft Menu and Back keys:
In ES Explorer, now scroll to the system » usr » keylayout folder, then tap on the Generic.kl file. Select to open the file as “Text” in the first popup, then select “ES Note Editor” to open the file.
Now, find the line that says “key 139 menu”, then add a # in front of the text, so that it becomes “#key 139 menu”.
Similarly, add a # before the line that says “key 158 back”.
Then, save the file.
Reboot the phone, after which the capacitive menu and back keys should be disabled
For Nexus 4 Keyboard, Camera, Clock, Audio and Wallpapers for Grand Duos
http://forum.xda-developers.com/showthread.php?p=40766062#post40766062
Waste of screen space, that's what the keys under the screen are for...
By mistake pressed thanks instead of reply... lol..
Yeah waste of screen but by changing DPI that is compensated and as far as I can see the home button provided by Samsung is too cheap quality.
Who knows we might need it.
DBZo07 said:
By mistake pressed thanks instead of reply... lol..
Yeah waste of screen but by changing DPI that is compensated and as far as I can see the home button provided by Samsung is too cheap quality.
Who knows we might need it.
Click to expand...
Click to collapse
What dpi you suggest?
Sent from my GT-I9082 using Xparent Skyblue Tapatalk 2
drshafi said:
What dpi you suggest?
Sent from my GT-I9082 using Xparent Skyblue Tapatalk 2
Click to expand...
Click to collapse
DPI 200
Use this for over coming bugs of DPI http://forum.xda-developers.com/showthread.php?t=2072081
Set DPI 240 (resolution 480x840) for apps which cause problems viz, contact, dialer, calculater, internet browser..
And for playstore fix use this GooglePlay Installer 1.1.0 by ChelpuS
Hey bro im using stock rooted bmk3 rom and I edit build.prop but after reboot system ui force closes. Help me bro to enable soft keys because my back key not working.
Unable to enable soft keys
torque7 said:
Hey bro im using stock rooted bmk3 rom and I edit build.prop but after reboot system ui force closes. Help me bro to enable soft keys because my back key not working.
Click to expand...
Click to collapse
I think it's not possible in 4.2.2 build. It was possible in 4.1.2 and possible in 4.4.x onwards.
Is there any hope?
Sent from my GT-I9082 using XDA Free mobile app
Didn't work on mine. Stock ROM 4.2.2. System UI FC.
i have a problem with adding the home button to my i9082
when i add the line qemu.hw.mainkeys=0 to build.prop then i save the file ..when i restart my phone the home button is not enable and the phone have a problem by showing on the screen ( unfortunately, system UI has stopped ) plzz help
It doesn't work. Remove that line.. & Restart the phone.
Doesn't works with 4.2+ :
ahmad baroudi said:
when i add the line qemu.hw.mainkeys=0 to build.prop then i save the file ..when i restart my phone the home button is not enable and the phone have a problem by showing on the screen ( unfortunately, system UI has stopped ) plzz help
Click to expand...
Click to collapse
Anyone can solve it for v4.2.2
Send By Samsung Galaxy Grand Dous(GT-I9082)
disable method not works.....
i appreciate your struggle.....but disabling method of soft keys not works.... disabling is done simply removing the line which we have added in build.prop folder....so kindly check it and correct it in description......:good:
Does it work for custom ROM, like cyanogenmod?
Sent from my GT-I9082 using Tapatalk
It worked (cyanogenmod13)
Sent from my GT-I9082 using Tapatalk

Deodexed Xperia M SS 4.3 JellyBean Firmware

I Have Deodexed Xperia M New 4.3 Firmware This work Is By Me.......
Install Instructions:::
1. Download Deodexed Flash File Here https://app.box.com/s/b5e170x0mfdbk6uoyilk Or Here http://d-h.st/VWr
2. Transfer It Into Your SD card ...
3. Goto CWM Recovery And Flash It...
4. Done & Enjoy
arshh19 said:
I Have Deodexed Xperia M New 4.3 Firmware This work Is By Me.......
Install Instructions:::
1. Download Deodexed Flash File Here https://app.box.com/s/b5e170x0mfdbk6uoyilk
2. Transfer It Into Your SD card ...
3. Goto CWM Recovery And Flash It...
4. Done & Enjoy
Click to expand...
Click to collapse
well full deodexed System only 26.3MB ?
Ben Ling said:
well full deodexed System only 26.3MB ?
Click to expand...
Click to collapse
Yes all Odex Files Are Deodexed and thts all 25 mb For othrs dont need
arshh19 said:
Yes all Odex Files Are Deodexed and thts all 25 mb For othrs dont need
Click to expand...
Click to collapse
oh yes,just look into the Xperia M system dump,most of them already deodexed...
{
"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"
}
Sent from my C1905 using Tapatalk
Please can you upload it somewhere else?
Sent from my C1905 using Tapatalk
neofactor.is3 said:
Please can you upload it somewhere else?
Sent from my C1905 using Tapatalk
Click to expand...
Click to collapse
Link Updated
Hi!
Does this work for both c1904/5?
whyzee said:
Hi!
Does this work for both c1904/5?
Click to expand...
Click to collapse
Yes.....:laugh:
Just some tips for if you haven't got CWM on your device and you want to deodex your device you can do the following (this is assuming you're on Windows and have adb set up as a variable, look it up if you don't know what I'm going on about).
1) Download the file from the OP and then extract the folders 'app' and 'framework' from the .zip file.
2) Rename the 'app' folder to 'done_app' and the 'framework' folder to 'done_framework'.
3) Copy both of the folders to the root of your SD Card, basically so when you want them on your phone it is /sdcard1/done_*/ (* being used as a wildcard).
4) Connect your device to the computer with USB debugging enabled.
5) Open up command prompt and then run the following code individually and line by line:
Code:
adb shell
su
stop
mount -o rw,remount /system
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard1/done_app/* /system/app/
cp /sdcard1/done_framework/* /system/framework/
mount -o ro,remount /system
reboot
This will now have your device deodexed fully. You will notice that when you reboot your phone it will say android is upgrading, this is normal.
I've attached a screenshot to show, please ignore the first time I ran 'cp /sdcard1/done_app/* /system/app/' as I ran it without the final '/' so I had to run it again.
I got endless boot....
Sent from my C1905 using XDA Premium 4 mobile app
giridhargp said:
I got endless boot....
Sent from my C1905 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Have you tried a battery pull? And which method did you use?
Sent from my C1905 using xda app-developers app
gamer649 said:
Have you tried a battery pull? And which method did you use?
Sent from my C1905 using xda app-developers app
Click to expand...
Click to collapse
Now i restored...i flashed ur zip
Sent from my C1905 using XDA Premium 4 mobile app
giridhargp said:
Now i restored...i flashed ur zip
Sent from my C1905 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I'm not the OP, I only gave a way for it to work by using the OP file with a locked bootloader (which I have).
Sent from my C1905 using xda app-developers app
can you make it for m dual
Dont Hav M Dual System dump
Just send me .odex files of app and framework in zip file if u wana deodex of M Dual... Cant Download whole system dump...
Sent from my C1905 using XDA Premium 4 mobile app
gamer649 said:
Just some tips for if you haven't got CWM on your device and you want to deodex your device you can do the following (this is assuming you're on Windows and have adb set up as a variable, look it up if you don't know what I'm going on about).
1) Download the file from the OP and then extract the folders 'app' and 'framework' from the .zip file.
2) Rename the 'app' folder to 'done_app' and the 'framework' folder to 'done_framework'.
3) Copy both of the folders to the root of your SD Card, basically so when you want them on your phone it is /sdcard1/done_*/ (* being used as a wildcard).
4) Connect your device to the computer with USB debugging enabled.
5) Open up command prompt and then run the following code individually and line by line:
Code:
adb shell
su
stop
mount -o rw,remount /system
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard1/done_app/* /system/app/
cp /sdcard1/done_frame/* /system/framework/
mount -o ro,remount /system
reboot
This will now have your device deodexed fully. You will notice that when you reboot your phone it will say android is upgrading, this is normal.
I've attached a screenshot to show, please ignore the first time I ran 'cp /sdcard1/done_app/* /system/app/' as I ran it without the final '/' so I had to run it again.
Click to expand...
Click to collapse
I think that in this line "cp / sdcard1/done_frame / * / system / framework / " should be framework not frame, when i change it's all ok
musclecars said:
I think that in this line "cp / sdcard1/done_frame / * / system / framework / " should be framework not frame, when i change it's all ok
Click to expand...
Click to collapse
So it should be, thank you for correcting me! I will go and change it now.
If you look at the screenshot I posted too it even says /sdcard1/done_framework/* so I definitely did mess up the code.
Will this procedure resets the settings you've made, like PIN Codes, ringing tones, linked accounts etc.. ?
Thanks!

Categories

Resources