[SCRIPT]SoftKeyLightAlwaysOffV2.0 [Update: June 17/2012] - Samsung Galaxy Gio GT-S5660

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

Related

[Project] [15-Nov-2009] Linux Android on Blackstone by #htc-linux team

WARNING!!!! SOMEONE (ME ALSO) LOST THE USE OF VOLUME BOTTONS AND CAMERA IN WINDOWS MOBILE AFTER TESTING THIS ANDROID VERSION, THE ONLY WAY TO SOLVE THE PROBLEM IS A HARD RESET, SINCE WE ARE STILL TRYING TO FIX THIS KIND OF PROBLEMS I SUGGEST YOU TO TRY IT ONLY IF YOU ARE READY TO A POSSIBLE HARD RESET!!!
REMEMBER: ALWAYS WAIT FOR WINDOWS MOBILE TO FINISH HIS BOOTING SEQUENCE BEFORE STARTING HARET.EXE, MIGHT BE THIS THE CAUSE OF THE PROBLEM
Screenshots in the second post (Thanks a lot aavan)
FAQ At 3rd post (thanks a lot Rizlo)
Here's the new Thread a lot of people asked for:
A new project is born to port Android on different htc devices with the same build.
A team of linux experts on #htc-linux is working hard to make it real and i'm trying to keep You updated with it.
Installation:
1- backup your data from yor sdcard to somewhere on your Computer (just to save pictures and music from accidents)
2- Format your sdcard fat32
3- download http://www.cobaltcode.com/fileupload/data/Android/AllInOne/Android-Donut-htclinux-15-11-09.7z (right click and save as) and unzip it in the root of your sdcard
4- copy /startup/blackstone.txt to the root of your sdcard and rename it startup.txt
5- Edit the startup.txt as u prefere (only if You know what You are doing, otherwise just leave it like You found it)
6- A new zimage avaiable here http://glemsom.anapnea.net/android/htc-msm-android/ (the one from Fri Nov 20 23:54:15 2009 +0100 ) unzip and put everything in the root of your sdcard rename the new zImage.20091120_235415 to zImage and u can delete the old modules-2.6.27-00593-g3890096.tar.gz
7- download http://www.cobaltcode.com/fileupload/data/Android/BuildUpdates/rootfs.img-15-11-09.7z unzip it and replace the old rootfs.img
This will fix the recharging problems
8- Go to Windows power settings and uncheck the "Auto adjust backlight" option.
9- Disable PIN on your Windows Mobile
10- run a file explorer and find in the root of your sdcard the file named Haret.exe and launch it
11- Test Android on your HD Blackstone and let us know every little thing to fix
You can contact the team or help us by joining #htc-linux on freenode irc network
Thanks to: phh, yeyoy, klinux, cr2, townkat, auss81, itchy8me and all the other people working on it on #htc-linux and of course You all testing and reporting
In this version:
--- Android 1.6
--- Accellerometer works
--- Bluetooth Works
--- Screen on/off works
--- Telephone, SMS system works (if your sms dont work try to read http://forum.xda-developers.com/showthread.php?t=433433 maybe u can fix it, anyway let us know if it works)
--- 3G works
--- Internet connection is finally fully controlled by Android and not from startup.txt so is supposed to be easier and working better
--- WiFi working (aparently only WPA2 is working propely)
--- Now power botton is "home botton" short press go to home, long press popup a menu of latest applications used
--- Recharging working
In the next release 3.5 jack entrance for normal Headphones will be fixed
Anyway phh give me the idea to "fix" the problem with turning on screen so hard and loong...
Is not really a fix but is a cheat
Download a terminal from the market or search for "Better Terminal" on google and copy the *.apk file u get into your sdcard in the directory /AndroidApps/ (if there's not that dir just create it) After booting u should find the application in your menu
type:
su
bash
echo 42 > /sys/power/wake_lock (remember to use the "spaces" between 42 and > and /sys...)
To revert the process just soft reset
this makes only the screen to sleep and not the system, makeing the screen faster to wake up, but it will affect your battery life.
It's your choice guys.
I hope we will fix it in next releases
For your knowledge you can visit and read http://wiki.xda-developers.com/index.php?pagename=RaphaelDonut
If You like our work Donate Here (phh)
Enjoy
Screenshots
{
"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"
}
FAQ
Q: If I run Android on my phone, will it wipe out Windows and erase my own brain too? I don't want to forget my mother's name.
A: No. Just soft-reset your device and you will get back to good ol' WinMo.
Q: So I can try out Android with no consequence at all?
A: Not exactly. There is a slight risk that your camera and/or your volume buttons stop working. A hard-reset will fix this anyway.
Q: My phone is stuck at boot, displaying "Waiting for SD Card". Should I commit suicide?
A: No son, just get out of your room and go buy yourself a Class 2 SD Card. Most Class 6 cards have been reported not to work.
Q: It boots! But I can't find a way to enter my SIM unlock code! What's wrong with my life?
A: Just boot Windows and disable the SIM lock. It doesn't work in Android, yet.
Q: My camera flash isn't working anymore
A: Ok, that was a joke. Got it.
Q: My battery lasts 15 seconds.
A: This is an early development stage, so the system is not really optimized for battery life. Uncheck auto-dimming in Windows and install toggledata in Android to save some power. Or keep the darn thing plugged to USB, for crying out loud.
Q: How can I setup my APN?
A: Go to Settings - Wireless controls - Mobile networks - Access Point Names; tap on your home button and on New APN.
Q: I set my APN but it doesn't connect! How can I live with the burden of this endless pain?
A: Reboot and restart Haret. Or try and fondle with the airplane mode, sometimes it works.
Q: I can receive SMS messages but I cannot send any.
A: Known issue, it may be network related. Try this workaround http://forum.xda-developers.com/showthread.php?t=433433 . Guy who posts this for the 10000th time doesn't win any prize.
Q: I can receive SMS messages but I cannot send any.
A: I said...
Q: I enabled WIFI but it's not connecting.
A: Try rebooting again. Also, it's been widely reported that it won't work on WEP protected networks, switching to WPA2 could solve the problem.
Q: When my phone goes to sleep mode there seems to be no way to bring it up again. Is it dead?
A: Press the power button. Again. And again. And again andagain andaggggain. Be patient, it will come up eventually.
Q: Android 2.0 is out!
A: We KNOW. Listen and repeat. WE KNOW. But devs are working on 1.6 for now, and getting that to fully work is their goal at the moment.
Q: Why can't we have the Hero skin on our device?
A: This is not really related to making Android work on the HD but anyway... that UI is designed for lower resolution phones. Go on a general Android forum for this kind of things.
Q: Is it gonna rain today?
A: I have to admit it's quite cloudy.
gogo mitikos
Testing time...
thanks
cobalt file
High, like to test, loved the tux version.
But when i try to download the cobalt file there is only a lot of text but no file to download, is it corrupted or is ther an other way to get it.
Hope you can help me
pbotloh said:
High, like to test, loved the tux version.
But when i try to download the cobalt file there is only a lot of text but no file to download, is it corrupted or is ther an other way to get it.
Hope you can help me
Click to expand...
Click to collapse
I am getting the same issue here
pbotloh said:
High, like to test, loved the tux version.
But when i try to download the cobalt file there is only a lot of text but no file to download, is it corrupted or is ther an other way to get it.
Hope you can help me
Click to expand...
Click to collapse
Right click and "save as..." option
Now i edit the first post
Ok, testing it
New life for the project!
Thanks Mitikos! Thanks htc-linux guys!
sternas said:
Testing time...
Click to expand...
Click to collapse
sorry I can't download the file, help me tanks
On page 1 - right click the link and save link as 'done'
Help
Why "Waiting for SD card" ?
Is my first time to Android linux.
mitikos i've built a .zip with tuxfiles and phh kernel/donut with startup.txt already fixed for blackstone, uploading right now so we have a complete package with everything we need.
If anyone can download it and make a mirror that'll be great, oh and maybe give it a try so we're sure it works, on my phone is working great.
Partial test: this relese is more stable, smoother, and more responsive than Tux' 0.2........
Now, finally, I can resume the LCD on by simply holding the power button......
Bluetooth is active now, but I not tested it yet
APN is now configurable without modifing the startup file, but at the moment I'm not able to start a data session...... maybe my operator WIND?
Screen rotation is fully active but not for the home.
Wifi not yet tested, but I know is still in development.
auss81 for me wind italy connection is working, just create a new apn in the wireless config and put internet.wind as apn, but i've configured it also in the startup.txt, have to try w/o it.
[email protected] said:
mitikos i've built a .zip with tuxfiles and phh kernel/donut with startup.txt already fixed for blackstone, uploading right now so we have a complete package with everything we need.
If anyone can download it and make a mirror that'll be great, oh and maybe give it a try so we're sure it works, on my phone is working great.
Click to expand...
Click to collapse
Great work. I was going to make that suggestion.
It's way better to have the same starting package in order to test and check possible issues.
anyone else getting random lockups?
I'm also having problems with turning the screen on again after changed the end button behaviour to make the device sleep. Only a soft reset makes it usable.
Otherwise this is a huge step forward in terms of functionality. Good work to all those involved
[email protected] said:
mitikos i've built a .zip with tuxfiles and phh kernel/donut with startup.txt already fixed for blackstone, uploading right now so we have a complete package with everything we need.
If anyone can download it and make a mirror that'll be great, oh and maybe give it a try so we're sure it works, on my phone is working great.
Click to expand...
Click to collapse
That's great and make all more simple. Give me the addres and i put it on the first page.
Anyway a new version is coming next week i think, than You will have to update the link
wvernon said:
anyone else getting random lockups?
I'm also having problems with turning the screen on again after changed the end button behaviour to make the device sleep. Only a soft reset makes it usable.
Otherwise this is a huge step forward in terms of functionality. Good work to all those involved
Click to expand...
Click to collapse
Yes i know the turning on screen sometimes is laggy, but is just couse the phone goes in deep sleep, so u hqave to press the bottons many times to weak it up. We will fix it in the newer versions for sure. You dont need to soft reset, just be patient, press the bottons and he's coming back for sure.

[ROM][Vanilla Eclair 2.1] EzHero 0.1 BETA [FAST AND STABLE]

I'm not responsible if you damage your phone or anything of the sort!
Don't forget to take the poll!
{
"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"
}
DOWNLOAD- http://www.multiupload.com/JLER0MMDL5
ADW launcher- http://www.jbthemes.com/anderweb/ADW.Launcher.0.7.eclair_beta7_UNSTABLE.zip
I HIGHLY SUGGEST THAT YOU USE IT FOR ABOUT 1 MINUTE AFTER FIRST BOOT BEFORE REBOOTING, I WILL BE SLOW AT FIRST BOOT!
Features:
-Maxo64's default wallpaper ! Because I LOVE IT!
-Fast
-No old Icons!
-Astro FM Included
-Fast Market!
-A2SD auto. Ext2 and 3 only
-Gallery3D (Rotate and it restarts )
-OpenGL is thumbs up for me!
-Live Wallpapers. (This launcher loves them!)
-Google Sync
-Multi-touch in Gallery 3d
-About 60 MB!
-Sweet and Fast Launcher
-3gp Video
-Camera @ 5MP
-Very stable to me!
What I have to work on:
Bluetooth audio during calls
Gallery 3D relaunch
Facebook Sync
Getting it to tell me my full ext2 partition storage in settings
Notes:
Currently there is not email and gtalk apparently, but you do have gmail
This is built right off of one of my favorite ROMS of all time KaguDroid!- Thanks!
SMS icons from Androbin, great rom by the way. Thanks Robin!
Dido for Gmail Icons
I am fairly certain aHero's flashable Jit will work with this rom but it is untested! Please share info with me if it works!
MaXo64 Wallpaper!
Instructions:
1-have this Radio (63.18.55.06JU_6.35.09.26 - http://www.multiupload.com/M95Y0IUYLA)
2-reboot into recovery and do Nandroid backup
3- Wipe data (+ext partition if you used apps2sd before)
4- Flash the EzHero
ROM looks great, downloading now to test.
Have you tried contacting other devs for help on the gallery bug?
Mhm
werziluk said:
ROM looks great, downloading now to test.
Have you tried contacting other devs for help on the gallery bug?
Click to expand...
Click to collapse
Well there are few ROMS that do it right, so I will definitely fix it in the next update, which will be soon.
And thanks
Hi Hanser
Is this based on cyanogenmod's latest 5.07 eclair?
Mhm
lukesky said:
Hi Hanser
Is this based on cyanogenmod's latest 5.07 eclair?
Click to expand...
Click to collapse
Yes, it is
EDIT:
Sorry, I should have read it
more carefully, it is actually based on KaguDroids AOSP (a very fast AOSP) that was based CM's r2. Either way it is fast and works great! It has quiet a few things from CM 5.0.7 in it though
Can someone confrim that Galactic core and Aquarium wallpapers are working in this rom because in other clean roms they just starting but after screen goes out then you hit screen unlock button it changes to default wallpaper.
Can someone confrim that Galactic core and Aquarium wallpapers are working in this rom because in other clean roms they just starting but after screen goes out then you hit screen unlock button it changes to default wallpaper.
Click to expand...
Click to collapse
I am afriad not, see live wallpapers take a lot of ram and battery, these roms are made for optimum performance, not for fishes on your homescreen
-------------------------------------
Sent via the XDA Tapatalk App
hanser01 said:
Yes, it is
Click to expand...
Click to collapse
Awesome! I'm downloading now, I'll feedback on it later.
@hanser01, if this was based off of CyanogenMod 5.0.7-DS, why don't you just pick up where Darchstar left off with Darchdroid (GSM Edition). He's currently looking for someone in the GSM Hero realm to take it over since he doesn't have access to a GSM Hero.
@hanser01, if this was based off of CyanogenMod 5.0.7-DS, why don't you just pick up where Darchstar left off with Darchdroid (GSM Edition). He's currently looking for someone in the GSM Hero realm to take it over since he doesn't have access to a GSM Hero.
Click to expand...
Click to collapse
Well it is not based on Cm 5.0.7 and I thought that same thing and it just didn't seem like a great idea to me. I might in my next release though!
-------------------------------------
Sent from my EzHero
Darchstar has done a lot of the work already for you & wants someone to take it off his hands, so I don't why it isn't a good idea.
Darchstar has done a lot of work already for you & wants someone to take it off his hands, so I don't why it isn't a good idea.
Click to expand...
Click to collapse
Very TRUE, I may, but it also has big problems such as a horrible battery drain and rebooting. Frankly I cant spend to much time developing or else I would be dedicated to fix it =(
-------------------------------------
Sent from my EzHero
hanser01 said:
Well it is not based on Cm 5.0.7 and I thought that same thing and it just didn't seem like a great idea to me. I might in my next release thought!
-------------------------------------
Sent from my EzHero
Click to expand...
Click to collapse
nprussell and I, we have already taken this rom for our use
Well it is not based on Cm 5.0.7 and I thought that same thing and it just didn't seem like a great idea to me. I might in my next release thought!
Click to expand...
Click to collapse
nprussell and I, we have already taken this rom for our use
Click to expand...
Click to collapse
Which one?
-------------------------------------
Sent from my EzHero
hanser01 said:
Which one?
-------------------------------------
Sent from my EzHero
Click to expand...
Click to collapse
think they mean Darchstar's ROM. they've taken Darchstar's ROM and are working on it.
Anyway a little feedback for your ROM. I realised it has the same "insufficient storage space" bug as a few of the other Eclair ROMs. So I can't install any new apps from market or from my SD card.
The only way I know how to fix it is using the Terminal Emulator app but since your ROM doesn't come with it, I can't install it because of the bug even if I have the apk in my SD card. So it's sort of a Catch 22 situation, if you know what I mean.
Thing is, am I able to just manually copy the Terminal Emulator apk file into your "EzHero0.1_signed.zip" file in the "/system/app" folder so that the Terminal Emulator app is installed automatically during flashing? Or do I have to re-sign the whole package again?
Look`s great but i need functional BT with my CAR BT KIT. :-(
lukesky said:
...am I able to just manually copy the Terminal Emulator apk file into your "EzHero0.1_signed.zip" file in the "/system/app" folder so that the Terminal Emulator app is installed automatically during flashing? Or do I have to re-sign the whole package again?
Click to expand...
Click to collapse
Hope this helps,....
bonesy said:
Download and install the latest android sdk .also Java jdk find and download autosign. Do this all by searching. I would download a custom rom as a template for your update.zip. extract the data folder and the Meta folder and put into a new folder, go into Meta folder keep clicking through the folders inside Meta one till you find update-script and open it in notepad.
Delete everything except the part saying something like copy package DIRATA and the show progress before it. Once that's all done put the Apps you want into the data folder zip up the data and Meta folders, when you open the zip folder you should only see those 2 no others! Resign it using autosign and flash
Click to expand...
Click to collapse
Taken from,... How to create "update.zip" for integrate apps?
any benchmark results??
lukesky said:
insufficient storage space
Click to expand...
Click to collapse
This bug normally come with the rom which have data/app partition but forgot to set the correct permition, just modify the update-script after the line:
copy_dir PACKAGE:data DATA:
and add this line
set_perm_recursive 1000 1000 0755 0644 DATA:app
or us adb to change the permition
adb remount
adb chowner system.system /data/app
witysimon said:
This bug normally come with the rom which have data/app partition but forgot to set the correct permition, just modify the update-script after the line:
copy_dir PACKAGE:data DATA:
and add this line
set_perm_recursive 1000 1000 0755 0644 DATA:app
or us adb to change the permition
adb remount
adb chowner system.system /data/app
Click to expand...
Click to collapse
do you use a hex editor to edit the update-script? reason I'm asking is when i open it with Notepad, it appears as a whole continuous chunk of text. If I open it with Wordpad or MS Word, it's nicely formatted, but when I save it, what should I save it as? There are a few options like Text Document, RTF, Unicode and MS-Dos format. Whatever I choose, when I reopen the saved document with Notepad, it's not in a continuous chunk of text anymore and it's nicely formatted. And as I had expected, when trying to flash this, error msg appeared and the flashing stopped.
Maybe I'll just wait for Hanser to fix this in the next version instead or I'll try using ADB at my home PC.

NBH Editor v4.1

I'm no longer updating this! All of the new changes have been pushed to the atools version. L1q1d is going to be taking over from here on out so check out his thread HERE.
Here's an editor to select which settings you want for your nbh!
All this does is hex edit different things, including the cmdline info, like you could do with a hex editor. It's just a lot more user friendly.
Disclaimer:
I'm not responsible for ANYTHING that happens to you, your phone, or your computer. I would not release something that intentionally harms a computer or phone, but there's always that chance when using unofficial software.
______________________________________________________________________________________________________________________________________
What everything means:​Device:
-Vogue: LINK
-Kaiser: LINK
-Polaris: LINK
Resolution:
-240x320: The native resolution on these devices. Will give the best overall picture quality.
-320x428: The smaller version of the 320x480 that fits our screens better.
-320x480: The native resolution for the G1 and most 1st gen Android devices. Things will fit better as they aren't scaled down, but everything will look blurry/squished.
Version:
-This is the Android version. Be careful not to get it mixed up with a user's release version. Most builds say either Donut, Eclair, or Froyo, but if not then you can install the system and look under Settings>About Phone and look under "Android Version"
-Donut: 1.6
-Eclair: 2.1
-Froyo: 2.2
Panel Type:
-Only Vogues have auto panel detection, so for Kaiser and Polaris users you will just have to pick one. If there's weird pixels, things don't look right, sleeping issues try a different panel.
Keyboard Types:
-Look HERE for more info if you don't know which keyboard type.
More Settings:
-ppp.nostart: If you set this to 1 it should prevent data from starting on boot. Helpful for some people but if you don't have to worry about data then leave it 0.
-CPU Overclock: This uses the same method that myn uses with Rogue Tools. Our CPU's are set to run at 400 MHz, but we can overclock them to over 500 MHz. I would suggest not going over 500 unless you know what you're doing, but some users have reported running at 550 just fine. It could decrease your device's life expectancy if using constantly, but probably won't notice for quite some time.
-System/Data Partitions: You can use this if running system or data off an EXT2 partition to use all of nand. Also helps when using an older Sense build that needed a larger system partition.
-Disable Vibrate on boot: Check THIS POST for more info on that.
-Battery Capacity: Self explanatory.
______________________________________________________________________________________________________________________________________
How to use the Editor:​
WINDOWS, MAC, LINUX:
1. Download python (Version 2.7)
2. Download editor from below.
3. Download the nbh for your phone
a. from DZO's SITE
b. Download the latest one using the editor
4. Open the NBH from the editor
5. Change any settings
6. Save new NBH
7. Enjoy your new nbh
Don't want to install python?
1. Download Windows NBH Editor.zip from below
2. Extract to where you'd like
3. Run nbheditor.exe
Last but not least... Thanks! I've said it all before but this wouldn't be possible without the mighty one, DZO. Thanks to DZO, kallt_kaffe, myn and l1q1d for pointers, and all the other devs that are helping get these what should have been extinct devices back to life!
To Do:
Taking suggestions!
{
"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"
}
Windows NBH Editor.zip
UPDATES
DOWNLOAD!!!(Right Click>Save As...)
loserskater said:
(I spoke with kallt_kaffe and his will probably work soon.)
Click to expand...
Click to collapse
I've posted new a new version that should be compatible but when I change an NBH (Kaiser) to donut the hw3d.version becomes 01 and the "1" overwrites the space what should be after the "0". Setting an NBH to eclair seems to work though. Haven't tried the same with DZO's NBH though but the result should be the same.
kallt_kaffe said:
I've posted new a new version that should be compatible but when I change an NBH (Kaiser) to donut the hw3d.version becomes 01 and the "1" overwrites the space what should be after the "0". Setting an NBH to eclair seems to work though. Haven't tried the same with DZO's NBH though but the result should be the same.
Click to expand...
Click to collapse
Thank you! New zip should have it working now.
loserskater said:
Thank you! New zip should have it working now.
Click to expand...
Click to collapse
Confirmed, seems to work now.
OK, so how easy was THAT?.. Thanks!
New version posted. Now just one program.
You still need to select the NBH for your device.
Excellent work dude, truly the most useful pre-install software, makes setting up everything so easy, intuitive to use too.
Hi Loserskater,
Thanks for your very good job and to help us to use much better our phone with android
Cheers.
loserskater said:
The moment you've all been waiting for... ok, well maybe just a few of you. Here's an editor to select which settings you want for your nbh!
Click to expand...
Click to collapse
Can you also include battery setting (option: experimental) ?
robuser007 said:
Can you also include battery setting (option: experimental) ?
Click to expand...
Click to collapse
That's something DZO will have to do... unfortunately you can't add things to the cmdline of the nbh or else it wont work right. it will have to be added to the source. If I can convince dzo to add it, I will add the option to change that value for other batteries. For now, you can try kallt_kaffe's nbh.
His also work with this editor
loserskater said:
That's something DZO will have to do... unfortunately you can't add things to the cmdline of the nbh or else it wont work right. it will have to be added to the source. If I can convince dzo to add it, I will add the option to change that value for other batteries. For now, you can try kallt_kaffe's nbh.
His also work with this editor
Click to expand...
Click to collapse
Scratch that. New update now includes ability to add default settings (like in kallt_kaffe's) for battery, clock, and ppp.nostart. I just flashed successfully but I haven't had much time to test.
Can now use either kaiser nbh or the vogue nbh.
Hi guys,
Sorry... I might have miss it.
Can someone explain what is the panel different?
I am using HTC Kaiser.
Thanks
Daniel
Re: Loser's NBH Editor v3.0
It just depends what panel you have. The only way to tell is by trying each one. If you get weird pixels then thats the wrong one. I havent found any difference between panel 2 and 3 though...
Apparently there are some differences in the way panel 2 and 3 handle power on, power off, there have been a few reports of white streaks on waking up the lcd by some users on panel 3 using panel 2 settings.
This is not definitive though, since panel3 seems to be pretty rare.
You could set other default settings, like panel2 (most used I guess), I never tried another panel.And eclair for the other default setting (most used nowadays I guess).
Maybe you can add comments (like use 1.7x radio and hardspl 3.34 before flashing and use kernel from...) to make it completly idiot proof (and have less questions here on the forums).
Great work anyway.
Re: Loser's NBH Editor v3.0
You could set other default settings, like panel2 (most used I guess), I never tried another panel.And eclair for the other default setting (most used nowadays I guess).
Maybe you can add comments (like use 1.7x radio and hardspl 3.34 before flashing and use kernel from...) to make it completly idiot proof (and have less questions here on the forums).
Great work anyway.
Click to expand...
Click to collapse
That's a good idea. I'll change those settings to the commonly used ones and maybe save settings on exit so you don't have to do it each time. And add more info in the actual program. Thanks for the input!
Probably will try with Panel 2. I am using the SD boot with Eclair right now.
Re: Loser's NBH Editor v3.1
What would be some things that people would like to see added to this? I was thinking about making it possible to change cpu and gpu OC settings. And maybe battery settings. Can anybody think of any other cmdline settings?
I don't have any suggestions, just wanted to say thanks for the great app. Very convenient.

[ROM][2 NOV] Virtuous Codename: Trentacinque Beta 2

Virtuous Codename: Trentacinque Beta
Maybe some of you already saw on Virtuousrom Website that I was able to leak some screenshots of the new Virtuous ROM. But now I was able to leak a complete build from them *lol*
But now to the "real" stuff:
The rom itself is based on the Runnymede RUU 1.05.401.4. After some days with trying to make this build really stable we still need to say this rom is still in a early build state. So be aware that there will be some problems left. Also there aren't any tweaks at the moment in the rom. We first want to make it stable and then begin to add some nice features.
As you maybe already saw we have no name for the rom at the moment. Therefore we started a thread in our own forum where we got a lot of suggestions for it. We will now try to pick up the best five suggestions and then start a poll here on XDA.
{
"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"
}
Changelog for Virtuous Trentacinque Beta 2
New Features
Update base to Runnymede 1.05.401.4
Update kernel to newer V10 build
Calculator with switchable different themes
Thanks to nunggg for his version
If you have already made or want to make a mod for the calculator than we will be happy to add it too if you want.
IME keyboard with switchable arrow keys
You can choose if you want to show or hide the arrow keys
Advanced Power Menu (APM)
Overglow effect
Bug Fixes
All devices are now more stable
Less output in logcat from rmt_storage
Download
MultiUpload
MD5: a123dc66ef17ce3e789108b9eec85550
G2 Users you will need the DZ hboot before you can flash this ROM, Instructions on switching can be found here.
[GUIDE] How to set up a SD swap partition
This guide will walk through how to set up a SD card swap. SD card swap allows your SD card to become a place where your physical memory can become virtual memory thus helping free up more physical memory . This is most likely needed in 512 mb devices running Virtuous Unity. This guide has in mind that you have knowledge of ADB. If not you may follow the alternate way, but I have not personally tried that way. If you would like to know more about ADB and how to set it up please go to ]this guide by theunlockr.com: http://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/.
*Please back up everything on your SD card before going forward, I’m not responsible if you do not follow this step and loose everything on your SD card or if your phone is killed in anyway.
* Please Upgrade to Clockworkmod to 3.0.2.6 or newer before making the partition
1) Please boot into Clockworkmod Recovery (CWM, CWM Recovery). Once there go to Advanced-->Partition SD card-->Ext and Swap partition sizes. You will want to pick 128 mb for ext and 256 mb for swap partition.
2) Reboot into your ROM and place this http://dl.dropbox.com/u/32936737/swap_enabler.sh script into the root (not with in any folder) of your SD card.
Once there you can go two directions. Direction A is through ADB, Direction B is through the terminal emulator.
3a) Type these commands in the command prompt:
Code:
adb shell
chmod 755 /mnt/sdcard/swap_enabler.sh
sh /mnt/sdcard/swap_enabler.sh
3b) Type these commands in the terminal emulator (You can find this on the market)
Code:
su
chmod 755 /mnt/sdcard/swap_enabler.sh
sh /mnt/sdcard/swap_enabler.sh
Please reboot your phone after the script is done
4) Verifying that it works. Please choose 4a if you used ADB and 4b if you chose terminal emulator.
4a) If you’re using ADB type these lines in the command prompt
Code:
adb shell
free
4b) If you’re using terminal emulator type these lines in the emulator:
Code:
su
free
If you did not get a bunch of 0s that means it is working, Congratulations.
__________________________________________________________________________________
The following code will not update partition tables on sd card, it will just switch off the swap in the system
If you want to do this enter these lines in the command prompt (If using ADB)
Code:
adb shell (skip if you're already in adb shell)
sh /mnt/sdcard/swap_enabler.sh disable
If you want to undo using the terminal emulator do
su
sh /mnt/sdcard/swap_enabler.sh disable
Code:
Credits: Give a giant thanks to nv- for writing the swap_enabler script and original walk through,
Pato for the CWM tip
Cimer for the original tutorial [URL="http://forums.virtuousrom.com/index.php/topic,58.0.html"]http://forums.virtuousrom.com/index.php/topic,58.0.html[/URL]
Reserved
YES
Sent from my Desire Z running @ 2GHZ
COOL!!!!!!!!
Gonna try this. Awesome!
Sent from my HTC Vision using xda premium
Looks interesting.
Gonna keep an eye on this.
ah! Good Friday it is!
cjward23 said:
Reserved for future use
Click to expand...
Click to collapse
its been quite some time since i last used sense rom and especially unity series roms.... i wanna know if the sms lost issue was tackled or not ? are we still dependent on gostly sms ? be it on unity or on this sense 3.5 new beta rom... thanks
hispeedworm said:
its been quite some time since i last used sense rom and especially unity series roms.... i wanna know if the sms lost issue was tackled or not ? are we still dependent on gostly sms ? be it on unity or on this sense 3.5 new beta rom... thanks
Click to expand...
Click to collapse
I never get many sms on my vison, in fact i never get any. So i have been unable to test this.
There really is not much that we can do about the missing sms issue.
How ever i'm finding that with swap enabled sense 3.5 seems to be a lot more usable than 3. So maybe it will be less of an issue. Currently ghostly is not included but can be found in the market if required.
Also there is no graphical corruption on non htc widgets when using swap.
I look forward to hearing your feedback.
Sent from my HTC Vision using Tapatalk
It made me happy. Thx.
Finally !!! me happy too...hope this as good (or better..i m sure it is) that VU 2.39...awesome work guys !!
so, any comments on this one?
@OP Will the further updates require full wipe ?
Bug tracker is live, http://bugs.unity.flemmard.net/projects/virtuous-35
please provide as much info as you can including screen shots, logcats and what device you are using
Sent from my HTC Vision using Tapatalk
Been testing for a couple of hours now, and here's my findings:
1. Had hot reboot in setup screen (entering twitter account details)
2. Cursor randomly left text boxes during setup (no issue after)
3. Trackpad wake is missing
4. In OC/UV Beater, lowest OC available is 245mhz (is 122mhz in Unity)
5. as above, lowest UV is 800mv (was 700 or 750 in Unity?)
Good points vs Unity:
1. Swap doesn't corrupt widgets, seems to work perfectly (saw 140mb free ram)
Everything else i've tried works well, smoothly, and responsive. It's a DD for me, and a lot better than some other roms out there!
Nice job!
fr3akBut said:
Been testing for a couple of hours now, and here's my findings:
1. Had hot reboot in setup screen (entering twitter account details)
2. Cursor randomly left text boxes during setup (no issue after)
3. Trackpad wake is missing
4. In OC/UV Beater, lowest OC available is 245mhz (is 122mhz in Unity)
5. as above, lowest UV is 800mv (was 700 or 750 in Unity?)
Good points vs Unity:
1. Swap doesn't corrupt widgets, seems to work perfectly (saw 140mb free ram)
Everything else i've tried works well, smoothly, and responsive. It's a DD for me, and a lot better than some other roms out there!
Nice job!
Click to expand...
Click to collapse
Thank you for the feedback.
One of the issues we had with the last release of Unity was that people were experencing random reboots caused by the default UV, being able to go as low as we allowed was not good for the majority of devices. So the lowest options that were available have been raised.
Trackpad wake is a feature that we will add soon.
There are a few issues with text input, that we know about inculding the issue you have.
And hopefully the reboot wont happena again.
Sent from my HTC Vision using Tapatalk
hmm this looks interesting gonna try it out and report any errors back... last 3.5 rom i used when i was in a call made my phone burning hot... hopfully that doesn't happen here.
cjward23 said:
Thank you for the feedback.
One of the issues we had with the last release of Unity was that people were experencing random reboots caused by the default UV, being able to go as low as we allowed was not good for the majority of devices. So the lowest options that were available have been raised.
Click to expand...
Click to collapse
Ah, i see. Could i suggest that the lower OC/UV settings be made available as a separate patch for people with devices that can handle it? (with a big warning saying that installing this patch isn't recommended etc)
Then most people would be stable, and the lucky few can have silly underclocks for better battery life at idle.
Thanks again
So far it works well! Good job guys!
Sent from my HTC Vision using XDA App
awesome, cant wait to try this when i get home, by the way how much RAM are you guys getting after flashing this?

[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

Categories

Resources