I use cm9 with 240 lcd density.
The problem is whenever I flash a nightly, I have to modify density manually.
I want to know if I can create a cwm script which I can always flash with the nightly to modify the density.
Please dont advice to use apps to do it like lcd density modder, etc. I am well aware.
Thanks!
EDIT: Succeeded in making it. File attached.
Sent from my GT-N7000 using xda premium
jaiiscool said:
I use cm9 with 240 lcd density.
The problem is whenever I flash a nightly, I have to modify density manually.
I want to know if I can create a cwm script which I can always flash with the nightly to modify the density.
Please dont advice to use apps to do it like lcd density modder, etc. I am well aware.
Thanks!
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Edit the build.prop from the CM_Nightly.zip and re-zip it.
Boy124 said:
Edit the build.prop from the CM_Nightly.zip and re-zip it.
Click to expand...
Click to collapse
I am aware of that but as I mentioned.....i need the cwm command and not some work around...
But thanks anyway
Sent from my GT-N7000 using xda premium
Look into creating a flashable zip file. Also look into adding code to delete old line and insert new line in buildprop.
Shouldnt be to hard. But thats easily spoken. Its to difficult for me.
Sent from my GT-N7000 using Tapatalk 2
baz77 said:
Look into creating a flashable zip file. Also look into adding code to delete old line and insert new line in buildprop.
Shouldnt be to hard. But thats easily spoken. Its to difficult for me.
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
That is what I am searching for, but did not find it anywhere and ended up posting it here.
Sent from my GT-N7000 using xda premium
jaiiscool said:
I am aware of that but as I mentioned.....i need the cwm command and not some work around...
But thanks anyway
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=17594598&postcount=30
success
Finally figured it out.
I had to use a UNIX shell script to accomplish it, but it is done.....yay!!!!
jaiiscool said:
Finally figured it out.
I had to use a UNIX shell script to accomplish it, but it is done.....yay!!!!
Click to expand...
Click to collapse
Awesome, can you share in developer section
Sent from my GT-N7000 using Tapatalk 2
baz77 said:
Awesome, can you share in developer section
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
Sure!
Sent from my GT-N7000 using xda premium
baz77 said:
Awesome, can you share in developer section
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
File attached in first post.
Moderator please move this thread to dev section!
will this work for my nexus 5? Does the lcd.sh go in the init.d folder?
Related
As the AA site is still a WIP I will post here.
http://forum.xda-developers.com/attachment.php?attachmentid=632040&d=1308669292
Terminal Emulator/ADB Shell
$ su
# sensorcalibutil_yamaha
Follow directions.
Sent from my SPH-D700 using XDA App
For terminal it's
Su
System/bin/sensorcalibutil_yamaha
*or has it changed location since in ginger?*
Sent from my Epix 4G using XDA
Shoulon said:
For terminal it's
Su
System/bin/sensorcalibutil_yamaha
*or has it changed location since in ginger?*
Sent from my Epix 4G using XDA
Click to expand...
Click to collapse
It's changed in gingerbread.
Damn samsuck. need to question devs less eh =/
Sent from my Epix 4G using XDA
Shoulon said:
For terminal it's
Su
System/bin/sensorcalibutil_yamaha
*or has it changed location since in ginger?*
Sent from my Epix 4G using XDA
Click to expand...
Click to collapse
I have NEVER had to type system/bin before sensorcalibutil_yahama.
What does the zip file do?
Flashable zip?
*edit* nevermind I just peeked inside the zip.
For post above me, you flash through clockwork, and it flashes the calibration tool needed.
And btw its no included at all in gb, hence the need for this to be flashed
Sent from my SPH-D700
ran the calibration tool and it made no difference
No difference here either. Doesn't really bother me much tho.
Sent from my SPH-D700 using XDA App
Guess they thought gingerbreads version would work? So no difference huh?
Well thanks for getting this still Marcusant.
Just a thought, but wouldn't you need the other files that go with it? If i knew how to compile one of these zips, i would edit it and see if it worked >.>
/system/bin/sensorcalibutil_yamaha
/system/bin/sensorserver_yamaha
/system/bin/sensorstatutil_yamaha
hoffman1984 said:
Just a thought, but wouldn't you need the other files that go with it? If i knew how to compile one of these zips, i would edit it and see if it worked >.>
/system/bin/sensorcalibutil_yamaha
/system/bin/sensorserver_yamaha
/system/bin/sensorstatutil_yamaha
Click to expand...
Click to collapse
I would think you could just download a rom open it up with winrar and copy it out and post it with credits and permission of coarse, just to be safe
Well the reason i mentioned the 3 files, is that sensorcalibutil_yamaha was the only file that's flashed in this fix. Hence why it might not work? Again, i know nothing of fixes and development on Android, but from a programming perspective, i would say they're dependent files...
Who knows... If anyone feels like taking the time to re-create this fix with the files listed, it just may work. =\
hoffman1984 said:
Well the reason i mentioned the 3 files, is that sensorcalibutil_yamaha was the only file that's flashed in this fix. Hence why it might not work? Again, i know nothing of fixes and development on Android, but from a programming perspective, i would say they're dependent files...
Who knows... If anyone feels like taking the time to re-create this fix with the files listed, it just may work. =\
Click to expand...
Click to collapse
Drag them into the zip and post it. Trust me, Marcusant probably doesn't mind the whole permission thing.
Sent from my SPH-D700 using XDA App
I did all that... edited the update script... and it bricked my phone. I'll hve to do my research, cause I have a feeling that it's not as easy as just dropping files into a zip
Sent from my SPH-D700 using XDA App
hoffman1984 said:
I did all that... edited the update script... and it bricked my phone. I'll hve to do my research, cause I have a feeling that it's not as easy as just dropping files into a zip
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Don't edit the script...
Sent from my SPH-D700 using XDA App
flipblind said:
Drag them into the zip and post it. Trust me, Marcusant probably doesn't mind the whole permission thing.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Kick in the nuts? lol
flipblind said:
Don't edit the script...
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
May I ask why?
Sent from my SPH-D700 using XDA App
hi, can anyone give me a TUT of how to create a flashable zip to add lines into the build.prop. i kept trying but i dont see any new lines in my buildprop. can anyone also give me the command to add lines into the build.prop in the updater-script file.
RayQ1223 said:
hi, can anyone give me a TUT of how to create a flashable zip to add lines into the build.prop. i kept trying but i dont see any new lines in my buildprop. can anyone also give me the command to add lines into the build.prop in the updater-script file.
Click to expand...
Click to collapse
Why do you even want to build a flashable zip only to modify BUILD.PROP file? Just use Root Explorer and edit the file, save it and reboot. You'll see the changes.
The Scientist95 said:
Why do you even want to build a flashable zip only to modify BUILD.PROP file? Just use Root Explorer and edit the file, save it and reboot. You'll see the changes.
Click to expand...
Click to collapse
I'm learning how to do this so I can make a zip file that contains everything
please tell what is the benefits of creating 2 accounts
I forgotened my password.
Sent from my GT-S5570 using xda premium
Someone report him I can't report him right now
Sent from my GT-S5570 using Tapatalk 2
Messi10 said:
Someone report him I can't report him right now
Sent from my GT-S5570 using Tapatalk 2
Click to expand...
Click to collapse
what to report for
dheeraj (dhlalit11) said:
what to report for
Click to expand...
Click to collapse
2 account u said
he should himself ask the mod to remove his previous account i had indicated him before about this
How am I suppose to remove it?
Sent from my GT-S5570 using xda premium
just talk to the mod about it
RayQXX said:
How am I suppose to remove it?
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
Let me help you with that one.
THREAD CLOSED.
I tried from within the room settings and it did durable the menu and back functions, but the menu keys still works for opening Google Now.
How do I disable all functionality from the capacitive keys?
Thanks.
Sent from my GT-N7000
Just don't touch them
Problem solved :good:
Sent from my GT-N7000 using xda premium
azzledazzle said:
Just don't touch them
Problem solved :good:
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
You must be trolling.
Actually the keys still work if you press a bit harder. Weird.
Never mind, I found a flashable zip that did it.
Sent from my GT-N7000
OK, now that flashed PA 2.99, that zip I mentioned doesn't work anymore, so I'm still looking for a way to totally disable the hardware buttons. Any help is appreciated.
Sent from my GT-N7000
May be this will work
http://forum.xda-developers.com/showthread.php?t=2100842
nokiamodeln91 said:
May be this will work
http://forum.xda-developers.com/showthread.php?t=2100842
Click to expand...
Click to collapse
Of course I tried that... It didn't work. But thanks for trying to help.
Sent from my GT-N7000
zgomot said:
Of course I tried that... It didn't work. But thanks for b trying to help.
Sent from my GT-N7000
Click to expand...
Click to collapse
May be because the file names are different. You may need to do it manually by referring to the zip file.
nokiamodeln91 said:
May be because the file names are different. You may need to do it manually by referring to the zip file.
Click to expand...
Click to collapse
I'm not sure I understand? Should I rename the zip file before I flash it? If so, what should I rename it to?
no.. what the zip does is to a particular file. if that file doesnot exist on your current rom then it will not work. open the zip and check its script. you will see what it modifies. then manually check if you have the files that its changing in you rom..
OK, I looked in that zip file but I have no idea how to tell how to do it manually.
Sent from my GT-N7000
Go to /system/usr/keylayout
There are 2 files to be edited
melfas-touchkey.kl
sec_touchkey.kl
There should be four lines in these files. Add a hash (#) in front of each line.
Not only did that not work, but it's overridden my previous settings and now the soft let's even light up when I set them not to...
Sent from my GT-N7000 using xda app-developers app
zgomot said:
Not only did that not work, but it's overridden my previous settings and now the soft let's even light up when I set them not to...
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
Did you reboot?
World fine for me on aospa and other non-tw Roms.
warfareonly said:
Did you reboot?
World fine for me on aospa and other non-tw Roms.
Click to expand...
Click to collapse
'Course I did.
I really need to be able to do this, can someone please help? None of the things I found searching or those suggested here worked.
How can I make flashable zip for cwm and default recovery? I wana learn.
Any zip file can be flashed...
But what you put in them however, can cause serious harm to your phone
Sent from my LG-P880 using xda app-developers app
alekthefirst said:
Any zip file can be flashed...
But what you put in them however, can cause serious harm to your phone
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
No, I mean about the structure. I don't know how to make. Please tell.
Google?
Sent from my LG-P880 using xda app-developers app
Subhajitdas298 said:
No, I mean about the structure. I don't know how to make. Please tell.
Click to expand...
Click to collapse
Yes, there are some tutorials about how to make your own apps. For example, what I did to begin was to take an existing an App (SDL for windows 95 emu), change something in it and then rebuld the app. It worked on my old Optimus 2x. We could try to build simple zips and see how they behave.
I don't know exactly how far you can go if you're thinking about chanching the system, but don't try it too hard until we get some material to work with.
If you want, PM me and we could try to begin that way (I suppose we we both have the O4X)
i copied swype.apk,AxT9IME.apk,libSwypeCore.so,libXt9core.so from stock. now the keyboard is working but when i ran it first time , it said "this keyboard is made for other device so it will have limited functionality"..... now the keyboard works but swype is not enabled. what else i have to do to run it.
http://www.swype.com/
Register at and you can get it
dheeraj (dhlalit11) said:
http://www.swype.com/
Register at and you can get it
Click to expand...
Click to collapse
I have already used that. I didn't liked it that's why I was asking
Sent from my GT-S5570 using xda app-developers app
arpitkh96 said:
i copied swype.apk,AxT9IME.apk,libSwypeCore.so,libXt9core.so from stock. now the keyboard is working but when i ran it first time , it said "this keyboard is made for other device so it will have limited functionality"..... now the keyboard works but swype is not enabled. what else i have to do to run it.
Click to expand...
Click to collapse
Since you copied ONLY the Swype.apk and libraries, and that Swype is made for stock ROM. That's mean you have to copy TouchWiz related library, permission, and configuration.
Sent from my Xubuntu 12.10 with PieTalk Beta
F4uzan said:
Since you copied ONLY the Swype.apk and libraries, and that Swype is made for stock ROM. That's mean you have to copy TouchWiz related library, permission, and configuration.
Sent from my Xubuntu 12.10 with PieTalk Beta
Click to expand...
Click to collapse
Do you know a particular file or folder where I can find them
Sent from my GT-S5570 using xda app-developers app
arpitkh96 said:
Do you know a particular file or folder where I can find them
Sent from my GT-S5570 using xda app-developers app
Click to expand...
Click to collapse
In /system/etc/permission
Search anything which have name related to : touchwiz, samsung, sec
also
/system/framework
Search ANY .jar and .apk files named : touchwiz, sec, samsung, device
Maybe that's all, will check in my PC when back home.
Sent from GT-I9300 from Tapatalk 2
There are too many . I don't think all are required
Sent from my GT-S5570 using xda app-developers app
arpitkh96 said:
There are too many . I don't think all are required
Sent from my GT-S5570 using xda app-developers app
Click to expand...
Click to collapse
IDK, TouchWiz are connected to SEC (Samsung Electronic), when trying to port TouchWiz 3.0 Camera i copy all and it worked.
Ok thanks for the help and not ignoring the thread as most devs do in this forum
Sent from my GT-S5570 using xda app-developers app
arpitkh96 said:
Ok thanks for the help and not ignoring the thread as most devs do in this forum
Sent from my GT-S5570 using xda app-developers app
Click to expand...
Click to collapse
You are welcome.
You know, after trying Swype on Stock i think i like it ! I will help you for porting it since i really like it ! It feels smooth like JB Keyboard swiping...
F4uzan said:
You are welcome.
You know, after trying Swype on Stock i think i like it ! I will help you for porting it since i really like it ! It feels smooth like JB Keyboard swiping...
Click to expand...
Click to collapse
Thats the main reason why I wanted to port stock swype rather than simply using apps like swiftkey
Sent from my GT-S5570 using xda app-developers app
arpitkh96 said:
Thats the main reason why I wanted to port stock swype rather than simply using apps like swiftkey
Sent from my GT-S5570 using xda app-developers app
Click to expand...
Click to collapse
Yep, so i tried it on CM7.2
Simply copying TW Properties isn't gonna make it work. Some build.prop line must be the problem.