yashsingh1/xdaforums huggingface dataset:
[Gen9 Android Development] omegaRED7:
I doubt it's a hardware problem. You got a pretty clear error there in the logcat, "expecting 1 ril_v5 response, got 3", further corroborated by the three "ppp exited with 0" lines above. Mind posting your build.prop? I have a Huawei 3g stick, not an Archos 3g stick, so I have no idea how the connection is handled on the Archos 3G stick. Do you have a "datakey" file in etc/ppp/peers?

Sent from my Archos G9 running CM9
[Gen9 Android Development] iourine:
Yes, 3 times "ppp exited ..." is exacltly the point where something goes wrong.

Where is build.prop? Do I need root to find it? At the moment I deliberately have a brand fresh software installation, not rooted, to guarantee that everything is as provided by Archos.

etc/ppp/peers/datakey does exist but poses more questions... e.g. why "nodefaultroute"? is it the same in your case?

Actually the background is: the modem did work on my old Archos, then one day it stopped working (did not start on unblocking the screen) and the USB port turned out to be dead. It could equally be caused by h/w problem at either the modem or the port, and the other could also be damaged. Yet the modem still works on a regular PC. Now I have a new motherboard and try to run the modem on it.
[Gen9 Android Development] omegaRED7:
build.prop is in /system/. And yes, at least in CM9, the datakey peer is nodefaultroute... Does the datakey peer file end up with calling a chat script (should be the last line, something like "connect system/xbin/chat some_switches /system/etc/chatscripts/datakey"? If it does, check the contents of the chatscript...

As i said, im using CM9 with a Huawei modem, so i can only give some obvious pointers...
[Gen9 Android Development] trevd:
Hi omegaRED7

Good to hear the Huawei are still good, The Huawei Stuff uses the same method as the archos stock i.e init script call pppd which uses peers and call chat which if successfull calls ip-up. all of it being called from the RIL Library, Just change gprs and you've got the archos implementation. I think the peers scripts differ slightly but so do the RIL's.

EDIT

Oh yeah, the write_secrets part as well is different, but you already knew that :laugh:

@iourine

I'll post my datakey peers and chatscripts for you later on so you can compare, The error you're get is very strange :confused: Maybe the libtcl-ril is causing but I don't know.

EDIT: Below are the contents of my files, /etc/ppp/init_pppds_datakey , /etc/ppp/peers/datakey and /etc/chatscripts/datakey_start ; I don't there be any difference given the nature of the error, I suppose It'll be worth check that /system/bin/pppd is actual a binary file an not a script or something that starts pppd 3 times, also check the service definition for pppd_datakey which should be in /etc/init/init.<model>.rc e.g init.A101S.rc, this requires root to access and should look like this

service pppd_datakey /system/bin/logwrapper /system/etc/ppp/init_pppd_datakey
user root
group radio cache inet misc
disabled
oneshot

This service is started from within libtcl-ril.so and is the archos vendor ril used by the ril-daemon service.

As a test , using the root account

stop ril-daemon
start pppd_datakey

see if that bring up a connection

[B]cat /etc/ppp/peers/datakey[/B]
#!/system/bin/sh
# An unforunate wrapper script
# so that the exit code of pppd may be retrieved

# this is a workaround for issue #651747
#trap "/system/bin/sleep 1;exit 0" TERM

PPPD_PID=

PPPD_TTY=`/system/bin/getprop ril.pppd_tty`

/system/bin/setprop "net.datakey.ppp-exit" ""

/system/bin/log -t pppd "Starting pppd with tty [$PPPD_TTY]"

/system/bin/pppd $PPPD_TTY 115200 $* call datakey
PPPD_EXIT=$?
PPPD_PID=$!

/system/bin/log -t pppd "pppd exited with $PPPD_EXIT"

/system/bin/setprop "net.datakey.ppp-exit" "$PPPD_EXIT"

[B]cat /etc/ppp/peers/datakey[/B]
linkname datakey
mru 1280
mtu 1280
# dump
# debug
unit 1
# connection
# crtscts
connect-delay 3000
hide-password
nodetach

# peer parameters
# noauth
# most gprs phones don't reply to lcp echo
# lcp-echo-interval 0
# lcp-echo-failure 0
# dns, routing
ipcp-accept-remote
ipcp-accept-local
ipcp-max-failure 15
#defaultroute
nodefaultroute
#replacedefaultroute # not currently supported by our pppd
noipdefault
usepeerdns
# avoid compression
novj
novjccomp
noccp
nobsdcomp
nopcomp
noaccomp
# connect scripts
connect '/system/xbin/chat -v -t 3 -f /etc/chatscripts/datakey_start'
# disconnect '/system/xbin/chat -v -t 3 -f /etc/chatscripts/datakey_stop

[B]cat /etc/chatscripts/datakey_start[/B]
TIMEOUT 5
ECHO ON
ABORT BUSY
ABORT ERROR
ABORT 'NO CARRIER'
ABORT VOICE
ABORT 'NO DIALTONE'
ABORT 'NO DIAL TONE'
ABORT 'NO ANSWER'
ABORT DELAYED
TIMEOUT 12
'' ATD*99***1#
TIMEOUT 30
CONNECT ''
[Gen9 Android Development] omegaRED7:
Hey,

It could be that the connection is indeed established in the RIL itself, for example the huaweigeneric RIL includes commands to connect directly, of course it's a generic implementation, which in our case needs to be circumvented and the connection has to be established through pppd for the Huawei stuff...

Can you setup the APN? Can you force manual selection of the network operator? I really don't understand why, even if the connection is directly initiated by the RIL, it attempts 3 times, esp. since you're running a stock ROM....

Mind also posting the logcat part before the connection is established?

P.S. Trev I haven't forgotten, I'll PM you the changes in the libhuaweigeneric ril :)

