<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2014-12-26 16:29 GMT+02:00 Diego Iastrubni <span dir="ltr"><<a href="mailto:elcuco@kde.org" target="_blank">elcuco@kde.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi David,<br>
<span class=""><br>
On יום שישי, 26 בדצמבר 2014 15:54:12 David Harel wrote:<br>
> My son purchased an Android phone in China (against my recommendation).<br>
> It's a phone by Coolpad the module is 7620l<br>
</span>You should have a talk to your son ;-)<br>
<span class=""><br>
> Apparently the Android installation for Chinese is different than what we<br>
> are used to get in "Western countries". No Google account, no Google play<br>
> store and it seems that all network activities went through China (for<br>
> inspection?, really slow on network activity).<br>
</span>Actually... not. GApps is not officially part of AOSP (which in my book is the<br>
definition of "android"... but the world is moving and my definition is becoming<br>
less correct as the name of Android advances in the english alphabet).<br>
<br>
Nokia/MS did the same. Jolla are going this as well. The Android emulators<br>
usually do this as well.<br></blockquote><div>What do you mean by "doing this as well"? Not shipping GApps with their android emulation? GApps is not OSS and the license sets very strict standards that devices need to meet to be allowed to ship with GApps...<br><br></div><div>I'm happy my Jolla has none of them, yes it's sometimes annoying when I want to get a free app from google play but I can ask friends/websites to download the apk for me or install an alternative store I trust like Amazon etc.<br></div><div>Regards,<br>Eliyahu - אליהו <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
> It took me a while to find English Rom for it and then some time to root it<br>
> (temporarily - will explain later).<br>
> Now I got Google account and other "Western" stuff but still:<br>
> 1. Root is removed after reboot<br>
> 2. Google play services crashes and so does the address book sync operation.<br>
><br>
> Looking at the article: <a href="http://elinux.org/Android_Booting" target="_blank">http://elinux.org/Android_Booting</a><br>
> my questions:<br>
> 1. Any idea where I can find strace for Android (based on Arm CPU)<br>
</span>Just compile it statically with your favorite ARM toolchain. Then push it into<br>
/data/local/tmp (adb push strace-static-ftw /data/local/tmp; adb shell chmod<br>
777 /data/local/tmp/strace-static-ftw)<br>
<br>
BTW: in this page <a href="http://elinux.org/Android_Tools" target="_blank">http://elinux.org/Android_Tools</a> which point here for<br>
instructions on building:<br>
<a href="http://discuz-android.blogspot.co.il/2008/01/create-google-android-strace-tool.html" target="_blank">http://discuz-android.blogspot.co.il/2008/01/create-google-android-strace-tool.html</a><br>
<br>
and here for downloads:<br>
<a href="http://benno.id.au/blog/2007/11/18/android-runtime-strace" target="_blank">http://benno.id.au/blog/2007/11/18/android-runtime-strace</a><br>
<a href="http://benno.id.au/android/strace" target="_blank">http://benno.id.au/android/strace</a><br>
<br>
I still recommend compiling your own.<br>
<span class=""><br>
> 2. Can I go into "Console mode" ? In case I fiddle with init*.rc scripts<br>
> and break the OS (for manual recovery of those scripts).<br>
</span>You need a serial console for this, good luck with that.<br>
The "console" you get when you run over adb is running using a limited<br>
account... but it might be the way for you to "root" the device.<br>
<br>
Just for reference, here is how to get a serial console on nexus5:<br>
<a href="http://www.abclinuxu.cz/blog/Lorris/2013/12/serial-console-on-google-nexus-5" target="_blank">http://www.abclinuxu.cz/blog/Lorris/2013/12/serial-console-on-google-nexus-5</a><br>
<br>
And this is on Galaxy S4:<br>
<a href="http://forum.xda-developers.com/showthread.php?t=1901376" target="_blank">http://forum.xda-developers.com/showthread.php?t=1901376</a><br>
<br>
Not trivial!<br>
<span class=""><br>
> 3. The su command (and copies of it that had SUID bit set on it) were<br>
> deleted during boot. Any idea what could have done that?<br>
</span>Do you put it on "/bin" or "/sbin"? Those directories are not mapped to a real<br>
device, but are part of the initrd. On reboot they are restored. Not a good<br>
place to save stuff.<br>
<br>
I wrote about something similar (Hebrew) a few days/weeks ago. Have a good<br>
reading: <a href="http://cucomania.mooo.com/he/posts/349" target="_blank">http://cucomania.mooo.com/he/posts/349</a><br>
<br>
<br>
_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
</blockquote></div><br></div></div>