working on CM7.2 and need advice

Search This thread

pepe55

Member
Apr 15, 2012
41
11
Liberec
Ok, I´m working on CM7.2 for our device, almost all works perfect except few things. I do some research, but I don´t come to any working solution. So I want to discuss with you, maybe you´ll help or give me some advice.
Sd card or internal storage isn´t mounted correctly (one of them), if I get to work one, another stops and vice versa.
In system/etc/vold.fstab
http://pastebin.com/mqAfxeEZ

In system/build.prop
http://pastebin.com/2pFt6Kmu

SD/internal (one of them) isn´t shows in filemanager. What is strange is that I find the non working one in folders! Okay, for example SD card shows properly and I find another storage in folder Root/ss (example for folders understand Root/mnt/sdcard)

If nothing better, is there a way how I can mount folder "ss" as storage or sd card?
I appreciate any help, thank you.
This rom has non working camera also (and I also found some strange things), after I solve major problems I´ll release it. I successfully ported Some Miui GB on it, but I would like to solve problems on CM7.2 and then I can work on port. Because this problems remain in port as well.

In safestrap sdcard shows in the same folder "ss"
 
Last edited:

FrankieDedo

Senior Member
Dec 26, 2010
86
35
33
Lucca
Maybe you've already looked into it, but what about searching into Hashcode's CM7 build? for what i can remember, sd was working, but i could be wrong...anyway Hash himself could throw some advice ;)
Sorry but i didn't have the technical knowledge to actually help you with code, but i am working on getting it :D
 

pepe55

Member
Apr 15, 2012
41
11
Liberec
All Hashcode links on his builds are dead =(, as far as I know this is based on Hashcode and DrWowe work. I tried mount it as it is on original 2.3.4 for our device, but thats non working, there is some different mount technique or I missing some point.
Thank you for reply, I didn´t have much experience yet too. I hope so Hash could help me, or anyone whos interested.
i find it sad, that we don´t have any working cm7 for now or Miui, because I love this one.
That's why I started working on it, even though I do not have much knowledge needed.
 
Last edited:

FrankieDedo

Senior Member
Dec 26, 2010
86
35
33
Lucca
All Hashcode links on his builds are dead =(, as far as I know this is based on Hashcode and DrWowe work. I tried mount it as it is on original 2.3.4 for our device, but thats non working, there is some different mount technique or I missing some point.
Thank you for reply, I didn´t have much experience yet too. I hope so Hash could help me, or anyone whos interested.
i find it sad, that we don´t have any working cm7 for now or Miui, because I love this one.
That's why I started working on it, even though I do not have much knowledge needed.
Awww, right! :( i forgot that, i was able to find a build some time ago, but it was just the rom, not source code, i can find it, or re-upload (if i have it) if it's useful! :)

EDIT: found it on XDA right now :D
There you go: http://xdaforums.com/showthread.php?p=23905801
 
Last edited:
  • Like
Reactions: pepe55

pepe55

Member
Apr 15, 2012
41
11
Liberec
Thank you very much, I must go to work now, but I look at it later and we´ll see what I can do =).
edit: Problems is still same on Hascodes build.
 
Last edited:

FrankieDedo

Senior Member
Dec 26, 2010
86
35
33
Lucca
Thank you very much, I must go to work now, but I look at it later and we´ll see what I can do =).
edit: Problems is still same on Hascodes build.
Well, as of now, i am using eclipse rom, and in the vold.fstab the line are those:

Code:
# external sd card
dev_mount sdcard-ext /mnt/sdcard-ext:none:lun1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mmci-omap-hs.0/mmc_host/mmc0
# internal eMMC
dev_mount sdcard /mnt/sdcard 25 /devices/platform/mmci-omap-hs.1/mmc_host/mmc1

They look different, maybe you could try something like this :) then in the build.prop the lines should change too, if i guessed right, with something like:
Code:
# Mount the internal SD card, too
ro.additionalmounts=/mnt/sdcard-ext

