yashsingh1/xdaforums huggingface dataset:
[Huawei Ideos X5 U8800] Christopher83:
MSM7x30 and hybrid memory allocations (ION + PMEM ADSP)

Hi [MENTION=4223446]Blefish[/MENTION],

tonight our team Ariesve-DevConnection-Team (ADC Team), on Samsung Galaxy S Plus development forum section, released a build of CM 10.1 with hybrid memory allocations (ION for almost all + PMEM ADSP for camera libs and drivers only).

The rom is fully working, so camera, camcorder, video recording and playback are working as well...

You can find our thread here:

CyanogenMod 10.1 by ADC-Team - Release 1 (ION) - Kernel 3.4.x

The sources are published here on GitHub: AriesVE-DevCon-TEAM

You can find the commits here:

Rom side

- android_device_samsung_ariesve/commits/cm-10.1_ion_pmem_adsp

- android_hardware_qcom_media-caf/commits/cm-10.1

- android_vendor_samsung_ariesve/commits/cm-10.1_ion

At the moment, there are no changes on gralloc side, so we are simply using the display-caf repo coming from CM.

Kernel side (branch based on jb-2.5.5 branch of CAF) samsung-kernel-msm7x30/commits/cm-10.1_ion_pmem_adsp

In particular the commit mach-msm: Use PMEM ADSP for camera and ION camera heap for video encoder/decoder

We already created the "on working stage" branches for CM 10.2 and CM 11.0, you can find them too on our repos, at the moment there are some problems with hwcomposer and surfaceflinger, but also these two versions are booting, we hope to fix them in the next days...

We hope you can find this stuff useful.

For any info you may contact us via PM.

Any help or hint will be surely appreciated.

Good luck! :fingers-crossed:
[Huawei Ideos X5 U8800] Blefish:
I have been trying to get the camera preview on ION aswell, that would allow us to free some PMEM memory that could be used to enable hardware decoder/encoder to work with ION. I haven't been able to get it working yet (I am facing a strange allocation issue right now).

I've been doing smaller changes aswell, I think the battery driver is coming together pretty nicely now. I still haven't got the non-linear mapping though, so it still drops to 70-80% when disconnecting and from 20% to 0% is going quickly too. Since it does occasionally drop a tad too much (when on heavy load), I will try to implement some code to allow the capacity to rise when this has been long enough. The driver itself does not do any estimation. It uses the voltage only. I made it to let board driver report when a "big" load is applied, for example - display, camera, usb. It will then take into consideration that voltage is unreliable, and will start doing the updates relatively. Upon display off, it's reported that voltage is reliable again, it will disable relative part & do the capacity rise/drop on direct voltage.

No success with the potential display issues - to fix it, I will have to fix it up in recovery first, then in normal Android. The pipeline is working in recovery, but it changes the pipe and then it won't update. It shouldn't be a hard problem, but I haven't found the culprit yet.

I'll start cm-11.0 bringup next week, regardless if I am able to get the hardware dec/enc working in cm-10.1 or not. Much of the stuff is updated enough, mostly they need just a few patches applied on.
[Huawei Ideos X5 U8800] riDDimann:
Is synaptics still borked? Since I treated myself to a Nexus 5, I wanted to test this for longer.

It's funny how quickly you get used to giant high-res screens. The Huawei now feels like looking at the phone through a very small, dirty window.
[Huawei Ideos X5 U8800] Blefish:
It is right now, and no solution for display issues too :/. Next release should have Synaptics fixed, can't tell about display yet.

Tell me about it. When my phone was broken I used a dumbphone and it seemed so small, but after getting used to it U8800 felt like a giant again. Really.
[Huawei Ideos X5 U8800] poyensa:
Please remember this is a development forum, so if you are not going to contribute please stay away and do not disturb at least. This is not a customers service, ther is no obligation to provide new releases, uptadates, fixes, etc. Development is done in the free time and with no charge. Please read the forum rules, just clicking in my signature.

I am subscribed to this thread and next post not related to developmet, I mean any off topic comment, complaint, trolling, ETA, or even a question without good feedback and logcat file will be deleted and the offender will receive a sanction. No more warnings. Have a nice day.
[Huawei Ideos X5 U8800] JoseRebelo:
I've been having some SD Card problems ever since I installed the latest version from 01.12.2013. The SD Card gets randomly unmounted and I must reboot the phone in order for it to get fixed. It has been happening very often, if I use the phone a lot it will easily happen more than twice in an hour. Here is a dmesg: https://www.dropbox.com/s/lm3r1u64tpyrpou/sd_problem.log

By the way, is there any way to revert to the old scheme, where the internal memory was the primary one without having to recompile the rom?
[Huawei Ideos X5 U8800] Blefish:
Next release addresses this problem. It's due to non-functional touchscreen drivers (Synaptics).

Can you try removing SD card and reinserting it?

cm-11.0 should support setting external sd as primary while having internal SD as emulated. If I can make it work like this then my next release will feature it. There is no manual way of overriding this, since it involves modifying boot.img & frameworks.
[Huawei Ideos X5 U8800] JoseRebelo:
I would, but it seems now it has stopped crashing, so I can't test..

On another topic, wifi tethering is not in Settings and bluetooth tethering is broken. Any chance of getting any of them fixed? Bluetooth tethering connects, but the internet connection on the other device doesn't seem to work.

Edit: It did happen again, and removing and reinserting the SD card seems to make it work again.
[Huawei Ideos X5 U8800] Blefish:
Wi-Fi tethering was crashing when I tested it in cm-10.1. About bluetooth tethering, would it be possible for you to submit logcat after trying to connect with it?
[Huawei Ideos X5 U8800] JoseRebelo:
Sure, here it is: https://www.dropbox.com/s/93wdt5z4gc3ibli/bt_tether.log

Just to be clear, I'm trying to share the 3G connection from my phone to my tablet. If I try the other way around I'm able to share my tablet's internet connection to my phone via bluetooth tethering, the phone connects and loads pages successfully.
[Huawei Ideos X5 U8800] Blefish:
Bluetooth tethering is now fixed in cm-11.0. But it's great to know reverse bluetooth tethering worked out of the box.

Wi-fi tethering caused the phone to crash when someone connected the last time I tried it, so I did not enable it for the time being. Might relook sometime.
[Huawei Ideos X5 U8800] ggunzio:
hi all

need to ask something to [MENTION=4223446]Blefish[/MENTION]

can i ask you something about the partition scheme?

Can you do a new Ble_Part for your last rom release? because i cannot make new partitions with the forumber's zip, don't know why.

Please, make it. Just need one that i could install and then install your rom.

if possible, make it for me, with 1GB for the internal SD, and the rest for the system apps. I used to use your Ble_part1, but now that i have an SD card, it's impossible to use it, because i cant get the external sd to be mounted.

Thanks in advance!!!
[Huawei Ideos X5 U8800] Blefish:
Actually I am thinking about doing BlePart_2, which will keep the internal SD, but smaller (1GB seems to be fair, maybe I will make one with 250MB too). I would actually do a bigger update that would make /cache partition from ~100MB to 10MB, but since the emmc crash dump partition start is hardcoded to a specific block in dzo's kernels, it's risky (people would have to switch back all the time, to avoid DSP/modem failures). The smaller /cache is due to cm-11.0 storing dalvik-cache on /data instead of /cache.

cm-11.0 is currently almost at the same stage as cm-10.1 was, except without video recording. Video playback is done through software right now. The internal SD will be there as I can't make it emulated without setting external as primary. Emulated storage seems a bit buggy too, so it's better to leave it as on stock (internal sd, external primary sd).

cm-11.0 needs a new recovery, as the ROM installation sets some metadata flags on files (SELinux stuff). So recovery will be updated before releasing cm-11.0.
[Huawei Ideos X5 U8800] ggunzio:
Thank you for your explanation. Now its time to wait for some magic from you. After all this, i will consider to make a donation ;)
[Huawei Ideos X5 U8800] xtugap:
[MENTION=4223446]Blefish[/MENTION], do you go to increase the system partition right? I actually repair the mini GAPPS are ~200MB and the ROM ~315MB. So the 377MB system partition of forumber partition is not enough for CM11+GAPPS.

About the partition, I prefer to have the SD as primary to install apps (like Aurora I think) correct me with I'm wrong.

About the recovery its not a new for me, but think the recovery it's the most easy part, right?
[Huawei Ideos X5 U8800] Blefish:
My BlePart_1 sets system size to 512000K, roughly 500MB. I will do some testing with the official CM gapps, and see if we need to further extend it or not. I currently have a different gapps installed, but they said CM gapps does not include maps or gmail, as they can be installed from play store.

SD card is the primary storage, which means it allows apps to be moved to SD card, and downloads location is SD card too.

New recovery is actually ready, it's no problem to update. However, the current BlePart installation is not very straight forward, so I might have to find a different solution or at least half automate it.
[Huawei Ideos X5 U8800] ggunzio:
[MENTION=4223446]Blefish[/MENTION]

Hi sir, do you have in mind to release your ble_part2 alongside with yours new release of the rom?

Thanks in advance
[Huawei Ideos X5 U8800] rimsilva:
Look at Belfish Google+ page to see screenshots of Kitkat, He told that release will be this week!
[Huawei Ideos X5 U8800] Somcom3X:
Well well. Congrats blefish on a job well done.
[Huawei Ideos X5 U8800] pfmateus:
Great rom! I have been using it for a few days now, and i is perfect! I think my Huawei will die with this ROM!

Thank you Blefish!!!
[Huawei Ideos X5 U8800] brunomcf:
hey guys!

I can't connect to any wifi network.

When i try to connect it only shows "saved" How do I solve this?

thx
[Huawei Ideos X5 U8800] riDDimann:
Installing over Aurora is fine. Remember to create a backup since you need to wipe data.
[Huawei Ideos X5 U8800] dancer_69:
Any way to use external sdcard for media instead of internal?
[Huawei Ideos X5 U8800] herna:
Aurora is 4.0.3 version but is working on 404020 baseband , so you mustn't. Anyway check on setting/about info if your baseband is 404020, if it is you don't need to :)
[Huawei Ideos X5 U8800] zazza8:
I tested and noticed these bugs:

- many graphical glitches (also in boot animation)

- most of the time screen doesn't turn on easily

- sometimes when I turn the screen off the backlight stays on (but doesn't react to home button) (synaptics)

- wifi doesn't connect, I tried to reboot but no luck

I didn't install any apps other than the gapps but I get 147-152MB free RAM and after I enabled purging of assets (and 16bit transparency) I got 167-171MB(!), isn't that much more than in other roms?
[Huawei Ideos X5 U8800] Blefish:
Thanks for the report.

Do you have NT35510 panel?

Aboug graphical glitches, is it like vSync problem? Or are the colors wrong?
[Huawei Ideos X5 U8800] dancer_69:
I don' t have any of those problems except the "turn off" issue. I have synaptics screen.

P.S

Any way to use external instead of internal storage? I have a lot of apps backups and no one can see the external sdcard, so to can use them.

I mean a manual way to do it before a new release.
[Huawei Ideos X5 U8800] faekplastik3s:
For me I get visual glitches like sometimes the last frame gets stuck on the screen, for example, when the device finishes booting you can still see the boot animation on half of the screen, or when you use the keyboard fast the popup that shows the key can get stuck until you update that area of the screen. Looks like a framebuffer issue. Is there any app to easily check the panel model?
[Huawei Ideos X5 U8800] zazza8:
How to check the panel's model?

I have the same glitches as [MENTION=4313305]faekplastik3s[/MENTION] and also sometimes when I press some button on the screen only half of it lights up. Colors are fine.

One bug more: if I use headphones, before any sound plays I hear a short but pretty loud "b" sound. It happens with all sounds e.g. low battery notification, spotify, youtube.

And I'm not sure but media volume levels seem to be quieter than in other roms.

My battery was running out of power and the battery level indicator jumped between some levels under 14% and suddenly it showed that my battery was in 0% so my phone turned off. I tried to boot my phone and put it to charger but after about a minute it turned off again because the indicator jumped to 0% even though it was charging. I had to flash my nandroid backup to go back to coldblue_'s cm10.1. Hope you can fix this bug soon.
[Huawei Ideos X5 U8800] yusopa:
Ok guys. Thank rqmok and blefish. I must use another recovery. Thank alots guys
[Huawei Ideos X5 U8800] zenggesen:
After April production base is NT35510 PANEL

WIFI connection cannot be used properly because QCOM_CFG. INI error I have a good in attachment!

Thank you very much for your work!

:D

View attachment qcom_cfg.rar The file from [MENTION=917443]dzo[/MENTION]
[Huawei Ideos X5 U8800] Djuganight:
I have tried to install this Rom but fails to install. Some kind of symlinks errors... whats this?
[Huawei Ideos X5 U8800] entrapmen:
Sent from my U8800
[Huawei Ideos X5 U8800] sherif_linkin:
Just Delete Video Folder In System/Media and flash
[Huawei Ideos X5 U8800] yusopa:
Even i try to change recovery version 6.x still symlink error. I really want try this rom.
[Huawei Ideos X5 U8800] rqmok:
Hey guys!

Make sure you have:

- CWM Recovery 6.0.2.8 (older one might work, but new version is recommended).

- SYSTEM PARTITION!! (You cannot flash this ROM without System Partition, unless you delete some things from the zip)

- If you have 404020 baseband then you can flash this ROM. If you don't have this baseband, please upgrade to Gingerbread first.

If you don't have System Partition, and you manage to install the ROM by deleting useless things from the zip, then don't forget that you need to free enough space for the Gapps. Or, instead of flashing all of the Gapps, you can only install Play Store.

Thanks.
[Huawei Ideos X5 U8800] Raineruf:
Could someone post little review?
[Huawei Ideos X5 U8800] riDDimann:
Just like it says in the install instructions, /system needs to be larger than 300 MB. JB is simply quite a bit larger than ICS and e.g. Aurora already uses most of the space.

Don't know what you expect. It boots and you can do lots of smartphone-things, but the list of known issues is quite comprehensive and long. That should tell you that this isn't close to being your daily driver just yet.

If you want to read my first impressions, see: http://xdaforums.com/showpost.php?p=45162110&postcount=20

The only thing I can add is that UI already seems less choppy. E.g. on Aurora, when Play Store installs new apps or updates in the background my phone sometimes completely stops for about a seconds. After booting and logging in, this immediately started installing several updates and it didn't stop once like it would on ICS. Like I said, impressive stuff for a first version that you expect to crash twice a minute.
[Huawei Ideos X5 U8800] yusopa:
For me it laggy, take more time to install apk file, internet OK but lag, baterry OK, sound ok, keep it up bro, I will be wait,
[Huawei Ideos X5 U8800] boss_y:
For synaptics screen: Go to brightness check auto - problem with back light when phone sleeping is gone.

Problems:

- Can't see sdcard1 in mnt, so having problems with app restore...

- wifi not working at all. Connected and disconnected... but this is already in op

- bottom 4 buttons are weird. It is hard to press it right.

Keep up good work Blefish, you rock!
[Huawei Ideos X5 U8800] dancer_69:
- I have synaptics too, but the checkbox for auto-brightness is uncheckable.

- Wifi works fine for me, and I think is better than other roms.

- About sdcard, I have this problems too. I don't like the way partitions arranged at all. I don't use internal storage at all, so I had a big /data partition using all internal storage space. But this rom changed that and this causes app compability problems. Also I have problems to access the legacy folders from QtADB which I use a lot. Plus there isn't a mount point for .cust_backup partition.

- I confirm the 4 buttons issue, happens to me too.

- GPS works better than every other rom I tried, custom and official.

EDIT:

Also I get 2 times reboot to recovery when device is in standby. I'm using TWRP recovery.
[Huawei Ideos X5 U8800] rqmok:
Correct me if I am wrong, but the sdcard is mounted to /storage/sdcard1, which is different to Aurora.

[MENTION=4223446]Blefish[/MENTION], it might make the partitions 'look' messy, but I think you need to symlink the sdcard to /mnt/sdcard1 as well.
[Huawei Ideos X5 U8800] Blefish:
The /storage/sdcardx is the new place for it and it's in all JB roms as far as I know. It is nicer in my opinion too, having /storage/ for all storage.

I will see about the wifi issue, but not too deeply.

I will increase the area where you can press the buttons. By the way, the same config is now shared between Atmel and Synaptics.

I will set external SD as primary, and maybe I will add /cust partition.

GPS may be a placebo effect, but it could be because of CyanogenMods GPS configuration.

Reboot to recovery is weird, haven't experienced it. Was USB OTG turned on?

I think it's a problem with NT35510 and the vSync implementation. I am working on it.

The "b" sound happens probably because the amplifier is turned on/off. I haven't got a fix for it right now.

I have a new battery driver working, but I did not add it fo the first release as I had some problems with it.

I found the reason why display is running slower and it is because of the time between the image transfer (DMA transfer). I think the image is pushed at 24bpp while 16bpp is normal for our panel. The vSync syncs the frame at 46fps, but DMA only transfers for about 30fps, causing the display image corruption problems.
[Huawei Ideos X5 U8800] dancer_69:
He has linked sdcard to internal storage which is on /mnt/shell/emulated/0.

I have a question. This rom does a repartition of internal storage/data? I've delete the internal storage partition and use space for /data partition before. I need to redo this if I want to return to aurora?

EDIT: [MENTION=4223446]Blefish[/MENTION]

I show your respond after I posted this.

The reboot happens the first time with OTG disabled and the second with enabled.

Please add .cust_backup partition. It' s helpful for chage recoveries. I know that still can be mounted, but it will make it easier, and doesn't affect anything else.
[Huawei Ideos X5 U8800] Blefish:
It won't repartition anything, it simply won't use the mmcblk0p14 (vfat internal SD).

The new partitioning scheme lets you use /data for apps and media, so you wouldn't have to worry about /data and /emmc size, as it is shared for both. This ROM is using it.

EDIT:

Ok, I will add /cust, but I will name it as /cust.

Rebooting to recovery can happen when for example, usb otg was turned on and phone crashed. Since OTG was turned on, VBUS(5.0V) was on, and the phone thought charger was connected. I don't know how it happened with OTG off though.
[Huawei Ideos X5 U8800] dancer_69:
With this partition scheme, apps use /data to store backup or other files and I think this is a problem because this partition hasn't a lot of space. For eg. Navigon wants to download 650MB of data to store it on this partition(those are already on my external sd). so can become full very easy. It will be nice, at least to have the option to swap it with external sdcard.

The name /cust is fine, thanks.

I will test more this reboot issue if happens again and I will report.
[Huawei Ideos X5 U8800] Blefish:
The external SD will be default in second release anyway, so when it is removed internal sd should become active one.
[Huawei Ideos X5 U8800] dancer_69:
This is nice thanks.

But can I do it on this release too? I don't want to switch to my previous rom. I already tried to edit init.qcom.rc of boot.img, but I didn' t succeed. If you want to give me some instructions please PM me.

Thanks again.
[Huawei Ideos X5 U8800] resudo:
Hey [MENTION=4223446]Blefish[/MENTION]. I'm really happy to see your work here on the U8800 forum. I want to ask you just one thing. Please don't stop working on this ROM if the flaming starts(if it hasn't already) because many people stopped working on ROMs because of flaming and no respect. Many people here need you, I'm sure you will make an excellent ROM at final :)
[Huawei Ideos X5 U8800] Blefish:
Don't worry, I will continue. I will not let this die like my CM9 rom did.
[Huawei Ideos X5 U8800] vlc_marcos:
Very good. I am not using the X5 so often but i still want to have the cm 10.1. I am with your rom, and i have some points:

I lost my Imei, so i cannot connet to any wifi

The glithes

The problem with the battery reading.

I didnt receive any call with this or done so i didnt test this yet.

Thanks for the work. :D
[Huawei Ideos X5 U8800] herna:
One review, even without IMEI phone connects to WiFI. The only way to have not WiFi working is to not have baseband, that error is a ROM/kernel error maybe. And without IMEI maybe you will cannot call :D
[Huawei Ideos X5 U8800] vlc_marcos:
ok thanks.

I need to find a way to restore my imei, i know that there are some software that iam able to write it again.

Honestly i didnt get a lot of time to test. but send another version out and i will say something more about it.

thanks
[Huawei Ideos X5 U8800] herna:
See that thread from my nice friend [MENTION=4462941]pikachukaki[/MENTION] , it will help you :D Idk if there is official ICS on u8800, but if there is not you must be on Official GingerBread for it works good :) Hope it can helps you :)

http://xdaforums.com/showthread.php?t=1591997
[Huawei Ideos X5 U8800] rible:
Great work blefish, awesome and fast ROM for a 1st release !!

On the plus side:

- Fast even with lots of apps installed,

- 120-150 MB available RAM,

- OTG is smooth , no hiccups etc..

I have to mention some issues though:

- Low in-call volume,

- Charger goes crazy sometimes, doesn't charge even with screen on (no sleep mode), so i have to reboot it in charge mode,

- Speaker sounds distorted at almost everything (notifications,ringtones,music,youtube etc) when volume goes more than 1/2. Tried everything with DSP, nothing worked,

- + some of the mentioned bugs ( when in-call screen doesn't go on, WIFI sometimes doesn't toggle on so i have to reboot).

I also noticed that alarm doesn't work, i assume when phone goes into deep sleep system clock freezes. and i have to turn on the screen to unstuck it.
[Huawei Ideos X5 U8800] riDDimann:
I don't see why there would be flaming here. There is some proper development going on here and you can read about all the things that he is working on at Blefish's twitter.

If people start flaming we shall chase them away with pitchforks and fire :cowboy:
[Huawei Ideos X5 U8800] Somcom3X:
Congratulations blefish! All the hard work you have done will pay off.
[Huawei Ideos X5 U8800] pipoawas:
Amen