Sent from my Archos G9 running CM9
[Gen9 Android Development] trevd:
Ay, As expected, but always worth checking!

Yes and no, There a program in android called the SimToolkit which I believe manages a lot of that when a new sim card is inserted. You'll see I/STK on the logcat if that has been actioned. After that I think the vendor ril manages the APN setting although it cannot hurt to manually set the APN and also manually register on the network as this sometimes helps but that's doesn't seem to be the problem you're facing

EDIT: You probably won't see ATD*99***1 on the logcat as /system/xbin/chat which calls datakey_start doesn't provide any logcat output as far as I'm aware, You can try remove the chat binary or the datakey_start script to confirm if it's needed although you'd need root and an ext4 image for that as I don't think squashfs can be mounted as r/w.

Archos Manage the full process through their USBKeyManager.apk, this switches the device to modem mode, sets the rild.libargs and rild.libpath to the correct values and starts the ril-daemon.

The rild daemon is a service wrapper for /system/bin/rild, this is Android's Radio Interface Layer native controller, Rild, when started looks for rild.libargs and rild.libpath if it has no parameters passed. The rild.libargs property is the tty device used for Control Flow ( /dev/ttyHS3.) The most important part of the jigsaw is the rild.libpath property, which is set to /system/lib/libtcl-rild.so, this is the library which initializes the modem and calls pppd via the pppd_datakey service.

The /system/lib/libtcl-rild.so has logcat symbols AT, GSM and RIL and is responsible for the "long log of other AT commands"

doing a "strings" on this library reveals a lot and does show reference to pppd_datakey service as well as numerous AT commands.

The /system/lib/libtcl-rild.so would be were the crux of the problem is, although To Be Honest i'm still at a loss as to why you get 3 pppd starting

Unfortunately I can't logcat for you right now as I'm in the middle of development on CM10. one thing you might want to try however is

adb shell watchprops &
adb shell logcat -b system -b main -b radio -b events *:V

This will show what system properties are being set in real time and mix the logcat to provide a context.

EDIT:

@omegaRED7 - Thanks - You got in while I was typing.... maybe should make my posts less verbose :laugh:
[Gen9 Android Development] iourine:
Yes, there is corerct APN in the log. Yes, I can manually select the operator, but I also need to select the correct APN out of the two (internet service and MMS service ones). Another problem that may also be related: for one minor operator the APN is not selected automatically, and I cannot add it manually via the regular interface. I fill all the necessary fields, but this is not saved. Yet it did work in the past!

Attached is my logcat from modem plug-in till looping.
[Gen9 Android Development] trevd:
Hi

After looking that logcat I'd put that down to an issue with the libril-tcl, I've never seen that before and i've had multiple COPS entries on my simcard/modem albeit different carriers but still.

I think that leaves only one option, Report the "bug" to archos and wait .................... Only Joking, :laugh: this is Xda, we're not going to do that.

Got a couple of options from what I can see,

1.Remove the extra operators of the modem using minicom or similar

2.Hack the init_pppd_datakey script to check if pppd already running and exit if it is.

3. Try a different ril implementation. after all you only need to make a datacall and all the ril does in reality is initialize the modem and call out to pppd, even if you have to compile on yourself it shouldn't take much.

I would check calling the pppd_datakey service on it's own, like I suggested, it will definetly rule it out. and have a google to see if anyone has anything similar with the modem, doesn't even have to be with android.

I could be way off the mark with all this but It's just how I'd tackle it :).

One "strange" thing on that logcat. I was surprised by the ril version being a v5, i'll double check that on mine.
[Gen9 Android Development] iourine:
Tried all the debug recommended above; not much help. PPP connection is established, ip-up-datakey appears to be run without errors, IP properties appear to be set. And then pppd exits immediately.

Tried running the connection manually. It is established, the interface named ppp1 is created, yet no routes and no resolv.conf are set.

Attached is my log with a couple of loops.

omegaRED7, there are multiple revisions of hardware sold under the same name "Archos 3G modem", with different PID/VIDs, from different vendors - not to speak about other 3G products. Surely it is not an easy thing to manage all this zoo. Surely Archos programmers could set a bug for a particular model at some point. Yet 3.80 software does not work too - and it did!
[Defy General] abhi9029:
hello..

I flash multiboot zip and then I got three options when I start my phone 1. boot from nand. 2. recovery (cwm) 3. reboot.

and if i want to start original o.s I have to choose 1st option that is ' boot from nand '. but now I have to get rid of this.

can anyone tell me how to delete this multiboot so when I restart my phone I my o.s starts so I didn't have to choose boot from nand everytime when I start my mobile.

I am using cyanogenmod 7.1 rc 1.5 jorden
[Defy General] bharaththeunique:
Fr one u r using older version of multi boot, newest version has touch bootmenu,. If u don't waana see that list, go to boot menu>boot> set 2nd init as default.

If u wanna remove multiboot altogether just reflash ROM without data wipe. Then u can delete vfs too. done.
[Defy Q&A, Help & Troubleshooting] Meskino:
I have a defy green lens i have tryed ICS CM7 and MIUI, there are always theme that could simulate an iphone IOS system, then i have discovered that the gooapple phone which i suppose have a terrible hardware have a nice froyo 2.2 iphone-like ROM, is this rom supported by the defy?!
[Samsung Galaxy Nexus] reconex:
Anyone knows where to find gapps that are themed in red? would match my setup perfectly
[Samsung Galaxy Nexus] ÜBER™:
Inverted gapps by travp usually uses @android:color/holo_blue_ light for their XML edits.

I'm layman's terms, they use your themes color for anything that color changes.

For example :

Sent From My Toro+ via RED Tapatalk
[General Questions and Answers] Neire:
Hello,

I didn't find immediatly what i was looking for so here's the question:

From my work i received a phone a couple of days ago. When i want to use it for private calls and private texts, i need to a number 8 as prefix before the numbers. In my contactlist i changed all the private numbers and for a moment i thought everything was working well, until i saw the phone log.

