Help Porting JB 4.3 to Note 2 (I605)

dragonstalker

Senior Member
Jan 1, 2008
1,914
1,303
0
Fort Myers, Fla
Hey all your friendly neighborhood tinkerer here.

I have ported and flashed 4.3 from the S4 leak to the I605. So far, the flash went successful using Vramc3 root odexed as a base.

Watching the logcat during install everything goes fine then i run into this:

Code:
I/DEBUG   ( 1972): 
I/DEBUG   ( 1972): memory map around fault addr deadd00d:
I/DEBUG   ( 1972):     bedf2000-bee13000 [stack]
I/DEBUG   ( 1972):     (no map for address)
I/DEBUG   ( 1972):     ffff0000-ffff1000 [vectors]
I/DEBUG   ( 1972): [email protected] -k -t -z -d -o /data/log/dumpstate_app_native -m 7340
I/dumpstate( 7458): begin
D/MDnsDS  ( 7338): MDnsSdListener::Hander starting up
D/MDnsDS  ( 7338): MDnsSdListener starting to monitor
D/MDnsDS  ( 7338): Going to poll with pollCount 1
I/ServiceManager( 7339): Waiting for service sensorservice...
I/ServiceManager( 7339): Waiting for service sensorservice...
I/ServiceManager( 7339): Waiting for service sensorservice...
^[I/ServiceManager( 7339): Waiting for service sensorservice...
I/VPNCStarter( 1996): Message channel file directory does not exist
D/VoldCmdListener( 1967): asec list
I/ServiceManager( 7339): Waiting for service sensorservice...
I/dumpstate( 7458): done

The android dev guide doesn't really help out. Just says that its trying to start the device sensor service. Here starts the issue. Which service? Barometer, gyroscope, compass ??????? Anybody seen this before could shed some light on this I would be greatly appreciative.

Or is it that the framework is just not compatible with this phone yet? Let me know what you think.
 

joshm.1219

Senior Member
May 7, 2013
4,071
1,741
0
29
Philadelphia
Hey all your friendly neighborhood tinkerer here.

I have ported and flashed 4.3 from the S4 leak to the I605. So far, the flash went successful using Vramc3 root odexed as a base.

Watching the logcat during install everything goes fine then i run into this:

Code:
I/DEBUG   ( 1972): 
I/DEBUG   ( 1972): memory map around fault addr deadd00d:
I/DEBUG   ( 1972):     bedf2000-bee13000 [stack]
I/DEBUG   ( 1972):     (no map for address)
I/DEBUG   ( 1972):     ffff0000-ffff1000 [vectors]
I/DEBUG   ( 1972): [email protected] -k -t -z -d -o /data/log/dumpstate_app_native -m 7340
I/dumpstate( 7458): begin
D/MDnsDS  ( 7338): MDnsSdListener::Hander starting up
D/MDnsDS  ( 7338): MDnsSdListener starting to monitor
D/MDnsDS  ( 7338): Going to poll with pollCount 1
I/ServiceManager( 7339): Waiting for service sensorservice...
I/ServiceManager( 7339): Waiting for service sensorservice...
I/ServiceManager( 7339): Waiting for service sensorservice...
^[I/ServiceManager( 7339): Waiting for service sensorservice...
I/VPNCStarter( 1996): Message channel file directory does not exist
D/VoldCmdListener( 1967): asec list
I/ServiceManager( 7339): Waiting for service sensorservice...
I/dumpstate( 7458): done

The android dev guide doesn't really help out. Just says that its trying to start the device sensor service. Here starts the issue. Which service? Barometer, gyroscope, compass ??????? Anybody seen this before could shed some light on this I would be greatly appreciative.

Or is it that the framework is just not compatible with this phone yet? Let me know what you think.
Would it have anything to do with the s4 having sensors the note 2 doesn't? Such as temperature and humidity?

Sent from my SCH-I605 using xda premium
 

kintwofan

Senior Member
Jul 1, 2011
5,091
2,811
253
Irmo, SC
Hey all your friendly neighborhood tinkerer here.

I have ported and flashed 4.3 from the S4 leak to the I605. So far, the flash went successful using Vramc3 root odexed as a base.

Watching the logcat during install everything goes fine then i run into this:

Code:
I/DEBUG   ( 1972): 
I/DEBUG   ( 1972): memory map around fault addr deadd00d:
I/DEBUG   ( 1972):     bedf2000-bee13000 [stack]
I/DEBUG   ( 1972):     (no map for address)
I/DEBUG   ( 1972):     ffff0000-ffff1000 [vectors]
I/DEBUG   ( 1972): [email protected] -k -t -z -d -o /data/log/dumpstate_app_native -m 7340
I/dumpstate( 7458): begin
D/MDnsDS  ( 7338): MDnsSdListener::Hander starting up
D/MDnsDS  ( 7338): MDnsSdListener starting to monitor
D/MDnsDS  ( 7338): Going to poll with pollCount 1
I/ServiceManager( 7339): Waiting for service sensorservice...
I/ServiceManager( 7339): Waiting for service sensorservice...
I/ServiceManager( 7339): Waiting for service sensorservice...
^[I/ServiceManager( 7339): Waiting for service sensorservice...
I/VPNCStarter( 1996): Message channel file directory does not exist
D/VoldCmdListener( 1967): asec list
I/ServiceManager( 7339): Waiting for service sensorservice...
I/dumpstate( 7458): done

The android dev guide doesn't really help out. Just says that its trying to start the device sensor service. Here starts the issue. Which service? Barometer, gyroscope, compass ??????? Anybody seen this before could shed some light on this I would be greatly appreciative.

Or is it that the framework is just not compatible with this phone yet? Let me know what you think.
Not sure what you did to port it, but there is an app called sensorservifes in the stock s4. Try deleting it to get it booting

Sent from my SGH-T889 using xda app-developers app
 

dragonstalker

Senior Member
Jan 1, 2008
1,914
1,303
0
Fort Myers, Fla
Not sure what you did to port it, but there is an app called sensorservifes in the stock s4. Try deleting it to get it booting

Sent from my SGH-T889 using xda app-developers app
Ok. i'll try that. I know there is also a libsensorservice.so and a sensorservice file in the bin directory. So didn't know if it was as simple as deleting an apk.

No sensor.apk in the 4.3 download I have. Redownloading it.

Update. replaced sensorservice.apk , reflashed, and still getting same logcat . Clean install, does the dump, then keeps looping saying waiting for service sensorservice.
 
Last edited:

Notorious

Senior Member
Aug 23, 2011
8,182
5,167
253
Sydney
Ok. i'll try that. I know there is also a libsensorservice.so and a sensorservice file in the bin directory. So didn't know if it was as simple as deleting an apk.

No sensor.apk in the 4.3 download I have. Redownloading it.

Update. replaced sensorservice.apk , reflashed, and still getting same logcat . Clean install, does the dump, then keeps looping saying waiting for service sensorservice.
Make sure you add your sensor libs to system/lib/hw

Sent from my SPH-L710 using xda app-developers app
 

emwno

Senior Member
Aug 30, 2011
1,862
4,494
0
23
Islamabad
theres a sensorhubservice and sensor service file in the note 2's /system/bin and libsersorhubservice.so and libsensorservice.so in /system/lib, copy these into your ported rom.
 

wtr_dhd

Senior Member
Dec 12, 2011
644
228
0
Flanders
Any update on your progress? I would love to get a stable stock 4.3 or 4.2 on my note 2...
4.2? There are stable 4.2.2 roms.. I use tegraowners 4.2.2 rom, based on CM. No bugs, faster than a N4 and better batterylife than stock sammy roms.

Gonna be cool when our Note 2 gets 4.3 though.
 

dstruct2k

Senior Member
Jan 31, 2008
1,253
937
0
Winnipeg
Its the s4 ported using i605vramc3 odexed rooted as a base.

Sent from my SCH-I605 using xda premium
I'm trying to do the same thing on my I747 (S3) using the mako 4.3 rip, but I can't get the kernel to finish booting (I'm using CM 10.1 nightly as a base and attempting to use its kernel)

I've pulled the last_kmsg but I don't see anything as obvious as your log. (Can't get ADB to connect during boot, so I'd assume the kernel isn't making it far enough to start up adbd) I've posted the kmsg here: [link] Any tips?
 

lolmensch

Senior Member
Jul 14, 2009
1,375
304
0
FarFarAway
thanks for all the help it if I so far. if anybody is good at coding the link to what I've done so far is posted below.


I605VRAMC3-4.3test3.zip https://www.dropbox.com/s/t1k3p6anae3nvs7/I605VRAMC3-4.3test3.zip
most likely I'm wrong here but it sounds like a smiliar issue we had with 4.2.2 in the beginning or am I wrong. Aren't we probably missing the correct files for the sensorhub?

If I'm recalling right it prevented us from booting 4.2.2 too until someone came up with a dirty hacky way and lateron it was done properly by somebody else. (just a far memory though)

I'm trying to do the same thing on my I747 (S3) using the mako 4.3 rip, but I can't get the kernel to finish booting (I'm using CM 10.1 nightly as a base and attempting to use its kernel)

I've pulled the last_kmsg but I don't see anything as obvious as your log. (Can't get ADB to connect during boot, so I'd assume the kernel isn't making it far enough to start up adbd) I've posted the kmsg here: [link] Any tips?
doesn't that sound similiar: [ 299.419929] [1: recovery: 111] Sensors unset: 7fff ?
 
Last edited:

dstruct2k

Senior Member
Jan 31, 2008
1,253
937
0
Winnipeg
most likely I'm wrong here but it sounds like a smiliar issue we had with 4.2.2 in the beginning or am I wrong. Aren't we probably missing the correct files for the sensorhub?

If I'm recalling right it prevented us from booting 4.2.2 too until someone came up with a dirty hacky way and lateron it was done properly by somebody else. (just a far memory though)



doesn't that sound similiar: [ 299.419929] [1: recovery: 111] Sensors unset: 7fff ?
That line is just the system unloading the sensors after I issued a hard-reboot command by holding down the power button. I gave it 5 minutes to try and boot (299 seconds according to the kernel, not bad for estimating :)) and then rebooted back to recovery to pull the kmsg. The touch event a few lines up was me showing where the reboot command was sent.
 
  • Like
Reactions: lolmensch

ram9200

Senior Member
Mar 6, 2010
1,606
2,561
143
The I/DEBUG lines will give you a traceback to where the original error occurred.

Sent from my buttered S3
you should check your build.prop as im sure that is part of your problem. You should use the one that came with 4.3 and just change the lines you need
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone