General :: Enable Tether On Boot With Init Script?

Aug 30, 2013

All tutorials out there use script manager to enable tether on boot. I would like to avoid cluttering and make an init.d script to run each reboot.

My current syntax is:

#!/system/bin/sh

-A natctrl_nat_POSTROUTING -s 192.168.0.0/16 -o rmnet0 -j MASQUERADE

but this isn't working...

General :: Enable tether on boot with init script?


HTC EVO 4G :: Access Control Enable Purpose On Wireless Tether

Sep 19, 2010

what does the access control enable purpose on the wireless tether i have mine disable.

View 1 Replies View Related

Motorola Droid X :: Enable - WiFi Tether - App And Phone Froze

Aug 1, 2010

Do you enable WiFi and then begin tethering or do you just open the tether app? The reason I ask is because I enabled WiFi and then opened the tethering app and my phone froze.

View 1 Replies View Related

General :: Recovery Has Different Init - CWM Can't Work

Feb 28, 2013

I have used my own graphics.c and postrecoveryboot.sh!But, after installing cwm recovery.img, it did not work!

Having this log:

Starting recovery on Wed Feb 27 20:14:47 2013
cannot open fb0: No such file or directory
CWM-based Recovery v5.0.2.8
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null)
1 /boot mtd boot (null)
2 /cache yaffs2 cache (null)
3 /data yaffs2 userdata (null)
4 /misc mtd misc (null)

[Code] ......

I:Checking for extendedcommand...
active fb swap failed: Bad file number
I:Skipping execution of extendedcommand, file not found...

View 8 Replies View Related

General :: Init Asking For Root From SuperSU

Mar 10, 2013

Application "init" ask for root from SuperSu? I just did, and denied it, but I've never seen it happen before. Is this normal?

View 6 Replies View Related

General :: Error During Repo Init - Public Key Not Found

Oct 7, 2013

After I ran the curl to install the latest version of repo, when I attempt to run a repo init I get this error

Code:
dan@dan-laptop:~/aokp_jb$ repo init -u https://github.com/AOKP/platform_manifest.git -b jb-mr2 -g all,kernel,device,vendor
gpg: keyring `/home/dan/.repoconfig/gnupg/secring.gpg' created
gpg: keyring `/home/dan/.repoconfig/gnupg/pubring.gpg' created
gpg: /home/dan/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 920F5C65: public key "Repo Maintainer <repo@android.kernel.org>" imported
gpg: key 338871A4: public key "Conley Owens <cco3@android.com>" imported
gpg: Total number processed: 2

[URL ......

repo 1.12.4

gpg: Signature made Tue 01 Oct 2013 12:44:27 PM EDT using RSA key ID 692B382C
gpg: Can't check signature: public key not found
error: could not verify the tag 'v1.12.4'

View 3 Replies View Related

General :: Unable To Get Device-added Init Action Trigger To Fire

May 20, 2012

I've been doing alot with the initialization routines in android just lately .

For all my efforts I have been unable to get the device-added init action trigger to fire,

Just to be clear this is set in init.rc and looks like the following,

Code:
on device-added-/dev/compass
start akmd

The above is taken from the init readme file which contains an example init.rc at the bottom

I did some further research and a quick search of the AOSP code. This revealed that the functionality is yet to be implemented. which obviously explains why the trigger wasn't being fired . The device-removed and service-exited triggers are also missing.

View 1 Replies View Related

General :: Android Boot Sequence And Backup / Access To Boot / Recovery Partitions?

Oct 4, 2012

I try to understand android boot sequence on my JB (under CM10). I found some docs and there should be specific partitions (boot, recovery, system, cache, data).

My understanding of the boot sequence is now:

A) normal boot:
1) Power ON ->
2) bootloader ->
3) boot-partition where i flashed the kernel aka boot.img ->
4a) system-partition with the OS (libs, UI, etc) where i unpacked over CWM my customROM.zip ->
4b) data-partition, where i unpacked google-apps.zip and installed all the apps ->
4c) cache-partition with user data

B) recovery boot (adb reboot recovery):
1) Power ON ->
2) bootloader ->
3) recovery-partition with CWM where i may unpack all the .zip stuff to proper partitions, or restore from sdcard, etc.

Is this correct? I wonder, because i didn't installed CWM into recovery-partition. It cames from install of CM10 (fastboot -i 0xfce flash boot boot.img), so it must be in boot-partition and not in recovery?

So, next confusion: i looked up to /proc/mtd and i don't see neither boot nor recovery partition here:

Quote:

# cat /proc/mtd
dev: size erasesize name
mtd0: 19000000 00040000 "system"
mtd1: 00600000 00040000 "appslog"
mtd2: 06580000 00040000 "cache"
mtd3: 1a400000 00040000 "userdata"

I did a backup with CWM and loocked the data. There aren't boot, and recovery backups:

Quote:

# ls -lha /sdcard/clockworkmod/backup/2012-10-04.18.49.55/
d---rwxr-x 2 system sdcard_r 4.0K Oct 4 18:56 .
d---rwxr-x 3 system sdcard_r 4.0K Oct 4 18:49 ..
----rwxr-x 1 system sdcard_r 1.6K Oct 4 18:54 .android_secure.vfat.dup
----rwxr-x 1 system sdcard_r 54.6M Oct 4 18:55 cache.yaffs2.img
----rwxr-x 1 system sdcard_r 360.2M Oct 4 18:53 data.yaffs2.img
----rwxr-x 1 system sdcard_r 212 Oct 4 18:56 nandroid.md5
----rwxr-x 1 system sdcard_r 214.6M Oct 4 18:51 system.yaffs2.img
#

So, i think i didn't understand the boot sequence and partition schema corectly.

View 2 Replies View Related

General :: How To Interrupt Android Boot Sequence To Force It Boot To Linux Kernel Only

Sep 12, 2013

I am trying to do some low level performance testing related to device processor cores through adb which I feel it is affected by Android background services and system stuff.

As I know that the Android boot sequence stages are as follow:

1.Execute Boot ROM code.
2.Execute the boot loader.
3.Load the Linux kernel.
4.Launch Zygote, which initializes the Dalvik VM.
5.System server which loads the Android system.

So my question is how can I interrupt this sequence to force it stop on stage 3 to load Linux kernel. This can implement my intermediary performance testings before loading again Android system.

Does Fastboot or Clockworkmod recovery can load my device to a kind of Linux kernel?

View 2 Replies View Related

General :: Can Android Boot Logo Screen Be Configured To Show Linux Boot Logging

Jun 13, 2012

Instead of seeing the boring old Android logo or my service provider's logo, I'd love to see the standard text-based Linux boot screen that shows the status of all the hardware and configuration info as my phone boots. My current phone is an HTC EVO 3D running Cool ICS with Sense 3.6 and Revolutionary CWM.

View 2 Replies View Related

Motorola Droid X :: Wireless Tether And Barnacle Wifi Tether Doesnt Work After 2.2 Leak

Aug 23, 2010

wireless tether and barnacle wifi tether doesnt work after 2.2 leak.

View 4 Replies View Related

Samsung Fascinate :: Wifi Tether Or PDAnet USB Tether - Which Is Faster

Sep 12, 2010

Why does it seem to me that using my 54mbps wireless adapter with WIFI tether on my fascinate seems faster (and gets better speed tests) over connecting to USB2.0 over PDAnet? shouldn't USB connection be faster?

View 4 Replies View Related

Android :: RTSP - MediaPlayer Init - PVMFFailure

Jun 16, 2010

I have a camera by Cisco and like to stream it's video stream to my android phone. It's coded in MPEG4 so there should be no problem, but it's not working anymore (it worked with another camera a few weeks ago).
CODE:...................

View 1 Replies View Related

Android : How To Do Some Init Operation Immediately After Install

Sep 29, 2009

There is a big database(15M) in my application, it is too big to download the apk if I publish the source database in myapp.apk. So I encode the db to binary files(300k). But the new problem is I should decode binary files and create the database(with data), this procedure take about several minutes, so I can NOT do this in SQLiteOpenHelper.onCreate(), this is too slow for user experience(though it is a one time procedure, it is still unacceptable).

My application has NO main activity entry in launcher, the main entry is Broadcast Receiver.on Receive, the information should display to user immediately when receiving the broadcast, so I have no chance to display a several minutes "Initializing, please waiting..." UI. The best chance to create database and init data immediately after install, but how to do this, is there any broadcast? or is there any AndroidManifest attribute?

View 3 Replies View Related

Android : DatePicker.init Crashes Without Reason

Oct 6, 2009

I'm having a weird problem. When I try to update my DatePicker it crashes, but I dont understand why. Via the debugger I could see the date[] function is filled the way it should be. Do you guys see the problem? String[] date = dateofbirthNode.getStringValue().split("/"); // "12/31/1969" DatePicker dateofbirthView = (DatePicker)findViewById (R.id.editprofile_dateofbirth_picker); dateofbirthView.init(Integer.parseInt(date[2]), Integer.parseInt(date [1]), Integer.parseInt(date[0]), null)Code...

View 4 Replies View Related

Android : Why Can Not Edit /init.rc On Adp1 With Firmware 1.1?

Mar 18, 2009

I flashed my adp1 to firmware 1.1 following the instruction from HTC. http://www.htc.com/www/support/android/adp.html But after that, I want to modify the /init.rc, after I remount the rootfs as writable, I can edit or replace the /init.rc file. But the file will roll back the original version after reboot the phone. Before I modify the /init.rc, I install the busybox to the phone, then I use 'cp" command to replace the /init.rc Any one can give me some advice?

View 4 Replies View Related

Android : Calling Number Without User Init?

Sep 12, 2010

For something like a 'help I can't get up' app -- is there a way for a user to set a contact number, and then for the app to call that number in the future WITHOUT the user initiating the dialout? I've tried the below but there seems to be a problem. Code...

View 1 Replies View Related

Android :: Barnicle Wifi Tether And Wireless Tether

Sep 26, 2010

