Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
AntonX
Old
#11  
Senior Member - OP
Thanks Meter 395
Posts: 246
Join Date: Nov 2006
Would be interesting to look at the logcat to see where it's stuck.

There was a possible problem with 1.0.3 that I pulled off. The current one that I re-uploaded - I tried to install in on both fresh phone (after factory reset) and on top of a running ROM , everything seemed fine.

The problem was with framework-res.apk. I had to resign in because I changed some permissions in AndroidManifest.xml (related to CIQ), but something went wrong the first time.

There is a little bit of controversy with signing of framework-res.apk. Some say it's OK, some say the original cert should be kept. Maybe somebody else would chime in and tell me if I screwed it up or not.
The Following 5 Users Say Thank You to AntonX For This Useful Post: [ Click to Expand ]
 
Lawful123
Old
#12  
Senior Member
Thanks Meter 45
Posts: 252
Join Date: Nov 2010
Default wont flash

I wipe everything, the ROM installs, and then black screen...noting. Let it sit for 20min however this did not resolve issue. I was able to install Valhalla no prob. flashed your rom on top of Valhalla and then my phone boots your rom. Do i need to install on top of another rom? I should just be able to whipe my phone and install your rom correct?
 
stephen_w
Old
#13  
stephen_w's Avatar
Senior Member
Thanks Meter 276
Posts: 1,177
Join Date: Jul 2011
Location: Memphis
Quote:
Originally Posted by AntonX View Post
Would be interesting to look at the logcat to see where it's stuck.
I can probably capture that because I can use adb to get into the OS. I ran top to see what, if anything, was hogging CPU but there was nothing obvious & CPU usage was minimal. I have the phone running now but I'm willing to wipe it again and re-flash. Mind you, I did more than factory reset. I was quite literally trying to start from scratch, so here's what I did (if this helps at all):
  1. Backed up /efs to my PC
  2. Backed up the SD card to my PC
  3. Wiped cache
  4. Wiped Davlik cache
  5. Wiped battery stats
  6. Performed a nandroid backup
  7. Copied the backup from /sdcard/clockworkmod/backup to my PC
  8. Formatted /data, /system, & /sdcard
  9. Rebooted back into recovery
  10. Copied the ROM to the SD card
  11. Flashed it
  12. Let it cook for ~20 minutes

So it was quite literally a blank slate.

Quote:
Originally Posted by AntonX View Post

There was a possible problem with 1.0.3 that I pulled off. The current one that I re-uploaded - I tried to install in on both fresh phone (after factory reset) and on top of a running ROM , everything seemed fine.

The problem was with framework-res.apk. I had to resign in because I changed some permissions in AndroidManifest.xml (related to CIQ), but something went wrong the first time.

There is a little bit of controversy with signing of framework-res.apk. Some say it's OK, some say the original cert should be kept. Maybe somebody else would chime in and tell me if I screwed it up or not.
I appreciate all of your hard work. When I get the chance I'll download the latest, follow my steps above, & let you know what I find.
If I helped, please click the "Thanks" button!

Wiki: http://forum.xda-developers.com/wiki...ng_Galaxy_S_4G

Device: Samsung Galaxy S 4G
ROM: AntonX's [ROM] Barebone SGS4G KJ6 1.1.1
Kernel: AntonX's [KERNEL] Basic with a Twist SGS4G KJ6 1.1.3
The Following User Says Thank You to stephen_w For This Useful Post: [ Click to Expand ]
 
AntonX
Old
#14  
Senior Member - OP
Thanks Meter 395
Posts: 246
Join Date: Nov 2006
Quote:
Originally Posted by stephen_w View Post
I appreciate all of your hard work. When I get the chance I'll download the latest, follow my steps above, & let you know what I find.
Wow, you really wiped everything from your phone

I'd appreciate if you send me the log. All you need to do is to save the file with "adb logcat -d >MyLogFile.log" after couple of minutes of this black screen. On an factory reset phone ODEXed ROM should boot very fast the first time because it doesn't have to build Dalvik.

I just tried downloading from my own link and reinstalling, everything seems OK. I also tried installing after full phone reset yesterday, it went fine too. I don't want to reset and restore everything anymore, too lazy

If it proves to be the certificate in the framework-res.apk, I may need to put the original AndroidManifest.xml back.
 
stephen_w
Old
#15  
stephen_w's Avatar
Senior Member
Thanks Meter 276
Posts: 1,177
Join Date: Jul 2011
Location: Memphis
Hey Anton,

You can snag the logcat from here. In case anyone wants them & to clarify what I did, here are the steps I followed (similar to above but more detailed):

- Boot into CWM
adb reboot recovery
- Disable voodoo lagfix
- voodoo lagfix
- disable lagfix
- /system lagfix off
- Reboot

