Guest enemywithin Posted February 21, 2010 Report Posted February 21, 2010 I'm trying to go from MoDaCo Custom Rom 3.1 to stock ROM while keeping all my apps and settings. Have tried both flashing the stock ROM (boot.img + system.img) and using the official RUU and then restoring data.img via Nandroid. Either way, I end up in a boot loop. How can I do this? (Is there a log file containing the reason for the boot loop...?)
Guest sinnadyr Posted February 21, 2010 Report Posted February 21, 2010 Connect to USB, run "adb logcat" and you'll see what's causing the loop, or just post the screen/text on some forum :D Think maybe some settings wont work on stock ROM since they come from a rooted ROM. I tried to restore some settings on to 2.1, and even sense just FC'd. And btw, nandroid backups your whole system, not just settings, so when doing a nandroid restore you wont have the stock ROM anymore... You'll just restore back to the 3.1 ROM. Try using a backup app (not Titanium, since it's just for root).
Guest stevenz Posted February 22, 2010 Report Posted February 22, 2010 If you want to keep settings while going to an RUU ROM, then you're out of luck unless you back them up, flash the ROM and then manually copy things back via the adb shell in the recovery menu. Also, it's "losing".
Guest usb Posted February 22, 2010 Report Posted February 22, 2010 (edited) If you want to keep settings while going to an RUU ROM, then you're out of luck unless you back them up, flash the ROM and then manually copy things back via the adb shell in the recovery menu. Also, it's "losing". Care to evolve? What exactly (files and such) is one supposed to pull from the phone for a later restoration? EDIT: Except for the apk-files that is. Data- and settings files? Edited February 22, 2010 by usb
Guest kendon Posted February 22, 2010 Report Posted February 22, 2010 Care to evolve? What exactly (files and such) is one supposed to pull from the phone for a later restoration? EDIT: Except for the apk-files that is. Data- and settings files? the contents of /data/data should do it.
Guest usb Posted February 22, 2010 Report Posted February 22, 2010 (edited) the contents of /data/data should do it. OK, which files does the app Titanium Backup backup then? I'm guessing the apk, a file containing user settings and the Market link one? And also, are all of these files located in /data/data? Edited February 22, 2010 by usb
Guest usb Posted February 22, 2010 Report Posted February 22, 2010 (edited) Double post Edited February 22, 2010 by usb
Guest enemywithin Posted February 27, 2010 Report Posted February 27, 2010 The need arose and I gave it another try. Connect to USB, run "adb logcat" and you'll see what's causing the loop, or just post the screen/text on some forum :( Didn't know the debugger was enabled during boot. Way cool. Not sure what to conclude from it though... D/PackageManager( 124): Scanning app dir /data/app E/System ( 124): Failure starting core service E/System ( 124): java.lang.NullPointerException E/System ( 124): at com.android.server.PackageManagerService.scanDirLI(PackageManagerService.java:1718) E/System ( 124): at com.android.server.PackageManagerService.<init>(PackageManagerService.java:497) E/System ( 124): at com.android.server.PackageManagerService.main(PackageManagerService.java:261) E/System ( 124): at com.android.server.ServerThread.run(SystemServer.java:126) E/AndroidRuntime( 124): Crash logging skipped, no checkin service E/AndroidRuntime( 124): Crash logging skipped, no htc checkin service I/SystemServer( 124): Starting Status Bar Service. E/SystemServer( 124): Failure starting StatusBarService E/SystemServer( 124): java.lang.NullPointerException E/SystemServer( 124): at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1904) E/SystemServer( 124): at android.app.ApplicationContext.createPackageContext(ApplicationContext.java:1323) E/SystemServer( 124): at com.htc.res.HtcResources.getContext(HtcResources.java:53) E/SystemServer( 124): at com.android.server.status.StatusBarService.<init>(StatusBarService.java:274) E/SystemServer( 124): at com.android.server.ServerThread.run(SystemServer.java:228) E/AndroidRuntime( 124): Crash logging skipped, no checkin service E/AndroidRuntime( 124): Crash logging skipped, no htc checkin service I/SystemServer( 124): Starting Clipboard Service. I/SystemServer( 124): Starting Input Method Service. E/SystemServer( 124): Failure starting Input Manager Service E/SystemServer( 124): java.lang.NullPointerException E/SystemServer( 124): at android.app.ApplicationContext.registerReceiverInternal(ApplicationContext.java:760) E/SystemServer( 124): at android.app.ApplicationContext.registerReceiver(ApplicationContext.java:735) E/SystemServer( 124): at android.app.ApplicationContext.registerReceiver(ApplicationContext.java:729) E/SystemServer( 124): at com.android.server.InputMethodManagerService.<init>(InputMethodManagerService.java:437) E/SystemServer( 124): at com.android.server.ServerThread.run(SystemServer.java:243) E/AndroidRuntime( 124): Crash logging skipped, no checkin service E/AndroidRuntime( 124): Crash logging skipped, no htc checkin service I/SystemServer( 124): Starting NetStat Service. I/SystemServer( 124): Starting Connectivity Service. W/dalvikvm( 124): threadid=25: thread exiting with uncaught exception (group=0x40013140) E/AndroidRuntime( 124): Uncaught handler: thread ConnectivityThread exiting due to uncaught exception E/AndroidRuntime( 124): *** EXCEPTION IN SYSTEM PROCESS. System will crash. E/AndroidRuntime( 124): java.lang.NullPointerException E/AndroidRuntime( 124): at android.app.ActivityThread.getProvider(ActivityThread.java:3689) E/AndroidRuntime( 124): at android.app.ActivityThread.acquireProvider(ActivityThread.java:3718) E/AndroidRuntime( 124): at android.app.ApplicationContext$ApplicationContentResolver.acquireProvider(ApplicationContext.java:1473) E/AndroidRuntime( 124): at android.content.ContentResolver.acquireProvider(ContentResolver.java:576) E/AndroidRuntime( 124): at android.content.ContentResolver.query(ContentResolver.java:144) E/AndroidRuntime( 124): at android.provider.Settings$NameValueCache.getString(Settings.java:472) E/AndroidRuntime( 124): at android.provider.Settings$Secure.getString(Settings.java:1769) E/AndroidRuntime( 124): at android.provider.Settings$Secure.getInt(Settings.java:1809) E/AndroidRuntime( 124): at com.android.server.ConnectivityService.getPersistedNetworkPreference(ConnectivityService.java:186) E/AndroidRuntime( 124): at com.android.server.ConnectivityService.<init>(ConnectivityService.java:127) E/AndroidRuntime( 124): at com.android.server.ConnectivityService.<init>(ConnectivityService.java:51) E/AndroidRuntime( 124): at com.android.server.ConnectivityService$ConnectivityThread.run(ConnectivityService.java:91) E/AndroidRuntime( 124): Crash logging skipped, no checkin service E/AndroidRuntime( 124): Crash logging skipped, no htc checkin service I/Process ( 124): Sending signal. PID: 124 SIG: 9 And btw, nandroid backups your whole system, not just settings, so when doing a nandroid restore you wont have the stock ROM anymore... You'll just restore back to the 3.1 ROM. Not if you remove everything but data.img and edit nandroid.md5...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now