Steps to manually apply 1.1 on top of rooted 1.01 (and retain root) (not working yet) - Nook Color Android Development

1) Grab the 1gb clockwork recovery sd card image
2) boot into CW recovery; mount /system and /sdcard from CW
3) grab a DIFFERENT sd card. unzip the sideload_update.zip, zip up just the /system files
4) unzip system.zip (or whatever you called it) from adb shell onto the nook after moutning it's sdcard (mount sdcard from clockwork, unzip the zip file through adb)
Testing this myself now, but need to step away for about an hour..
EDIT - not having much luck trying new things.. but limited on time for this..
OK - so the above method didn't work. But i'm having partial success going the manual route. Right now, I have a nook 1.1 install with superuser working, and most of the google apps working. What's not working is market installs. market is also working.. (everything that I've tested so far is working )
Here's what I've done - it's complicated and I don't recommend it unless you're comfortable with adb / linux /etc. (wait for a real dev to package this up if you're not..)
http://legacyschool.us.to/nookdev/clockwork/clockwork_1gb-0.4.tar.gz
1) Burn the clockwork SD recovery card - boot from it. http://legacyschool.us.to/nookdev/clockwork/clockwork_1gb-0.4.tar.gz after it boots, adb from the desktop to your nook. (alternatively, bootup nookie froyo and adb to your nook using it. CW would be simpler though for mounting the /system and /data)
2) Restore your system and boot images to stock, using dd directions here - ( http://forum.xda-developers.com/showthread.php?t=919353
3) Upgrade the nook to 1.1 manually using B&N's directions - http://www.barnesandnoble.com/u/nookcolor-support-software-update/379002520/?cds2Pid=35758
4) after an install, your apps will mostly be working, but you won't have the google apps or superuser. Bootup again using the SD card image (either clockwork or froyo) - mount /system and /data from there (using the menus in clockwork if that's what you used.
5) Follow the steps from nookdevs to re-root your device
http://nookdevs.com/NookColor_Installing_su_and_the_Superuser_app
http://nookdevs.com/NookColor_Installing_Busybox
Nook color email if you need it - http://nookdevs.com/NookColor_Email
grab the google apps - http://www.mediafire.com/file/awqekwp5dpbk4e3/nc_gapps.zip - adb push it to your device (adb push nc_gapps.zip /data/local/
copy the /system/framework/framework.jar to a backup file (cp /system/framework/framework.jar /system/framework/framework.jar.bk)
unzip the nc_gapps.zip (cd /system; unzip /data/local/nc_gapps.zip)
copy the framework file back as it's most likely incompatible with the new 1.1 software (haven't tried using it yet) - ( cp /system/framework/framework.jar.bk /system/framework/framework.jar)
(Credit to MrMuffin for getting market working) using the clockwork sd card with /system and /data mounted, run the following commands from adb shell -
Code:
cp /system/build.prop /data/local/build.prop.bk
cp /data/system/packages.xml /data/local/system.xml.bk
sed 's/^.*ro.build.fingerprint.*$/ro\.build\.fingerprint=verizon\/voles\/sholes\/sholes:2\.1-update1\/ESE81\/29593:user\/release-keys/' /data/local/build.prop.bk > /system/build.prop
sed '1,/uid.system/!{ /<perms>/,/uid.system/!d; }' /data/local/packages.xml.bk > /data/system/packages.xml
Then unmount /system and /data in CW, remove the SD card, and reboot.
Reboot your nook.. now you're in 1.1 with su working..
Still working on it.. market installs are failing (because I haven't personally done the steps for enabling market y et.. ) but the rest of the apps are happy.. <-- working now
-m

I'm curious as to how this works out. Do we really need two SD cards, however? Or does that just save time?

Are you sure the ramdisk and kernel don't need upgrading as well?

Fast HTTP Mirror of the 1.1 Update for Nook Color:
http://www.techerrata.com/dl.php?path=14&file=Sideload_update_1-1.zip

Can you mount the necessary partitions via Nookie Froyo on SDcard?
Homer

Seriously hoping that this works. The changelog shows some great improvements, while not necessarily big. Please let us know how its going for you.

first attempt resulted in bootloops.. Most likely permission related as I had just used zip on windows.. after using CW to recovery my old image, I'm trying again with a zip file made under linux (to retain permissions..).
The kernel might be necessary.. not sure.. will report back..
-m

Giving up for now.. even after setting the permissisions based on the updater-script file, I can't get past this error in logcat -
Code:
E/ActivityThread( 1673): Failed to find provider info for settings
I/ActivityThread( 1673): Publishing provider android.server.checkin: com.google.
android.server.checkin.CheckinProvider
I/SystemServer( 1673): Battery Service
I/SystemServer( 1673): Hardware Service
E/ActivityThread( 1673): Failed to find provider info for settings
W/dalvikvm( 1673): threadid=37: thread exiting with uncaught exception (group=0x
4001b170)
E/AndroidRuntime( 1673): Uncaught handler: thread PowerManagerService exiting du
e to uncaught exception
E/AndroidRuntime( 1673): *** EXCEPTION IN SYSTEM PROCESS. System will crash.
E/AndroidRuntime( 1673): java.lang.NullPointerException
E/AndroidRuntime( 1673): at android.content.ContentQueryMap.<init>(Conten
tQueryMap.java:65)
E/AndroidRuntime( 1673): at com.android.server.PowerManagerService.initIn
Thread(PowerManagerService.java:525)
E/AndroidRuntime( 1673): at com.android.server.PowerManagerService$1.onLo
operPrepared(PowerManagerService.java:457)
E/AndroidRuntime( 1673): at android.os.HandlerThread.run(HandlerThread.ja
va:59)
E/AndroidRuntime( 1673): Crash logging skipped, no checkin service
I/Process ( 1673): Sending signal. PID: 1673 SIG: 9
D/BootAnimation( 1684): SurfaceFlinger died, exiting...
I/ServiceManager( 773): service 'telephony.registry' died
I/ServiceManager( 773): service 'batteryinfo' died
I/ServiceManager( 773): service 'SurfaceFlinger' died
I/ServiceManager( 773): service 'power' died
I/ServiceManager( 773): service 'entropy' died
I/ServiceManager( 773): service 'activity' died
I/ServiceManager( 773): service 'usagestats' died
I/ServiceManager( 773): service 'account' died
I/ServiceManager( 773): service 'meminfo' died
I/ServiceManager( 773): service 'cpuinfo' died
I/ServiceManager( 773): service 'activity.broadcasts' died
I/ServiceManager( 773): service 'activity.services' died
I/ServiceManager( 773): service 'activity.senders' died
I/ServiceManager( 773): service 'activity.providers' died
I/ServiceManager( 773): service 'permission' died
I/ServiceManager( 773): service 'package' died
I/ServiceManager( 773): service 'content' died
I/ServiceManager( 773): service 'battery' died
I/ServiceManager( 773): service 'hardware' died
E/installd( 783): eof
Wondering if we need a hacked framework-res.apk file..

Oops, I 'd suggest editing your first post and making it clear NOT to try this just yet..

diomark said:
1) Grab the 1gb clockwork recovery sd card image
2) boot into CW recovery; mount /system and /sdcard from CW
3) grab a DIFFERENT sd card. unzip the sideload_update.zip, zip up just the /system files
4) unzip system.zip (or whatever you called it) from adb shell onto the nook after moutning it's sdcard (mount sdcard from clockwork, unzip the zip file through adb)
Testing this myself now, but need to step away for about an hour..
-m
Click to expand...
Click to collapse
I have a flashable, prerooted update.zip that gets you to 1.1. Will post up tonight. It worked fine for me when trying to update to 1.1.

