Jump to content

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


Guest KonstaT

Recommended Posts

Guest mlc83

Hi everybody,

I'm sorry about my not-so-good english.

I have very annoying problem with internal storage. In my case, it seems that internal storage is "missing". In /storage -directory, there's only one directory - /storage/sdcard0/, which is my external SD-card, but nothing else. I've read that there's some problems related to storage mount points in CM10, but I haven't found answer for this particular problem with my blade III / atlas40 / what-ever-you-call-it.

Typing "df" on adb shell (to see what is mounted and where and space available) says following:

Filesystem Size Used Free Blksize

/dev 195.8M 48K 195.8M 4096

/storage 195.8M 0K 195.8M 4096

/mnt/secure 195.8M 0K 195.8M 4096

/mnt/asec 195.8M 0K 195.8M 4096

/mnt/obb 195.8M 0K 195.8M 4096

/mnt/fuse 195.8M 0K 195.8M 4096

/system 393.7M 262.3M 131.4M 4096

/cache 295.3M 5M 290.3M 4096

/data 2.5G 672.3M 1.8G 4096

/mnt/asec/com.speedsoftware.rootexplorer-1 4M 2M 2M 4096

/storage/sdcard0 7.3G 1.9G 5.5G 32768

..And that /storage/sdcard0 is my external microSD -card.

How can I make my Internal storage/memory available for programs (and user) which doesn't have root priviledges? I can't access it via PC either. I just can't found it. It just seems that all space available is allocated to /data-partition - i've tried to mount /data/local to /storage/foo but it's not really helping at all.. :)

However, I'd be more than grateful if someone told me how t fix this, i would like to have my internal memory mounted in /storage/sdcard0 and external SD-card in /storage/sd-ext and use it with r/w/x permissions without su(root) priviledges.

Help, please!

And thanks in advance! :)

EDIT: $ mount in adb shell says this:

rootfs / rootfs ro,relatime 0 0

tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0

devpts /dev/pts devpts rw,relatime,mode=600 0 0

proc /proc proc rw,relatime 0 0

sysfs /sys sysfs rw,relatime 0 0

tmpfs /storage tmpfs rw,relatime,mode=050,gid=1028 0 0

debugfs /sys/kernel/debug debugfs rw,relatime 0 0

none /acct cgroup rw,relatime,cpuacct 0 0

tmpfs /mnt/secure tmpfs rw,relatime,mode=700 0 0

tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0

tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0

tmpfs /mnt/fuse tmpfs rw,relatime,mode=775,gid=1000 0 0

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

/dev/block/mmcblk0p19 /system ext4 ro,relatime,user_xattr,barrier=1,data=ordered 0 0

/dev/block/mmcblk0p21 /cache ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0

/dev/block/mmcblk0p22 /data ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0

/dev/block/dm-0 /mnt/asec/com.speedsoftware.rootexplorer-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,barrier=1 0 0

/dev/block/vold/179:33 /storage/sdcard0 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 0 0

/dev/block/vold/179:33 /mnt/secure/asec 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 0 0

tmpfs /storage/sdcard0/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

... I'm lost. Dunno how to fix this. I've tried to mount /data/local to /storage/foo, but... I need real, working solution.

Thanks !

Edited by mlc83
Link to comment
Share on other sites

Guest peetu20

Hi everybody,

I'm sorry about my not-so-good english.

I have very annoying problem with internal storage. In my case, it seems that internal storage is "missing". In /storage -directory, there's only one directory - /storage/sdcard0/, which is my external SD-card, but nothing else. I've read that there's some problems related to storage mount points in CM10, but I haven't found answer for this particular problem with my blade III / atlas40 / what-ever-you-call-it.

Typing "df" on adb shell (to see what is mounted and where and space available) says following:

Filesystem Size Used Free Blksize

/dev 195.8M 48K 195.8M 4096

/storage 195.8M 0K 195.8M 4096

/mnt/secure 195.8M 0K 195.8M 4096

/mnt/asec 195.8M 0K 195.8M 4096

/mnt/obb 195.8M 0K 195.8M 4096

/mnt/fuse 195.8M 0K 195.8M 4096

/system 393.7M 262.3M 131.4M 4096

/cache 295.3M 5M 290.3M 4096

/data 2.5G 672.3M 1.8G 4096

/mnt/asec/com.speedsoftware.rootexplorer-1 4M 2M 2M 4096

/storage/sdcard0 7.3G 1.9G 5.5G 32768

..And that /storage/sdcard0 is my external microSD -card.

How can I make my Internal storage/memory available for programs (and user) which doesn't have root priviledges? I can't access it via PC either. I just can't found it. It just seems that all space available is allocated to /data-partition - i've tried to mount /data/local to /storage/foo but it's not really helping at all.. :)

However, I'd be more than grateful if someone told me how t fix this, i would like to have my internal memory mounted in /storage/sdcard0 and external SD-card in /storage/sd-ext and use it with r/w/x permissions without su(root) priviledges.

Help, please!

And thanks in advance! :)

EDIT: $ mount in adb shell says this:

rootfs / rootfs ro,relatime 0 0

tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0

devpts /dev/pts devpts rw,relatime,mode=600 0 0

proc /proc proc rw,relatime 0 0

sysfs /sys sysfs rw,relatime 0 0

tmpfs /storage tmpfs rw,relatime,mode=050,gid=1028 0 0

debugfs /sys/kernel/debug debugfs rw,relatime 0 0

none /acct cgroup rw,relatime,cpuacct 0 0

tmpfs /mnt/secure tmpfs rw,relatime,mode=700 0 0

tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0

tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0

tmpfs /mnt/fuse tmpfs rw,relatime,mode=775,gid=1000 0 0

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

/dev/block/mmcblk0p19 /system ext4 ro,relatime,user_xattr,barrier=1,data=ordered 0 0

/dev/block/mmcblk0p21 /cache ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0

/dev/block/mmcblk0p22 /data ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0

/dev/block/dm-0 /mnt/asec/com.speedsoftware.rootexplorer-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,barrier=1 0 0

/dev/block/vold/179:33 /storage/sdcard0 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 0 0

/dev/block/vold/179:33 /mnt/secure/asec 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 0 0

tmpfs /storage/sdcard0/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

... I'm lost. Dunno how to fix this. I've tried to mount /data/local to /storage/foo, but... I need real, working solution.

Thanks !

Blade III doesnt have so-called internal sdcard(or it could have, but it doesnt ;)) so in "internal storage" you have /system, /data and /cache partitions. Just be happy that you have very large /data.

Of course you can use any partition to anything, but I still recommend just to buy bigger sd-card :D

Link to comment
Share on other sites

Guest KonstaT

Hi everybody,

I'm sorry about my not-so-good english.

I have very annoying problem with internal storage. In my case, it seems that internal storage is "missing". In /storage -directory, there's only one directory - /storage/sdcard0/, which is my external SD-card, but nothing else. I've read that there's some problems related to storage mount points in CM10, but I haven't found answer for this particular problem with my blade III / atlas40 / what-ever-you-call-it.

...

... I'm lost. Dunno how to fix this. I've tried to mount /data/local to /storage/foo, but... I need real, working solution.

https://github.com/K...061617ff44b1205

Problem was that emulated internal storage can be only set as primary storage in Jelly Bean. This caused issues with games/apps that wanted to download vast amounts of data.

Link to comment
Share on other sites

Guest KonstaT

Day two - crappy MSM7x27A - Android 4.3. :D I guess I'll post one of these early before it becomes a trend. ;)

post-834050-0-20956700-1374868268_thumb.

Surprisingly a lot already working 'out-of-the-box'. Still plenty to do in the coming months though.

Link to comment
Share on other sites

Guest mlc83

https://github.com/K...061617ff44b1205

Problem was that emulated internal storage can be only set as primary storage in Jelly Bean. This caused issues with games/apps that wanted to download vast amounts of data.

It would be nice to have internal storage as primary (or preferred) storage - I do not play games that need large amounts of space, or download large files. Still, please help out and tell me: How can I make it available? I would like to have /storage/sdcard0 as Internal and sdcard1 as External. Now I have only /storage/sdcard0 that is external sd.. And by "making it available" I mean it mounted that way apps can access it without superuser, and when I connect by Blade III to computer there's also Internal storage available, not only sd-card ..

As you have noticed, this all is quite new for me, but i'm learning...slowly :)

I would really appreciate if someone told me what to do, I don't have clue how to proceed. And the point was to have internal storage mounted (and available without root(su) priviledges) to /storage/sdcard0, and external SD /storage/ext_sd or something. Now there's only sdcard0 in /storage directory, and that's my external SD.

I'd be very glad and happy girl if someone helps me with this one! :)

.. And big thanks to KonstaK, great work! I admire your dedication.

Edited by mlc83
Link to comment
Share on other sites

Guest Nullcollision

First of all, thanks for this ROM :) I've been toying with your git tree for a few days now.

Anyway, mostly everything seems to work for me, apart from Apollo crashing on first launch (for some reason), and Hill Climb Racing seems to crash on launch (It doesn't do that on Stock or CyanogenMod 10, not that I game that much, just thought I'd mention about it).

