REBOOT OPTION IN POWER MENU download +OTHER GOODIES - Galaxy 3 Android Development

here is the file for enabling REBOOT OPTION IN POWER MENU:
bug: in the options word "reboot" does not appear... something else appears , but works well when we press it... and there is a reboot...
i.e instead of 4 options in power menu , we get 5 options
i hope other developers may clear this bug and also try to add download , recovery options....
the file attached:
its a deodexed policy.jar file....
though it may work on nondeodexed jpa as well, but not tried....
tried on lestatious rom
using root explorer, copy the file to system/framework and reboot..
and thats it you'll see reboot option
relevent threads from which i took help:
http://forum.xda-developers.com/showthread.php?t=811532
http://forum.xda-developers.com/showthread.php?t=812341
nexus one BOOT ANIMATION INCLUDED..
root explorer. put the file in the data/local and reboot..
and see teh new boot screen
these i have collected for my new custom rom and many more...
but now i dont have g3.. so sharing with others...

Don't get me wrong, i'll appriciate every devlopment for the G3 but why do you shoot out unfished work? I believe you will get it done without an empty option to much and with the right naming of the button.

The reason it shows something else is because your using the wrong string.
Dont use this
Code:
const v4, 0x010402d7 # reboot string
Use this instead
Code:
const v4, 0x010402d9 # reboot string

abhi0n0nakul said:
here is the file for enabling REBOOT OPTION IN POWER MENU:
hi
why a new thread u already have a thread talking about this
give me a justification why i should not close this one as you already have a thread on this subject
Click to expand...
Click to collapse

The Dark Lestat said:
The reason it shows something else is because your using the wrong string.
Dont use this
Code:
const v4, 0x010402d7 # reboot string
Use this instead
Code:
const v4, 0x010402d9 # reboot string
Click to expand...
Click to collapse
sorry but, you are good with codes.. i am not....
anyways glad that its fixed.....
i guess. probably my last post in g3 forum.......lol

s3th.g3ck9 said:
Don't get me wrong, i'll appriciate every devlopment for the G3 but why do you shoot out unfished work? I believe you will get it done without an empty option to much and with the right naming of the button.
Click to expand...
Click to collapse
there is no empty option...
there are 5 options.. 5th is for reboot...
though it doesnt say reboot..
dark lestat fixed it.. i suppose..........

Does not work on my Stock JPF-Firm..

Sad to hear that you will be leaving G3 forum
You were good bro'
Which is your next phone ?
Will miss you

well its really difficult to get away with a thread that i used to have a great connection with....
so i'll be visiting the thread , just not build anything for now... may be later...

Related

[FIX][CWM]Rotation lag fix for EF02

Tested on EF02 with cwm 3.1.0.1
First flash the zip... it gives you about 8 seconds to lay the phone on a flat surface after hitting yes to flash the zip...
then some framework edits will need to be made....
\system\framework\framework1.jar.out\smali\android\view\WindowOrientationListener.smali
Click to expand...
Click to collapse
Code:
.prologue
.line 54
const/4 v0, 0x3
needs to be changed to
Code:
.prologue
.line 54
const/4 v0, 0x2
if you have a framework.jar that has been modified, make the edits, if you are stock here is a stock deodexed framework.jar edited..
http://www.forums.acsyndicate.net/showthread.php/1052-EF02-Rotation-Lag-Fix
Thanks man. First!!
"The greatest respect you can earn is self respect" Louie Simmons
Lol
@
Musclehead!
Thanks Chris!
Sent from my SPH-D700 using XDA Premium App
Thanks a lot Chris, but didn't fix anything for me. Major rotation lag still there. Were we supposed to clear anything (cache, dalvik, etc.) before flashing this? I'm on your EF02Plus kernel.
nimaim said:
Thanks a lot Chris, but didn't fix anything for me. Major rotation lag still there. Were we supposed to clear anything (cache, dalvik, etc.) before flashing this? I'm on your EF02Plus kernel.
Click to expand...
Click to collapse
did you leave the phone flat for it to calibrate? im not sure why it wouldnt work for you, its basically sensorcalibutil_yamaha, check to see if you have a /data/local/yas529.cfg and pastebin the contents after flashing this if you would..
Didnt do anything for me either. And yes layed it flat
EDIT: btw I have data/local/ ........but no yas529
thought bad download and tried another to see if that fixed it. same result
I got nothing from flashing the zip.
The zip did it's thing. I laid it flat until it said it was finished. Nothing changed though. Still have ~3sec lag on rotation.
I only have a TMP folder in the /data/local/ directory. No yas529.cfg file.
I've also tried the upside down calibration, but no luck there either.
Any other suggestions? Would really be nice to have a solid fix for the rotation issue.
jbray4913 said:
I got nothing from flashing the zip.
The zip did it's thing. I laid it flat until it said it was finished. Nothing changed though. Still have ~3sec lag on rotation.
I only have a TMP folder in the /data/local/ directory. No yas529.cfg file.
I've also tried the upside down calibration, but no luck there either.
Any other suggestions? Would really be nice to have a solid fix for the rotation issue.
Click to expand...
Click to collapse
Same here, no yas file in /data/local/
jbray4913 said:
I got nothing from flashing the zip.
The zip did it's thing. I laid it flat until it said it was finished. Nothing changed though. Still have ~3sec lag on rotation.
I only have a TMP folder in the /data/local/ directory. No yas529.cfg file.
I've also tried the upside down calibration, but no luck there either.
Any other suggestions? Would really be nice to have a solid fix for the rotation issue.
Click to expand...
Click to collapse
Exactly the same result for me. Thanks for the effort though.
I only have a tmp folder in /data/local/. Lag still there
The only thing that's worked for me even though I don't care for the theme is...http://forum.xda-developers.com/showpost.php?p=14938480&postcount=8
worldwidepmp said:
The only thing that's worked for me even though I don't care for the theme is...http://forum.xda-developers.com/showpost.php?p=14938480&postcount=8
Click to expand...
Click to collapse
I flashed an AOSP lockscreen over the glass one and everything worked fine.
I meant /data/system/yas529.cfg
sorry, if one of you could pastebin that file i could try to figure out why its not working for you..
chris41g said:
I meant /data/system/yas529.cfg
sorry, if one of you could pastebin that file i could try to figure out why its not working for you..
Click to expand...
Click to collapse
Code:
0,-27,61,54,255,255,255,2147483647,2147483647,2147483647,0,
I've been working on this fix myself for a bit... I think i may have a solution, and will post as soon as i figure out how to get this zip compiled for flashing >.>
EDIT: I'm still a n00b and this is would be my first attempt at anything android. Please don't beat me up too bad if and when i get it posted. ;D
Didn't seem to work for me either.
Code:
15,23,10,3777,-38467,-42523,0,255,255,255,2147483647,2147483647,2147483647,0,
worldwidepmp said:
The only thing that's worked for me even though I don't care for the theme is...http://forum.xda-developers.com/showpost.php?p=14938480&postcount=8
Click to expand...
Click to collapse
Just tried this and it worked for me also. This is an EE03 based theme, so if this fixes it, there must be an issue in the EF02 framework.
mattallica76 said:
Just tried this and it worked for me also. This is an EE03 based theme, so if this fixes it, there must be an issue in the EF02 framework.
Click to expand...
Click to collapse
ok the fix is working as intended, and makign a proper cfg file.. so it sounds as though you may be right.. ill download the theme tonight and do a diff and see if i can figure out where in the framework things have gone wrong
chris41g said:
ok the fix is working as intended, and makign a proper cfg file.. so it sounds as though you may be right.. ill download the theme tonight and do a diff and see if i can figure out where in the framework things have gone wrong
Click to expand...
Click to collapse
Thank you sir, your work is much appreciated. Rotation lag is among one of the few things ruining the GB experience for me.
mattallica76 said:
Just tried this and it worked for me also. This is an EE03 based theme, so if this fixes it, there must be an issue in the EF02 framework.
Click to expand...
Click to collapse
Verified as a framework issue... I moved JUST the framework.jar and it's fixed.
hoffman1984 said:
Verified as a framework issue... I moved JUST the framework.jar and it's fixed.
Click to expand...
Click to collapse
The framwork.jar from EE03 or the theme?

[ROM] Samsung GFit Gingerbread 2.3.4 new version (29th July)

I'm not sure if this is the right forum for posting this but yeah, if it's wrong feel free to delete :3
Was wandering on Samfirmware.com, found out that a new update for Samsung Gfit gingerbread (S5670XWKQ2) has just been released, i installed it and wow:
- Much Snappier
- Option to turn off mobile data in the "shutdown" menu (under the flight mode)
- Option for 2G Only OR 3G only Mode (in wireless networks options)
- Much MUCH better reception, the phone gives me good reception on 3G mode and it STICKS there, not randomly snapping between 2g, edge & 3G.
-OH and the recovery screen works on this one too (power + home + volume down)
-Slightly Better connected letters for the Arabic language, idk maybe it's just me o.o
-It seperates the phone numbers now (example 0777480209 becomes 077-7480-209 But that only worked on an Incoming/Outgoing Call).
-A "Traffic Widget" that asks you to enter a specific destination, idk what this does o,o.
-anything else tell me :3
you can get it here http://www.samfirmware.com/WEBPROTECT-s5670.htm (S5670XWKQ2 in the europe firmwares owo)
====Installation instructions====
0 - Connect your Phone in "Download" Mode (By turning off the phone, clicking the Power Button + Home button + Volume down button).
1 - Download the file from the above page.
2 - extract to a folder using the password Provided on the site (idk if i can provide it here o.o)
3 - you'll get two files, a .Dll and a .Tar, keep it like this, don't get nosy and rename/extract anything, keep them in the file.
4 - Run ODIN multi downloader, and load up a .OPS file for your phone.
5 - Select "One file package" from ODIN and in look waaay down, there's the one package selector, click it and browse to the .Tar file you got earlier, and click it.
6 - Once you made sure everything is in place, click start and it should take no longer than 3-5 minutes and you're done
7 - once done, the phone will restart and may take a while to start up, this is normal, go to settings, change the language and you're ready to go.
Boot into recovery mode, clear the cache partition, then Enjoy.
This is GingerBread 2.3.4 S5670XWKQ2
Any questions feel free to ask <3
What to do with .dll file
Sent from my GT-S5670 using Tapatalk
raj3534 said:
What to do with .dll file
Click to expand...
Click to collapse
Don't do anything with it, just keep it in the same folder with the .Tar file and just flash the phone using the .tar hope that helped <3
this rom supported arabic ????
ahmedadam said:
this rom supported arabic ????
Click to expand...
Click to collapse
Well it seems to connect the letters better, but no, not yet, wait for the next updates
thank youu
a eror when i turn on and in recovery mode say can't acces to ?system csc/ser/system what i do?
help........
after i update it is sayin process com.sec.android.ugl has stopped unexpectedly , please try again
d nly option is force close
when i select it , it is repeating
does exist ClockworkMod Recovery for s5670 i want kitchen themes
kannegantiaditya said:
after i update it is sayin process com.sec.android.ugl has stopped unexpectedly , please try again
d nly option is force close
when i select it , it is repeating
Click to expand...
Click to collapse
first go in recovery mode in do a reset factory and install agin this rom
kannegantiaditya said:
after i update it is sayin process com.sec.android.ugl has stopped unexpectedly , please try again
d nly option is force close
when i select it , it is repeating
Click to expand...
Click to collapse
i got that too the first time, easily solved.
Flash the S5670XXKPI here http://hotfile.com/dl/120301527/b900a23/S5670XXKPI.rar.html First, Reboot into recovery and clear the cache partition, and then flash the new Firmware and clear the cache.
That should do it
no themes for samsung fit S5670XWKQ4 gingerbread?

