Post Reply

[ROM] [24JUL] [AOKP] IceColdJelly422 - 3.8 - JellyBean 4.2.2_r1.2

OP LorD ClockaN

25th February 2013, 06:38 AM   |  #7761  
{< r o N o $'s Avatar
Senior Member
Flag Navi Mumbai
Thanks Meter: 65
 
219 posts
Join Date:Joined: Dec 2012
More
Re: [ROM] [15FEB] [AOKP] IceColdJelly421 - 2.1 - JellyBean 4.2.2_r1
17b was quite stable with no problems.
Try that.

Sent from my HTC One X using xda premium
25th February 2013, 06:39 AM   |  #7762  
j to the 4n's Avatar
Recognized Developer
Flag apktool d -b -f Freetime.apk xda
Thanks Meter: 19,516
 
4,090 posts
Join Date:Joined: Oct 2012
Donate to Me
More
Quote:
Originally Posted by n3ocort3x

17b with 17b modules from op of my kernel thread in this section. everythi g works except spirit fm

Sent from my HTC One X using Tapatalk 2

..and which stable kernel got spirit fm working as well? (-:
25th February 2013, 06:49 AM   |  #7763  
eyosen's Avatar
Senior Member
Istanbul
Thanks Meter: 2,065
 
2,714 posts
Join Date:Joined: Apr 2007
Donate to Me
More
Re: [ROM] [15FEB] [AOKP] IceColdJelly421 - 2.1 - JellyBean 4.2.2_r1
Quote:
Originally Posted by j to the 4n

..and which stable kernel got spirit fm working as well? (-:

Hey j4n great to see you mate.
I think it was introduced in v14. I remember testing it in 16d IIRC. Give that a try.
The Following User Says Thank You to eyosen For This Useful Post: [ View ]
25th February 2013, 06:51 AM   |  #7764  
Senior Member
Flag Pune
Thanks Meter: 47
 
107 posts
Join Date:Joined: Dec 2006
More
Quote:
Originally Posted by LorD ClockaN

1 last request!
Can you check if pbax's rom has those errors please??

~~ Flowed with OneX ~~

Sorry for a delay.

ICMDownload errors on pabx rc16 with stock kernel from pabx and ncx17b repack. ( attached logcats for both)
GRALLOC errors not occuring
25th February 2013, 06:55 AM   |  #7765  
Senior Member
Flag Venice (IT)
Thanks Meter: 326
 
387 posts
Join Date:Joined: Sep 2008
Donate to Me
just to do a summary... lord can you call

"start poweron_modem"

instead of directly calling the ".sh" script when bringing up the radio?

and, btw, do you think that calling "poweroff_modem.sh" when entering airplaine mode could be useful on battery life? Since it kills some ril related services and unloads some modules that are known for keeping kernel wake locks

edit:

Code:
# grep -r poweron_modem system/*                                      
Binary file system/lib/libhtc_ril.so matches
it calls it...

so.. what if

/system/bin/poweron_modem_fls.sh gets renamed to something like /system/bin/poweron_modem_fls_real.sh and /system/bin/poweron_modem_fls.sh contains just a simple
Code:
#!/system/bin/sh
start poweron_modem
and maybe it'd need suid bit to run a "start" command? (or put "su" before the start command)

of course you have to change

service poweron_modem /system/bin/poweron_modem_fls.sh /data/modem_work/

to

service poweron_modem /system/bin/poweron_modem_fls_real.sh /data/modem_work/


in this way HTC ril calls the sh script that calls the "start" method and should override the 4.2 partitions thing

edit2:

Code:
strings libhtc_ril.so | grep poweron_modem
%s():run poweron_modem_fls.sh
./system/bin/poweron_modem_fls.sh
they're directly calling it... and it fails because of that 4.2 thing that requires the new init binary (i smacked my head for a couple of days on amlogic tablets to sort this out while building 4.2)... doing that "binary bounce" could work imho

what's interesting is what has changed from 2.1? because it didn't care until that build!


edit3:

or in a more elegant way try to adopt this route that is for /storage but make the same thing for /rfs and /rca

i hope i have you some hints
Last edited by Christian Troy; 25th February 2013 at 08:05 AM.
25th February 2013, 07:20 AM   |  #7766  
eyosen's Avatar
Senior Member
Istanbul
Thanks Meter: 2,065
 
2,714 posts
Join Date:Joined: Apr 2007
Donate to Me
More
Re: [ROM] [15FEB] [AOKP] IceColdJelly421 - 2.1 - JellyBean 4.2.2_r1
Quote:
Originally Posted by j to the 4n

..and which stable kernel got spirit fm working as well? (-:

J4n, few more notes since I had my shower and can think more clearly. As tested by semdoc, http://forum.xda-developers.com/show...php?p=38099207, it works initially. When you exit the app, you won't get any kind of sound unless you reboot or restart mediaserver. And this has been the best case scenario. So, it's best to wait until it gets fixed.
25th February 2013, 07:27 AM   |  #7767  
n3ocort3x's Avatar
Senior Member
Flag Vienna
Thanks Meter: 10,871
 
5,858 posts
Join Date:Joined: May 2012
Donate to Me
More
Re: [ROM] [15FEB] [AOKP] IceColdJelly421 - 2.1 - JellyBean 4.2.2_r1
Quote:
Originally Posted by eyosen

J4n, few more notes since I had my shower and can think more clearly. As tested by semdoc, http://forum.xda-developers.com/show...php?p=38099207, it works initially. When you exit the app, you won't get any kind of sound unless you reboot or restart mediaserver. And this has been the best case scenario. So, it's best to wait until it gets fixed.

v18 contained that fix but as u all know it messes up stuff. wait until my brake then i provide new version

Sent from my HTC One X using Tapatalk 2
Last edited by n3ocort3x; 25th February 2013 at 07:37 AM.
The Following 5 Users Say Thank You to n3ocort3x For This Useful Post: [ View ]
25th February 2013, 08:25 AM   |  #7768  
Junior Member
Thanks Meter: 0
 
15 posts
Join Date:Joined: May 2008
Quote:
Originally Posted by krishnachetan.ts

Use jbfw tool from android development section to upgrade ur hboot, extract zip file to folder , run jbfw.bat file,select option 1 , it'll update ur hboot, u need to keep ur unlock code in the same folder ,
Or else u can Just download previous version of ICJ based on 4.1.2 , extract boot.IMG from it n flash it via, mount device in recovery, copy ur ROM der,
Flash ROM n boot up, those r the two options for u mate

typed on ****1x*****

Thanks. I upgraded the HBOOT using JBFW tool. Flashed the boot.img and was able to boot into the new OS. No more System UI error. Thanks again.
25th February 2013, 08:32 AM   |  #7769  
LorD ClockaN's Avatar
OP Recognized Developer
Flag Veli Losinj
Thanks Meter: 27,502
 
13,238 posts
Join Date:Joined: Sep 2008
Donate to Me
More
Re: [ROM] [15FEB] [AOKP] IceColdJelly421 - 2.1 - JellyBean 4.2.2_r1
Quote:
Originally Posted by Christian Troy

i'm doing some tests...

4.2 uses

Code:
# mount shared so changes propagate into child namespaces
    mount rootfs rootfs / shared rec
we're using htc's init binary that, correct me, comes from jb (or ics)? where "shared" was not used. This makes the modem poweron script unaware or some partitions...

of it's simply a permissions problem...

Code:
radio@android:/ $ /system/bin/poweron_modem_fls.sh
opendir failed, Permission denied
/dev/null
/data/modem_nvdata/calib.nvm: No such file or directory
/dev/null
ERROR: Unable to open file (fopen returned 0).
/rfs//sec.bin: Permission denied
/dev/null
ERROR: Unable to open file (fopen returned 0).
/data/modem_sec//sec.bin: No such file or directory
/dev/null
rm failed for /data/modem_sec//sec.bin, No such file or directory
insmod: init_module '/system/lib/modules/cdc-acm.ko' failed (Operation not permitted)
/system/bin/poweron_modem_fls.sh[78]: cd: /data/modem_work: Permission denied
insmod: init_module '/system/lib/modules/baseband_usb_chr.ko' failed (Operation not permitted)
ttyACM0 found!!
ttyACM0 found, continue
/dev/ttyACM0 found, start gsm0710mux
insmod: init_module '/system/lib/modules/raw_ip_net.ko' failed (Operation not permitted)
if ran as "radio" uid

edit:

no it's not a permissions problem but that "shared" thing since changing rild with a shell script that launches poweron_modem_fls.sh you get

Code:
E/MODEM   ( 3356): try to find /dev/ttyACM0... 
E/MODEM   ( 3358): ttyACM0 found!! 
E/MODEM   ( 3359): /dev/ttyACM0 found, start gsm0710mux 
I/MODEM   ( 3361): Checking malog_status for raw_ip_net  
E/MODEM   ( 3362): insmod /system/lib/modules/raw_ip_net.ko 3 
E/MODEM   ( 3366): Poweron_modem_fls.sh version: 1.0.2 
E/MODEM   ( 3370): /rca folder mounted. 
E/MODEM   ( 3372): cp calib.nvm to work folder 
E/MODEM   ( 3373): setprop ril.nvm.cal.dir /data/modem_work/ 
E/MODEM   ( 3375): setprop ril.nvm.work.dir /data/modem_work/ 
E/MODEM   ( 3379): Gen. sec.bin SUCC in /rfs/ 
E/MODEM   ( 3382): Double confirm sec.bin is in /rfs/ and SUCC. 
E/MODEM   ( 3383): NVM Injecting file: new InjectionTool will generate empty nvm file if it doesn't exist 
I/MODEM   ( 3385): Delete sec.bin in /rfs/ 
I/MODEM   ( 3393): Checking malog_status  
I/MODEM   ( 3394): insmod /system/lib/modules/cdc-acm.ko  1 
E/MODEM   ( 3396): IMCdownload -V0x1130 -X0 -x800 -y30 -z50
edit2:

@lord
anywhere in the framework are you calling that .sh apart from the init.endeavoru.rc?
because if it's called as "start poweron_modem" it will work (it will on boot), but if it's called directly it won't see partitions

I'm at work, as of can't do shizzz,
No, I ain't calling it..

Also I see you are good at this.. You can try everything you said and report a solution..

~~ Flowed with OneX ~~

Edit:
Not good, you are better than me for sure at this
Last edited by LorD ClockaN; 25th February 2013 at 09:00 AM.
25th February 2013, 10:01 AM   |  #7770  
Senior Member
Thanks Meter: 273
 
385 posts
Join Date:Joined: Jun 2010
More
I saw some people post about radio issues? And from what I understand if you loose the connection with your provider it doesn't reconnect by itself? I had this issue in the past and I got it fixed.

If this is the case could the guys/girls who have this give me their baseband version and CID?

Post Reply Subscribe to Thread

Tags
aokp, icecold, icecoldjelly, icj, kernel, lord clockan, n3o, one x
Previous Thread Next Thread
Thread Tools
Display Modes


Top Threads in One X Original Android Development by ThreadRank