Jump to content


Photo

[ROM][ZTE Skate] Paranoid Android - CM9 - Tablet UI (15/12/2012)

* * * * * 4 votes

  • Please log in to reply
1154 replies to this topic

#541
block18

block18

    Newbie

  • Members
  • Pip
  • 36 posts
  • Devices:ZTE Skate
Anyone can tell me how to tether WiFi on this ROM and provide an app for it, which works perfectly?

  • 0

#542
mogamycool

mogamycool

    Regular

  • Members
  • PipPip
  • 55 posts
  • Devices:zte skate
Great work,thanks.
How can i make the sound so loud just as in mokeeos-20120613 ?

  • 0

#543
C3C0

C3C0

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,179 posts
  • Gender:Male
  • Location:Slovakia (Bratislava)
  • Devices:Nexus 5
Flash volume boosted version of s3 kernel from here
http://www.modaco.co...ll-custom-roms/

  • 0
Links to my stuff: SlimBean (Android 4.2.2), RootBox (CM/AOKP/PA mix 4.2.2), ParanoidJelly2 (AOSPA 4.2.2), ParanoidJelly (JB), ParanoidAndroid (ICS), MokeeOS (GB), CM7.2 (GB), SKatie (GB), SwedishSnow (GB), Kernels
If you like my contribution to Android community, click donate button on my page at: http://ceco.sk.eu.org
Please, do not use personal conversation to solve your problems. Use forum - its power is often underestimated. If I can't help somebody else will certainly try to. Thanks.

#544
xr529

xr529

    Newbie

  • Members
  • Pip
  • 31 posts
I have same problems with this version :( I'm "stuck" in MokeeOS (it's not bad at all!).

  • 0

#545
Nofan Tasi

Nofan Tasi

    Regular

  • Members
  • PipPip
  • 147 posts
  • Gender:Male
  • Devices:G SII - M P4310 - M 99300
  • Twitter:@tasinofan
@C3C0

pa_skate-1.6a-03OCT2012-C3C0 works fairly well, but, every now and then, still some user interface restart...

I can provide logcat and /data/system/dropbox content

Have a nice day

  • 0

#546
C3C0

C3C0

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,179 posts
  • Gender:Male
  • Location:Slovakia (Bratislava)
  • Devices:Nexus 5
Please do.

No single restart yet here...

  • 0
Links to my stuff: SlimBean (Android 4.2.2), RootBox (CM/AOKP/PA mix 4.2.2), ParanoidJelly2 (AOSPA 4.2.2), ParanoidJelly (JB), ParanoidAndroid (ICS), MokeeOS (GB), CM7.2 (GB), SKatie (GB), SwedishSnow (GB), Kernels
If you like my contribution to Android community, click donate button on my page at: http://ceco.sk.eu.org
Please, do not use personal conversation to solve your problems. Use forum - its power is often underestimated. If I can't help somebody else will certainly try to. Thanks.

#547
Nofan Tasi

Nofan Tasi

    Regular

  • Members
  • PipPip
  • 147 posts
  • Gender:Male
  • Devices:G SII - M P4310 - M 99300
  • Twitter:@tasinofan
Here is a sequence of activities leading to issue

- uninstall skype
- reinstall skype from play store
- link skype apk, dex and lib 2 SD
- run skype

- skype forced closes (most often I do not see any app forced closing)
- screen dimms and system seems to hang (no longer responds to touch)
- user interface restarts (CM10 animation).

from dropbox:
[email protected]
seems relevant (same crash appears in logcat)

some logcat lines:
Force stopping package com.skype.raider
FATAL EXCEPTION: main

Thanks c3c0 for your development and support!

Attached Files


  • 0

#548
C3C0

C3C0

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,179 posts
  • Gender:Male
  • Location:Slovakia (Bratislava)
  • Devices:Nexus 5
I use Skype without issues. I have it linked on ext, too, but without dalvik cache. I always avoid linking dex for all apps since this is accessed by system frequently and can wear off sd card more quickly.

I will take a look at the log files. Thanks for feedback.

Edited by C3C0, 07 October 2012 - 02:12 PM.

  • 0
Links to my stuff: SlimBean (Android 4.2.2), RootBox (CM/AOKP/PA mix 4.2.2), ParanoidJelly2 (AOSPA 4.2.2), ParanoidJelly (JB), ParanoidAndroid (ICS), MokeeOS (GB), CM7.2 (GB), SKatie (GB), SwedishSnow (GB), Kernels
If you like my contribution to Android community, click donate button on my page at: http://ceco.sk.eu.org
Please, do not use personal conversation to solve your problems. Use forum - its power is often underestimated. If I can't help somebody else will certainly try to. Thanks.

#549
Nofan Tasi

Nofan Tasi

    Regular

  • Members
  • PipPip
  • 147 posts
  • Gender:Male
  • Devices:G SII - M P4310 - M 99300
  • Twitter:@tasinofan
Actually, I mostly run all apps (including skype) without issues as well, but (un|re)(installing|linking) seems to correlate to restarts.

Before I install ROM, I will typically uninstall a few big apps in order to not hit low or no enough space after install. So one of the
first things to do after ROM install is to reinstall these apps and relink them.

Thanks.

  • 0

#550
C3C0

C3C0

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,179 posts
  • Gender:Male
  • Location:Slovakia (Bratislava)
  • Devices:Nexus 5
I think I have something. Finally managed to crash the system myself. I opened as many appas I could and switch between them for like
15 minutes until I got the following error
E/IMemory ( 1521): cannot dup fd=1022, size=421888, err=0 (Too many open files)
E/IMemory ( 1521): cannot map BpMemoryHeap (binder=0x6f1300), size=421888, fd=-1 (Bad file number)
F/libc    ( 1521): Fatal signal 11 (SIGSEGV) at 0x00007ffb (code=1)

I looked into native code of Paranoid extended utils class and found out that the devs forgot to close open file handles in their functions.
This can potentially result in using all of the available system file handles until system is not able to allocate more...
So now I will try to change code to close open files after they are not needed anymore to see if this will fix the issue.

For example. In this function file is open but it is not closed after it is not needed anymore...
static jstring android_util_ExtendedPropertiesUtils_readFile(JNIEnv* env, jobject clazz, jstring msgObj)
{
	const char* msgString = env->GetStringUTFChars(msgObj, NULL);
	FILE* file = fopen(msgString, "r");
	if(file == NULL)
		return NULL;

	fseek(file, 0, SEEK_END);
	long int size = ftell(file);
	rewind(file);

	char* content = (char*) calloc(size + 1, 1);

	fread(content,1,size,file);

	if(isParanoidRom())
		return env->NewStringUTF(content);
	else{
		jniThrowException(env, "java/lang/SecurityException", "This ROM is not ParanoidAndroid");
		return NULL;
	}
}

  • 2
Links to my stuff: SlimBean (Android 4.2.2), RootBox (CM/AOKP/PA mix 4.2.2), ParanoidJelly2 (AOSPA 4.2.2), ParanoidJelly (JB), ParanoidAndroid (ICS), MokeeOS (GB), CM7.2 (GB), SKatie (GB), SwedishSnow (GB), Kernels
If you like my contribution to Android community, click donate button on my page at: http://ceco.sk.eu.org
Please, do not use personal conversation to solve your problems. Use forum - its power is often underestimated. If I can't help somebody else will certainly try to. Thanks.

#551
C3C0

C3C0

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,179 posts
  • Gender:Male
  • Location:Slovakia (Bratislava)
  • Devices:Nexus 5
Looks good.

Before:
shell@android:/ # lsof | grep pad.prop | wc -l
746

After making my changes to close open files:
shell@android:/ # lsof | grep pad.prop | wc -l
0

Now it's zero because handles are closed and freed properly.

Edited by C3C0, 07 October 2012 - 05:20 PM.

  • 1
Links to my stuff: SlimBean (Android 4.2.2), RootBox (CM/AOKP/PA mix 4.2.2), ParanoidJelly2 (AOSPA 4.2.2), ParanoidJelly (JB), ParanoidAndroid (ICS), MokeeOS (GB), CM7.2 (GB), SKatie (GB), SwedishSnow (GB), Kernels
If you like my contribution to Android community, click donate button on my page at: http://ceco.sk.eu.org
Please, do not use personal conversation to solve your problems. Use forum - its power is often underestimated. If I can't help somebody else will certainly try to. Thanks.

#552
trikool

trikool

    Newbie

  • Members
  • Pip
  • 10 posts
  • Devices:ZTE Skate
Hi. I've a question... why s2e no working in this fantastic ROM? It's based in Cyano 9

  • 0

#553
C3C0

C3C0

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,179 posts
  • Gender:Male
  • Location:Slovakia (Bratislava)
  • Devices:Nexus 5
It should. I will check myself as soon as I fix more critical issues (see above posts)

  • 0
Links to my stuff: SlimBean (Android 4.2.2), RootBox (CM/AOKP/PA mix 4.2.2), ParanoidJelly2 (AOSPA 4.2.2), ParanoidJelly (JB), ParanoidAndroid (ICS), MokeeOS (GB), CM7.2 (GB), SKatie (GB), SwedishSnow (GB), Kernels
If you like my contribution to Android community, click donate button on my page at: http://ceco.sk.eu.org
Please, do not use personal conversation to solve your problems. Use forum - its power is often underestimated. If I can't help somebody else will certainly try to. Thanks.

#554
Nofan Tasi

Nofan Tasi

    Regular

  • Members
  • PipPip
  • 147 posts
  • Gender:Male
  • Devices:G SII - M P4310 - M 99300
  • Twitter:@tasinofan
nice catch, I guess you noticed build.prop as well:

# lsof | awk '{ print $NF }' | sort | uniq -c | sort -n | tail -8
65 /dev/log/radio
65 /dev/log/system
78 /system/bin/app_process
115 /dev/ashmem
121 anon_inode:[eventpoll]
141 /dev/null
1008 /system/build.prop
1008 /system/pad.prop

  • 0

#555
C3C0

C3C0

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,179 posts
  • Gender:Male
  • Location:Slovakia (Bratislava)
  • Devices:Nexus 5
Yes. Makes sense since build.prop is open when isParanoidRom() function is called since this functions opens build.prop to check for rom version property.
And this is why the number of open files is the same.

Here is the fix to test: http://ceco.sk.eu.or...ix-20121007.zip

I am pretty confident this should address the crash. All errors like TransactionTooLarge, Cannot open input channels, Binder transaction failed
I have come accros in all the logcats you and xr provided is a side effect of system running out of available file handles.

Edited by C3C0, 07 October 2012 - 06:32 PM.

  • 1
Links to my stuff: SlimBean (Android 4.2.2), RootBox (CM/AOKP/PA mix 4.2.2), ParanoidJelly2 (AOSPA 4.2.2), ParanoidJelly (JB), ParanoidAndroid (ICS), MokeeOS (GB), CM7.2 (GB), SKatie (GB), SwedishSnow (GB), Kernels
If you like my contribution to Android community, click donate button on my page at: http://ceco.sk.eu.org
Please, do not use personal conversation to solve your problems. Use forum - its power is often underestimated. If I can't help somebody else will certainly try to. Thanks.

#556
Nofan Tasi

Nofan Tasi

    Regular

  • Members
  • PipPip
  • 147 posts
  • Gender:Male
  • Devices:G SII - M P4310 - M 99300
  • Twitter:@tasinofan
Hi C3C0, others,

The update certainly has fixed the open file drain.

Moreover, above skype uninstall - reinstall - relink sequence this time went well.

Keep fingers crossed! Congratulations already.

PS: I cannot afford to not link dex because if I don't I am low on memory.

  • 0

#557
xr529

xr529

    Newbie

  • Members
  • Pip
  • 31 posts
At the moment it´s working without problems.
Thanks so much. Great work!

  • 0

#558
ogbass54

ogbass54

    Regular

  • Members
  • PipPip
  • 61 posts
  • Gender:Male
  • Location:Austria
  • Interests:Bodybuilding, PES 2012, Android
  • Devices:ZTE Skate
  • Twitter:@OgBass
the new Tablet DPI is tooo small :(
previous Table DPI was better.

Edited by ogbass54, 08 October 2012 - 07:31 AM.

  • 0

Sony Ericsson D710 - Sony Ericsson W810i - Samsung Corby Pro - HTC Wildfire - ZTE Skate - Samsung Galaxy SIII


#559
C3C0

C3C0

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,179 posts
  • Gender:Male
  • Location:Slovakia (Bratislava)
  • Devices:Nexus 5
Actually, no :)

Initial DPI was raised from 170 to 200.

https://github.com/P...de00ced1b6f7f99

Anyway, we cannot expect that the default values will suite everyone. Everybody prefers something else.
That's why there's Paranoid settings menu where user can adjust values according to preferences.

