Jump to content

ZTE V790 Roamer2 CyanogenMod 10.1


Guest manfromnn

Recommended Posts

Guest manfromnn

Hi! I'm try to port CM10.1 to ZTE V790, ( Qualcomm Snapdragon S1 MSM7225A 1 GHz with Adreno 200, 512 Ram, screen resolution 320х480, stock ICS 4.0.4). I'm compiled it from CM10.1 source code. I'm used configs from ZTE Blade 3(by KonstanT) and fixed up it for my device. Kernel from Balde 3 source work good at the stock firmware on my phone. Also I added configs from "Vanilla kernel"(from CodeAurora). I'm took the ICS kernel source from Blade 3 and updated kernel genlock and kgsl drivers.Kernel's config is very similar with cyanogen_atlas40. Compiled rom works, but It looks like that it compiled for resolution 480x800 (but on the phone's screen it displayed correct).When I'm start the firmware it work very slow (when I'm press the settings button phone respond to it only after 10 seconds and so on). I'm think that it problem related with incorrect screen resolution that video driver is issue). I have no idea how to fix it Can you help me? Logcat is attached.logcat.txt

Sorry for my bad english.

Edited by manfromnn
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...
Guest manfromnn

My device is a v790, dual sim, from Indonesia Channel Sales, rom is here: http://www.ztedevices.com/support/smart_phone/6a413374-b0b9-4f14-bbf5-ba9ff910e9ca.html?type=software

But was sold to me by ZTE UK on Ebay.

 

What are you having issues with?

For socket no. 1 rild correctly displayed the IMEI and signal strength, but rild socket no. 2: 2147483647 dBm 255 asu

And I can make the call only to the number 112.

Edited by manfromnn
Link to comment
Share on other sites

Guest hecatae

For socket no. 1 rild correctly displayed the IMEI and signal strength, but rild socket no. 2: 2147483647 dBm 255 asu

And I can make the call only to the number 112.

 

Ok,

 

will try your rom and see if I can get a logcat, I'm hoping to port firefox os to the v790 see here that someone has managed to do this for the v788: http://ztev790support.wordpress.com/2014/05/10/romportfirefox-os-1-5-0-0-prerelease/

 

I have also seen that dual sim can be a pain to get working.

 

Seen solutions like this be offered: http://ztev790support.wordpress.com/2014/04/28/for-russian-zte-v790-phone-or-beeline-e600-512-ram/

 

 

Replace libcm.so in lib folder from your android 4.0.4 to any android 2.3.6 rom. And if you are doualsim card, then add at the end of build.prop this:

persist.dsds.enabled=true

Link to comment
Share on other sites

Guest manfromnn

Ok,

 

will try your rom and see if I can get a logcat, I'm hoping to port firefox os to the v790 see here that someone has managed to do this for the v788: http://ztev790support.wordpress.com/2014/05/10/romportfirefox-os-1-5-0-0-prerelease/

 

I have also seen that dual sim can be a pain to get working.

 

Seen solutions like this be offered: http://ztev790support.wordpress.com/2014/04/28/for-russian-zte-v790-phone-or-beeline-e600-512-ram/

This is my latest build http://yadi.sk/d/JYbRU702R7rCe

Yes I've already tried this but nothing helped. libcm.so I have used in proprietary blobs and persist.dsds.enabled = true so there in my build.prop

Edited by manfromnn
Link to comment
Share on other sites

Guest manfromnn

okay, are your sources available?

 

my sources are at http://github.com/hecatae & http://github.com/teamhacklg

Build configs on github is not yet updated. Now only: http://yadi.sk/d/15fMXYQ7RN58J and http://yadi.sk/d/ZNV4VxavRN58Q

And this kernel sources: https://github.com/manfromnn/kernel-roamer2

I see you are professionally involved in programming. But I'm in this activity quite noob.

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
    <!-- CM replacements -->
    <remove-project name="CyanogenMod/android_build" />
    <remove-project name="CyanogenMod/android_frameworks_av" />
    <remove-project name="CyanogenMod/android_frameworks_native" />
    <remove-project name="CyanogenMod/android_packages_apps_Browser" />
    <remove-project name="CyanogenMod/android_vendor_cm" />
    <project path="build" name="legaCyMod/android_build" revision="cm-11.0" >
        <copyfile src="core/root.mk" dest="Makefile" />
    </project>
    <project path="frameworks/av" name="legaCyMod/android_frameworks_av" revision="cm-11.0" />
    <project path="frameworks/native" name="legaCyMod/android_frameworks_native" revision="cm-11.0" />
    <project path="packages/apps/Browser" name="legaCyMod/android_packages_apps_Browser" revision="cm-11.0" />
    <project path="vendor/cm" name="legaCyMod/android_vendor_cm" revision="cm-11.0" />

    <!-- Local projects -->
    <project path="external/webkit" name="legaCyMod/android_external_webkit" revision="cm-11.0" />
    <project path="hardware/atheros/wlan" name="legaCyMod/android_hardware_atheros_wlan" revision="cm-11.0" />
    <project path="hardware/qcom/display-legacy" name="legaCyMod/android_hardware_qcom_display-legacy" revision="cm-11.0" />
    <project path="hardware/qcom/media-legacy" name="legaCyMod/android_hardware_qcom_media-legacy" revision="cm-11.0" />
</manifest>
Edited by manfromnn
Link to comment
Share on other sites

Guest alekcacko

@hecatae