# ADDITIONAL_BUILD_PROPERTIES
ro.additionalmounts=/mnt/sdcard-ext
ro.vold.switchablepair=/mnt/sdcard,/mnt/sdcard-ext

Just look into your build, when you can, or i'll try with Hash's build when it's possible ;)
 
Last edited:

pepe55

Member
Apr 15, 2012
41
11
Liberec
It doesn´t work that way. I have already tried something similiar, this one mount blank folder, mine mount internal(or sd), but always only one of them. (I tried setting from steel droid for example) As I can see, some roms has different mount setting. Cm7 maybe has some original one, which I cannot deal with.
I get half working camera, yes! =D But not for very long...
 
Last edited:

FrankieDedo

Senior Member
Dec 26, 2010
86
35
33
Lucca
Yeah, anyway i wrote BS on the build.prop part, the first line is wrong, :eek:

I get half working camera, yes! =D

LOL, throw the mounting question away, i just miss a new build with functioning camera! :D

EDIT: Anyway...are you using Safestrap 3.05 for tests? i think it doesn't work at all with CM7 builds...i flashed a plain cm7.2 build in every slot and it gave me a black screen...hmmmm....
 
Last edited:

pepe55

Member
Apr 15, 2012
41
11
Liberec
For the people who dont need this, the non mounted storage is still accessible throught filemanager, usb on pc mount it succesfull too. I see that camera is working on ICS builds, some of them, so I hope its not that hard to fix it on GB rom, maybe I´m wrong. I just need to test third party camera apps and see if one of them works. Maybe I need to merge some files from hashcodes cm7, but now I must really go =D.
edit: Yea mine edited builds are working with safestrap 3.05, thats main point =).
 
Last edited:
  • Like
Reactions: FrankieDedo

pepe55

Member
Apr 15, 2012
41
11
Liberec
Okay, I have got one camera app working, but its paid app, and not working in full resolution, Camera Illusion, but paid app isnt working...free version worked, maybe its because lower resolution...
 
Last edited:

pepe55

Member
Apr 15, 2012
41
11
Liberec
I modified both and it work with SS3.05 Its pretty stable, but suffers from non working camera and internal storage isnt mounted right (but it works anyway)
 

Hashcode

Senior Recognized Developer
Sep 3, 2011
3,424
23,730
For reference my gits for CM7 are still around. Tho, I'm sure they are very outdated compared to 7.3 sources:

https://github.com/Hashcode/android_device_motorola_solana/tree/gingerbread
https://github.com/Hashcode/android_vendor_motorola_solana/tree/gingerbread
https://github.com/Hashcode/android_vendor_cyanogen (added the solana device)

https://github.com/Hashcode/android_frameworks_base/tree/gingerbread (with some omap4 patches)
https://github.com/Hashcode/android_system_core/tree/gingerbread (with the motorola device/permission patches in init)

https://github.com/Hashcode/android_hardware_ti_omap3 (motorola / ti patches)
https://github.com/Hashcode/android_hardware_ti_omx (motorola / ti patches)
https://github.com/Hashcode/android_hardware_ti_syslink (motorola / ti patches)
https://github.com/Hashcode/android_hardware_ti_wpan/tree/gingerbread (ti patches)

https://github.com/Hashcode/android_packages_apps_Phone/tree/gingerbread (global modes + dual modem patches for null crashes)

and a full manifest (CM7.0.x IIRC):
https://github.com/Hashcode/cm4D3/tree/gingerbread

The biggest hurdles I ran into, still centered around ducati sources for syslink 2.0 (codecs/camera).

In ways there is more for ICS/JB than there ever was for GB.

To do the camera correctly, you'd need to add more Motorola GB source to omx and dynamically link against their libs from the device used in the camera (libarc**).
 
Last edited:
  • Like
Reactions: yus4eel

Top Liked Posts