Decad3nce said:
I have a flashable, prerooted update.zip that gets you to 1.1. Will post up tonight. It worked fine for me when trying to update to 1.1.
Click to expand...
Click to collapse
Not that I understand enough about it, but was thinking that framework had to be updated for google apps to work, is that going to be included with your update.zip? Or was the apps working without modification?

Decad3nce said:
I have a flashable, prerooted update.zip that gets you to 1.1. Will post up tonight. It worked fine for me when trying to update to 1.1.
Click to expand...
Click to collapse
What do u mean prerooted. What would this flashable zip do when installed overautonootered 1.0.1?

cflynt said:
Not that I understand enough about it, but was thinking that framework had to be updated for google apps to work, is that going to be included with your update.zip? Or was the apps working without modification?
Click to expand...
Click to collapse
It's essentially a ROM template created from the sideload update.zip from barnes and noble. It contains the gapps framework, gapps permissions, as well as busybox and the su binary along with the other goodies from the autonooter img.
I didn't want to risk brick on unrooting and updating via official so the created update.zip flashes via clockwork recovery but lacks the uboot stuffs for clockwork overwrite.

Decad3nce said:
It's essentially a ROM template created from the sideload update.zip from barnes and noble. It contains the gapps framework, gapps permissions, as well as busybox and the su binary along with the other goodies from the autonooter img.
I didn't want to risk brick on unrooting and updating via official so the created update.zip flashes via clockwork recovery but lacks the uboot stuffs for clockwork overwrite.
Click to expand...
Click to collapse
SO if we were to flash this we essentially goto a 1.1 nootered?
Will we be able to use the 1.1 ghz OC kernal?

Canadoc said:
SO if we were to flash this we essentially goto a 1.1 nootered?
Will we be able to use the 1.1 ghz OC kernal?
Click to expand...
Click to collapse
Yes. 10char

Well if it works as you say you are gonna make a lot of people happy!!!!!

Decad3nce said:
Yes. 10char
Click to expand...
Click to collapse
Have observed Decad3nce's work on the CDMA hero. This will be the real deal. Thank you sir. Glad you are on board.

Yea I've seen him on the Eris forums too. Thanks again Decad3nce. Much appreciated.

Sounds cool, but will it require CWM to install? Will it require it to run after?
I'm still seeing little weirdness reported with CWM so I'm avoiding it for now, but I could always install it and remove it again..

Decad3nce nice work!
All others, just sit tight, I am sure he's testing and will post a write up later. One thing I have learned from these boards is:
1. Never rush a developer
2. Never rush a developer
3. See #1 then #2.
Rushing leads to bugs leads to hate posts. So....Never rush a developer

Related

[Q] com.asus.pcsynclauncher

Hello,
thank you in advance for your help.
Facts: rooted ICS 4.0.3 IMLK74K.DE_epad-9.4.2.15-20120221
Problem: Everytime when i like to open Accounts & Syncronisation (don't know the exact translation in german it's called "Kontakte & Synchronisation") the dialog suddenly quits.
I installed log viewer to check what's going on, you can see the error message in the Screenshot.
So i think the problem is, that i deleted Pcsynclauncher.apk from ASUS, my question is, can anyone tell me how to extract that file from the Stock ROM i downloaded from here or can anyone post the file on the board?
THX
DidierSchnee said:
Hello,
thank you in advance for your help.
Facts: rooted ICS 4.0.3 IMLK74K.DE_epad-9.4.2.15-20120221
Problem: Everytime when i like to open Accounts & Syncronisation (don't know the exact translation in german it's called "Kontakte & Synchronisation") the dialog suddenly quits.
I installed log viewer to check what's going on, you can see the error message in the Screenshot.
So i think the problem is, that i deleted Pcsynclauncher.apk from ASUS, my question is, can anyone tell me how to extract that file from the Stock ROM i downloaded from here or can anyone post the file on the board?
THX
Click to expand...
Click to collapse
I'm guessing you did not unlock the bootloader yet Try extracting the zip I have attached to your "C:\" , install adb on your pc then run the following command
Code:
adb push C:\PCSyncLauncher.apk /system/app
Code:
adb push C:\PCSyncLauncher.odex /system/app
Follow this guide if you need help installing ADB (http://www.theandroidsoul.com/how-to-install-adb-on-windows-full-guide/)
Thank your for your help.
Had some problems with adb push (permission denied, adb remount gave me operation failed), so i copied the files on the prime and "installed" them with the terminal!
problem solved.
DidierSchnee said:
Thank your for your help.
Had some problems with adb push (permission denied, adb remount gave me operation failed), so i copied the files on the prime and "installed" them with the terminal!
problem solved.
Click to expand...
Click to collapse
Great job thinking out-side of the box. This is how a Dev is born, hope you will join us soon
thx, but there is only one problem called time
Sent from my Transformer Prime TF201 using Tapatalk 2
And I still have that problem, even after installing files
Code:
[email protected]:/data/system/dropbox # cat *
Process: com.android.settings
Flags: 0x8be45
Package: com.android.settings v15 (4.0.3-WW_epad-9.2.2.6-20120525)
Build: asus/WW_epad/TF101G:4.0.3/IML74K/WW_epad-9.2.2.6-20120525:user/release-keys
java.lang.IllegalArgumentException: Unknown package: com.asus.pcsynclauncher
at android.os.Parcel.readException(Parcel.java:1331)
at android.os.Parcel.readException(Parcel.java:1281)
at android.content.pm.IPackageManager$Stub$Proxy.getApplicationEnabledSetting(IPackageManager.java:2423)
at android.app.ApplicationPackageManager.getApplicationEnabledSetting(ApplicationPackageManager.java:1153)
at com.android.settings.accounts.ManageAccountsSettings.updateUi(ManageAccountsSettings.java:198)
at com.android.settings.accounts.ManageAccountsSettings.onStart(ManageAccountsSettings.java:105)
at android.app.Fragment.performStart(Fragment.java:1532)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:862)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1032)
at android.app.BackStackRecord.run(BackStackRecord.java:622)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1382)
at android.app.FragmentManagerImpl$1.run(FragmentManager.java:426)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
1|[email protected]:/data/system/dropbox # ls -la /system/app/PCSyncLauncher.*
-rw-r--r-- root root 44092 2013-05-26 18:01 PCSyncLauncher.apk
-rw-r--r-- root root 18968 2013-05-26 18:01 PCSyncLauncher.odex
adb push didn't work for me either, so copied files randomly. I tried to find the cause but failed. My guess is that somewhere in the system must be written information about this package, but it isn't and I don't know where it should be.
Ok, now I even tried something else but still have negative result:
Code:
pm install /sdcard/Download/PCSyncLauncher.apk
pkg: /sdcard/Download/PCSyncLauncher.apk
Failure [INSTALL_FAILED_DEXOPT]
need a different version
Hi, I just took the poor decision of uninstalling the com.asus.pcsynclauncher package from my TF201 , so I am getting the same exception when trying to access accounts & sync.
I just tried the APK supplied by MasterZen88, however I get error log entries "Package com.asus.pcsynclauncher has mismatched uid: 10003 on disk, 10053 in settings" and a "dexopt failed on .... [email protected]' res = 65280" when installing, which ends up failing.
I assume it is because my ICS version is different: IML74.WW_epad-9.4.2.28-20120525
What do you think? If my assumption is correct, is there anyone that can supply me with the right APK and ODEX?
Thank you for your help.