Hello, the blog you gave is mine(I am the admin) SO, the kernel in firefox os is not from manfromn, but the kernel in cm11 ported fro mblade 3 is from manfromn.

DO you have any ideas to fix sd card on cm11? I need it because, the rom is the best one. I am using 256mb version but it doesn't matter. The only problem is sd card. Please try to fix it or you @hecatae build another cm11(you can get build confighs from manfromnn :D)

PLEASE I need sd card fix. FOt 256mb ram the cm11 is the best rom. 40-50mb ram that is very very good for 4.4.1 on 256mb phone. 

Link to comment
Share on other sites

Guest hecatae

@hecatae

Hello, the blog you gave is mine(I am the admin) SO, the kernel in firefox os is not from manfromn, but the kernel in cm11 ported fro mblade 3 is from manfromn.

DO you have any ideas to fix sd card on cm11?

PLEASE I need sd card fix. FOt 256mb ram the cm11 is the best rom. 40-50mb ram that is very very good for 4.4.1 on 256mb phone. 

 

hi alexcacko, 

 

plenty of ideas, surprised you did not use http://firefox.ztems.com/ as a base for firefox os, the kis rom there would have allowed you to build quite quickly.

Link to comment
Share on other sites

Guest alekcacko

Hello ,that is an old firefox and firefox i posted is newer version. However, I'm now trying to fix sd card on cm11. Any ideas?

ANd can you tell me the meaning of some libs-for example libdiag.so is for?

Can you?

Edited by alekcacko
Link to comment
Share on other sites

Guest hecatae

Hello ,that is an old firefox and firefox i posted is newer version. However, I'm now trying to fix sd card on cm11. Any ideas?

ANd can you tell me the meaning of some libs-for example libdiag.so is for?

Can you?

 

several ideas, 

 

Hello hecatae. Are you've tried to build a rom from my buildconfigs?

 

that's the plan, 

Link to comment
Share on other sites

Guest alekcacko

several ideas, 

 

 

that's the plan, 

tell me if you want? or you can rebuild cm11? Can you do that? Because I need cm11 a lot. BEcause it is the best rom I've ever seen. The kernel is very optimized and works wery well on my 256mb ram phone. :D Please try to fix sd card. Please Please.

Link to comment
Share on other sites

Guest hecatae

@hecatae

Hello, the blog you gave is mine(I am the admin) SO, the kernel in firefox os is not from manfromn, but the kernel in cm11 ported fro mblade 3 is from manfromn.

DO you have any ideas to fix sd card on cm11? I need it because, the rom is the best one. I am using 256mb version but it doesn't matter. The only problem is sd card. Please try to fix it or you @hecatae build another cm11(you can get build confighs from manfromnn :D)

PLEASE I need sd card fix. FOt 256mb ram the cm11 is the best rom. 40-50mb ram that is very very good for 4.4.1 on 256mb phone.

alekcacko look at https://developer.android.com/about/versions/android-4.4.html

specifically:

External storage access

You can now read and write app-specific files on secondary external storage media, such as when a device provides both emulated storage and an SD card. The new method getExternalFilesDirs() works the same as the existing getExternalFilesDir() method except it returns an array of File objects. Before reading or writing to any of the paths returned by this method, pass the File object to the new getStorageState() method to verify the storage is currently available.

Other methods for accessing your app-specific cache directory and OBB directory also now have corresponding versions that provide access to secondary storage devices: getExternalCacheDirs() and getObbDirs(), respectively.

The first entry in the returned File array is considered the device's primary external storage, which is the same as the File returned by existing methods such as getExternalFilesDir().

Note: Beginning with Android 4.4, the platform no longer requires that your app acquire the WRITE_EXTERNAL_STORAGE or READ_EXTERNAL_STORAGE when you need to access only your app-specific regions of the external storage using the methods above. However, the permissions are required if you want to access the shareable regions of the external storage, provided by getExternalStoragePublicDirectory().
Link to comment
Share on other sites

Guest alekcacko

I will wait to you for building cm11 with sd card working. Please @hecatae build cm11. 

And manfromn, did you fixed sd card by updating vendor and buildconfigs?

Link to comment
Share on other sites

Guest KonstaT

Hello hecatae. I have updated buildconfigs and vendor directory at github. Also as to build rom need to apply these patches 1 2 3 .

 

I will wait to you for building cm11 with sd card working. Please @hecatae build cm11. 

And manfromn, did you fixed sd card by updating vendor and buildconfigs?

Same link, one last time. Follow the example (physical primary only) to the letter and sdcard will work without a doubt. Or check how it's done on any other CM11 device.
 
Obviously this is wrong (sdcard -> sdcard0).
 
Also storage_list.xml is completely wrong. Non-existing(?) physical internal storage marked as emulated(!) and set as secondary (emulated can only be primary).
 
For clarity it might be also better to remove the usbdisk stuff (and it's wrong in fstab anyway). It's for external OTG USB-sticks/etc and I have no idea if it works on your device. It would need an outside power source anyway (e.g. USB Y-cable).
 
Edit. It might also help if you'd upload valid device sources. I'm certain that building jellybean (CM10) or CM-10.2 (CM10.2) wouldn't produce a working build (I only checked storage and it's not right in any branch for the Android version in question). There's not a working storage configuration anywhere so I can't even tell what the storage layout is supposed to be (physical external sdcard, physical internal sdcard (separate sdcard partition on eMMC) or emulated internal sdcard (/data/media)).
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.