I am having issues getting the 2 wifi tethering programs to work correctly. I just rooted for the firstt time today. Both programs start up correctly and allow me to enable to wifi tethering but I can't get any device to see the wifi connection they are creating. I have tried both scanning for the network and trying to manually connect to it by typing in the SSID but I can't get any device to see the network. I am using a Droid X with the official 2.2 update rooted.

View 1 Replies View Related

General :: Boot.img: Updated Is Too Big For The Boot Image?

Jul 14, 2012

huawei u8860:

i compiled a kernel from the sources kernel-3.0.8-U8860-IcecreamSandwich.tar.gz .

on virtual box ubuntu 10.04 (oracle java 1.6.0u33 )with

Code:
gcc -v
x86_64-linux-gnu
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)[code]......

View 1 Replies View Related

Android : System.getProperty() Cannot Get Prop Setting In Init.rc

Jul 29, 2009

I am trying to get property which I set in init.rc in Java app. But it always return null. Java code:String value= System.getProperty("ro.MY_PROPERTY");I have check "getprop ro.MY_PROPERTY" in console, it do return "1". But not know why cannot get it in Java app.Code...

View 3 Replies View Related

Android : Modifying Init.rc File To Import A New Configuration

Oct 26, 2009

I want to modified the init.rc file to import a new configuration file by adding the following lines in the init.rc file import /data/myconfig/conf/init.rc trigger system And the file at /data/myconfig/conf/init.rc contains on system export TRIAL_EXPORT /trial/export/to/be/replaced The problem is that I cannot get the new export (TRIAL_EXPORT)to working. When I issue the command echo $TRIAL_EXPORT on the adb shell I do not get anything. Can somebody point out what is wrong in here?

View 2 Replies View Related

Android : Repo Client Init Error Ubuntu 8.10

Jan 19, 2009

I am trying to download the android source onto a new ubuntu 8.10 installation on a x86 machine. All the steps worked fine until I tried to init the repo client. I get the following. I can't find anyone else having such an repo error. I did find an obscure message that said the python error might be due to a missing readline module. I tried to install lib32readline5-dev as in the download instructions and got the following error Any ideas anybody? I am somewhat new to linux but have had a fair amount of unix experience in the past. Code...

View 14 Replies View Related

HTC Desire : Init Process With Busy Loop - Sluggish Phone

Sep 23, 2010

(HTC Desire running 2.2) Sometimes the init process enters a busy loop, consuming all CPU time. This has happened to me three or four times now. When it happens, Android System Info shows 100% CPU usage and if you run top in a terminal emulator, you can see that it's the init process eating up the CPU.

This makes the phone real slow and the only cure I know of is a reboot.I was going to check out the logs while the init was looping, but I forgot. I don't know how to repeat this - today it happened when I exitted VLC Stream and Convert, but it happened before I even installed this application.

I think this happened before the 2.2 upgrade as well and my son said his Xperia X10 eats the battery real fast sometimes - so maybe the same problem exists in Android 1.6 already.

View 3 Replies View Related

HTC EVO 4G :: Phone As Modem Tether Vs Wifi Tether

Jul 28, 2010

When connecting my Evo to a computer, there is an "Internet Sharing" option. I am curious to know, does this cost extra monthly? I know the wifi tether is the extra $30 a month, but will this charge me the same?

I only have interest in rooting my phone if it's the only way to share internet with my Netbook. Wifi isn't all that important to me, and seeing as I've completely and utterly failed at doing the Unrevoked method for rooting... I'm hoping I won't actually have to root my phone after all.

View 1 Replies View Related

Android :: How To Change Network Service Permission Without Modifying Init.rc File

Nov 8, 2010

I have a requirement to change network service permission(such as netd to 660 or something similar) for my application in order to access certain features. I dont want to edit init.rc file to make such changes. Since my application cannot be run in root mode, is there any alternative solution where i could do such modifications from my application point of view.

View 6 Replies View Related

General :: Any Way To Remotely Enable GPS?

Jan 11, 2014

I have a Galaxy Nexus (purchased directly from Google) running Jelly Bean. Is there anyway to remotely enable GPS without rooting?

View 6 Replies View Related

General :: How To Enable Emoji On OS 4.0

Jun 5, 2012

I'm not sure if it works on other devices I'm using an OV running cai. you won't need any messaging app other than stock. So go into your stock messaging app, and hit the menu button. Go into settings, and find emojis support, and check that. Then right above that (on my phone) check the option that says Unicode support. These options both are under extra settings!

Now to get the emojis go your messaging, go into a new message or one that your already talking to (your girl , hit the menu button and it gives the option the insert smiley's and the option to insert emojis! The rest is easy

View 2 Replies View Related

General :: How To Enable MSC Mode

Jun 28, 2012

I just installed ICS on my SGSII, and am not sure how to enable MSC mode.

View 2 Replies View Related

General :: How To Enable USB Debugging From PC

Sep 10, 2013

How to enable USB Debugging from PC?

View 5 Replies View Related

General :: How To Enable MP4 Recording On ICS

Jun 11, 2012

how to enable mp4 recording on ICS? I have the rom f1 galaxy nexus, on the features of this rom appears to be able to record in mp4 but I dont find the option!

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved