Jump to content


Photo

[DEV][ROM][24.7.] CyanogenMod 10.1 (Android 4.2.2)

* * * * * 69 votes

  • Please log in to reply
3450 replies to this topic

#221
Pierreism

Pierreism

    Enthusiast

  • Members
  • PipPipPip
  • 155 posts
  • Gender:Male

Apparently (there's a pretty big discussion on Reddit) THIS: http://forum.xda-dev...2&nocache=1 "provides significant lag reduction" to Android. It basically solves the issue with the limited entropy pool in /dev/random. Has anyone tried it? Any opinions?


I'm trying the apk now and am seeing minor, but encouraging results. Maps seems about the same to me, as does opening/closing apps, but I can definitely notice that general touch scrolling is *greatly* improved.

Edit: Actually there's no real way to qualify my completely anecdotal assessment, and I don't see how scrolling has anything to do with /dev/random. Placebo strikes again :(

Edited by Pierreism, 04 January 2013 - 03:18 PM.

  • 0

#222
mercurio.

mercurio.

    Newbie

  • Members
  • Pip
  • 3 posts
  • Devices:Blade

Apparently (there's a pretty big discussion on Reddit) THIS: http://forum.xda-dev...87032&nocache=1 "provides significant lag reduction" to Android. It basically solves the issue with the limited entropy pool in /dev/random. Has anyone tried it? Any opinions?


i know it's somewhat off-topic but i tried it with cm10 and it works great! maps is "kind of" lag-free now! maybe there is some way to integrate it in the rom?

  • 0

#223
KonstaT

KonstaT

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 2,769 posts
  • Gender:Male
  • Location:Finland
  • Devices:Moto G, ZTE Open C
  • Twitter:@konstatuomio

Apparently (there's a pretty big discussion on Reddit) THIS: http://forum.xda-dev...87032&nocache=1 "provides significant lag reduction" to Android. It basically solves the issue with the limited entropy pool in /dev/random. Has anyone tried it? Any opinions?


I haven't tried the app but I tested the symlink method that should do the same thing. I experienced no difference what so ever.

Also theory behind the app has already been debunked. /dev/random is never even opened/used by dalvik/userspace apps. It seems that the app wakes up the device every second to write and boosts CPU frequency while doing that, that's all.
http://code.google.c...detail?id=42265

1) As a french mobile user, my provider give me the ability to connect to wifi via EAP-SIM authentification. is it possible to you to look at this tread and make "magic happens" in a future update? (http://forum.xda-dev...d.php?t=1660397). it would be GREAT for french users!

2) also, i've got a TPT basic question. as a S2E user under a sandisk fast card (2Go sd-ext) -> no need of local storage! soooo... i make a custom tpt via tpthelper (2mb cache - 260mb system - 194mb data) - is it a good idea? 'cause my data partition is unused! (all app/system app/paied app/dalvik moved to sd-ext) -> can i flash a full gapps-jb instead of the one you say?

3) is a swap partition a good idea to boost my phone? (with swappy2 app on the store for example?)


1. Sorry, I can't add that for everyone. It's a simple modification to your /system/etc/wifi/wpa_supplicant.conf, anyone who needs that can easily do it themselves.

2. That's a terrible idea. :P Any free space on /system partition is wasted space. You'd be completely wasting 100+ mb of internal storage. It's best to keep any available space on /data partition. S2E still doesn't move everything from /data to /sd-ext and it is not recommeded to move dalvik cache or app data anyway.

3. I've never used swap so I can't tell how much difference it makes. Chinese devices with 256mb of RAM certainly benefit from it. There's also a zRAM option under performance settings that you can try if you're having low memory issues.

  • 1

#224
samjam

samjam

    Addict

  • Members
  • PipPipPipPipPip
  • 557 posts

i know it's somewhat off-topic but i tried it with cm10 and it works great! maps is "kind of" lag-free now! maybe there is some way to integrate it in the rom?


How about:

mount /dev/urandom /dev/random -o bind

  • 0

#225
anantk

anantk

    Regular

  • Members
  • PipPip
  • 124 posts
  • Gender:Male
  • Location:India
  • Devices:Idea Blade

2. That's a terrible idea. :P Any free space on /system partition is wasted space. You'd be completely wasting 100+ mb of internal storage. It's best to keep any available space on /data partition. S2E still doesn't move everything from /data to /sd-ext and it is not recommeded to move dalvik cache or app data anyway.


I have 230 MB partition for system in Idea Blade (256 RAM ZTE Blade). I nearly have 77 MB free space in system partition, but only 33 MB free space remaining in data partiton after installing apps and moving installed apps to EXT-SD using S2E app.

How to use the 77 MB empty system partition space? Should I convert some user apps to system apps or any better way to use 77 MB empty system partition space?

  • 0

#226
elrond_bs

elrond_bs

    Diehard

  • Members
  • PipPipPipPip
  • 399 posts
  • Gender:Male
  • Devices:ZTE Blade
Quite obvious what to do - backup your ROM with Clockworkmod and use TPT to resize your system to 160MB, then restore the ROM.

  • 0

ZTE Blade with CyanogenMod 11 (Android 4.4.4 KitKat)


#227
sej7278

sej7278

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,647 posts
  • Gender:Male
  • Devices:ZTE Blade

I haven't tried the app but I tested the symlink method that should do the same thing. I experienced no difference what so ever.

Also theory behind the app has already been debunked. /dev/random is never even opened/used by dalvik/userspace apps. It seems that the app wakes up the device every second to write and boosts CPU frequency while doing that, that's all.
http://code.google.c...detail?id=42265


yup, it is funny how quickly XDA folks jump on things like this (and the sysctl "super speed" nonsense previously) without even looking at it logically. using the symlink makes no difference, so looking at the patch the only thing making a difference is the app is keeping the cpu up (which explains the battery drain!)

  • 1

#228
chealsearock

chealsearock

    Regular

  • Members
  • PipPip
  • 90 posts
  • Gender:Male
  • Devices:Orange San Francisco

How to build

1. Follow instructions on initializing a build environment up to a point of downloading the source code.

2. Initialize CyanogenMod 10.1 repo.

repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1

3. Add local manifest that downloads ZTE Blade device config, props and kernel source from my github and few CM replacement projects from legaCyMod github.
curl -L -o .repo/local_manifest.xml -O -L https://raw.github.com/legaCyMod/android_local_manifest/cm-10.1/local_manifest.xml

4. Download the source code.
repo sync

5. Update Terminal Emulator. (You only need to this again when Terminal has been updated.)
cd path-to/CM10.1_WORK_DIR/vendor/cm/
./get-prebuilts

6. Compile the ROM.
cd path-to/CM10.1_WORK_DIR/
. build/envsetup.sh && lunch cm_blade-userdebug
make bacon -j8

Use 'repo sync' to pull merged changes from upstream. Use 'make clobber' to clean the build environment. Repeat step 6 to make a new build.



Do I have to do this or can I skip it? Does it have advantages or not?

  • 0
Orange San Francisco
Running 2.3.4 (Ginger Stir Fry {Latest} by wbaw)

#229
top4ek

top4ek

    Newbie

  • Members
  • Pip
  • 47 posts
  • Gender:Male
  • Devices:ZTE Blade (OSF)
Using Link2SD: 4.0.4 and 4.1.2 works great. Just installed 4.2.1 from 1 jan and getting error while moving dalvik cache files to sd card. apk and so-files moved normally. Any glue?

mkdir failed for /data/sdext2/dalvik-cache, I/O error.

Edited by top4ek, 04 January 2013 - 04:30 PM.

  • 0

ROM: CM11 Zeelog

 


#230
elrond_bs

elrond_bs

    Diehard

  • Members
  • PipPipPipPip
  • 399 posts
  • Gender:Male
  • Devices:ZTE Blade

Using Link2SD: 4.0.4 and 4.1.2 works great. Just installed 4.2.1 from 1 jan and getting error while moving dalvik cache files to sd card. apk and so-files moved normally. Any glue?

You mean clue? :D
It's only natural for such apps not to work on early build. Link2SD is old and not officially compatible with 4.2! Use S2E instead or CM10.

Edited by elrond_bs, 04 January 2013 - 04:43 PM.

  • 0

ZTE Blade with CyanogenMod 11 (Android 4.4.4 KitKat)


#231
top4ek

top4ek

    Newbie

  • Members
  • Pip
  • 47 posts
  • Gender:Male
  • Devices:ZTE Blade (OSF)

You mean clue? :D

yep :) English is not my native language.

It's only natural for such apps not to work on early build. Link2SD is old and not officially compatible with 4.2! Use S2E instead or CM10.

thanks. It's sad. Anyway, why i can't create a dir on /data/sdext2 - interesting question. There's no file or dir named dalvik-cache. Just looked via SSHdroid. Tried to reformat this partition - no luck.

Some time ago i'm switched from S2E to Link2SD because internal memory faster than SD, so i move almost all soft to SD but Swype, Gmail and SMS Pro.

UPD: Strange thing: installed 4.1.2 and got same problem O_o
UPD2: Installed 4.2.1 and modified s2e.
# su -
root@android:/sd-ext # ls
ls: ./dalvik-cache: I/O error
app		 app-asec	 app-private
s2e always shows on dalvik menu "need reboot".
root@android:/ # mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/secure type tmpfs (rw,relatime,mode=700)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
/dev/block/mtdblock5 on /system type yaffs2 (ro,relatime)
/dev/block/mtdblock6 on /data type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/vold/179:2 on /data/sdext2 type ext4 (rw,relatime,barrier=1,data=writeback)
/dev/block/mmcblk0p2 on /data/app type ext4 (rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=writeback)
/dev/block/mmcblk0p2 on /data/app-private type ext4 (rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=writeback)
/dev/block/mmcblk0p2 on /data/app-asec type ext4 (rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=writeback)
/dev/block/mtdblock4 on /cache type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/mmcblk0p2 on /sd-ext type ext4 (rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=writeback)
/dev/block/vold/179:1 on /storage/sdcard0 type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
tmpfs on /storage/sdcard0/.android_secure type tmpfs (ro,relatime,size=0k,mode=000)
I've removed Link2SD with init script, but somehow it mounts /data/sdext2 О_о There's no scripts in /data/local except s2e's
UPD3: Made full-wipe (/system and /boot too) Got.
# mount /dev/block/vold/179\:2 /t

root@android:/data/data/berserker.android.apps.sshdroid/home # ls /t
ls: /t/dalvik-cache: I/O error
I have 3.8 Gb partition for sd-ext, may be CWM Touch can't format it correctly? Tomorow will try to format on big brother with linux. May be all that troubles caused not by this ROM+Link2SD :)
BTW, is it supposed to be?
# mkfs.ext2 -m 0 /dev/block/vold/179\:2

mntent* getmntent(FILE*)(3) is not implemented on Android
mkfs.ext2: lseek: Value too large for defined data type

Last UPD: There was a bug in FS of sd-ext partition i beleive, Link2SD works without errors after formatting partition on BB, all soft is transferable(with .dex, .so) now. CWM 6.0.1.x (don't remember exacly) seems can't format such big partitions.

Edited by top4ek, 05 January 2013 - 01:03 PM.

  • 0

ROM: CM11 Zeelog

 


#232
KonstaT

KonstaT

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 2,769 posts
  • Gender:Male
  • Location:Finland
  • Devices:Moto G, ZTE Open C
  • Twitter:@konstatuomio
New build. Fixed hardware video decoding/encoding. There's still some issues with videoplayer controls and video playback in portrait mode.

cm-10.1-20130105-KonstaKANG-blade.zip
http://www.mediafire...2blaq5b0vmrs6gm
md5:4a33beddd57e2efa51689230973a581e

-fixed hardware video decoding/encoding, e.g. YouTube HQ, HTML5 playback, Camcorder, etc (thanks to Ganster, psyke83 and everyone else involved)
-fixed camera preview glitches (thanks to psyke83)
-NavigationBar : Customization (1,2)
-NavigationBar: Custom height (1,2)
-Allow purging of asset bitmaps (1)
-added option to disable bootanimation

  • 13

#233
fahad.sagittarius

fahad.sagittarius

    Regular

  • Members
  • PipPip
  • 107 posts
  • Gender:Male
  • Location:Lucknow
  • Interests:Gadgets & Gizmos
  • Devices:LAVA iris 501 & DELL XCD35
Very nice. Infact great release. Thank u for making android 4.2 to work on our device. Once BT is fixed, I will continue to use this ROM for daily use :-)

  • 0

#234
emotty

emotty

    Enthusiast

  • Members
  • PipPipPip
  • 158 posts
  • Gender:Male
  • Interests:knitting .. :P
  • Devices:san francisco
Wow another rom by Konstat :D


Thanks for all the work you put in and sharing it :)


cant wait to try this :)



and thanks bigtime for the Usb tethering fix :D

  • 0
Flash Freak !

#235
ZTR

ZTR

    Enthusiast

  • Members
  • PipPipPip
  • 259 posts
  • Gender:Male
  • Location:India
  • Devices:Galaxy S i9000,Dell XCD 35
  • Twitter:@Zakitheracer
Epic update there :o

Gonna switch to 10.1 as soon as I get some time and get a computer lol

  • 0
ROM:CM10.1 KonstaKANG 24/07/13
Recovery:CWM 6.0.2.7

#236
top4ek

top4ek

    Newbie

  • Members
  • Pip
  • 47 posts
  • Gender:Male
  • Devices:ZTE Blade (OSF)
5/1. Stock camera fixed and works great, Camera360(in 1/1 worked) got same bugs as stock in 1.1 plus bugs, that visually like in youtube: menu, message popups are textured by squeezed picture from camera.

Keyboard swyping doesn't works on EN-QWERTY at all. With RU i can "draw"(i see track) my swype over keyboard, but theres no any reaction after swipe entered.

Thanks KonstaT for your great ROM - only reason i'm still on OSF :)

Edited by top4ek, 05 January 2013 - 01:08 PM.

  • 0

ROM: CM11 Zeelog

 


#237
emotty

emotty

    Enthusiast

  • Members
  • PipPipPip
  • 158 posts
  • Gender:Male
  • Interests:knitting .. :P
  • Devices:san francisco
Installed and had a quick play ... love it :D

  • 0
Flash Freak !

#238
HumaDroid

HumaDroid

    Regular

  • Members
  • PipPip
  • 142 posts
  • Gender:Male
  • Devices:DELL XCD35
wipe dalvik enough to update to the latest builds?

Edited by HumaDroid, 05 January 2013 - 01:31 PM.

  • 0

#239
De@n

De@n

    Addict

  • Members
  • PipPipPipPipPip
  • 556 posts
  • Gender:Male
  • Location:UK
  • Devices:Xperia S & Blade

wipe dalvik enough to update to the latest builds?

Wiping dalvik isn't needed.

  • 0

#240
sej7278

sej7278

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,647 posts
  • Gender:Male
  • Devices:ZTE Blade

wipe dalvik enough to update to the latest builds?


you don't even need to wipe dalvik, it gets done anyway. if you're already on 10.1 then just install the zip.

Keyboard swyping doesn't works on EN-QWERTY at all. With RU i can "draw"(i see track) my swype over keyboard, but theres no any reaction after swipe entered.


keyboard swiping will never work, relies on armv7 libs. try swiftkey or swype if you want that.

has anyone else noticed that when using s2e your facebook and twitter accounts are removed upon reboot? and s2e doesn't even work on cold boot? i'm so tired of s2e screwing up i'm actually going to try going back to moving to sdcard instead!

  • 2




4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users