When i answer a message in the message-thread, the phone replies automatically to the number the phone received from the network. It doesn't use the number with prefix. So this means that i'm not sms-ing in private.

I know there are some apps who add a prefix to number when your calling... Do they exist to for SMS-ing? Or are they easy to create?

thanks in advance
[Nexus S Q&A, Help & Troubleshooting] motojari:
Hi,

for last 15 days im using new jelly bro rom without any problem but suddenly today i cannot make or receive calls and sms .I used my sim in other phone its working fine but in nexus s no sim is working only mobile data is working ..plz help i have tried goggling this as well but have not found any solution for this :(
[Nexus S Q&A, Help & Troubleshooting] Billchen0014:
check your smsc settings
[Nexus S Q&A, Help & Troubleshooting] motojari:
it is blank i tried to put the number it says upload error :(:eek::eek:
[Nexus S Q&A, Help & Troubleshooting] Billchen0014:
There is or problem then, you type the number, hit refresh, and upload

Xxx oops! accidentally beamed from my awesome NEXUS S! xxX
[Nexus S Q&A, Help & Troubleshooting] jacob66:
I had this problem a few months ago, (for a week). It turns out, they were upgrading the lte towers around my house or something. Try calling to see what the problem is. Check if you travel somewhere like to a store, not too near to your house, if you calling and sms will work. Try to get your phone connected to a different tower or something. If it works. You know what the problem is.
[Nexus S Q&A, Help & Troubleshooting] motojari:
well after lots of research i found out that my imei file has got corrupt and my imei number is changed to some 0004 digit and i don't have backup of that file as well .i did found fixes but not for nexus s ..:(:crying:
[Nexus S Q&A, Help & Troubleshooting] Billchen0014:
Go to or carrier/place u bought it from they can fix

Xxx oops! accidentally beamed from my awesome NEXUS S! xxX
[HTC Incredible S] Anoubis282:
Hi all!!.I use the official rom 2.3.5. sense 3 WWE with root and busybox ( http://xdaforums.com/showthread.php?t=1430535 ) , and today i receive a message for ota update that improve system stability and other things!!!But i cant install it because it says that i have a modified rom (i know that :P).So I want to ask if it is possible to recreate someone the above rom ( http://xdaforums.com/showthread.php?t=1430535 ) included the new ota update.
[HTC Incredible S] poondog:
I replied to you in the rom thread in development

It should be the official WWE ICS update
[General Questions and Answers] basoula:
Hello people! I have a Nokia C3-00 and yesterday i buy a LG optimus E400 smpartphone. I want to transfer my sms fron Nokia to LG,if can do it!

O,i forget it my laptop have Ubuntu Linux not windows!

Sorry for my bad english!

Kisses from Greece!
[General Questions and Answers] hkleomap:
I think so, you can backup your sms in your Nokia SDcard first. and download apk from google play and transfer them back to your new phone.
[General Questions and Answers] basoula:
i don't thing that! Thank you! but what app can i download? sorry if i buzy you and my bad english!
[General Questions and Answers] stubornman:
"sms backup" its free in google playstore. It works great, I have it. it will back up your call log as well, but no mms, sadly.
[General Questions and Answers] lreyes:
It will break man I swear that Nokia will eat your other phone :rolleyes::eek:
[General Questions and Answers] basoula:
my Nokia isn't android! i think is s40 series! i can't install to google playstore! :(
[General Questions and Answers] guilliam:
for those looking for a solution, have tried many others and this one works! why pay for those commercial/paid softwares like wondershare mobiletrans, PC Tool for VeryAndroid SMS Backup, Apolsoft Android SMS Transfer Software for android Phone, etc. when you can transfer Nokia SMS to Android for FREE!

http://sir-fz.blogspot.com/2011/10/moving-sms-messages-from-nokia-symbian.html

FZ, thanks for this. saved me time to write an xml to xml conversion script. worked like a charm!
[General Questions and Answers] basoula:
first thank you to answer me in an old problem!

second thank you for your help! I'll when i go to my laptop! thank you again!
[Samsung Galaxy R i9103] :
Hello guys,

I´m fuss132, the orginal creator of Horsepower kernel for the I9100G. So let us port some things from the I9100G to this device :) I dont own the device so it could be that sometimes something is not working, please give me some time I will fix the problems if there are any. Thanks to ardatdat for his ramdisk source!

Kernel can be used on:

Every stock ICS Rom from Samsung

Features:

- GPU at 400mhz

- CPU OC to 1.2 Ghz

- prerooted

- init.d script support enabled

- updated tegra drivers

- many governors like:

savagedzen governor

sakuractive governor

brdzilianeax governor

minmax governor

abyssplug governor

lulzactive governor

lazy governor

pegasusq governor

smartassv2 governor

scary governor

HYPER governor

wheatley governor

Changelog (1.0.9):

increase free ram to 835mb *)

overclock the gpu to 400mhz *)

enabled lower 1.2ghz oc

*) Thanks to ardatdat for his patches

Changelog (1.0.5):

OC of CPU upto 1.4ghz

add support of core2 management

optimized tegra drivers for better power management (see github for details)

Changelog (Initial Release 0.0.0):

Disabled BrickBug

Add preroot

Add init.d support

Added savagedzen governor

Added sakuractive governor

Added brdzilianeax governor

Added minmax governor

[*]Added abyssplug governor

Added lulzactive governor

Added lazy governor

Added pegasusq governor

Added smartassv2 governor

Added scary governor

Added HYPER governor

Added wheatley governor

Updated interactive governor

Updated interactiveX governor

Updated lagfree governor

Changed default governor to smartassv2

Complete Horsepower 0.0.0 Pre Releases:

Have a look to the attached files

Howto Install:

CWM way: Copy the .zip to the sdcard, go into recovery, hit "install zip from sdcard" and pick the previous downloaded .zip

Heimdall way: heimdall flash --kernel boot.img

Core2Management:

Save your battery and disable the second core of your android device when you dont need it!

!- This app is only for dual core devices made by Samsung -!

This app should work on most android dual core devices from Samsung (maybe also on others but these are untested!). Please report on which devices the app works and on which it doesnt. You have to be rooted! Every time you reboot you need to redisable second core! If the second core starts again at some time use another governor. Not working with hotplug!

Tested devices:

* Galaxy S2 I9100

* Galaxy S2 I9100G

* Galaxy S3

* Galaxy S1

* Galaxy R I9103

* Galaxy Nexus

Developers:

You can find my sources at github

You can use my compile script in order to get a faster compiling progress!

Howto build:

mkdir workingdirectory

cd workingdirectory

git clone https://github.com/fuss132/android_kernel_samsung_n1.git -b ics kernel

gedit build.sh (insert the file above)

chmod 777 build.sh

To clean your working directory: ./build.sh clean

To build the kernel + modules: ./build.sh

If you have any questions about compiling, please contact me!
[Samsung Galaxy R i9103] mj.vikram:
wow nice to see new developer showing interest on Galaxy R :good:, Thank you....
[Samsung Galaxy R i9103] WuSoLo:
wow ... another great person in the forum!!!
[Samsung Galaxy R i9103] amar1548:
Thnx buddy one request....... it will be nice if u set oc in ur next rel. :D
[Samsung Galaxy R i9103] :
Its in progress at the moment, no problem

I added the download link to the first test, please test and report if its working. There might be some issue with the updater-script. Everything is untested, I dont have the device.
[Samsung Galaxy R i9103] D™:
Testing done..

Errrrorrrrrr coming..

Mount() expe cts 3 args, get 4

(status 7)

Installation failed.

This error is comming.:p
[Samsung Galaxy R i9103] :
Thanks :D

Is this one working?
[Samsung Galaxy R i9103] D™:
Again flashed new one..