- Create a backup directory structure on your PC (mine is in C:\Users\username\Downloads\SGS4G)
mkdir backups
cd backups
mkdir efs nandroid sdcard
- Backup /efs to your PC
cd efs
adb pull /efs/
- Backup /sdcard to your PC
cd ..\sdcard
adb pull /sdcard/
- Boot into CWM
adb reboot recovery
- Wipe cache
- wipe cache partition
- Wipe Dalvik cache
- advanced
- Wipe Dalvik Cache
- Wipe battery stats
- Wipe Battery Stats
- Create a nandroid backup
- +++++Go Back+++++
- backup and restore
- backup
- Copy the backup to your PC
cd ..\nandroid
adb pull /sdcard/clockworkmod/backup/
- Format /data
- mounts and storage
- format /data
- Format /sdcard
- format /sdcard
- Format /system
- format /system
- Reboot into CWM (necessary for CWM to see the sdcard contents)
- +++++Go Back+++++
- advanced
- Reboot Recovery
- Copy the ROM to the sdcard (this is from the directory in which the ROM is located on your PC)
adb push ROM-sms-T959V-GB2.3.6-antsvx.1.0.3.zip /sdcard/
- Flash the ROM
- install zip from sdcard
- choose zip from sdcard
- ROM-sms-T959V-GB2.3.6-antsvx.1.0.3.zip
- Reboot & let it sit for ~10 minutes

Sorry for the lengthy post, but I wanted to ensure there was transparency in what I did.
If I helped, please click the "Thanks" button!

Wiki: http://forum.xda-developers.com/wiki...ng_Galaxy_S_4G

Device: Samsung Galaxy S 4G
ROM: AntonX's [ROM] Barebone SGS4G KJ6 1.1.1
Kernel: AntonX's [KERNEL] Basic with a Twist SGS4G KJ6 1.1.3
The Following User Says Thank You to stephen_w For This Useful Post: [ Click to Expand ]
 
AntonX
Old
#16  
Senior Member - OP
Thanks Meter 395
Posts: 246
Join Date: Nov 2006
stephen_w,

Seems that it's not framework-res.apk issue, it's not complaining about any certificates.

A lot of unknown permissions in the log, but it's OK, we've removed some of the system packages that grant those permissions but they do more harm than good in the end.

The crash has something to do with that: *** FATAL EXCEPTION IN SYSTEM PROCESS: PowerManagerService. Hm......

Question. If after loading the ROM you shut down completely (power off) first and then boot instead of rebooting right from CWM, will it still do the same?

Btw you don't have to clean everything that extensively. Just do factory reset to erase /data and flash. Dalvik and /cache are cleared but the installer, the /system is completely overwritten anyway.
 
Shortbus-Driver
Old
#17  
Shortbus-Driver's Avatar
Senior Member
Thanks Meter 309
Posts: 1,275
Join Date: Apr 2011
Location: Orlando Fl.
Weird...it flashed fine for me with no wipe....
I did move on and never gave it a break in....but it did work

Sent from my SGH-T959V using xda premium
 
stephen_w
Old
#18  
stephen_w's Avatar
Senior Member
Thanks Meter 276
Posts: 1,177
Join Date: Jul 2011
Location: Memphis
Quote:
Originally Posted by AntonX View Post
stephen_w,
Question. If after loading the ROM you shut down completely (power off) first and then boot instead of rebooting right from CWM, will it still do the same?

Btw you don't have to clean everything that extensively. Just do factory reset to erase /data and flash. Dalvik and /cache are cleared but the installer, the /system is completely overwritten anyway.
I usually don't do it that extensively at all. I was writing a process for myself in case I wanted to really clean it out So this gave me a good excuse to test it. I was having some weirdness which prompted me to write the instructions for myself.

I haven't tried shutting it down after the install. I can certainly try that for you, if you like.
If I helped, please click the "Thanks" button!

Wiki: http://forum.xda-developers.com/wiki...ng_Galaxy_S_4G

Device: Samsung Galaxy S 4G
ROM: AntonX's [ROM] Barebone SGS4G KJ6 1.1.1
Kernel: AntonX's [KERNEL] Basic with a Twist SGS4G KJ6 1.1.3
 
Lawful123
Old
#19  
Senior Member
Thanks Meter 45
Posts: 252
Join Date: Nov 2010
So its something to do with power management. That's weird. Is there something we did to our phones before that is causing the issue now?

Sent from my SGH-T959V using xda premium
 
stephen_w
Old
#20  
stephen_w's Avatar
Senior Member
Thanks Meter 276
Posts: 1,177
Join Date: Jul 2011
Location: Memphis
Quote:
Originally Posted by Lawful123 View Post
So its something to do with power management. That's weird. Is there something we did to our phones before that is causing the issue now?
Doubtful. Nothing I can think of, off-hand. I have to wait until later this afternoon/evening to reflash it and try powering off vs. rebooting from recovery. If you have the chance, please feel free and let us know what happens.
If I helped, please click the "Thanks" button!

Wiki: http://forum.xda-developers.com/wiki...ng_Galaxy_S_4G

Device: Samsung Galaxy S 4G
ROM: AntonX's [ROM] Barebone SGS4G KJ6 1.1.1
Kernel: AntonX's [KERNEL] Basic with a Twist SGS4G KJ6 1.1.3

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...