What's a usb/H2W headset? - G1 Q&A, Help & Troubleshooting

The CPLD info of the HTC dream shows some H2W signals listed below. But I can not understand what is it. It looks like it includes 2 kinds of the H2W devices. Could anyone please shed some light on it?
CPLD info on Dream:
2 H2W_DAT_DIR
3 H2W_CLK_DIR
4 H2W_DAT_GPO
5 H2W_CLK_GPO
6 H2W_SEL0
7 H2W_SEL1
Also some codes about the H2W on Nike phone.
i2c_register_board_info(0, htcnike_i2c_board_info,
279 280 ARRAY_SIZE(htcnike_i2c_board_info));
280 281 /* H2W pins <-> UART3, Bluetooth <-> UART1 */
281 282 /* Dumped from board-trout.c -- bluetooth 1st attempt */
282 283 gpio_set_value(HTCNIKE_GPIO_H2W_SEL0, 0);
283 284 gpio_set_value(HTCNIKE_GPIO_H2W_SEL1, 1);

Related

Measuring Real Angle

Hi;
I have been looking for some information about how to translate the G-Sensor x/y/z vectors to an actual angle.
Can anyone provide any leads please.
Thanks
Maybe this will help you solve your problem
http://scottandmichelle.net/scott/cestuff/sensortest.zip
This is the source code in c++ for the tilt sensor
typedef struct _SENSORDATA
{
SHORT TiltX; // From -1000 to 1000 (about), 0 is flat
SHORT TiltY; // From -1000 to 1000 (about), 0 is flat
SHORT Orientation; // From -1000 to 1000 (about)
// 0 = Straight up, -1000 = Flat, 1000 = Upside down
WORD Unknown1; // Always zero
DWORD AngleY; // From 0 to 359
DWORD AngleX; // From 0 to 359
DWORD Unknown2; // Bit field?
} SENSORDATA, *PSENSORDATA;
It did help
Hi Soderstrom;
Thanks for your reply.
After downlaoding this, I wrote 2 properties for class IGSensor (AngleX, AngleY) and modified HTCGSensor.GetGVector() to allow for the data to be captured using the same classes and structures and it gave me exactly what I needed.
I.
I'm glad my advice could help you !!!

Disable magnetic screen on/off sensor

Hi,
I believe the title says it all. I tried to find the solution here but without success. While Im satisfied with my Nexus 7 case, I found out that sometimes if I just close it and put the tablet into bag it fails to turn the screen off. So, Id prefer to do that manually.
Is there a software way to disable the magnetic sensor? I dont want to play tailor with my case ...
Just manually turn it off. Closing the case won't turn your screen back on...
If the problem is that as the tab shuffles around in your bag and the case cover opens just enough to turn it back on, that's a different issue. Then you'll need some type of band or something to put around it.
Sent from my Nexus 7 using Tapatalk 2
Thanks, that will do. :good: But is there really NO sw way to disable it? I dont like automatic functions just lying around ...
michalurban said:
Thanks, that will do. :good: But is there really NO sw way to disable it? I dont like automatic functions just lying around ...
Click to expand...
Click to collapse
Unless you find a way in the code to disable it or figure out how to physically remove it.
or... just get a case with out a magnet in it.
knitler said:
Unless you find a way in the code to disable it or figure out how to physically remove it.
or... just get a case with out a magnet in it.
Click to expand...
Click to collapse
Ive been hoping in someone else finding the way to disable it in the code. Anyway, I guess Ill get another case and see ... THX! :good:
michalurban said:
Ive been hoping in someone else finding the way to disable it in the code. Anyway, I guess Ill get another case and see ... THX! :good:
Click to expand...
Click to collapse
Until seeing it on youtube, I wasn't even aware of this feature. The amazing thing to me is the fact that the actual case sold for the N7 at the google store does not have this feature (ie. no magnet)......
Im afraid I took the matters into my own hands and solved my magnetic problem once and for all ... :laugh:
michalurban said:
Im afraid I took the matters into my own hands and solved my magnetic problem once and for all ... :laugh:
Click to expand...
Click to collapse
Your case isn't nearly as attractive now.
Seriously, I can't see how this was a real issue unless your case was designed badly. Example; some flip-around cases if not shielded will turn the N7 off when flipped around.
khaytsus said:
Your case isn't nearly as attractive now.
Seriously, I can't see how this was a real issue unless your case was designed badly. Example; some flip-around cases if not shielded will turn the N7 off when flipped around.
Click to expand...
Click to collapse
Well, small hole inside the case isnt a big deal for me. Anyway, the problem was that the case managed to turn the tablet off only when closed really good. And if closed, only a few milimeters (say 2) of movement of the front cover to the left made the case wake my N7. I couldnt really be sure what would the Thing do in my bag - but the case itself is good, co I kept it this way.
This can be done strictly via software. Here is a modified version of the kernel driver from drivers/input/lid.c that allows you to enable/disable this feature. By default, it acts normally. To disable the magnetic switch, do "echo 0 > /sys/module/lid/parameters/lid_enabled", or use any other app you want to write to that file. To enable it again, just write a non-zero value to the parameter. Ive only tested it on my nexus7, but it seems to work perfectly.
Code:
/*
* ASUS Lid driver.
*/
#include <linux/module.h>
#include <linux/err.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/input.h>
#include <linux/platform_device.h>
#include <linux/workqueue.h>
#include <linux/gpio_event.h>
#include <asm/gpio.h>
#include <../gpio-names.h>
#include "lid.h"
MODULE_DESCRIPTION(DRIVER_LID);
MODULE_LICENSE("GPL");
/*
* functions declaration
*/
static void lid_report_function(struct work_struct *dat);
static int lid_input_device_create(void);
static ssize_t show_lid_status(struct device *class, struct device_attribute *attr,char *buf);
/*
* global variable
*/
static unsigned int hall_sensor_gpio = TEGRA_GPIO_PS6;
static struct workqueue_struct *lid_wq;
static struct input_dev *lid_indev;
static struct platform_device *lid_dev; /* Device structure */
// to allow enabling/disabling the lid switch
static int lid_enabled = 1;
module_param( lid_enabled, int, 0644 );
static DEVICE_ATTR(lid_status, S_IWUSR | S_IRUGO, show_lid_status,NULL);
/* Attribute Descriptor */
static struct attribute *lid_attrs[] = {
&dev_attr_lid_status.attr,
NULL
};
/* Attribute group */
static struct attribute_group lid_attr_group = {
.attrs = lid_attrs,
};
static ssize_t show_lid_status(struct device *class,struct device_attribute *attr,char *buf)
{
return sprintf(buf, "%d\n", gpio_get_value(hall_sensor_gpio));
}
static irqreturn_t lid_interrupt_handler(int irq, void *dev_id){
if( lid_enabled )
{
int gpio = irq_to_gpio(irq);
if (gpio == hall_sensor_gpio){
LID_NOTICE("LID interrupt handler...gpio: %d..\n", gpio_get_value(hall_sensor_gpio));
queue_delayed_work(lid_wq, &lid_hall_sensor_work, 0);
}
}
else
{
printk( "lid: ignoring irq\n" );
}
return IRQ_HANDLED;
}
static int lid_irq_hall_sensor(void)
{
int rc = 0 ;
unsigned gpio = hall_sensor_gpio;
unsigned irq = gpio_to_irq(hall_sensor_gpio);
const char* label = "hall_sensor" ;
LID_INFO("gpio = %d, irq = %d\n", gpio, irq);
LID_INFO("GPIO = %d , state = %d\n", gpio, gpio_get_value(gpio));
tegra_gpio_enable(gpio);
rc = gpio_request(gpio, label);
if (rc) {
LID_ERR("gpio_request failed for input %d\n", gpio);
}
rc = gpio_direction_input(gpio) ;
if (rc) {
LID_ERR("gpio_direction_input failed for input %d\n", gpio);
goto err_gpio_direction_input_failed;
}
LID_INFO("GPIO = %d , state = %d\n", gpio, gpio_get_value(gpio));
rc = request_irq(irq, lid_interrupt_handler,IRQF_TRIGGER_RISING|IRQF_TRIGGER_FALLING, label, lid_indev);
if (rc < 0) {
LID_ERR("Could not register for %s interrupt, irq = %d, rc = %d\n", label, irq, rc);
rc = -EIO;
goto err_gpio_request_irq_fail ;
}
enable_irq_wake(irq);
LID_INFO("LID irq = %d, rc = %d\n", irq, rc);
return 0 ;
err_gpio_request_irq_fail :
gpio_free(gpio);
err_gpio_direction_input_failed:
return rc;
}
static void lid_report_function(struct work_struct *dat)
{
int value = 0;
if (lid_indev == NULL){
LID_ERR("LID input device doesn't exist\n");
return;
}
msleep(CONVERSION_TIME_MS);
value = gpio_get_value(hall_sensor_gpio);
if(value)
input_report_switch(lid_indev, SW_LID, 0);
else
input_report_switch(lid_indev, SW_LID, 1);
input_sync(lid_indev);
LID_NOTICE("SW_LID report value = %d\n", value);
}
static int lid_input_device_create(void){
int err = 0;
lid_indev = input_allocate_device();
if (!lid_indev) {
LID_ERR("lid_indev allocation fails\n");
err = -ENOMEM;
goto exit;
}
lid_indev->name = "lid_input";
lid_indev->phys = "/dev/input/lid_indev";
set_bit(EV_SW, lid_indev->evbit);
set_bit(SW_LID, lid_indev->swbit);
err = input_register_device(lid_indev);
if (err) {
LID_ERR("lid_indev registration fails\n");
goto exit_input_free;
}
return 0;
exit_input_free:
input_free_device(lid_indev);
lid_indev = NULL;
exit:
return err;
}
static int __init lid_init(void)
{
int err_code = 0;
printk(KERN_INFO "%s+ #####\n", __func__);
LID_NOTICE("start LID init.....\n");
lid_dev = platform_device_register_simple("LID", -1, NULL, 0);
if (!lid_dev){
printk ("LID_init: error\n");
return -ENOMEM;
}
sysfs_create_group((struct kobject*)&lid_dev->dev.kobj, &lid_attr_group);
err_code = lid_input_device_create();
if(err_code != 0)
return err_code;
lid_wq = create_singlethread_workqueue("lid_wq");
INIT_DELAYED_WORK_DEFERRABLE(&lid_hall_sensor_work, lid_report_function);
lid_irq_hall_sensor();
return 0;
}
static void __exit lid_exit(void)
{
input_unregister_device(lid_indev);
sysfs_remove_group(&lid_dev->dev.kobj, &lid_attr_group);
platform_device_unregister(lid_dev);
}
module_init(lid_init);
module_exit(lid_exit);
So how would one go about implementing this modified code? Personally, I can't believe that there is not a standard setting to enable/disable this feature, but it ROM developers and/or users can implement this modified code easily, that would be a big help!
Thanks.
Sent from my ASUS Transformer Pad TF700T using Tapatalk 2
jtrosky said:
So how would one go about implementing this modified code? Personally, I can't believe that there is not a standard setting to enable/disable this feature, but it ROM developers and/or users can implement this modified code easily, that would be a big help!
Thanks.
Click to expand...
Click to collapse
To disable the magnetic switch, do "echo 0 > /sys/module/lid/parameters/lid_enabled"
Click to expand...
Click to collapse
The code was for reference. EDIT: No it's not, I'm an idiot.
Not the way I read it. The modified code has to be built into a kernel to access the option file.
Sent from my Nexus 7 using xda app-developers app
Yes, this is one of the files that make up the kernel, with about 10 lines added to it. You would have to replace the file in the kernel source code, build the kernel, insert that kernel into a boot.img, and flash it to your tablet. If you can't manage all that, then you could pester the person who does make the kernel you're using to add it.
rmm200 said:
Not the way I read it. The modified code has to be built into a kernel to access the option file.
Click to expand...
Click to collapse
This is what I get for reading things too fast.. Ah well.
gianptune said:
This can be done strictly via software. Here is a modified version of the kernel driver from drivers/input/lid.c that allows you to enable/disable this feature. By default, it acts normally. To disable the magnetic switch, do "echo 0 > /sys/module/lid/parameters/lid_enabled", or use any other app you want to write to that file. To enable it again, just write a non-zero value to the parameter. Ive only tested it on my nexus7, but it seems to work perfectly.
Code:
/*
* ASUS Lid driver.
*/
#include <linux/module.h>
#include <linux/err.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/input.h>
#include <linux/platform_device.h>
#include <linux/workqueue.h>
#include <linux/gpio_event.h>
#include <asm/gpio.h>
#include <../gpio-names.h>
#include "lid.h"
MODULE_DESCRIPTION(DRIVER_LID);
MODULE_LICENSE("GPL");
/*
* functions declaration
*/
static void lid_report_function(struct work_struct *dat);
static int lid_input_device_create(void);
static ssize_t show_lid_status(struct device *class, struct device_attribute *attr,char *buf);
/*
* global variable
*/
static unsigned int hall_sensor_gpio = TEGRA_GPIO_PS6;
static struct workqueue_struct *lid_wq;
static struct input_dev *lid_indev;
static struct platform_device *lid_dev; /* Device structure */
// to allow enabling/disabling the lid switch
static int lid_enabled = 1;
module_param( lid_enabled, int, 0644 );
static DEVICE_ATTR(lid_status, S_IWUSR | S_IRUGO, show_lid_status,NULL);
/* Attribute Descriptor */
static struct attribute *lid_attrs[] = {
&dev_attr_lid_status.attr,
NULL
};
/* Attribute group */
static struct attribute_group lid_attr_group = {
.attrs = lid_attrs,
};
static ssize_t show_lid_status(struct device *class,struct device_attribute *attr,char *buf)
{
return sprintf(buf, "%d\n", gpio_get_value(hall_sensor_gpio));
}
static irqreturn_t lid_interrupt_handler(int irq, void *dev_id){
if( lid_enabled )
{
int gpio = irq_to_gpio(irq);
if (gpio == hall_sensor_gpio){
LID_NOTICE("LID interrupt handler...gpio: %d..\n", gpio_get_value(hall_sensor_gpio));
queue_delayed_work(lid_wq, &lid_hall_sensor_work, 0);
}
}
else
{
printk( "lid: ignoring irq\n" );
}
return IRQ_HANDLED;
}
static int lid_irq_hall_sensor(void)
{
int rc = 0 ;
unsigned gpio = hall_sensor_gpio;
unsigned irq = gpio_to_irq(hall_sensor_gpio);
const char* label = "hall_sensor" ;
LID_INFO("gpio = %d, irq = %d\n", gpio, irq);
LID_INFO("GPIO = %d , state = %d\n", gpio, gpio_get_value(gpio));
tegra_gpio_enable(gpio);
rc = gpio_request(gpio, label);
if (rc) {
LID_ERR("gpio_request failed for input %d\n", gpio);
}
rc = gpio_direction_input(gpio) ;
if (rc) {
LID_ERR("gpio_direction_input failed for input %d\n", gpio);
goto err_gpio_direction_input_failed;
}
LID_INFO("GPIO = %d , state = %d\n", gpio, gpio_get_value(gpio));
rc = request_irq(irq, lid_interrupt_handler,IRQF_TRIGGER_RISING|IRQF_TRIGGER_FALLING, label, lid_indev);
if (rc < 0) {
LID_ERR("Could not register for %s interrupt, irq = %d, rc = %d\n", label, irq, rc);
rc = -EIO;
goto err_gpio_request_irq_fail ;
}
enable_irq_wake(irq);
LID_INFO("LID irq = %d, rc = %d\n", irq, rc);
return 0 ;
err_gpio_request_irq_fail :
gpio_free(gpio);
err_gpio_direction_input_failed:
return rc;
}
static void lid_report_function(struct work_struct *dat)
{
int value = 0;
if (lid_indev == NULL){
LID_ERR("LID input device doesn't exist\n");
return;
}
msleep(CONVERSION_TIME_MS);
value = gpio_get_value(hall_sensor_gpio);
if(value)
input_report_switch(lid_indev, SW_LID, 0);
else
input_report_switch(lid_indev, SW_LID, 1);
input_sync(lid_indev);
LID_NOTICE("SW_LID report value = %d\n", value);
}
static int lid_input_device_create(void){
int err = 0;
lid_indev = input_allocate_device();
if (!lid_indev) {
LID_ERR("lid_indev allocation fails\n");
err = -ENOMEM;
goto exit;
}
lid_indev->name = "lid_input";
lid_indev->phys = "/dev/input/lid_indev";
set_bit(EV_SW, lid_indev->evbit);
set_bit(SW_LID, lid_indev->swbit);
err = input_register_device(lid_indev);
if (err) {
LID_ERR("lid_indev registration fails\n");
goto exit_input_free;
}
return 0;
exit_input_free:
input_free_device(lid_indev);
lid_indev = NULL;
exit:
return err;
}
static int __init lid_init(void)
{
int err_code = 0;
printk(KERN_INFO "%s+ #####\n", __func__);
LID_NOTICE("start LID init.....\n");
lid_dev = platform_device_register_simple("LID", -1, NULL, 0);
if (!lid_dev){
printk ("LID_init: error\n");
return -ENOMEM;
}
sysfs_create_group((struct kobject*)&lid_dev->dev.kobj, &lid_attr_group);
err_code = lid_input_device_create();
if(err_code != 0)
return err_code;
lid_wq = create_singlethread_workqueue("lid_wq");
INIT_DELAYED_WORK_DEFERRABLE(&lid_hall_sensor_work, lid_report_function);
lid_irq_hall_sensor();
return 0;
}
static void __exit lid_exit(void)
{
input_unregister_device(lid_indev);
sysfs_remove_group(&lid_dev->dev.kobj, &lid_attr_group);
platform_device_unregister(lid_dev);
}
module_init(lid_init);
module_exit(lid_exit);
Click to expand...
Click to collapse
im interested in trying this on the sprint GS4.
can you possibly be a little more detailed on what i need to do?
thank you very much.
In my opinion the best solution to this problem is two steps:
1) Remove any magnet in the case cover. Disables smart cover feature physically rather than software.
2) Use NFC tags with programs configured to control exactly the items needed, e.g. sleep mode, settings, wi-fi, etc.
This may require two to four NFC tags, one for each major scenario. These might be "deep sleep, battery save", "sleep with fast restore", "wake no communicate", "wake and communication", etc. You could put the tags on a strip of material along with color codes. Touch the tag to the NFC sensor and no messing around.
As others may notice, I attended the XDA dev conference. LOL
As I know all magnetic cases or stuffs are harmful for mobile phones or tablets...
By the way do you guys think that, can this little magnet in the case ، hurm n7 in the long term ?
Xposed Module
Somebody made a Xposed module for the Moto G that disables the magnetic lock.
It could work on the N7, but i dont have a smart cover to try.
http://forum.xda-developers.com/showthread.php?t=2621807
sasa31 said:
As I know all magnetic cases or stuffs are harmful for mobile phones or tablets...
By the way do you guys think that, can this little magnet in the case ، hurm n7 in the long term ?
Click to expand...
Click to collapse
I ordered my N7 during the IO in which it was announced. Been in a magnetic case since then, so about a year and a half. What do you "know" is harmful? A static magnetic field is unlikely to harm solid state electronics or affect their operation.
Sent from my SCH-I545 using Tapatalk