Reporting bug:

1) got stuck while reading sdcard first. Then after 2-3 min works(u can check it in notification bar).

2) cpu using 1000 mhz around 99%..

Will report u next error..:D
[Samsung Galaxy R i9103] :
So its booting? :D

Thats good :D
[Samsung Galaxy R i9103] D™:
Yup booting fine and working also.. Bt battery backup and few perfomences is to be checked.. Will let u knw soon..:D

Hey buddy, can u increase the cpu upto 1.3Ghz like adrardat did?? Jst asking :D
[Samsung Galaxy R i9103] bhargav143:
Yes it booted on mine as well....
[Samsung Galaxy R i9103] :
I´m developing 1.4ghz atm so please just wait some hours :D
[Samsung Galaxy R i9103] D™:
Tht wld b great.. Also Ram is again at 723..cant u make it 823...??:D:D

Btw my cpu is working at 1000 mhz continously..even on ideal screen.. Pls do something for that..:o
[Samsung Galaxy R i9103] :
which governor do you use and did you checked the min soeed in an oc app like setcpu?

I could increase the free ram but I dont think that I will do this. Free ram is wasted ram.

The ram is only reserved for system operations so that your overall performance increases. And even high grafic games dont use all our free ram so why should there be more free one?
[Samsung Galaxy R i9103] bhargav143:
Mine is working fine... It goes to deep sleep as well...
[Samsung Galaxy R i9103] D™:
U can check it buddy..everything is opened in the image attached..

For Ram, if waste thing can b used then what bad in this??:D:D means if we can have like u said "u can", then pls make it if possible..:cool:
[Samsung Galaxy R i9103] ardatdat:
I am on the street and would try the kernel when i back home.

For your information, i have been trying oc to 1.4ghz but it is very unstable. Normally, it will freeze your device within few minutes. Maybe you can try that. :thumbup: and ICS kernel may do the magic :D
[Samsung Galaxy R i9103] KnockNuckle:
Wow great work man!

Im very happy to see new devs. For our device!! THATS GREAT!!

Sent from my Big R 6386Antutu
[Samsung Galaxy R i9103] xlm13x:
Don't u think 1.4gigs will generate dangerous amount of heat?
[Samsung Galaxy R i9103] bhargav143:
Dude... Many devices run twice the default clock speed without much heat.... E.g. Moto Defy

And.. Let him try... If this comes out stable... Then we may consider.....
[Samsung Galaxy R i9103] xlm13x:
Unknownzd tried extending 1.3 and faced excessive heat so he stopped working on ocing more than 1.3 as it'll be dangerous to device.

And defy and other device u talking about are single core devices. We're having dual core.
[Samsung Galaxy R i9103] :
You cant say this for all deveices, every single chip is shipped different. On one oc is ok on another not. Just try it, if its ok use it if not dont :D

Ok, so I´m back again of my short break and lets go again :D
[Samsung Galaxy R i9103] :
I attached the new version 1.0.5 to the op, please anybody test it and report if especially wifi is working (I updated the wifi drivers)

And core2 management should now work

Core2Management:

Save your battery and disable the second core of your android device when you dont need it!

!- This app is only for dual core devices made by Samsung -!

This app should work on most android dual core devices from Samsung (maybe also on others but these are untested!). Please report on which devices the app works and on which it doesnt. You have to be rooted! Every time you reboot you need to redisable second core! If the second core starts again at some time use another governor. Not working with hotplug!

Tested devices:

* Galaxy S2 I9100

* Galaxy S2 I9100G

* Galaxy S3

* Galaxy S1

* Galaxy R I9103

* Galaxy Nexus
[Samsung Galaxy R i9103] bhargav143:
Testing and reporting u in a while..

Edit: wi-fi did not turn on...

And no overclock frequency added yet...

Yet to check the core disable function...
[Samsung Galaxy R i9103] nvo2411:
Flashed successfully .But Wi-Fi not working