[MOD][JB] probable bug screen death fix for JB (testers needed) - XPERIA X8 Android Development

i am not sure if this mod works but you can try it.
i have not had screen death bug using this.
i have not made flashable zip, you have to apply this mod manually.
it will be very good if some one make it for me.
here is what you have to do.
1) download View attachment vsync.rar and extract 20-vsync file.
2) put this file to /system/etc/init.d/ and set permissions to rw-r--r-- (644)
3)open system/lib/egl, edit egl.cfg and delete first line i.e. 0 0 android
after that save and exit.
4)also delete libGLES_android.so from /system/lib/egl/
5)now download View attachment adreno_config.rar and extract adreno_config.txt
there are 3 files each 1) no MSAA (multisample antialising)
2) 2x MSAA
3) 4x MSAA
choose whichever you like, i would recommend 2x MSAA file.
6) put extracted adreno_config.txt to /system/etc and replace with old one. and set permissions to rw-r--r-- (644)
7) now reboot phone into recovery, clear cache and dalvik cache and reboot.
enjoy JB with less screen death.
please test and report...............

also you need to edit build.prop with
debug.sf.hw=1
debug.composition.type=gpu
if you are getting lags use
debug.composition.type=mdp

reserved

has anyone tried it yet??? please test and report...

This bug cannot be resolved with sole init.d files and libs..this bug is caused of low ram!

ya i know about that but still this mod decreases the frequency of bug.
you can say it is "near project butter implentation"

Working
Before I had flashed your fix, screen doesn't wake up.
After I had flashed your fix, screen always wakes up and I feel that my x8 is faster (placebo?).
Sorry for my bad English.

Confirmed...Working...now,it's not that hard to wake him up than before.. :thumbup:
E16i - android 4.1.2 jb
- MiniCM10 4.0.2

Related

[Q] Froyobread v019 Overclock module problem

Hello,
I'been facing this problem since Froyobread v017. Problem is: I load the x8oc.ko module (modifying hw_config.sh) and set it to overclock at 740Mhz using this code on the hw_config.sh file:
Code:
insmod /system/lib/modules/x8oc.ko
sleep 2
echo x26 > /proc/x8oc
Everything works fine. After reboot the overclock is working and I can see the processor running at 740Mhz and I can se the overclock module loaded using the command below:
Code:
dmesg | grep x8oc
The problem is that after around 30+ minutes if I check again the processor I see that it is not overclocked, so it is runnign at 600Mhz. Then if I check the module x8oc to see if it is loaded I found that is not loaded anymore.
I cannot find why the overclocking module is unloaded. I don't have any appkiller or something like that that could kill the module.
I already tried doing a full wipe and reinstalling the Froyobraed ROM from scratch with no success. There must be something killing the module but I cannot find what it is.
Any thoughts or advice about what could be the issue?
PD: I wanted to post this question under the Froyobread development post, but I think I am too noob to be able to post in there!
don't add the code in hwconfig, doixanh has already added it
he posted in froyobread thread this:
3. Anyone who needs overclock module can simply copy x8oc.ko to /system/lib/modules and reboot. No need to change hw_config.sh. It will be loaded automatically.
Thanks fifo171 for your advice.
I read that before troubleshoot the issue. Anyway the module IS NOT loaded automatically in doixanh's Froyobread. I tested it copying the x8oc.ko to /system/lib/modules and reboot. that is why I modified the hw_config.sh file.
for me it works, just copy x8oc.ko to /system/lib/modules, then reboot and set frequency with setcpu, it should work
edit: on which number did you look ??? on the big white or small green ???
I didn't wanted to use SetCPU, but if that is the only way to make the overclocking works I will try and let you now.
Thank you very much for your help.
PD: Is SetCPU a free app? I shearched in the Market but I found that it is a paid app... maybe I am looking at the wrong one.
on market is only donate version, free version is here
Great!!!
What do you refer with: on which number did you look ??? on the big white or small green ???
Do you refer to the CPU clock value informed?
i thought that you had setcpu and there are 3 numbers with frequency: current, max, min
Well it didn't work. I have x8oc.ko copied in the /system/lib/modules directory and I cleaned the hw.config.sh file
After reboot x8oc module is not loaded, and SetCPU only shows as maximum clock 600MHz.
I checked x8oc.ko permissions and it is Read/Write for user, group and other. Should it have also the Execute permission enabled? Maybe is a file permission issue.
patriciocs said:
Well it didn't work. I have x8oc.ko copied in the /system/lib/modules directory and I cleaned the hw.config.sh file
After reboot x8oc module is not loaded, and SetCPU only shows as maximum clock 600MHz.
I checked x8oc.ko permissions and it is Read/Write for user, group and other. Should it have also the Execute permission enabled? Maybe is a file permission issue.
Click to expand...
Click to collapse
try to check all permisions and reboot, maybe it will help
I did chmod 777 /system/lib/modules/x8oc.ko then rebooted.
No luck. Module is not loaded. Do you know where is the file with the code that uploads the oc module? Maybe I have something missed on that file.
i don't know, try to install froyobread update.zip, it will delete /system and reinstall the rom, it will preserve your data, but don't do factory reset, and then try installing x8oc.ko again. if this won't help, i don't know what's the problem
Great! the problem was solved with your last instructions. Maybe I broken something when I modified the hw_config file. Now the module is loaded on boot again. I will monitor now if it keeps the processor overclocked through the time.
Thanks for your help and time fifo171!

[Tutorial][24/5][U9T11][ICS]V6 SUPERCHARGER And ICS OOM Priority Changer PATCH UPDATE

Mika Dee said:
Hi farhan can you please guide me how to install supercharger on nAa ICS? Thanks
Click to expand...
Click to collapse
Yeah sure
PLEASE READ EVERYTHING CAREFULLY BEFORE ASKING QUESTIONS
All Credits go to zeppelinrox for his magnificent script
*1st go look at this thread and the 2nd post: Original thread & 2nd post
*Follow these steps to Patch your service.jar file for OOM Priority change:
1. via root browser go to /system/framework/
2. copy the services.jar to the sdcard and then copy it to ur PC
3. go here http://android.mimic.ca/
4. upload ur services.jar file
5. a new page will appear... select the CWM flashable zip and download..
6. copy the zip to sd card and read below
**Patched "services.jar" CWM Flashable Zip for MiniCM9-3.0.2 available for download. See attachments
Download supercharger from the link at the end and save this in the root of your SD card.
zeppelinrox said:
IMPORTANT....Note: You will probably get Segmentation Fault errors running the V6 SuperCharger script on ICS due to some funky stuff going on with the su (superuser) binary. Go HERE for a fixed su binary. No more fugly segfaults! - Thanks to wraithdu
Click to expand...
Click to collapse
Now follow this steps:
0. Download Script manager from the market.
1. Run the script via Script manager as ROOT
2. Recommended Options for RAM management 256HP--> Ledded(3), Unledded(2), Super Unledded(4)
3. Recommended Options for LAG kIlling: Engine Flash(18), Detailing databases(19)
For SOME reason U cant run script manager.... THEN LETS IMPROVISE:
0. via file manager find the supercharger script file and copy the whole name (with extension)
1. go to terminal emulator
2. write:
Code:
su
{press enter}
3. write:
Code:
cd /sdcard/
{press enter}
4. write:
Code:
sh V6_SuperCharger_for_Android-Update9_RC7.sh.pdf
[u have pasted the name]{press enter}
NOW:
# After applying RAM minfree values you'll be asked to Wipe delvik cache and reboot. and YES u need that...
# U said YES ... Now your delvik cache is wiped and it rebooted.
# ITS TIME TO MAKE UR LAUNCHER DIE-HARD! So Enter CWM Recovery and Flash the previously prepaired zip. REBOOT.
# This time it will take some time to boot as Delvik cache has been wiped and has to be rebuild.
NOW Dealing with Stickiness of your applied Minfree values:IMPORTANT
#Run the Script again.
#U will see that it says about a percentage of supercahged-ness...
#If ur applied minfree values has not sticked a file will open which will say what to do to make these values fixed.
{For this u'll need script manager}
0. open script manager
1. go to /system/etc/init.d/
2. u'll see a file named "99supercharge" click on it...
3. give it the permission for ROOT and RUN AT BOOT and run.
4. script manager will run at every boot and fix ur minfree values.
WARNING: IF Script manager Can Not Run at boot for some reason minfree values will not be applied.
LAG KILLING:
Two options i use to kill lag. : 1. Engine Flush (18)
2. Detailing A.K.A Vaccuming (19)
# If u Run these from the main script a terminal emulator shortcut will be created
# after days of use if u feel choppy and laggy u can apply them via terminal emulator
Detailing/Vaccuming:
[info: this will re-index ur databases to make ur phone faster]
Open terminal emulator
Code:
su
{press enter}
Code:
vac
{press enter}
DONE!!
Engine Flush:
Open terminal emulator
Code:
su
{press enter}
Code:
flush
{press enter}
DONE!!!
Enjoy it... like a boss!
zeppelinrox said:
Updated April 10, 2012: - V6 SuperCharger Update 9 RC8.2
.................................... - Fixed - Bug when trying to apply calculated values automatically on rookies' first run - it would just loop back to menu
.................................... - Fixed - Bug regarding fix emissions option when resupercharging.
.................................... - Fixed - Bug regarding the installation marker in build.prop.unsuper.
.................................... - Improved - Has proper rounding of decimals instead of just truncating them. This was a royal pain in the ass.
.................................... - Enhanced - User prompts. No more confusion regarding the "applet not found" note
.................................... - Tweaked - Method by which /init.d/*97BulletProof_Apps is launched.
.................................... - Tweaked - Code a bit
Updated April 03, 2012: - V6 SuperCharger Update 9 RC8.1
.................................... - Fixed - Bug where the script appied all 0s for the minfrees
.................................... - Fixed - Bug where the script would crash when supercharging current minfrees that had a decimal value (ie. 32.532 MB was bad)
Updated April 02, 2012: - V6 SuperCharger Update 9 RC8
.................................... - Added - Fix Emissions Script! (Fix Permissions)
.................................... - Added - Option to run Fix Emissions on boot! (Does NOT slow down boot time!)
.................................... - Removed - Market links to BusyBox Installer (suddenly half assed busybox builds are running rampant ;p)
.................................... - Added - Link to my OP to get BusyBox builds compiled by wraithdu instead (So There! smali ass busybox builds!)
.................................... - Added - Automatic direction to use calculated values for Rookies! (after selecting Driver Options)
.................................... - Added - Support for a couple of more launchers
.................................... - Tweaked - Delay time in *97BulletProof_Apps - reduced to 30 seconds from 60 seconds. Shouldn't effect battery life since it still goes to deep sleep as it always does.
.................................... - Tweaked - Method by which /init.d/*97BulletProof_Apps is launched.
.................................... - Tweaked - Interface and user prompts.
.................................... - Changed - "Help File" to "Owner's Guide"
.................................... - Removed - Most DNS Tweaks (too many weird connection issues started happening)
.................................... - Tweaked - net.tcp.buffersize.* settings
.................................... - Changed - "Market" to "Google Play"
Click to expand...
Click to collapse
Downloads:
Mirrors are discoraged
V6 supercharger Updates (the latest are at the last of the post)
This thread will be updated with each update of of the original thread
THIS IS EXACTLY WHAT IM WAITING FROM YOU ![Coz im read at Minicm9 thread you Talking About this] LOL
Thanks dude, [Thanks overlimit, Hit Soon ]
Shimizux said:
THIS IS EXACTLY WHAT IM WAITING FROM YOU ![Coz im read at Minicm9 thread you Talking About this] LOL
Thanks dude, [Thanks overlimit, Hit Soon ]
Click to expand...
Click to collapse
no prob. dude! enjoy!
Cannot download the attached .pdf file.
Dude,
IF, I change, flash a new rom [ICS ROM]
Do i need Upload my service.jar again?
Or i can use same service.jar file and Just Flash via CWM in New Costum ICS Rom ? Just in case.
virajt said:
Cannot download the attached .pdf file.
Click to expand...
Click to collapse
Yep, Failed to Load PDF Document.
why it is in .pdf not .sh?
can you also upload the patch service.jar you used in nAa ICS.
Thanks
working on it... i can download the files btw!
and its in .sh.pdf
it is recognized as script anyway!
Shimizux said:
Dude,
IF, I change, flash a new rom [ICS ROM]
Do i need Upload my service.jar again?
Or i can use same service.jar file and Just Flash via CWM in New Costum ICS Rom ? Just in case.
Yep, Failed to Load PDF Document.
Click to expand...
Click to collapse
yes u hav to patch it again...
mediafire mirror updated!
Dude,
I run Script with Terminal Emulator,
But it Always Need for me to choose Option [1-30]
Idk, What option should i choose,
Then yeah i choose option 30,
Some Command appear,
And "Buh Bye :")"
LOL! No Command for to Wipe Dalvik Cache. =.=
Shimizux said:
Dude,
I run Script with Terminal Emulator,
But it Always Need for me to choose Option [1-30]
Idk, What option should i choose,
Then yeah i choose option 30,
Some Command appear,
And "Buh Bye :")"
LOL! No Command for to Wipe Dalvik Cache. =.=
Click to expand...
Click to collapse
that command is "super clean" on the list. "29"
and i've written the options recommended in OP with number!
farhanzahinfj said:
that command is "super clean" on the list. "29"
and i've written the options recommended in OP with number!
Click to expand...
Click to collapse
Then i Should Run Script Again,
Thanks.
Edit : Should i choose unleaded? or choose 3 of them?
to download just right click on the first link and save as option.
Trying
Shimizux said:
Then i Should Run Script Again,
Thanks.
Edit : Should i choose unleaded? or choose 3 of them?
Click to expand...
Click to collapse
Only one will work... its like 3 options one answer... chose super unledded for more free memory... read the things the script is saying... u'll understand!
Sent from my E15i using XDA
farhanzahinfj said:
Only one will work... its like 3 options one answer... chose super unledded for more free memory... read the things the script is saying... u'll understand!
Sent from my E15i using XDA
Click to expand...
Click to collapse
Yezza ! i already choose Option 4
Works great !
Thanks Again Man
I'm not on ICS, but I don't understand the playful options in the v6 supercharger and what each of them does (in layman please). If you have any link for help, please share it=). thanks
wakoko79 said:
I'm not on ICS, but I don't understand the playful options in the v6 supercharger and what each of them does (in layman please). If you have any link for help, please share it=). thanks
Click to expand...
Click to collapse
go to the original thread... link in the OP
Thread Updated! new script update9 RC8.... changelog added... fixes for superuser binary !!
Updated V6 U9RC8.1
I got syntax error on line 5555! In both 8.1 and 8 scripts.

[MOD] [U][P?][Sola?] Xperia Z JB Framework | AOSP lockscreen music controls fix

This is a port of Xperia Z framework.
All the ported frameworks for Xperia U had one thing missing which I liked, their app background did not change with the theme. So I decided to do my own port where I retained this feature. This framework is compiled by me and has over 2000 images ported from Xperia Z. And the app background also does change now :good:
Features:
1. Complete Xperia Z framework.
2. Fixes AOSP music controls alignment issue.
3. I cannot possibly list all the changes here so why don't you consult the screenshots for some, or better yet try it for the whole experience
See attachments for screenshots
How to install:
1. Download framwork-res.apk from the attachments
2. Copy it to your sdcard
3. Move it to any folder in your system (ANY folder other than system/framework)
4. Change permissions to rw-r-r-
5. Now move the the file to system/framework
6. Immediately reboot your system
7. Enjoy
NOW! Before you proceed any further let me explain something to you. Framework-res.apk is an extremely sensitive file. Do NOT copy the file directly to system/framework without changing permissions first, or it will crash the OS and brick your phone. Copy the file first to any folder in system/ (except framework) (I personally copy files to system/media/ then change permissions and move files elsewhere) Change the permissions to rw-r-r- like:
X-X
X
X
And then move the file to system/framework.
Finally I am not responsible if you brick your device due to not following the instructions properly. If you did everything right and there are any bugs or problems you're most welcome to ask and I will surely help.
Try and post your experiences in the comments.
Credits to ZN6 and Mtakween for their Xperia Z framework port. Check their work out as well :good:
If you like it, don't forget to press thanks :victory:
Download HERE
k, I hav a framework. I want the app background not to change(wants only black) how to do it. Can u jst tell
Can you upload the xperia Z JB Framework for xperia U again because it says that the file is missing
:silly:

[TWEAK] How to remove 60 FPS cap (for benchmark lover)

Hello,
Tweak for benchmark lover !
This is the line you need to add in your build.prop file to remove the 60fps cap :
debug.egl.swapinterval=0
Off course, it's tested and fully working.
Look the FPS counter un Quadrand fly !
Yes, the screen can't display more than 60fps, but we only talk about computation capability so only increase bench score, no link with daily feeling.
Enjoy !
Edit 1 :
For thoses who are not familiar with build.prop edition :
I use "Root Explorer" app to edit it.
The build.prop file is located under System.
Simply edit the file.
Add the line at the end of the file.
Save.
Reboot.
Enjoy.
Edit 2 :
I got my first screen tearing with this Tweak.
Don't pannic, this problem is known.
Go to dev options, and tick "remove hardware overlay", be carefull, it doesn't stick after a reboot.

CIA Bootscreen

Fixed/Updated a old bootscreen I used to use on my HTC Touch Pro 2 PocketPC (yes. from like 7 years ago.)
It's still at the same res as the original version because I don't have the original assets.
Just corrected some typos that annoyed me in the original and updated some text
to reflect newer tech. (CDMACOM to LTE, etc)
Installation:
1. Use Rom Toolbox to install the bootanimation ( Run RT, Go to interface. scroll down to boot screens. find the zip on your device and hit install)
2. Mount System as RW. Rename file as Sanim.zip or bootanimation.zip (forget which one it is), Copy to /system/media/, permissions should be chmod 755.
Previews:
Logo doesn't look that great on the computer screen but looks pretty good enough on the phone itself.
(so long as you keep the res at default. 480x800)
You might want to tweak the FPS in desc.txt to your liking. I use between 9fps - 12fps so that by the time
its done. the phone's finished booting. (Preview gifv is at 30 fps or something)
Original:
http://i.imgur.com/oMoGzUA.gifv
Updated:
http://imgur.com/jrAE3vW.gifv

Categories

Resources