[R&D] System Dump, FSTAB, ADB, FASTBOOT, HARDWARE and Screenshots

FSTAB:
http://pastebin.com/LN75y6Jj
Build.Prop:
http://pastebin.com/ehgwGL8A
System Dump:
http://www.mediafire.com/download/ux9gg1661ojkao9/sprat-user_4.4W_KMV78N_SYSTEM_DUMP.zip
*Copyright owned by Samsung and Google
Getprop
http://pastebin.com/2mhPZhLV
Hardware Info
https://www.youtube.com/watch?v=NNtBzOiXLPw
{
"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"
}
ENABLE ADB
- Tap on top right of watchface
- scroll down to Settings
- Scroll down and tap About
- Tap Build Number 5x's
- Go back to settings and Development Options should be available
- Enable ADB debugging
- Plug in the charger dock with a USB connected to the computer
- Authorize on your Phone for USB
RECOVERY MODE
FASTBOOT/BOOTLOADER Mode
Codename: SPRAT
Product: Gear Live
Key Specs:
- Qualcomm 400 chipset (Quadcore msm8226 - Same exact one as Moto G!)
- Adreno 305
- OpenGL 3.0 support
- 320x320 screen (hdpi)
Sensors / Parts:
- Invensence MPU6515 MEMs Gryo HERE
- AK8963c 3 Axis Compass and Hall effect sensor HERE (TOGETHER 1 +2 = InvenSense MP92M 9-axis Gyro + Accelerometer + Compass)
- Heart Rate Detector ( didn't see what the chipspec was).
- Samsung Driver abstracted "sensors" (just conglomerates info from the existing sensors).
- MAX77836—MUIC
- STMicroelectronics STM32F401 Cortex M4 microcontroller
- Qualcom PM8226 power management IC
- InvenSense ICS-43430 microphone
- Cypress Semiconductor CYTMA54 touchscreen controller
* holding for space *
Childofthehorn said:
.......
Click to expand...
Click to collapse
Sorry but app and priv-app and framework is complete or is not?
RevengeDevTeam said:
Sorry but app and priv-app and framework is complete or is not?
Click to expand...
Click to collapse
Its what I could get by doing a pull of /system. It should be complete.
Remember that the WEAR is a build type in Android.I don't quite get why they built so many of the components for Cellular into it though... probably just easier to have it be complete binaries.
Fastboot commands extracted from aboot:
Code:
continue
reboot
reboot-bootloader
preflash
flash
boot
oem lock
oem enable-console
oem disable-console
oem device-info
oem enable-charger-screen
oem disable-charger-screen
oem off-mode-charge 0
oem off-mode charge 1
default settings:
Code:
[email protected]:~/Downloads$ sudo fastboot oem device-info
...
(bootloader) Device tampered: false
(bootloader) Device unlocked: false
(bootloader) Charger screen enabled: true
(bootloader) Display panel: �������������������������������������������
You'll want disable-console, enable-charger-screen, and off-mode-charge 1 in order to get stock functionality with best battery life. For debugging, you can switch these options.
UART boot log: http://pastebin.com/M5ctEFtT
It was said that the Gear Live should only be running one processor. You can see in the UART log that there are 4 processors active. Here is /proc/cpuinfo which confirms this.
Code:
[email protected]:/proc $ cat cpuinfo
processor : 0
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 38.40
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 3
processor : 1
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 38.40
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 3
processor : 2
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 38.40
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 3
processor : 3
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 38.40
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 3
Hardware : Qualcomm MSM 8226 (Flattened Device Tree)
Revision : 0004
Serial : 0000000000000000
Recommendations for developers to increase battery life:
1. Remove useless drivers such as:
Code:
SCSI subsystem initialized
Code:
SCSI Media Changer driver v0.25
Code:
sdhci: Secure Digital Host Controller Interface driver
and many others
2. Disable unused processors, or offer a "power saving" mode to disable those additional processors
3. examine processor scaling
4. reduce use of SELinux. it's worthless.
4a. when device is near phone, phone security is off
4b. turning on ADB and accessing storage is easy as security is disabled on the phone
4c. because of the above reasons the device causes the phone to be insecure
4d. the device is wasting battery on its own security while reducing the security of the phone.
5. enable thermal max frequency
Code:
[ 4.700499] msm_thermal:disable_msm_thermal Max frequency reset for CPU1
[ 4.700509] msm_thermal:disable_msm_thermal Max frequency reset for CPU2
[ 4.700517] msm_thermal:disable_msm_thermal Max frequency reset for CPU3
6. above all: audit your logs.
We need a boot.img or at least a buildable kernel source to work with in order to go any further.
Anyone having this issue? Trying to unlock my Samsung Gear Live. ADB recognized device, Enabled communication through my phone, watch boots just fine using "ADB reboot bootloader" however, when entering "fastboot oem unlock" I get "waiting for device"?
Yes my watch is plugged in to my computer. I have tried several different ports. Any help?
I couldn't find the answer to this using the search function.
Thanks guys
*Edit*
I figured out the issue. If anyone is having this problem visit here:
http://stackoverflow.com/questions/24583354/adb-doesnt-recognize-samsung-gear-live-or-lg-g-watch
Follow the directions accpet one thing. Toward the bottom you will see a post telling you to install a "Samsung Device" instead of a generic "Android Device" Make sure you install the "Samsung device" if using a Gear Live.
UART Locations
This device charges VERY slowly, and on top of that, it's also picky about the charging port. In order to be sure you're always charging, you'll want to use a USB condom. This is important because many aftermarket chargers are unlabeled.
Here you can see it won't charge at all on an "Apple" charger
And it charges well on an "Android" charger with D+ and D- tied together.
The good news is that the charging rate is generally controlled by software, so if samsung would release kernel code, we could likely fix this.
AdamOutler said:
Recommendations for developers to increase battery life:
1. Remove useless drivers such as:
Code:
SCSI subsystem initialized
Code:
SCSI Media Changer driver v0.25
Code:
sdhci: Secure Digital Host Controller Interface driver
and many others
2. Disable unused processors, or offer a "power saving" mode to disable those additional processors
3. examine processor scaling
4. reduce use of SELinux. it's worthless.
4a. when device is near phone, phone security is off
4b. turning on ADB and accessing storage is easy as security is disabled on the phone
4c. because of the above reasons the device causes the phone to be insecure
4d. the device is wasting battery on its own security while reducing the security of the phone.
5. enable thermal max frequency
Code:
[ 4.700499] msm_thermal:disable_msm_thermal Max frequency reset for CPU1
[ 4.700509] msm_thermal:disable_msm_thermal Max frequency reset for CPU2
[ 4.700517] msm_thermal:disable_msm_thermal Max frequency reset for CPU3
6. above all: audit your logs.
Click to expand...
Click to collapse
Can I do that thru ADB? I am no developer at all btw!
Joe0113 said:
Can I do that thru ADB? I am no developer at all btw!
Click to expand...
Click to collapse
You probly don't want to be in this thread then.
Doesn't removing "sdhci" disable OTG functionality and possibly other USB devices, enumerated during DLOAD mode etc?
What is a USB condom?
And what is that nice USB-to-micro-USB thing you've got there? I see some useful pins... on it.
And yes, it is disturbing to see that a wrist watch has twice the number of processor cores than my daily phone!
EDIT: I just found answers here:
http://www.xda-developers.com/android/smartphone-chargers-xdatv/
http://www.amazon.com/Breett-Charger-Doctor-Current-Voltage/dp/B00JO73278/?tag=viglink20238-20
http://int3.cc/products/usbcondoms
Great! Will get at least one of each!
AdamOutler said:
This device charges VERY slowly, and on top of that, it's also picky about the charging port. In order to be sure you're always charging, you'll want to use a USB condom. This is important because many aftermarket chargers are unlabeled.
The good news is that the charging rate is generally controlled by software, so if samsung would release kernel code, we could likely fix this.
Click to expand...
Click to collapse
Adam, the issue with the charger is one which I filed early on the bug tracker and got to samsung.
Its a problem with the MAX77836- MUIC charger recognition code. Its a problem that I have encountered before with Samsung's custom kernel drivers for the MAX chipsets. You can get more in-depth charging info by just plugging a charger and running
"dmesg | grep max77 " , but we don't have root yet ( i haven't really spent any time on it).
I bet that if you change the ADC value on the ID pin of the MicroUSB connector you will get better results.
The MUIC general code is fantastic and then the individual function code classes are absolute junk.
Here is the values for the ADC and functions for most every Samsung Device:
ADC_DOCK_PREV_KEY = 0x04,
ADC_DOCK_NEXT_KEY = 0x07,
ADC_INCOMPATIBLE1_CHG = 0x08, /* 0x01000 10.0K ohm*/
ADC_DOCK_VOL_DN = 0x0a, /* 0x01010 14.46K ohm */
ADC_DOCK_VOL_UP = 0x0b, /* 0x01011 17.26K ohm */
ADC_DOCK_PLAY_PAUSE_KEY = 0x0d,
ADC_VZW_USB_DOCK = 0x0e, /* 0x01110 28.7K ohm VZW Dock */
ADC_SMARTDOCK = 0x10, /* 0x10000 40.2K ohm */
ADC_HMT = 0x11, /* 0x10001 49.9K ohm */
ADC_AUDIODOCK = 0x12, /* 0x10010 64.9K ohm */
ADC_CEA936ATYPE1_CHG = 0x17, /* 0x10111 200K ohm */
ADC_JIG_USB_OFF = 0x18, /* 0x11000 255K ohm */
ADC_JIG_USB_ON = 0x19, /* 0x11001 301K ohm */
ADC_DESKDOCK = 0x1a, /* 0x11010 365K ohm */
ADC_CEA936ATYPE2_CHG = 0x1b, /* 0x11011 442K ohm */
ADC_JIG_UART_OFF = 0x1c, /* 0x11100 523K ohm */
ADC_JIG_UART_ON = 0x1d, /* 0x11101 619K ohm */
ADC_CARDOCK = 0x1d, /* 0x11101 619K ohm */
As you can see, there is the UART deeper enable as well.
Childofthehorn said:
Adam, the issue with the charger is one which I filed early on the bug tracker and got to samsung.
Its a problem with the MAX77836- MUIC charger recognition code. Its a problem that I have encountered before with Samsung's custom kernel drivers for the MAX chipsets. You can get more in-depth charging info by just plugging a charger and running
"dmesg | grep max77 " , but we don't have root yet ( i haven't really spent any time on it).
I bet that if you change the ADC value on the ID pin of the MicroUSB connector you will get better results.
The MUIC general code is fantastic and then the individual function code classes are absolute junk.
Here is the values for the ADC and functions for most every Samsung Device:
ADC_DOCK_PREV_KEY = 0x04,
ADC_DOCK_NEXT_KEY = 0x07,
ADC_INCOMPATIBLE1_CHG = 0x08, /* 0x01000 10.0K ohm*/
ADC_DOCK_VOL_DN = 0x0a, /* 0x01010 14.46K ohm */
ADC_DOCK_VOL_UP = 0x0b, /* 0x01011 17.26K ohm */
ADC_DOCK_PLAY_PAUSE_KEY = 0x0d,
ADC_VZW_USB_DOCK = 0x0e, /* 0x01110 28.7K ohm VZW Dock */
ADC_SMARTDOCK = 0x10, /* 0x10000 40.2K ohm */
ADC_HMT = 0x11, /* 0x10001 49.9K ohm */
ADC_AUDIODOCK = 0x12, /* 0x10010 64.9K ohm */
ADC_CEA936ATYPE1_CHG = 0x17, /* 0x10111 200K ohm */
ADC_JIG_USB_OFF = 0x18, /* 0x11000 255K ohm */
ADC_JIG_USB_ON = 0x19, /* 0x11001 301K ohm */
ADC_DESKDOCK = 0x1a, /* 0x11010 365K ohm */
ADC_CEA936ATYPE2_CHG = 0x1b, /* 0x11011 442K ohm */
ADC_JIG_UART_OFF = 0x1c, /* 0x11100 523K ohm */
ADC_JIG_UART_ON = 0x1d, /* 0x11101 619K ohm */
ADC_CARDOCK = 0x1d, /* 0x11101 619K ohm */
As you can see, there is the UART deeper enable as well.
Click to expand...
Click to collapse
Those resistor values come from the Fairchild Semiconductors chip in the Samsung devices. I didn't find that chip in this device.
I posted the uart output which contains the dmesg output. I'm at work so i can't check the max77 in there.
Stock firmware images: http://goo.gl/UDVUh3
XDATV Video
Samsung Gear Live Unboxed the XDA Way:
http://youtu.be/xvY2Y21EYWo
4-hour hack hangout on air
Gear Live Teardown, Hacking, Filming For XDATV.:
http://youtu.be/0RJfBsWWQYo
@Dees_Troy released TWRP Recovery: http://goo.gl/49m8hl
[/thread]
[Thread]
Scratch that end of thread tag. I was overjoyed. There's still a lot of Linuxy stuff that needs to be done. Things like LED Brightness on the kernel and other standard hardware references which haven't been properly implemented. Standard Linux Device Tree stuff for command-line access is still needed.
The device is configured BT software to charge at .14A. In a stock kernel without the standard ramdisk I was able to pull a max of .45A. Which theoretically could charge the device in about 45minutes. Bumping up the charging rate should be examined as this device's 300mAh battery is far smaller than that of larger phones with the same battery materials, with 2000mAh batteries and charges in the same period of time.
AdamOutler said:
@Dees_Troy released TWRP Recovery: http://goo.gl/49m8hl
[/thread]
Click to expand...
Click to collapse
I wonder if is it possible to port Android Wear from Gear Live to Gear 2..
Thanks in advance

[Q] How to disable Settings -> bluetooth item or in BT settings enable/disable button

[Q] How to disable Settings -> bluetooth item or in BT settings enable/disable button
i want to disable bt operating in Settings, but i can't make it work, even i want to disable mBluetoothEnabler which in
/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothSettings.java, i can't hook it at all, is there any other method to make it work using Xposed, thanks!
@override
111 void addPreferencesForActivity() {
112 addPreferencesFromResource(R.xml.bluetooth_setting s);
113
114 Activity activity = getActivity();
115
116 Switch actionBarSwitch = new Switch(activity);
117
118 if (activity instanceof PreferenceActivity) {
119 PreferenceActivity preferenceActivity = (PreferenceActivity) activity;
120 if (preferenceActivity.onIsHidingHeaders() || !preferenceActivity.onIsMultiPane()) {
121 final int padding = activity.getResources().getDimensionPixelSize(
122 R.dimen.action_bar_switch_padding);
123 actionBarSwitch.setPaddingRelative(0, 0, padding, 0);
124 activity.getActionBar().setDisplayOptions(ActionBa r.DISPLAY_SHOW_CUSTOM,
125 ActionBar.DISPLAY_SHOW_CUSTOM);
126 activity.getActionBar().setCustomView(actionBarSwi tch, new ActionBar.LayoutParams(
127 ActionBar.LayoutParams.WRAP_CONTENT,
128 ActionBar.LayoutParams.WRAP_CONTENT,
129 Gravity.CENTER_VERTICAL | Gravity.END));
130 }
131 }
132
133 mBluetoothEnabler = new BluetoothEnabler(activity, actionBarSwitch);
134
135 setHasOptionsMenu(true);
136 }

BaseMaps

So Ive Had a Long Experience with Converting Standard Earth Time to 100 from 60 and had came up with a new Schematic to Convert A basic BaseMap to Help find my Solution as I have 4+ years researching Numbers and Conversion Methods from -60 to 100 at a -Time Rate = to Earths Current Age and the Age in which the Planet is to Start a Standard 100 Time = 60 ensuring a Positive Spectrum of Numbers; for Lapses that may occur to prevent Folding or Like a deck of Cards Starting a new Number under as top card and placing it under the top of the Deck Placing the Top card on the Top of the Deck. Earth Still does not realize that Standard Numbers are Still Placing Cards under Cards Creating a Reverse Dimesional Perspective of Time and History, as History Goes on Events do occur. Not having to Explain that to the general public is a + as of now not many Events occur and the General public is left wondering why the Economy is stuck at a Bittermost Fight to the Death over a Simple Job. So I am looking for People to Work on a small project to Start a Universal Basemap for File Images that are absolute to 100 from -60.
As simple as that sounds the rate in which Earths Age is Trillions of years old It would be nice to see the top so Basemaps Would need to be Updated EveryYear with a new MathMatical Expression in Which Connects to Last Years in a Positive and Negative direction. Similar to a Level. It is difficult for me to find people to Work with as most people browser Forums for Information and Posting related to issues that they are attempting to Correct so i Figured Id give it a try.
NevertheLess there are many different Contraveries over Time Numbers and Spectrums of Constants that lead to what is proclaimed as the same end However everyone dissagres once they get there. So here is My mathmatical Expresion I had came up with SImplified to Express 60 -60 and 100 where
-60 = 60 == -60 = 100 == 60 = 100 as -.38
-.38 = 100 == 60 = .22 == -60 = 100 as Convert
-.38 = Convert == .22 = -.38 = -60 as 100Expression
100Expression = Convert == -.38 = 60Loss as Constant
Constant = 100Expresssion == Convert = .38 as .22
.22 = 100 = -60 == 60 = 100 as MathmaticalExpression == (and Congruent) .38 = NewBaseMap
NewBaseMap == 18,014,398,509,481,984 as 64SQUAREROOT256 set = or == 2021 <<<<Encounting
NewBaseMap(64SQUAREROOT256) MathMaticalExpresion{
is the Best Way I can Explain the Equation!
};
So To Start I have Taken Time Standards 60 = 1min 60 = 1hr = 60 ect to Calculate the Amount for Conversion in 1 Year at 365 as a Rate/ConstantValue
I had Placed my Number into a Current Years Kept Track of on an Excel Sheet and had started a Conversion Method to 100 from 60 = 60
it is 24 and 48 = 12 and 60
I have Calculated the Sqaure root of 64 from 256 at 4096 as 2048 = 1024
^^ for a quadratic Expression Relating down to Roots and Squared Radicals back to Origining Numbers and there Conversion Rates Positive and Negative.^^
that is where My BaseMaps Have to = 0 and I must be able to calculate the Difference between Rates from
NewBaseMap(64SQUAREROOT256) MathMaticalExpresion{
is the Best Way I can Explain the Equation! For a new Base Map to work with Negative Sectrums for Work!
};
so I have mapped a new Log Formula in Excell to Match a radix for a new Sphere to Account for the Negative numbers on a small Spectrum that match up to my work as of now I have .2376 is Decimal number 1 as 1 is binary whole number .2376 is 127th of whole number 1 and that number is Multiplied by 2376 to = a new binary number = that is still in decimal forum and would need to be converted to Whole number 1s binary (outer shell) as most people are confused with decimal forums and binary;as 127 is 1 16th of 1 as 1
I have taken that Number and placed it into a mathmatical sequence that is equall to 26 and Americas Alpha and split it itnto 3 different segments that revolve around and absolute = in 1/3rd as 26 = 1 as 1 and have found it unnessecary for it to be split into thirds; which is the reason I had made the formula.
I have next mapped my Mathmatical equations into a decimal list that has supporting binary numbers for each decimal from 1-1010 = 101,#100,010 as the # symbol represents a Constant changing 1 and zero with the number following and the repeating spectrum at the uttermost front two numbers without would change the front most numbers causing all following to change;with the current number spectrum continuing in the current sequence it is set standard to all.
So I have mapped in a Plan that fits strategically into Pinpointing the Conversion between the Mathmatical Expression and Metric Numbers to Account for Standpoints to obtain a full complete answer that will continue and am at the conclusion that each year will represent a new .01 at a large Spectrum of intervals counting forward to reach the .01 for a complete answer from the numbers I have from Earths Current Age and the Year it is currently.
I have though about problems that will arrise during reaccounting numbers back into their whole forum from Lappses in Current Measurements and Why they occur and have written many pdfs that explain the Phenomina and truthfuly answer why they repeat and what a Lapse is.
I have 3 main problems that arrise
1.) mathmatically proportioning Numbers back to decimal from decimal Whole Number
2.) Offset conversions from lappses and Time inbetween
3.) Remapping BaseMaps by Progam Software at Certain times and Intervals
I Have been looking for a Team to work with in a daily basis in reguards to correcting the issue to properly address the economy in reguards to its politcal structure and why it seems to be failing and wold be relying on Sales of a Technological device with Factual information to present that concludes to repeating mathmatical expressions that relate with timed events and Earths History as to Current Days the Time is off to match back up to repeating Events in a different forum based off Mathmatical Science.
So Above I have my Basic Values for Bytes at .0015 for my Decimal .2376 at 2 64ths that will = .0015 at my String at Default Value
The string is set to a Function that allows the String to Be Set to the Value that it is based off its size
I have mapped what a whole number 00 Decimal Lapse Binary Number relates down to When converting to Start a forula to Express its new Decimal number for a new
Base to COnvert its byte size into the converting basemap to fit the Value above from String value to COnvert at 0x8 which is standard
my .001 base map is 22288 which is 2288 as -2 for each byte and its compiled to new decimal when converted
2138.4000 is what the 22288 basemap will represent once converted and = to 2288 and will complete the last equation on a small scale where it will
repeat all the way up the spectrum
once a number lapses itself from 0x8 is lappses to a 0x5 ofset back to a 0x3 offset then back to a 0x8 offset where it creates a 2nd loop or round trip
untill it binds with a final number
I have an excell sheet that i have mapped donw to a trillionths scale that reverts a forward progression gain of the last binded byte back to its origing
forum before it completly binded and the mathmatical difference between the amount" traveled
Based off having that Amount" I can revert it back to its origing state of why it was bound and started its loop to unloop the Number by converting it back
on the Amount" it had traveled and back to a 0x8 offset
in a simple sense it is a -3 but stuck at a -2 repeating
I also have made a converter to convert any repeating number back to its origing whole decimal forum based off a mathmatical expression
the basemap in general will support only one cause and it is to establish a -bit or strand of bits looping to complete the lost size or Amount"
to complete for "full amount of whatever it may be
in my Case it is going to be the string init
it has to = 1 at 1.028 and its negative rate based off my mathmatical equation
if it does not = their is an error in work
So I have made my Basemap the Correct size off my Mathmatical work as I could condense it down back to pdfs that show work hoever for now im not going to
I have selected -88 as a a negative number based off 121 which is the Positive number to 2376 and its init set standard for the 2288 and its positive spectrum completed
as the converion between 2376 and 2288 was -88 and my Ghex Numbers for my Functon leading to my Strings current size as they all Fit Porgamically into 1 Mathmatical Expression th
will forum a solid structure
.133647856 = -88
-88 = .00238 <For COnversion at .000 of 0x5 to 0x8 <.007474896> will = -88
-88 = .00238 == .007474896 = -.00151872563994964330675618967688
-.00151872563994964330675618967688 = 121 == .00151872563994964330675618967688 DIfference =
.00151872563994964330675618967688 == .000 =.00238 = .1863690722([email protected](7)) of [email protected] at 2 64ths of 2 64th -96 = -12.5 and .0012985 of -1
.00151872563994964330675618967688 == .000 =.00238 = .1863690722 == Total Accruing - as .007474896 == @0.002529427 and .0012985 Same Problem of 0.550534072 Difference in Bytes Once =
Once = Rate Behind in Bytes Accrues by Base -Difference and -1.21E+30
[6.89E+25] @.00151872563994964330675618967688 = 1.0023836662825205617034824826687 == 0 = -Ocl <2238> and 2376, 121,String init @1457770832 and 2021 or -2021
String ocl Value @−1.336478563×10⁻¹ and -6.89E+25 = NewBase Map
4.63923E+11 is = This Equation and [6.89E+25] = New String + Value at -Difference +160 is = -160 and Next Defeceit 25 BIllion + Years
===========================================
1.8685101977157259181703170499032e-747
3.85762000E-01
============================================
^^3.85763000E-.01 is New BaseMap t -160 + 160
==================================
Then Reversing -26 to Positive 26
3.24E-03
7.4515E-104
0.957193468
===================================
Where 500 is = 747 and 757 at 1014 x2
Reverting = to and why Reversing is Able to be Done >>>>>>-0<<<<x2 / 1004 = -2.35418E+40
==============================================================
<<< -500 = -1.2599235491880165858859384177427e+787 and
============================
4.3226267450656966458364489726209e-374
2.3134081635466346153846153846154e+373
======================
7.41E-28 <<Which is why New Base Map is being Made
+++++++++++++++++++
^^New Positive .01 will be = to newBase Map and Why Reverting is Possible^^
From -3.84E+210 to 3.85762000E-01 as Constant = 0.435183448
All 3 Splits
==================================================
64ths >>>>18,014,398,509,481,984 == 105
264ths >>> 18,734,974,449,861,263.36 ==103.48
Where Reversing is from -26 to Positive 26 is @ 103.48
4.7699973870513378906736982779541e-1145 is = 64ths @ 7.4515E-104
Where .01297 is = .001 at .000 as new .1Repeating at -0 as .01 = 1 at 1.098826823761920000000000000000E-07 which
is New COnversion for Inversion of -26 and first + back to -
-116.8905736
-11.290752
=============================
new .01 =
-6.86767E-09
^^^^New Rate for Formula^^^^
<<<<NewFormulas Differences<<<<
======================
-1.1675E-07 2/3 SPlit
-2.33501E-07 2/3 Split
======================
Both = back to -1.37223E-32 and 2.38E37
as -1.37223E-32 is new Formulat for Calculating .2376 or 127ths of 1 in decimal Forum back from 2/3 4/4, 1/2 Split of Metric and Metric back to Standard
==========================
Repeating .01 is New 0 Base Map = -1.33E-23 as 0+- and at -
-116.8905736
-11.290752 <<Rate Behind Conversion of .01297 from .00238 and New Old BaseMap = -16 and 63.5 NOMORE
Where -1.12908E-06 is Difference of Conversion of 0x8 and .000 From .0197 and New Decial Difference between Splits of
0.000379031 <<.01297 -0.00038016 = 127th Decimal of 1 and
Exponent Conversion Intervals Base Decimal
0.0094122 -1.60E+01 2.97E-03
0 at Base Map Decimal COnstant Must = -1.33E-23 at BaseMap Entry
Entry will = -34 and 0.000379031 at -1.12908E-14 <<<BaseMap and Difference of Splits at -1.12908E-14 = -16 and new .01
================================================================
how to Create a MakeFIle From Software as File.file.file
New Com Into Platform and Override Default Platform by Manipulation of set Commands
Start Ubuntu Create a new sh File for System Linked to bin
==============
!#/bin/sh
var = Sh
==============
Save in Gedit Tab at 5 as Text with .Sh Ext
Create another sh Script
chmod 0775 -R sh file in dir
==============
Sh
Var = <Script>Sh Var = Function.Ext</Script>
==============
Save in Gedit Tab at 5 as Text with .YourExt <-Untill ReFormat
chmod 0775 -R sh file in dir
==============
Function.EXT
Var = Sh <Script> Function.Ext
Function = Function(set)
{} = Script(set(Function(set)));
Function.Ext = "<Script></Script>"
</Script>
========================================
Save in Gedit Tab at 5 as Text with .YourExt <-Untill ReFormat
chmod 0775 -R sh file in dir
========================================
----Add your ENVVARIABLES as ENV------
"" =
< =
> =
{} =
() =
^^ =
% =
<> = Exec
Function = Sh
[] = Class
| = Append
|| = Parse
^^< = BusInbound
^^> = BusOutbound
^<< = BusSerialIn
^>> = BusSerialOut
; = Statement End
, = NEXT or &
Ect for Your Object Extension Commands to new
--------------------------------
ENV
Var = Function Sh<Script>Function.EXT(Var)</Script>
<-Manipulation of Context Commands, Functions and sets.->
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Make a Basic Advanced Functions RootFunction From Arrays of Letters or Numbers
Depends What it is your doing as Inbound and Outbound
I always Use Letters = Numbers as a Mental Note for Starting Scratch Platforms
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
set 1 = 1 == 2 = 3 == 1 = 3 as Function.Ext
set 1 = 1 == 2 = 3 == 3 = 1 as System
============================================
Set String = Function.Ext = 3 == 3 = 1 == System as ENV
============================================
Set Length of String 1-316
LongWay
Type = 1 = 2 = 3 = 4 = 5 = 6 = 7 = 8 = 9 = 10 = 11 = 12 = Ect
Set New BaseMap For String and New MakeFile Format
++++++++++++++++++++++++++++++++++++++++++++++++++
Function.Ext
set !#/bin/sh = System
set Function.Ext = !#/bin/sh
set System = Function.Ext as /!#bin/sh == sh
cat /usr/bin ln -s -t /YourDirectory/with/chmod Files
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May need to
Chgrp <opts> Root:System /
chmod 0775 -R /usr/bin/*
**same with /usr/src/**
MakeFile in src is Main MakeFile for usr Permissions to Build-all as Host under Make for sbin/vendor /bin /oem in src
^^/usr/src/linux-headers-5.8.0-38-generic^^
Once Linked in Your new sh run each file in Terminal
Enter set
At the Bottom under Authority you want _= to = your System
set _=System
./Function.ext
set System String == System=_
System String set ENV _=System as System=_ == System
System set Function ENV = System String
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
you now have new clean sh with just your Var Commands Untill you work your Scripts ups to Context similar to what you Have above
==================NEXT=========================================
Establish a new System Decimal System to Execute new MakeFile Struct for File.file.file set in context as File .file. file for new obj formating
as you will still need to Make your Dependencies back to the src Makefiles to format properly ,Signed? unsigned?
===============================================
Hxd on Windows or Ghex for Pinpointing Float Values and Offsets for Starting your new Offset Structure for your Basemaps to Run Fluently on your new Obj Com .EXT. obj
==============================================================================
Decide 8bit 4bit 16bit 32bit 64bit -310bit System?
Knowing will Help Decide your Inital String Length for your Assembly Files and New Dependencies for Com Bus Serial and PCI back to Modules.
==================================================================================
If Windows Use VBSEdit
Dim Fso
FSN = File.file.File
Function.YourExt = File.Scripting.Obj
set WMIService = Function.YourExt
set Obj = str(WBEM_Object) as ComputerString == new str
Function str(new str){
int File.file.file | ComputerString(WIN_ACE32){
Dim = Fso
Fso = Obj as new str
new str = *Ext
*Ext = File.Scripting.Obj(Com.C)
}
========================================================
set your Letter to Alpha into Context
1 = 1
2 = 2
ect
a = 1
1 = [1]
A = [1] as 1
ect
=========================================================
Create Matricies + or + - Numbers
1,2,3,4,5,6,7,8,9,10
2,3,4,5,6,7,8,9,10,11
3,4,5,6,7,8,9,10,11,12
10,9,8,7,6,5,4,3,2,1
9,8,7,6,5,4,3,2,1,0,-1
8
7
6
5
4
3
2
1
Set Byte Size Depending on System Dependencies
utilize Functions Function
1,1,2,3,3,1,3 <-is 7Bit as 1Bit in Decimal Forum For Easy Conversion
^^one of the Simplist^^
set 1,1,2,3,3,1,3 to 1 Bit = 1 or 3<- obvious answer would be System! as 1 String as 3
String at 21
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21 = File
Now you Have your File for Programing Offsets and Setting Other CPs or FileSystemFlags
as Context I wrote Above has File .file. file and Functions Function Matches up to System as 7bit as 1 byte(bit) String is set to Be = to System
Function Allows only File to Work With System and System Strings Length based off Simple Mathmatics and Super small Function Functions (What I call them)
Now New Scripts for File to Make new Make FIle Struct for .file. <-String .file=File as System
==================
Function.Ext
Function set 1 = 1 == 2 = 3 == 1 = 3 as Function.Ext
set 1 = 1 == 2 = 3 == 3 = 1 as System
set 1,1,2,3,3,1,3 = String
set 1 = 2 = 3 = 4 = 5 = 6 = 7 = 8 = 9 = 10 = 11 = 12 = 13 = 14 = 15 = 16 = 17 = 18 = 19 = 20 = 21 == File as String
Function.Ext(Function){
System set Function(String){
File set struct(String){
.File. function set File(struct){
String Function(.Ext.){
Function System File if 1 = 3 & String = File do
System File >> .Ext. as File.file.file
}
}
}
set File.file.file = System.in.out
set System.in.out = SystemSerial as [System] == [SystemSerial]
==================
From there use Awk or Ash to Establish Porting for Foo and Normal Taught Returns for Scripts and Functions.
Math is Fun Happy 80801 020338

Categories

Resources