[Q] How to get Boot2Gecko working on 2ndROM?

Hi all,
First-time poster and fairly new to rooting...
I have a Samsung Galaxy SII (GT-I9100, originally LBP firmware on Orange UK) which I successfully managed to flash with Odin/Heimdall to give:
CF-Root
CyanogenMod 9 RC1
Siyah 3.3.2
I then thought I'd give Boot2Gecko a try so I followed gokhanmoral's post and managed to get a page not found screen booting to the second rom.
So I checked out the B2G source code and performed a
make install-gaia
Click to expand...
Click to collapse
ensuring
adb devices
Click to expand...
Click to collapse
found my phone connected over usb - This gave me a lock screen which wouldn't respond to touch events.
After quite a bit of reading I then decided to attempt pusler new 6th July Build performing:
simg2img userdata.img data.img
heimdall detect
heimdall flash --hidden system.img
(cleared 2ndROM data and cache through CWM)
adb push data.img /sdcard/.secondrom/data.img
Click to expand...
Click to collapse
However, when I booted to the 2ndROM I gott a black screen - I tried looking through the
adb shell logcat
Click to expand...
Click to collapse
output and saw several errors similar to:
I/GeckoDump( 9894): Opened socket on 9999
E/GeckoConsole( 9894): [JavaScript Error: "NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]" {file: "chrome://browser/content/shell.js" line: 80}]
I/Gecko ( 9894): Logging GL tracing output to /system/b2g/firefox.trace
I/Gecko ( 9894): Attempting load of /data/local/egltrace.so
F/libc ( 9894): Fatal signal 11 (SIGSEGV) at 0x00000068 (code=1)
I/Gecko ( 9894): Attempting load of libEGL.so
D/libEGL ( 9894): egl.cfg not found, using default config
D/libEGL ( 9894): loaded /system/lib/egl/libGLES_android.so
I/Gecko ( 9894): Failed to create EGL config!
F/libc ( 9894): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
I/DEBUG ( 9891): debuggerd committing suicide to free the zombie!
F/libc ( 9847): Fatal signal 13 (SIGPIPE) at 0x00002677 (code=0)
I/DEBUG ( 9978): debuggerd: Jul 6 2012 04:08:21
I/ ( 9979): ServiceManager: 0xf958
V/yamaha::media::CManager( 9979): constructor
Click to expand...
Click to collapse
Seems like a Gecko Chrome error but I can't be sure. As a last ditch effort I tried to follow gokhanmoral's method of extracting/mounting pusler's images, creating tar files and placing them into a CWM flashable zip but Siyah wouldn't recognise the 2ndROM after installing so now I'm all out of ideas.
Has anyone managed to successfully install the 6th July build as a 2ndROM? Any help/info would be appreciated.
Cheers

Help portin miui v5

Help with this
I/ServiceManager( 1271): Waiting for service media.audio_flinger...
E/SurfaceFlinger( 1190): eglSwapBuffers: EGL error 0x3008 (EGL_BAD_DISP
I/ServiceManager( 1271): Waiting for service media.audio_flinger...
I/ServiceManager( 1271): Waiting for service media.audio_flinger...
I/ServiceManager( 1271): Waiting for service media.audio_flinger...
I/ServiceManager( 1271): Waiting for service media.audio_flinger...
I/Netd ( 1282): Netd 1.0 starting
W/AudioSystem( 1271): AudioFlinger not published, waiting...
I/ServiceManager( 1271): Waiting for service media.audio_flinger...
I/ServiceManager( 1271): Waiting for service media.audio_flinger...
I/ServiceManager( 1271): Waiting for service media.audio_flinger...
I/ServiceManager( 1271): Waiting for service media.audio_flinger...
I/Netd ( 1288): Netd 1.0 starting
if anyone knows how to solve reply imediently
and could this be a kernel problem or ram disk
I search the Internet,and find this:
There should be these erroes:
1,change the file /vendor/sec/smdk6410/init.smdk6410.rc
and put setprop ro.radio.noril yes to setprop ro.radio.noril no
change the file init.rc
and do this:
service media /system/bin/mediaserver
user media
group system audio camera graphics inet net_bt net_bt_admin
2.Sure that ALSA driver is loaded in the system successfully;
3.add ALSA to the init.rc file:
symlink /dev/snd/pcmC0D0c /dev/pcmC0D0c
symlink /dev/snd/pcmC0D0p /dev/pcmC0D0p
symlink /dev/snd/controlC0 /dev/controlC0
symlink /dev/snd/timer /dev/timer
chmod 0777 /dev/pcmC0D0c
chmod 0777 /dev/pcmC0D0p
chmod 0777 /dev/controlC0
chmod 0777 /dev/timer
chown root audio /dev/snd/controlC0
chown root audio /dev/snd/pcmC0D0c
chown root audio /dev/snd/pcmC0D0p
chown root audio /dev/snd/timer
setprop alsa.mixer.playback.master Front
setprop alsa.mixer.capture.master Capture
setprop alsa.mixer.playback.earpiece Master
setprop alsa.mixer.capture.earpiece Capture
setprop alsa.mixer.playback.headset Master
setprop alsa.mixer.playback.speaker Master
Hope this can help u!
yeah bro i fixed that but a new problem apears will post logcat as soon as i can
maybe you can ask in other phone thread bro..
MIUI 5 is totally awesome would be very happy if you could port it
Buda1996 said:
yeah bro i fixed that but a new problem apears will post logcat as soon as i can
Click to expand...
Click to collapse
Whats the problem? I'm curious ^^
i got a problem egl.bad display fixed the one i mentioned but this one kick me hard i dont know what to do wheen i get home i will post logcat
E/SurfaceFlinger( 1190): eglSwapBuffers: EGL error 0x3008 (EGL_BAD_DISP
this is one piece ok and can it be a problem couzed bz kernel i use feras jb kernel latest one
Buda1996 said:
i got a problem egl.bad display fixed the one i mentioned but this one kick me hard i dont know what to do wheen i get home i will post logcat
E/SurfaceFlinger( 1190): eglSwapBuffers: EGL error 0x3008 (EGL_BAD_DISP
this is one piece ok and can it be a problem couzed bz kernel i use feras jb kernel latest one
Click to expand...
Click to collapse
Ok, pm me the whole logcat please
Sent from my LT30p using xda premium
If you need testers i can help you x10 is now my secondary phone so there is no problem if i damage it. poorly i have no idea about android developing so i cant help in another way
Got a MI2 today MIUI5 is awesome

[Q] Media > DownloadService always running

hi guys, I hope you can help.. I really googled a lot about this, and also made many tests on my phone and waste a lot of time, but couldn't find a solution yet.. also this seems to be affecting many other people, so I don't understand how is possible nobody found a fix for that until now..
(I'm posting in general section because this seems to affect any kind of phones running cm10.1 + gapps)
the problem is that if I go to manage apps > running apps, I see Media process (DownloadService) always running! that could drain my battery and/or download data, in any case I don't see a point in having it always running, so I would like to get rid of it!
what I discovered so far is that the process is related to both gapps and Downloadprovider.apk package included in any CM10.1 build, in fact:
1. the process starts appearing only after installing the gapps (I use a very minimal 4.2 gapps package, about 10mb only)
2. if I delete Downloadprovider.apk package from /System/App, the process doesn't appear anymore
The problem is that if I delete the Downloadprovider.apk package then I start getting gapps related FC's and phone becomes unstable (and very probably will not be possible to download anymore things from the browser and/or play store)!
So what could I do to safely get rid of that process? Maybe disable or freeze some other apps/processes? But I wouldn't know what to disable exactly..
guys please help me I am really getting crazy with that! also that could help many other people :good:
thanks a lot in advance
EDIT: maybe it was related to Maps since I installed maps 7.x I don't see that process anymore!
moly82 said:
hi guys, I hope you can help.. I really googled a lot about this, and also made many tests on my phone and waste a lot of time, but couldn't find a solution yet.. also this seems to be affecting many other people, so I don't understand how is possible nobody found a fix for that until now..
(I'm posting in general section because this seems to affect any kind of phones running cm10.1 + gapps)
the problem is that if I go to manage apps > running apps, I see Media process (DownloadService) always running! that could drain my battery and/or download data, in any case I don't see a point in having it always running, so I would like to get rid of it!
what I discovered so far is that the process is related to both gapps and Downloadprovider.apk package included in any CM10.1 build, in fact:
1. the process starts appearing only after installing the gapps (I use a very minimal 4.2 gapps package, about 10mb only)
2. if I delete Downloadprovider.apk package from /System/App, the process doesn't appear anymore
The problem is that if I delete the Downloadprovider.apk package then I start getting gapps related FC's and phone becomes unstable (and very probably will not be possible to download anymore things from the browser and/or play store)!
So what could I do to safely get rid of that process? Maybe disable or freeze some other apps/processes? But I wouldn't know what to disable exactly..
guys please help me I am really getting crazy with that! also that could help many other people :good:
thanks a lot in advance
Click to expand...
Click to collapse
Maybe you have some program/app installed which uses the download manager? Some app trying to download an update outside of the regular mechanism? I don't see DownloadService running on my phone unless I instructed it to download something. Do you notice anything downloadmanager/media related in logcat? If in doubt, attach the phone to a PC, run the following commands and attach the resulting file ('attach_me.txt') here:
Code:
adb shell 'ps; echo -----------;logcat -v time -b main -b system -b events -d;echo -----------;dumpsys;' > attach_me.txt
Use the full path to adb if you need to.
This shows the currently running processes (ps), the contents of the main, system and event logs (logcat) and a snapshot of the current state of your phone (dumpsys). If there is anything there you don't want to show to the whole world edit the resulting file before attaching it here.
thanks a lot for the reply my friend
tonight at home I think I will be able to run the adb command you suggested me (in my home computer I have sdk installed)
so far I checked logcat in terminal ("logcat |grep edia" and "logcat |grep ownload") and this is what I got:
$ su
# logcat |grep edia
D/Vold ( 1197): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1197): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
W/PackageParser( 1626): No actions in intent filter at /data/app/org.wikipedia-1.apk Binary XML file line #39
I/ActivityManager( 1626): Start proc android.process.media for broadcast com.android.providers.media/.MtpReceiver: pid=1765 uid=10011 gids={50011, 1015, 1023, 1024, 1028, 2001, 3003, 3007}
V/ActivityThread( 1765): android.process.media white listed for hwui
D/SystemUIService( 1701): loading: class com.android.systemui.media.RingtonePlayer
D/SystemUIService( 1701): running: [email protected]
W/ContextImpl( 1626): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1458 android.bluetooth.BluetoothHeadset.:273 android.bluetooth.BluetoothAdapter.getProfileProxy:1155 android.media.AudioService.getBluetoothHeadset:2198 android.media.AudioService.access$2800:104
W/ContextImpl( 1626): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1458 android.bluetooth.BluetoothA2dp.:160 android.bluetooth.BluetoothAdapter.getProfileProxy:1158 android.media.AudioService$AudioServiceBroadcastReceiver.onReceive:4087 android.app.LoadedApk$ReceiverDispatcher$Args.run:758
$ su
# logcat|grep ownload
I/ActivityManager( 1624): Start proc com.google.android.youtube for broadcast com.google.android.youtube/.core.transfer.DownloadService$BootReceiver: pid=2305 uid=10050 gids={50050, 3003, 1015, 1006, 1028}
W/ActivityManager( 1624): No content provider found for permission revoke: file:///data/data/com.android.providers.downloads/cache/downloadfile.apk
W/ActivityManager( 1624): No content provider found for permission revoke: file:///data/data/com.android.providers.downloads/cache/downloadfile.apk
I'm attaching also screenshots of the process I'm talking about
EDIT: I reinstalled everyting from scratch as a new build by quarx came out.. it seems that installing only cm build + minimal gapps, that process doesn't show up. Later after I installed back all my apps (via app2zip flashable zip) the process showed up again.. so probably you are right and there is a certain app using that process.. but how can I understand which one has relation with that service? maybe YouTube as i see it mentioned in logcat?
delete
i could generate the logs you asked without using the pc but using the phone terminal and multiple commands.. i'm uploading them to my dropbox links are below thanks in advance..
http://db.tt/gJLBYeT7
http://db.tt/OahQ8Zf7
http://db.tt/KPUTy4et
YAFU what happened to you?
it seems to me after I installed latest maps 7.x the media > download process is not appearing anymore in running processes.. maybe it was related to sh*tty maps??? :fingers-crossed:

Adding a device to CM10.1

Hi all,
I work in a cell phone chipset company and I was trying to run CM10.1 on our device.
It looks like the kernel is working and adb is working as well.
But it just can't boot into idle screen. Attachment is the logcat.
Looks like dalvik thing or lot more other things...
Hoping someone give us a hand and provide some clues or hints. Thanks in advance!!
========================================================================
After check the permisson, logs look better but still stuck. Thanks to Kangie.
Any further ideas?
I'm not a CM Porting expert, but looking at the log it does seem to be choking when trying to initialise the dalvik cache.
I'd start with checking the perms on /cache/dalvik-cache.
01-04 18:54:05.310 E/dalvikvm( 824): Could not stat dex cache directory '/cache/dalvik-cache': Permission denied
01-04 18:54:05.310 I/dalvikvm( 824): Unable to open or create cache for /system/framework/core.jar (/cache/dalvik-cache/[email protected]@[email protected])
...
01-04 18:54:05.310 E/dalvikvm( 824): VM aborting
01-04 18:54:05.310 F/libc ( 824): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 824 (dexopt)
Anyway - Looks mostly like a perms issue. Check that, go from there.
Kangie said:
I'm not a CM Porting expert, but looking at the log it does seem to be choking when trying to initialise the dalvik cache.
I'd start with checking the perms on /cache/dalvik-cache.
Anyway - Looks mostly like a perms issue. Check that, go from there.
Click to expand...
Click to collapse
hi Kangie,
Thanks!! The log seems different when I modified the permissions.
And now the log is attached again. this is logcat_v2.
Any help woul;d be much appreciated~~:good:
On second thoughts: It does look like Vold (Volume Daemon) is crashing then..
01-06 17:49:22.140 W/MountService( 713): Thread android.server.ServerThread still waiting for MountService ready...
This happens over and over. My guess is that the android boot is being held up by this - It just keeps waiting for something that never happens. That's a good starting point. I'm not sure where to go from there and don't have a device - Back over to you for observations.

Categories

Resources