[MOD] Battery Percentage Status Bar & No Vibrate Icon

I decided that I didnt like the default CircleBattery in the TPC v3 ROM, so I set out to change it to one i liked better. This would be it. I also hated that the vibrate icon on the status bar was always on. I made it go away. My phone is on vibrate in both the attached screenshots.
THIS HAS ONLY BEEN TESTED ON TPC v3
It may work on other ROMs, but FLASH AT YOUR OWN RISK.
At the very least, you should be on a deodexed ROM! Otherwise funky things WILL happen!​
Removing the Vibrate icon SHOULD work on most ROMs, but i have never tried it and have no information telling me either way. The battery mod may work on most Rogers-based rom, but it will almost definitely mess with other things in ROM. I would not install recommend installing it on a different ROM.
How to install
Using flashable zips:
Code:
[LIST=1]
[*]Backup current rom, just in case
[*]Download the zip file you want to flash (attached below)
[*]Flash in CWM recovery
[*]clear dalvik cache
[*]reboot system, wait for long reboot (system is rebuilding dalvik cache, every boot afterwards will be back to normal speeds)
[/LIST]
With adb:
For the Battery Mod:
Code:
[LIST=1]
[*]Create a backup of your current Framework-res.apk
[LIST][*]either make a nandroid or "adb pull /system/framework/framework-res.apk"[/LIST]
[*]Download the attached framework-res.apk
[*]reboot your phone into recovery
[LIST][*]either in terminal enter "reboot recovery" or use "adb reboot recovery"
[*]this MAY not need to be done, but i have never tried it any other way. better safe than sorry[/LIST]
[*]on your phone in recovery, mount the system partition
[LIST][*]mounts and storage > mount /system[/LIST]
[*]on your pc, enter this command, replacing [DOWNLOAD PATH] with the path to where ever you downloaded the framework-res.apk
[LIST][*]adb push [DOWNLOAD PATH]/framework-res.apk /system/framework
[*]there is a space between the .apk and /system
[/LIST]
[*]Clear your dalvik cache and fix permissions
[LIST][*]advanced > clear dalvik cache
[*]advanced > fix permissions
[*]again, this may not need to be done, but i have never tested it without doing it[/LIST]
[*]reboot your phone
[LIST][*]this will take a long time, as your phone is rebuilding the dalvik cache.
[*]each boot after the first will be much faster[/LIST][/LIST]
For the No Vibrate icon
Code:
[LIST=1]
[*]Create a backup of your current SystemUI.apk
[LIST][*]either make a nandroid or "adb pull /system/app/SystemUI.apk"[/LIST]
[*]Download the attached SystemUI.apk
[*]reboot your phone into recovery
[LIST][*]either in terminal enter "reboot recovery" or use "adb reboot recovery"
[*]this MAY not need to be done, but i have never tried it any other way. better safe than sorry[/LIST]
[*]on your phone in recovery, mount the system partition
[LIST][*]mounts and storage > mount /system[/LIST]
[*]on your pc, enter this command, replacing [DOWNLOAD PATH] with the path to where ever you downloaded the SystemUI.apk
[LIST][*]adb push [DOWNLOAD PATH]/SystemUI.apk /system/app
[*]there is a space between the .apk and /system
[/LIST]
[*]Clear your dalvik cache and fix permissions
[LIST][*]advanced > clear dalvik cache
[*]advanced > fix permissions
[*]again, this may not need to be done, but i have never tested it without doing it[/LIST]
[*]reboot your phone
[LIST][*]this will take a long time, as your phone is rebuilding the dalvik cache.
[*]each boot after the first will be much faster[/LIST][/LIST]
These can both be done at the same time if you want to save time and use both. Steps 1, 2, and 5 should be done at the same time, and it doesnt matter which order.
Enjoy!
Great job, but a flashable zip would be so much easier.
True... Well I created flashable zips. only problem is I'm not sure if they work. I tested all of them, they all flash and my phone is still completely usable, so I dont think they are dangerous. But, since my phone already had these installed, I cant tell if they actually changed anything. If someone could test this, it would be quite awesome. Dont want to put it on the main post if it doesnt actually work.
Thanks,
I tested BatteryMod and NoVibrate.zip and it work like a charm,
Great job.
The battery was not exactly my taste then I changed it for this
Thanks for testing it! I'll put the zips on the main post now. What rom were you using? If this works on other roms, I'd like to let people know. That is a cool icon. I personally think any circle mod clashes with the touchwiz theme, which I actually like.
Thanks dude! this was my only gripe with TPCv3! I'll try the zip in the morning. Thanks!
Hey man how did you get the battery percentage to be off-centered like that within the battery icon? And did you use UOT?
Sent from my SAMSUNG-SGH-I727 using XDA App
I use TPCv3
and yes I used UOC to build the new battery.
plwalsh88 said:
Hey man how did you get the battery percentage to be off-centered like that within the battery icon? And did you use UOT?
Sent from my SAMSUNG-SGH-I727 using XDA App
Click to expand...
Click to collapse
well i manually edited the framework-res.apk file. did not use any software besides 7zip. the battery icons are just pictures, so the text isnt overlayed text, its just a .jpg with a number in it. i didnt actually make the battery icons, i took them from a galaxy s2 rom from somewhere.
Pseudonym117 said:
well i manually edited the framework-res.apk file. did not use any software besides 7zip. the battery icons are just pictures, so the text isnt overlayed text, its just a .jpg with a number in it. i didnt actually make the battery icons, i took them from a galaxy s2 rom from somewhere.
Click to expand...
Click to collapse
Ohhh interesting, thank you! Since I'm not running TPC, I wouldn't want to take your framework-res, but I guess I could use the battery images you used and swap them inside my framework-res. I've been wanting to learn how to decompile/recompile those apks, so I guess this would be good practice. I'd have to read up more about where the images go and all though. But that's doable right?
Sent from my SAMSUNG-SGH-I727 using XDA App
its definitely doable! really, all you need to do is open the framework-res from here in 7zip (not extract, just open) and copy all the files that include "stat_sys_battery" from "res/drawable-hdpi" and put them inside your framework-res (same folder, opened in 7zip). then you need to copy "stat_sys_battery.xml" and "stat_sys_battery_charge.xml" from the "res/drawable" into your framework-res.
if i didnt properly explain that, let me know. you definitely should make a backup of your rom before flashing a custom framework-res, just in case you break something.
Wow awesome! That doesn't sound bad at all. I will give it a shot for sure. And will definitely backup everything. I would then just adb push it back to /system/framework as you described in your OP right? That could also be done with root explorer right?
Sent from my SAMSUNG-SGH-I727 using XDA App
i would do it like i said in my original post. you may be able to do it with root explorer, but i wouldnt personally do it, as files are constantly being read from framework-res.apk. dont think it would work, like deleting a file in windows doesnt work when you have in open in another program. i could be wrong, but i think adb at the recovery menu would be much safer.
Yeah that makes perfect sense. I'll let you know how it goes when I finally find the time to do it. Thanks for your help!
zip worked as stated. TPCv3
thanks again
zip working on stock too, only power buttons are not in order..
norbarb said:
zip working on stock too, only power buttons are not in order..
Click to expand...
Click to collapse
full stock or deodexed stock? if it isnt deodexed, i am extremely surprised that it worked. what do you mean by the power buttons being out of order?
Pseudonym117 said:
full stock or deodexed stock? if it isnt deodexed, i am extremely surprised that it worked. what do you mean by the power buttons being out of order?
Click to expand...
Click to collapse
Full stock. When you press power to turn off phone you got Sound off where Power off should be also when Flight mode should be is Sound off. When you press volume buttons you got message something about Text settings, but icons are correct so you know what is for what...
norbarb said:
Full stock. When you press power to turn off phone you got Sound off where Power off should be also when Flight mode should be is Sound off. When you press volume buttons you got message something about Text settings, but icons are correct so you know what is for what...
Click to expand...
Click to collapse
very strange... it may do less things wrong if you were to have a deodexed rom (probably would still have somewhat funky behavior, but not as much). but if youre happy with how it works, by all mean keep it how it is.
floppy__ said:
Thanks,
I tested BatteryMod and NoVibrate.zip and it work like a charm,
Great job.
The battery was not exactly my taste then I changed it for this
Click to expand...
Click to collapse
Just an FYI to you or anyone else that might not be aware (since there are no pics for the Sky ICS ROM additional downloads). This is also available as one of the extra downloads in the Sky ICS ROM thread (post #2). Its the Digital Circle Battery mod.

[Q] Keyboard Dropping/Missing Keystrokes?

Since I've gotten my Sidekick, I've noticed on most ROMs a horrible tendency to not register key-presses on the physical keyboard. There was one ROM early on that didn't do this (or very little) and one of the versions of RAGE was very good. I'm running GOV3.2 Bulky right now and it's not horrible, but it's noticeable. Does anyone have an idea of what might cause this? Thanks.
ged92781 said:
Since I've gotten my Sidekick, I've noticed on most ROMs a horrible tendency to not register key-presses on the physical keyboard. There was one ROM early on that didn't do this (or very little) and one of the versions of RAGE was very good. I'm running GOV3.2 Bulky right now and it's not horrible, but it's noticeable. Does anyone have an idea of what might cause this? Thanks.
Click to expand...
Click to collapse
I thought my keyboard was going bad or i just did not press the key all the way, now im on stock and i have not had that issue, hope someone finds the rom
ultraprimeomega said:
I thought my keyboard was going bad or i just did not press the key all the way, now im on stock and i have not had that issue, hope someone finds the rom
Click to expand...
Click to collapse
I wonder what the issue is that's causing it to show up on custom ROMs. Though, I've had it on the stock ROMs as well.
Have you tried this version of the kernel? Along with the removal of the keystroke logger, it also contains a patch that allows you to lower the keystroke timer delays... If you are experiencing dropped keystrokes, this could help, as the patch was designed for tht very issue.
http://forum.xda-developers.com/showthread.php?t=1663622
yogi2010 said:
Have you tried this version of the kernel? Along with the removal of the keystroke logger, it also contains a patch that allows you to lower the keystroke timer delays... If you are experiencing dropped keystrokes, this could help, as the patch was designed for tht very issue.
http://forum.xda-developers.com/showthread.php?t=1663622
Click to expand...
Click to collapse
Thank you!!!!!!!! I went ahead and dug into that thread. I do have that kernel already on my phone. I looked at the thread linked in that thread that gives a patch to adjust the timer delay and column delay in the kernel. HOWEVER, I'm not knowledgeable enough to apply that patch to my phone as it's given. Elsewhere in that thread, someone gave the commands to edit the settings manually through a terminal which I did through Android Commander on my PC and it worked wonders! Being the suspicious type, I guessed that the settings might not keep after a reboot. Unfortunately, that is the case and I had to reapply the settings after my phone finished restarting. So, I'll have to play with this a bit more to get it to keep, but thank you for showing me this!
You're welcome! That patch was made just for this issue. And yeah, it doesn't stick after a reboot, so we could either compile the kernel with chosen settings added in, or make a simple init.d script. I never did either one lol, was too lazy to try editing and building the kernel from source, and was on the stock ROM so I thought maybe it had no init.d support. You could probably create a file with those same commands used in Terminal, and throw it in your init.d folder to change the settings at boot.
yogi2010 said:
You're welcome! That patch was made just for this issue. And yeah, it doesn't stick after a reboot, so we could either compile the kernel with chosen settings added in, or make a simple init.d script. I never did either one lol, was too lazy to try editing and building the kernel from source, and was on the stock ROM so I thought maybe it had no init.d support. You could probably create a file with those same commands used in Terminal, and throw it in your init.d folder to change the settings at boot.
Click to expand...
Click to collapse
I set my column delay to 30 and my timer delay to 1 and it now feels like I'm typing on a Sidekick again! I wouldn't know how to correctly compile the kernel myself with these settings changed. So, are there any devs out there willing to make a zip that can be flashed in CWM so these settings will become permanent?
ged92781 said:
I set my column delay to 30 and my timer delay to 1 and it now feels like I'm typing on a Sidekick again! I wouldn't know how to correctly compile the kernel myself with these settings changed. So, are there any devs out there willing to make a zip that can be flashed in CWM so these settings will become permanent?
Click to expand...
Click to collapse
+1
I've noticed this problem and thought it was just me :$
I've had this happen as well as my screen thinking I was pressing it in one location when I wasn't even touching the phone. :s Had me at my wits end.
Sent from my SGH-T839 using xda premium
To those interested in the commands I used to fix the keyboard, see below. If you reboot your phone, these settings will go away and you will need to input these commands again. For a permanent fix, someone will need to add them to a kernel that can be flashed. To use these commands, your phone must be rooted. I've successfully used Android Commander to enter these commands from my PC while my phone is connected via USB.
The current timer delay may be read with:
cat /sys/devices/platform/s3c-keypad/timer_delay
The default is 5 if I remember correctly.
A new timer delay may be set with:
echo 1 > /sys/devices/platform/s3c-keypad/timer_delay
The default 300 µs column delay value may be read with:
cat /sys/devices/platform/s3c-keypad/column_delay
A new delay may be set with:
echo 30 > /sys/devices/platform/s3c-keypad/column_delay
In either command, you may experiment with different values by changing the 1 or the 30 in either command to what you want. I believe the lowest is 1 and the max is 256 for the timer delay. If you damage your phone running these commands, that's on you. I'm just telling you what I did and feel worked for me. YMMV. Also, if you don't want to connect your rooted phone to your PC and want to use Terminal Emulator from the Play store, that will work too. You need to enter 'su' prior to running the above commands and grant the terminal super user permissions for the commands to take.
ged92781 said:
I set my column delay to 30 and my timer delay to 1 and it now feels like I'm typing on a Sidekick again! I wouldn't know how to correctly compile the kernel myself with these settings changed. So, are there any devs out there willing to make a zip that can be flashed in CWM so these settings will become permanent?
Click to expand...
Click to collapse
I'll work on it for the next releases of the Bi-Winning roms and also try to attach flashable zips.
RicAndroid said:
I'll work on it for the next releases of the Bi-Winning roms and also try to attach flashable zips.
Click to expand...
Click to collapse
Thank you!
ged92781 said:
Thank you!
Click to expand...
Click to collapse
You are very welcome! All done, BTW. Posting my updates now.
Permanent Fix(Manual way)
Taking the timer_delay and column_delay tricks shown above...I was able to make an init.d script(pretty easy, tbh) but don't feel it merits an update.zip since it's so easy. What I did was:
1. go to /etc/init.d
2. find the last script(In GOV3.3 it's 18complete) and rename it - adding one to the sequence(In my case I renamed it to 19complete)
3. make a new file name 18keyboardfix(The number depends on your rom, really...like if you renamed the above file to some thing like 33complete, you'd call this 32keyboardfix. Easy? right?)
4. Open the file you just created and put:
Code:
!#/system/bin/sh
echo 1 > /sys/devices/platform/s3c-keypad/timer_delay
echo 30 > /sys/devices/platform/s3c-keypad/column_delay
5. Set the permissions to rwxr-xr-x or whatever the numeric equivalent is. (0755, iirc)
6. Reboot
7. (Optional) Recheck the values with the following commands:
Code:
cat /sys/devices/platform/s3c-keypad/timer_delay
Code:
cat /sys/devices/platform/s3c-keypad/column_delay
I take no credit for this fix. Really, it was all ged92781 for providing the commands. All I did was find a way to make it permanent(Well, it's just reset when the devices is turned off and the init.d scripts set it back to you desired values, but that's debatable on whether it's permanent or not...either way...it works and is a simple fix)
SammaelAkuma said:
Taking the timer_delay and column_delay tricks shown above...I was able to make an init.d script(pretty easy, tbh) but don't feel it merits an update.zip since it's so easy. What I did was:
1. go to /etc/init.d
2. find the last script(In GOV3.3 it's 18complete) and rename it - adding one to the sequence(In my case I renamed it to 19complete)
3. make a new file name 18keyboardfix(The number depends on your rom, really...like if you renamed the above file to some thing like 33complete, you'd call this 32keyboardfix. Easy? right?)
4. Open the file you just created and put:
Code:
!#/system/bin/sh
echo 1 > /sys/devices/platform/s3c-keypad/timer_delay
echo 30 > /sys/devices/platform/s3c-keypad/column_delay
5. Set the permissions to rwxr-xr-x or whatever the numeric equivalent is. (0755, iirc)
6. Reboot
7. (Optional) Recheck the values with the following commands:
Code:
cat /sys/devices/platform/s3c-keypad/timer_delay
Code:
cat /sys/devices/platform/s3c-keypad/column_delay
I take no credit for this fix. Really, it was all ged92781 for providing the commands. All I did was find a way to make it permanent(Well, it's just reset when the devices is turned off and the init.d scripts set it back to you desired values, but that's debatable on whether it's permanent or not...either way...it works and is a simple fix)
Click to expand...
Click to collapse
Uh, oh....I used echo "number" /proc/sys/devices/platform/s3c-keypad in my script. Will I have to change it?
RicAndroid said:
Uh, oh....I used echo "number" /proc/sys/devices/platform/s3c-keypad in my script. Will I have to change it?
Click to expand...
Click to collapse
Idk, honestly. Try and see if your script works first, if not, then use the one I made using the commands ged92781 provided. Now...to find a way to fix the spaztic touch screen...that'll be tricky.
SammaelAkuma said:
Idk, honestly. Try and see if your script works first, if not, then use the one I made using the commands ged92781 provided. Now...to find a way to fix the spaztic touch screen...that'll be tricky.
Click to expand...
Click to collapse
I'm using your commands, dude. I'm very into details....so thanks!
RicAndroid said:
I'm using your commands, dude. I'm very into details....so thanks!
Click to expand...
Click to collapse
Lol. No problem. And good luck with the custom rom cooking.

Living with Root and Knox (SELinux = enforcing) - Tipps n Tricks collection

So you want to keep (knox) warranty and still use root?
Well there is RDLV and the "forbidden" Tool for that, BUT you will still have SELinux on enforcing mode, which means you don't have full control even with root. While technically most things still do work, they might work a lil different or need a different approach.
Lets collect our findings here...
---
First of all, remounting system with apps like solid explorer does not seem to work.
A workaround for this is to run the following command in terminal or through quick terminal etc:
Code:
/system/bin/mount -o rw,remount /dev/block/mmcblk0p2 /system
This command gets through where other methods fail. Once you have mounted the system writable like this, you can go back to your root explorer app to delete things etc on system partition. Solid explorer gives me error messages still when I delete apps from /system/app/, but they still disappear / get deleted.
---
This also brings me to my next workaround:
To delete system apps and not just freeze them with Titanium, you need to remount system like above and then delete the apks from the /system/app/ directory. A reboot should then remove everything else related to that app afaik. (like the /data/data/ of the app etc.)
Titanium on the other hand gives me an error when I try to delete a system app, even after remounting system to rw.
---
If you want to edit things from your system partition, like build.prop etc. Copy them to your sd first and edit them there. Then mount system rw, and create a backup of the file you are editing. (make a copy and just append "_bak" or smth to the file name) And finally copy the sd file over the corresponding file in system. Make sure you check permissions before and after you copied everything and edit them if they do not match up.
---
My final Tip for now:
I noticed that most root methods on SELinux (this includes RDLV and the forbidden one) use install-recovery.sh to start su as a system daemon which handles all the su requests. (as far as I understood it at least).
Well we can also use this file (or create an install-recovery-2.sh in /etc/ which gets called by the first one by default when you got the root) to run init.d scripts or other stuff.
I don't have tested it yet but I will put the code below once it works...
Code:
tbd
..
hopefully we find a way to turn off this selinux enforcing mode while keeping knox warranty at some point.. - xposed framework might be the answer but not sure - in theory its able to overwrite all methods used by apps. (but I guess selinux above xposed still in system rights and therefore cannot be affected by it?)
And another one:
Don't like this big n clunky user interface? The DPI for the Note 3 is set to 480, thats for old people! If you have want things a bit more refined and more "space" on the screen, edit your build.prop (like I mentioned above) and set the "ro.sf.lcd_density" value down.
I used 360 instead of 480 and that seems perfect to me. It looks like 240 DPI used to look on the Note 1. - You could try 320 or 400 as well.
If you want to set the dpi of individual apps, install xposed and the app settings module. (I would still set browser to 360 or even 320 dpi, 400 is just too much - the adress bar is so damn huge still)
Glad to see you still at it homie. Kingoapp is great. "Google kingoapp" anyone needing help. Just don't post any links please.
Sent from Heaven.
dallastx said:
Glad to see you still at it homie. Kingoapp is great. "Google kingoapp" anyone needing help. Just don't post any links please.
Sent from Heaven.
Click to expand...
Click to collapse
Definitely try out at least the dpi change to 360 or 400, that one is golden =). (nothing special but still..)
--
so far I haven't found anything that does not work at least with a workaround. Some apps do not work as supposed, but thats because they havent adapted yet to the new environment as far as I can tell. And yea, you cannot edit the selinux stuff or turn it off (at least not easy) but thats it. What I did not yet try, which is for risk-friendly people only anyway, is to mess with the efs folder. (you can change your devices mac there, good for privacy concerns hehe). Could be that selinux blocks that one as well, but other than that most things work alright. Just no custom recovery yet, but this could maybe be made possible through the install-recovery.sh file, telling it to start up a custom recovery but not actually flashing it hard onto the device.
Reboot apps I can't get to work. You know the apps that restart phone, bootloader etc... Even through the side 4 button mod. I can only reboot through factory restart. Pressing the power button and using the default restart button.
Sent from Heaven.
---------- Post added at 06:50 PM ---------- Previous post was at 06:49 PM ----------
Yea I always do DPI changes for Gmail , browser, settings, and few other apps
Sent from Heaven.
aww yea youre right - I havent got any app to reboot the phone yet, only the normal reboot through the stock power menu works for me. Didnt try terminal yet.
Maybe not "reboot" but "shutdown -r now"
dallastx said:
Reboot apps I can't get to work. You know the apps that restart phone, bootloader etc... Even through the side 4 button mod. I can only reboot through factory restart. Pressing the power button and using the default restart button.
Click to expand...
Click to collapse
The 4 way reboot menu from Wanam's xposed module works fine for me if you wanted to check that out.
I got one. Enter download mode by powering off. Then hold volume_down+home+power then press volume_up when promtped. Ok now this is what blows my mind. Everyone says pull battery to exit. I did this and the center off my screen looked messed up for about 8 seconds and I thought there must be a better way. Guess what to exit just hold power by itself for about 10 secs and you reboot out of download mode. Great easy way to check counter and no longer have to remove case, battery, etc.
Sent from my SM-N900W8 using XDA Premium 4 mobile app
TheAvatar said:
The 4 way reboot menu from Wanam's xposed module works fine for me if you wanted to check that out.
Click to expand...
Click to collapse
Yea i tried it but didnt work... It may of been conflicting with other apps. But what root method are you using?
---------- Post added at 07:16 PM ---------- Previous post was at 07:11 PM ----------
JohnnyRebel said:
I got one. Enter download mode by powering off. Then hold volume_down+home+power then press volume_up when promtped. Ok now this is what blows my mind. Everyone says pull battery to exit. I did this and the center off my screen looked messed up for about 8 seconds and I thought there must be a better way. Guess what to exit just hold power by itself for about 10 secs and you reboot out of download mode. Great easy way to check counter and no longer have to remove case, battery, etc.
Sent from my SM-N900W8 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yea i have always got out of download mode on Note 3 by just holding power button.
---------- Post added at 07:20 PM ---------- Previous post was at 07:16 PM ----------
zroice said:
And another one:
Don't like this big n clunky user interface? The DPI for the Note 3 is set to 480, thats for old people! If you have want things a bit more refined and more "space" on the screen, edit your build.prop (like I mentioned above) and set the "ro.sf.lcd_density" value down.
I used 360 instead of 480 and that seems perfect to me. It looks like 240 DPI used to look on the Note 1. - You could try 320 or 400 as well.
If you want to set the dpi of individual apps, install xposed and the app settings module. (I would still set browser to 360 or even 320 dpi, 400 is just too much - the adress bar is so damn huge still)
Click to expand...
Click to collapse
Only reason i wouldn't change the DPI for everything because some apps will look crazy. Then you will have apps also like the play store that may not work correctly.
JohnnyRebel said:
I got one. Enter download mode by powering off. Then hold volume_down+home+power then press volume_up when promtped. Ok now this is what blows my mind. Everyone says pull battery to exit. I did this and the center off my screen looked messed up for about 8 seconds and I thought there must be a better way. Guess what to exit just hold power by itself for about 10 secs and you reboot out of download mode. Great easy way to check counter and no longer have to remove case, battery, etc.
Sent from my SM-N900W8 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
good finding! (lol i couldve came up with this myself lol - holding power long enough always does a forced reboot).
I noticed too that when you pull the battery that sometimes you get lines on the screen - really scary, thought I messed up my device but after like 10 seconds or so they disappeared. But definitely something you want to avoid!
Holding down power to exit the download mode instead of pulling battery from now on.
I use Rootr Browser Pro... I can delete things out of the system partition and write into the system partition (after setting it for root privelege in settings and supersu) however I can''t just overwrite files.... The file I wish to overwrite must 1st be deleted or renamed,usually with .bak. Haven't had to use terminal.
Another handy tip, in the CSC folder, rename the customer.xls to customer.xls.bak and then a new option will be available in the settings/device/lock screen menu to add app shortcuts to the lock screen
if you add this code to the others.xml file AFTER <FeatureSet> and BEFORE </FeatureSet>
<CscFeature_Sip_UseSymbolInCMKey>true</CscFeature_Sip_UseSymbolInCMKey>
<CscFeature_Sip_EnableSymbolInSecondary>en_GB;en_U S;de;fr;es;it</CscFeature_Sip_EnableSymbolInSecondary>
You will then enable sub symbols on the default keyboard.
Works a dream...
TheAvatar said:
The 4 way reboot menu from Wanam's xposed module works fine for me if you wanted to check that out.
Click to expand...
Click to collapse
wait a minute - the 4 way reboot does work for you? Are you on Knox 0x0 still? And SELinux status enforcing? For me no "reboot" apps seem to work. They all just try to reboot (and SELinux denies it then most likely)
---
one other problem occured: when using xprivacy and deinstalling an app the system locks up. Can someone confirm this?
Why do people insist on DELETING apps from system? Just use pm disable, sheesh.
khaytsus said:
Why do people insist on DELETING apps from system? Just use pm disable, sheesh.
Click to expand...
Click to collapse
The xprivacy lockup also happens with user apps deinstallation. Just want to make sure its not me or my setup but xprivacy thats causing this. I turned it off and it works, turn it on, device hangs on deinstallations.
zroice said:
And another one:
Don't like this big n clunky user interface? The DPI for the Note 3 is set to 480, thats for old people! If you have want things a bit more refined and more "space" on the screen, edit your build.prop (like I mentioned above) and set the "ro.sf.lcd_density" value down.
I used 360 instead of 480 and that seems perfect to me. It looks like 240 DPI used to look on the Note 1. - You could try 320 or 400 as well.
If you want to set the dpi of individual apps, install xposed and the app settings module. (I would still set browser to 360 or even 320 dpi, 400 is just too much - the adress bar is so damn huge still)
Click to expand...
Click to collapse
Yeah, thanks for the tip. I used xpose app setting to set my nova launcher to be about 400. I will try modify the build.prop then.
Ok so what i did to quickly update to mj4 since it is now live. "you will lose root and everything on internal storage so back it up"
Be sure make COPY of backup of your titanium folder if use NOVA be sure to do a backup of your current layout. Copy these folders to your EXTsd. Remove card afterwards.
I was rooted so i kept getting "Cant up dated Modded system". Even unrooting i cant getting Modded system. I use almost the same root method as OP uses called kingoapp "cant provide links so google is your friend"
Anyhow.. i wanted to make sure i didnt trip KNOX and grew impatient for an update.zip. I didnt want to flash anything through ODIN, so i figured would use Kies.
Kies will see your phone as already updated. At the top of the app if you click tools then "firmware and initialization" Kies will override whatever is on your phone and update to mI5. This will take about 30 min but much quicker then trying to download the entire stock firmware from hotfile.
Once your phone is up go ahead and go to to settings on you phone and system update. Update will run and restart your phone. You are now on the latest firmware mj4.
Reroot and reinstall SD card. You are now rooted on latest update.
Notes - I tried everything to try to trick system to thinking its not modded including unrooting. Nothing worked reasoning i resorted to flashing through Kies.
dallastx said:
Ok so what i did to quickly update to mj4 since it is now live. "you will lose root and everything on internal storage so back it up"
....
Click to expand...
Click to collapse
Ohh theres an update? Well I bought a 2nd note today - couldnt resist it was 500€ only (they usually go for about 550 here). And mine had some display issues... gonna sell the first one and keep second - screen is better. Anyway, I got to redo everything now and restore the "old one" to stock.
To restore stock safely I would always suggest using Kies and doing a forced firmware update like dallas described. I read that flashing the same firmware twice with odin can already trip knox. (at least if you were tempering with the system)
But note that this will most likely update the bootloader of your phone as well.
---
Now I got the old bootloader on my new and still branded n3 - can someone explain what the difference actually is to the new bootloader? I mean both don't allow SELinux permissive, and both can be rooted (at least with the "tool")?
On S4 etc I understand that new firmware version introduced knox, and that there was firmware out without knox, but if you upgraded once you couldnt go back. But there are no knox free firmwares for the n3 are there? (I mean stock ones)
zroice said:
Ohh theres an update? Well I bought a 2nd note today - couldnt resist it was 500€ only (they usually go for about 550 here). And mine had some display issues... gonna sell the first one and keep second - screen is better. Anyway, I got to redo everything now and restore the "old one" to stock.
To restore stock safely I would always suggest using Kies and doing a forced firmware update like dallas described. I read that flashing the same firmware twice with odin can already trip knox. (at least if you were tempering with the system)
But note that this will most likely update the bootloader of your phone as well.
---
Now I got the old bootloader on my new and still branded n3 - can someone explain what the difference actually is to the new bootloader? I mean both don't allow SELinux permissive, and both can be rooted (at least with the "tool")?
On S4 etc I understand that new firmware version introduced knox, and that there was firmware out without knox, but if you upgraded once you couldnt go back. But there are no knox free firmwares for the n3 are there? (I mean stock ones)
Click to expand...
Click to collapse
Yea go ahead and do all your updates then root. I think the update may me just for Sprint N900p.
so there is still no way to get rid of "enforcing selinux" without tripping knox counter?
need this only to get my OTG cable to USB OBD working, seems SELinux is blocking serial usb communication :/
zroice said:
wait a minute - the 4 way reboot does work for you? Are you on Knox 0x0 still? And SELinux status enforcing? For me no "reboot" apps seem to work. They all just try to reboot (and SELinux denies it then most likely)
Click to expand...
Click to collapse
Sorry for the late reply. I was Knox 0x0, used Root De La Vega, installed xposed framework then grabbed wanam from the play store. Just had to enable it and it was all good.

Categories

Resources