No reboots so far.

Nice to see some development for this phone. If I see something messy going on, I'll surely post some logcats :)

Edited by Nullcollision
Link to comment
Share on other sites

Guest jakonicki93

Hey man! Thank you very much for this ROM KonstaT! I can't wait to get my ZTE Blade 3 in couple of weeks and I will immediately jump on rooting and installing this custom ROM. It's even better feeling, seeing that you're already working hard on Android 4.3 which is very awesome! I was in dilemma on chosing between this phone and ZTE Blade G where I sat infront of computer and started searching which phone has better and more active community and this one proved that.

It's amazing what you are doing with this phone, making it better and keeping it alive. I'm very greatful for what you're doing.

I'll follow your work and tutorials on how to get them right which won't be a big for me since I'm experienced with rooting and installing ROMs on my device.

Thank you again, keep up the good work! :)

Edited by jakonicki93
Link to comment
Share on other sites

Guest peetu20

Day two - crappy MSM7x27A - Android 4.3. :D I guess I'll post one these early before it becomes a trend. ;)

post-834050-0-20956700-1374868268_thumb.

Surprisingly a lot already working 'out-of-the-box'. Still plenty to do in the coming months though.

Damn,,, I didnt even know that source code has been released??? Android 4.3 was released just twice days ago!

Still nice to see that we will get it some day ;)

Link to comment
Share on other sites

Guest papars

Question for the developer.

Where "ro.product.name" (in build.prop) is used in CM10.x implementations?

Is there any reason the value of this to affect the phone operation?

Link to comment
Share on other sites

Guest peetu20

Anyone has problems with youtube HQ/HQ videos? Mine lags, and seems that HQ-decoder doesnt work. I havent yet tried reflashing, but I would like to know is it just me...

Link to comment
Share on other sites

Guest KonstaT

can you integrate the gmail and the youtube in the gapps? (in the next version rom ofc)

Why? You can easily install them from the Play Store and that's the whole point of leaving them out.

And I even couldn't include them if I wanted to. If you didn't notice, I'm not hosting the gapps package. Link in the first post is to the "official" gapps from goo.im/gapps.

Question for the developer.

Where "ro.product.name" (in build.prop) is used in CM10.x implementations?

Is there any reason the value of this to affect the phone operation?

It's used to set (surprise, surprise - drum rolls) product name. :P

Edit. Actually WifiStateMachine uses these properties for initialization. Have you tried to changing them to what they're in stock Acqua?

Anyone has problems with youtube HQ/HQ videos? Mine lags, and seems that HQ-decoder doesnt work. I havent yet tried reflashing, but I would like to know is it just me...

It works fine. Hardware video decoding/encoding uses the same legacy hacks as on Blade so you can't have multiple instances open simultaneously. If you've e.g. watched a HQ clip on browser via YouTube website, you have to kill the browser before you can view another HQ clip in the YouTube app.

Link to comment
Share on other sites

Guest papars

Edit. Actually WifiStateMachine uses these properties for initialization. Have you tried to changing them to what they're in stock Acqua?

On my notes I have listed that on some older version of CM10.x setting this to "P740A_WIND" results a totally useless wifi. On the 20.7 currently loaded on my phone I do not see any change. I might restore some backups to check this but after a find a way to log wifi packets on a non working access point.

While checking logcat, I see a "failed to disable IPv6" error. Is it me or it happens to all?


E/CommandListener(  108): Failed to open /proc/sys/net/ipv6/conf/wlan0/disable_ipv6: No such file or directory

E/WifiStateMachine(  474): Failed to disable IPv6: java.lang.IllegalStateException: command '1 interface ipv6 wlan0 disable' failed with '400 1 Failed to change IPv6 state (No such file or directory)'

Edited by papars
Link to comment
Share on other sites

Guest jakonicki93

Can you feel the performance difference between stock and this ROM? I'm asking because I wanna know if you can feel "Project butter". There's a big chance of me getting this device tomorrow and I can't wait to Day1 root it and install this ROM. :)

Link to comment
Share on other sites

Guest peetu20

Can you feel the performance difference between stock and this ROM? I'm asking because I wanna know if you can feel "Project butter". There's a big chance of me getting this device tomorrow and I can't wait to Day1 root it and install this ROM. :)

Perfomace difference si huge. This rom has hardware acceleration working, so GPU will be used to render graphigs. Project butter doesnt seem to bring nothing big to table, but maybe it makes device bit more faster and snappier. Anyways, I recommend you to buy Blade III, if you will root and install custom rom.
Link to comment
Share on other sites

Guest peetu20