Edited by C3C0, 08 October 2012 - 07:48 AM.

  • 0
Links to my stuff: SlimBean (Android 4.2.2), RootBox (CM/AOKP/PA mix 4.2.2), ParanoidJelly2 (AOSPA 4.2.2), ParanoidJelly (JB), ParanoidAndroid (ICS), MokeeOS (GB), CM7.2 (GB), SKatie (GB), SwedishSnow (GB), Kernels
If you like my contribution to Android community, click donate button on my page at: http://ceco.sk.eu.org
Please, do not use personal conversation to solve your problems. Use forum - its power is often underestimated. If I can't help somebody else will certainly try to. Thanks.

#560
ogbass54

ogbass54

    Regular

  • Members
  • PipPip
  • 61 posts
  • Gender:Male
  • Location:Austria
  • Interests:Bodybuilding, PES 2012, Android
  • Devices:ZTE Skate
  • Twitter:@OgBass

Actually, no data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAAABGdBTUEAANbY1E9YMgAAAiJQTFRFV0AI////V0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIV0AIW0IIV0AIW0IIW0QJW0IIV0AIV0AIV0AIQzQQa0oJbEwJbVELbk4Kb0wJb1QMcVILc1cMlF8Ll2oNmXEQnn8Vo2gLpGgLpGoMpW8NpXEOp3YQq4MUrH0Rro0Xr4QUsI4XsZAYuXQNwIkSwI0VyIAOyocQyqcdy4QQzosS1Kod1rIf3ZMS3ZUT3a8c3o4Q3rcf4ZER5JUR5ZYS5ZgS5aIW55wT554U6KkZ6qQV6qUW6qYW6qcX66gW7Lsf7a0X7a0Y7a8Z7bEb7rAY7rEY7rMa7rMb77EY77Ma77QZ77cd77oc8bgb8bkb8bob8b4f8cUh8skh87wb870c88If88kk89Im9Mwl9cMd9cch9sUe9scf9sgg9skh9swi9swk98og988k99Mm+c8h+dMk+dYm+9Mh+9Mi+9Uj+9Yk+9cl+9gl+9kn+9on+9oo+9op+9so/Ncl/Ngl/Non/Nso/N0o/N0p/dkk/dok/d4o/eAp/eEp/tsk/twk/t0k/t4l/uAn/uAp/uIq/uMp/uMq/uQq/94l/94m/98l/98m/+Am/+An/+En/+Eo/+Io/+Ip/+Mo/+Mp/+Mq/+Qp/+Qq/+Qr/+Uq/+UrX/9jcQAAACd0Uk5TAAABCQoLHCYnMDY4OjuCg4WHiImKm56fx8jJys3P1Ofp6enq7/DyAdnyKAAAAUZJREFUGNNt0b9Kw1AYhvH3OzlJ2qRpiiVCIxUUdXIRdFd0cfQOvA4HF3UWr0Fw83J0VEQpaLX/myY5Od/n0FGfS/g9RPibhgBwfB00MMuqwgIgDQBelMbRLj9NRp/TEgCRKD9Jjjq+FIvy9fm7XzA5BC/dPuu00tjx0EhsubCk4Mbd03Z6DVq5TcJ4J21qaPido6BNsACaeR50J1mm4cVhXQTCAPmeG0QuFIKWH4sFiwVHNa3jOjRqG2KV3FjgikVEtA8FkvzCMphZeLZ4rARQyF8KWGZhFlsYmMpAYTEuzi8ti3A1Hz4cmlEGh5x64u3fHSjJsp/7k1H+NTBEemVrL6o9AACOx9nH27Aiktra+nboKnA5n5TDt15BGih7ZrQZaqlMVbwP+gYgEsCLVptRk6fjWX9aAkS0RHbDBmZzs0Sm/3b8Apz1nhT0ICJTAAAAAElFTkSuQmCC

Initial DPI was raised from 170 to 200.

https://github.com/P...de00ced1b6f7f99

Anyway, we cannot expect that the default values will suite everyone. Everybody prefers something else.
That's why there's Paranoid settings menu where user can adjust values according to preferences.


i changed the DPI to 170 and its perfect now :)
i think 170 should be default.

  • 0

Sony Ericsson D710 - Sony Ericsson W810i - Samsung Corby Pro - HTC Wildfire - ZTE Skate - Samsung Galaxy SIII





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users