It works fine. Hardware video decoding/encoding uses the same legacy hacks as on Blade so you can't have multiple instances open simultaneously. If you've e.g. watched a HQ clip on browser via YouTube website, you have to kill the browser before you can view another HQ clip in the YouTube app.

Tried to redownload and reflash, videos still lag bit, fps is something like 20... I dont know whats wrong, maybe next build may fix it...
Link to comment
Share on other sites

Guest MJonMoDaCo

Day two - crappy MSM7x27A - Android 4.3. :D I guess I'll post one of these early before it becomes a trend. ;)

post-834050-0-20956700-1374868268_thumb.

Surprisingly a lot already working 'out-of-the-box'. Still plenty to do in the coming months though.

*likes the sound of this*

User profiles (with choice of elevated priviledges).

Something sorely lacking for AndroidOS thus far.

What was your 'crappy MSM7x27A' device if you don't mind me asking?

Knowing you, I'm sure it won't be long before you have test builds a-waiting.

PS: is that a new build waiting ; )

(20130726)

No? Damn.

Link to comment
Share on other sites

Guest mlc83

https://github.com/K...061617ff44b1205

Problem was that emulated internal storage can be only set as primary storage in Jelly Bean. This caused issues with games/apps that wanted to download vast amounts of data.

I know you have a lot work in your hands already, but since no one else has answered my question, can you reply and write shortly how can I make internal storage available? It's not problem for me that emulated internal storage must be primary storage. On the contrary, it's just way I'd like it to be.

Text in https://github.com/KonstaT/android_device_zte_atlas40/commit/016d9266d0ba84b6d0d25be37061617ff44b1205#diff-0 (add mount point for internal storage) was bit too difficult for me to understand completely. I'd appreciate little simpler how-to, just commands i have to give and so.

Thank you for great CM port and everything!

Edited by mlc83
Link to comment
Share on other sites

Guest KonstaT

While checking logcat, I see a "failed to disable IPv6" error. Is it me or it happens to all?

Happens to everyone.

Tried to redownload and reflash, videos still lag bit, fps is something like 20... I dont know whats wrong, maybe next build may fix it...

Yeah, right. The next build is going to fix all the issues that didn't exist in the first place...

*likes the sound of this*

User profiles (with choice of elevated priviledges).

Something sorely lacking for AndroidOS thus far.

What was your 'crappy MSM7x27A' device if you don't mind me asking?

Knowing you, I'm sure it won't be long before you have test builds a-waiting.

PS: is that a new build waiting ; )

(20130726)

No? Damn.

Phones don't have user profiles. They're considered personal devices. Errm, what other crappy MSM7x27A devices besides Blade III you think I have? Or wasn't the screenshot explanatory enough. :P

I'm not even considering releasing anything before CM tree get stabilized to a point when CM nightlies starts popping up on few official devices. Even though the damage report is quite good (the easiest bring up I've done so far) there's still plenty of work to do. I've been using it as my daily driver since saturday but it certainly wouldn't be for everyone. :P It's still weeks/months away from that.

And please remember the first (and only) rule of CyanogenMod. Never ask for ETA. ;)

I know you have a lot work in your hands already, but since no one else has answered my question, can you reply and write shortly how can I make internal storage available? It's not problem for me that emulated internal storage must be primary storage. On the contrary, it's just way I'd like it to be.

Text in https://github.com/K...05#diff-0��(add mount point for internal storage) was bit too difficult for me to understand completely. I'd appreciate little simpler how-to, just commands i have to give and so.

Thank you for great CM port and everything!

There's instructions how to build from the source in the third post. If you follow that, you only need to cherry-pick the commit I linked.

It going to be quite difficult otherwise. You'd need to decompile framework using apktool to add support to storage_list.xml. You'd also need to split boot.img to add necessary things to ramdisk. You'd need linux/osx for the latter anyway.

Link to comment
Share on other sites

Guest KonstaT

KonstaT - do you build your own kernels also? and it it possible to build swipe2wake into the kernel

Yeah, of course I'm building kernel as well. None of this would be possible otherwise.

Problem is that different devices have different touchscreen hardware. Blade III has Synaptics touchscreen, Acqua has Focaltech touchscreen and there's even a third driver for Atmel touchscreen that some atlas40 devices might have (N880E/V880E/V889D/etc). There is no swipe2wake/doubletap2wake/etc written for any of these touchscreen drivers.

So, is it possible? Of course. Is it going to happen? No, unless you're going to do it yourself. ;)

Link to comment
Share on other sites

Guest Zsebes01

Hi.I installed this rom on my fater,s,mother,s,friends and my ZTE BLADE 3 and its perfectly working :)

Thanks you for your work KonstaT :) You are the best :)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.