yashsingh1/xdaforums huggingface dataset:
[Milestone XT720 Android Development] lwxddlqkillapp:
It too slowly to open the camera. And i dont like the delete key for the Dial. Do anyone can change to 4.0.3 style?
[Milestone XT720 Android Development] lwxddlqkillapp:
i do this rom to korea xt720 base on 50r. But camera and fm not working? why ?
[Milestone XT720 Android Development] MyWereld:
Read the very first post:
[Milestone XT720 Android Development] fjfalcon:
Please post logcat for camera and fm launching.
[Milestone XT720 Android Development] lwxddlqkillapp:
I only make a bootfix .i dont change anything else . I will post logat for a monment . thinks fj.Please help me find it what wrong
[Milestone XT720 Android Development] fjfalcon:
Use your own libcamera.so, libHPImgApi.so andliboemcamera.so

As for fmradio, - don't find it in log.
[Milestone XT720 Android Development] lwxddlqkillapp:
camera no led . and picture is black?
[Milestone XT720 Android Development] tvktmgm:
HI Fifalcon

Build mod new version CM9 can fix camera va videorecoring......

Ram 30 -40mb can you fix ram 60-70mb....Help fifalcon thanks
[Milestone XT720 Android Development] c19932:
thanks for your work

is there hardware acceleration in this rom?
[Milestone XT720 Android Development] lwxddlqkillapp:
what have update fj ?

---------- Post added at 10:15 AM ---------- Previous post was at 10:08 AM ----------

The link is not working
[Milestone XT720 Android Development] fjfalcon:
I haven't update anything device specific, only updates from cyanogen team.

Link working, check your isp.
[Milestone XT720 Android Development] lwxddlqkillapp:
thinks i cant downlod /.
[Milestone XT720 Android Development] SayAliFlyeer:
Wifi Problem

WIFi keeps dropping out in coming back...!? Is this Just a temporary thing because I just install it? ...or :confused: It needs to be fixed?
[Milestone XT720 Android Development] lwxddlqkillapp:
HI,fj :) Automatic brightness is too bright.
[Milestone XT720 Android Development] opiswahn:
Does WiFi Tethering work with this Rom??
[Milestone XT720 Android Development] telnet777:
Hi,fjfalcon,

Thanks for your help! Thanks Mioze7Ae too!

I've build this rom successfully. (gcc and g++ version is to high to build this rom, I use gcc 4.4 and g++ 4.4 now.)The rom's name is CyanogenMod-9.0.0-RC0-sholest-UNOFFICIAL-20120405-signed.zip.

Have you renamed this rom replacing "UNOFFICIAL" with "KANG"?

After "repo sync", I use "repo start XT711 --all" to start a new branch. Can I keep update with your rom by using "repo sync" now? If I edited some files, will "repo sync" overwrite the file that I edited?
[Milestone XT720 Android Development] peshovec:
http://source.android.com/source/version-control.html

not 100% sure, but repo sync should/can revert your source tree to the upstream one...

just test (it is safe, as you have strarted your own branches, hope you have commit your changes through...)

then say for example you have made changes to device/motorola/sholest ...

after repo sync just go there and examine with

git log

if your changes are there.. if not you can

git checkout yourbranch

and

git merge upstream/branch (for example git merge github/ics)
[Milestone XT720 Android Development] Mioze7Ae:
After you've done "repo start XT711 --all" then repo will automatically do a "git rebase" to all your changes after "repo sync". This means that changes you made to the older version are automatically converted into changes made to the current version.

"git rebase" is different from a "git pull" -- git pull fetches and merges changes from upstream to the end of your commits so your commits get mixed in with the changes upstream. "git rebase" instead reorders your changes and rewrites them so that your local commits and modifications are always last. This is what you want 99.9995% of the time and it's great that repo does this automatically. But it only does this if you tell repo that you're working in those directories (that's what repo start does). In fact, you can't even do a git commit to repositories unless you repo start them because they don't have the branches setup (don't set them up yourself using git commands--very bad idea--use repo start).

If you don't do "repo start" repo assumes that changes in those repositories are accidental file corruption that needs to be repaired. *This* is the case where repo will delete your changes.

If you want to go back to no changes, you can do a "repo abandon" (not sure if --all works there or not) and then if you're really paranoid delete all the directories and files *except* for .repo and then run repo sync and you will get a pristine checkout.
[Milestone XT720 Android Development] mchlbenner:
try this cm9 bootanimation is great

Link fixed
[Milestone XT720 Android Development] lwxddlqkillapp:
I cant download ? the file only 500B?
[Milestone XT720 Android Development] telnet777:
I can't download too. There is a error "404 Page Not Found".

---------- Post added at 07:00 AM ---------- Previous post was at 06:36 AM ----------

Thank you for your reply. I can't understand all of these at the moment. But I'll make it clear later.
[Milestone XT720 Android Development] lwxddlqkillapp:
please help me! thanks !
[Milestone XT720 Android Development] mchlbenner:
Ok don't know it did it I will redo it.

Link fixed.
[Milestone XT720 Android Development] lwxddlqkillapp:
How about you porting
[Milestone XT720 Android Development] mchlbenner:
Just did a another cm9 port camera has same issue won't save pictures.

I will know port cm9 from defry.

The bootatimation zip is fixed just one page back.
[Milestone XT720 Android Development] lwxddlqkillapp:
thanks
[Milestone XT720 Android Development] kabaldan:
About the camera: see my reply here - http://xdaforums.com/showthread.php?p=24520467#post24520467
[Milestone XT720 Android Development] lwxddlqkillapp:
thank you,,kabaldan .if you have time can help us.? we look forward to
[Milestone XT720 Android Development] space4ace:
That is the full official CM9 bootanimation I was talking about. I wrote about it in this thread on March 21 and earlier, and wanted someone to try it out, but nobody replied. The guy who posted on the link got it from somewhere and gave credits where credit is due.

The link from my post has lots of different versions of the bootanimation, like different resolutions and some truncated versions, like the one fjfalcon has been using so far. There's one that can be installed as an update in recovery but it has a resolution of 480X800 which doesn't fill up the full screen (has a black bar on top and bottom).

That one you posted is really great.
[Milestone XT720 Android Development] lwxddlqkillapp:
Need help
[Milestone XT720 Android Development] spitcuba:
Is there a way to enable the haptic feedback of the phone because i don't like it without ;)
[Milestone XT720 Android Development] SayAliFlyeer:
Keyboard

Hey Fj you think you could fi:confused:x the keyboard problem where it closes itself and does allow me to type any thing!?
[Milestone XT720 Android Development] Raydonn:
I'm enjoying this rom a lot, but is there a way to lock the messaging app in memory, like in 7.2.0?

I've noticed my xt720 has not been receiving messages if I'm not currently in the messaging app. I assume this is because of the low memory problem that plagues the xt720.
[Milestone XT720 Android Development] rationalthinker1:
Can't install any apps with this CM9.
[Milestone XT720 Android Development] fjfalcon:
Some work log:

got openrecovery working after ics build.

Now will try to make ics working.
[Milestone XT720 Android Development] Mioze7Ae:
How long does an ics build take compared to gingerbread? I've read it's like 4-times longer. Is that accurate?
[Milestone XT720 Android Development] fjfalcon:
35 mins for gb vs 80 mins for ics at mine build machine
[Milestone XT720 Android Development] fjfalcon:
More log:

got ics running )

Well... at least i see bootanimation )

E/HAL ( 3240): Cannot load library: link_image[1965]: 3240 could not load needed library 'libaudio.so' for 'audio.primary.omap3.so' (reloc_library[1314]: 3240 cannot locate '_ZN7android14AudioParameter11keyFMLaunchE'...

So, now i'm going from work to home.
[Milestone XT720 Android Development] fjfalcon:
wow, how beatiful ics... 2.3.7 really sux

and it fast )
[Milestone XT720 Android Development] mchlbenner:
Is the ics uploaded to your site yet
[Milestone XT720 Android Development] fjfalcon:
yes, but i still trying to fix one phone crash bug.. trying to fix it right now
[Milestone XT720 Android Development] mchlbenner:
Should I wait
[Milestone XT720 Android Development] space4ace:
fjfalcon: Wow! You've been working on this a lot. This is really exciting.

I can't wait to see it running.

Many thanks for all you're doing for us.
[Milestone XT720 Android Development] fjfalcon:
make clean; make -j8 bacon;

I'am going to sleep, gl all.

Will continue work tomorrow.
[Milestone XT720 Android Development] peshovec:
can you try how it will be with non 240 lcd_density ?

when i tried last time (probably 5 weeks ago) (on official nexus), everything different from 240 was terrible (and 240 was too big and far away from my taste...)
[Milestone XT720 Android Development] mchlbenner:
Will not get to bootanimation and will not boot.

Does it matter that I'm on the xt720modsbf?
[Milestone XT720 Android Development] space4ace:
I got the bootanimation and the setup screen; then I saw the errors that fjfalcon was talking about.

This is not a priority at this point, but I wish the bootanimation was the one that mchlbenner posted for his cm9. It is the Cyanogen 9 mod bootanimation.
[Milestone XT720 Android Development] Mioze7Ae:
Probably (although I haven't tried).

Did you install the gapps? My guess is /system is way too small (that's why nadlabak has a custom gapps package that installs as many gapps to /data as possible--jydaddy used that that's why you had to wipe before installing but not after). Maybe try nadlabak's gapps package instead http://android.doshaska.net/cm9, but it's also possible that xt720modsbf has other challenges.
[Milestone XT720 Android Development] mchlbenner:
Okay I will go back to regular sbf and see if it makes a difference.

I was also told to whip three times try that first.

Thanks
[Milestone XT720 Android Development] fjfalcon:
i will add date with time to build filename when i get it working...

little circle is new android feature, can be disabled in settings.
[Milestone XT720 Android Development] R-D:
The current one no longer crashes com.android.phone, but setup wizard now is the one crashing - whenever I touch the android to continue;

"Unfortunately, Setup Wizard has stopped" and I cannot proceed further.

Lock screen is pretty. :)

03-12 22:17:45.284: W/dalvikvm(3690): threadid=1: thread exiting with uncaught exception (group=0x409fd1f8)
03-12 22:17:45.300: E/AndroidRuntime(3690): FATAL EXCEPTION: main
03-12 22:17:45.300: E/AndroidRuntime(3690): java.lang.NoSuchMethodError: com.android.internal.telephony.ITelephony.getCdmaNeedsProvisioning
03-12 22:17:45.300: E/AndroidRuntime(3690):	at com.android.setupwizard.SetupWizardActivity.maybeDoCdmaProvisioning(SetupWizardActivity.java:238)
03-12 22:17:45.300: E/AndroidRuntime(3690):	at com.android.setupwizard.SetupWizardActivity.onClick(SetupWizardActivity.java:225)
03-12 22:17:45.300: E/AndroidRuntime(3690):	at android.view.View.performClick(View.java:3511)
03-12 22:17:45.300: E/AndroidRuntime(3690):	at android.view.View$PerformClick.run(View.java:14105)
03-12 22:17:45.300: E/AndroidRuntime(3690):	at android.os.Handler.handleCallback(Handler.java:605)
03-12 22:17:45.300: E/AndroidRuntime(3690):	at android.os.Handler.dispatchMessage(Handler.java:92)
03-12 22:17:45.300: E/AndroidRuntime(3690):	at android.os.Looper.loop(Looper.java:137)
03-12 22:17:45.300: E/AndroidRuntime(3690):	at android.app.ActivityThread.main(ActivityThread.java:4424)
03-12 22:17:45.300: E/AndroidRuntime(3690):	at java.lang.reflect.Method.invokeNative(Native Method)
03-12 22:17:45.300: E/AndroidRuntime(3690):	at java.lang.reflect.Method.invoke(Method.java:511)
03-12 22:17:45.300: E/AndroidRuntime(3690):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
03-12 22:17:45.300: E/AndroidRuntime(3690):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554)
03-12 22:17:45.300: E/AndroidRuntime(3690):	at dalvik.system.NativeStart.main(Native Method)
03-12 22:17:45.323: D/AudioHardwareMot(1645): AudioMgr:Output 0x10570 exiting standby
03-12 22:17:45.425: W/ActivityManager(1794): Force finishing activity com.android.setupwizard/.SetupWizardActivity

Also noticed this:

03-13 12:08:11.991: D/Input(1794): Probing for system provided input device configuration file: path='/system/usr/keylayout/sholes-keypad.kl'
03-13 12:08:11.991: D/Input(1794): Found
03-13 12:08:11.991: E/KeyLayoutMap(1794): /system/usr/keylayout/sholes-keypad.kl:91: Expected key code label, got 'MEDIA_MODE'.

Please tell me if this info is useless and I will stop wasting space ... :)
[Milestone XT720 Android Development] R-D:
I cant find which setting disables this, I know youre busy - could you point me in the right direction?

I have CM9 on my TouchPad and have never seen this, only time I have seen the circle is on a device with a touchpad (like the Transformer when docked).

ps. Also, even though I am registered on my providers network - when I call my number it goes right to away message and voicemail, phone never rings.
[Milestone XT720 Android Development] space4ace:
I cannot find where to turn off this feature.

Thanks for all the work you've done on this.
[Milestone XT720 Android Development] telnet777:
Installing apk is ok. Maybe you should try this: Select settings -> security -> Unknown sources(make sure "Allow installation of non-Market apps" is checked.)
[Milestone XT720 Android Development] eejin2:
hows the battery life on this rom?
[Milestone XT720 Android Development] telnet777:
I'm using the newest rom(CyanogenMod-9.0.0-RC0-sholest-UNOFFICIAL-20120404-signed.zip). And I found USB still not work properly. I have to switch off USB debug and switch on USB debug to let the phone be recognized by PC.

Does anyone have this problem?

And I found that Home button and search button not work after apply gapps(gapps-ics-20120317-signed.zip).

As for overclock, do I need to create a file named "900" under sdcard's root directory when using milestone overclock?

Edit： USB problem can be sovled by unplug usb cable then plug in. Or switch off then switch on USB debug.
[Milestone XT720 Android Development] lwxddlqkillapp:
Yes, usb not work well. home button and search button work well. About overclock. i overclock 1000mhz
[Milestone XT720 Android Development] LibertyMonger:
I have had that issue quite a bit lately with this ROM and ChronosX, If you reflash without factory reset it should fix it. I don't know what causes it, it just happens randomly
[Milestone XT720 Android Development] telnet777:
Do you mean reflash gapps?
[Milestone XT720 Android Development] LibertyMonger:
I had to reflash the ROM and Gapps
[Milestone XT720 Android Development] telnet777:
I've tested. Reflashing the ROM and Gapps is useless in my case. But it's not a big problem.
[Milestone XT720 Android Development] LibertyMonger:
Sorry bud, but in my case of losing homekey function it was an isolated issue, I was the only person having the issue, or at least no one said anything but it happened multiple times and few times I had to flash over more than once to get it back. I had two XT720's with the same ROM, one with homekey function one with out and it wasn't hardware issue. That's about all I know. Good luck!
[Milestone XT720 Android Development] telnet777:
Because XT720's boot.img can't be used to open swap on XT711. The phone stuck at "M" after fastboot boot boot.img. So I'm trying to build kernel from source today.

I've build XT711's kernel(download from moto open source:http://sourceforge.net/projects/xt711.motorola/files/XT711 releases/RSTCU_U2_00.13.0/) from source and fastboot boot boot.img successfully with fjfalcon's latest cm9 rom running on the phone.

And now I add swap support and ext2/ext3 support. I'll test it after build.

I've questions to ask.

1. Can I build linux 3.0 kernel to run on XT711? I think it is possible. But merge two kernel to one is very hard to do.

2. I've used link2sd on XT711. What's the difference between link2sd and ext2/ext3 support from kernel?

3. Because we can build kernel from source now, what can we do to support more functions?

Edit1： I've tested swap and ext3 support successfully. linux kernel 2.6.29 with these two function support and running fjfalcon's CM9 rom.

And app2ext is easy to open.

The biggest disadvantage is this new kernel disappears when power off or reboot. If we can hijack to 2nd-boot, it's fine!

Edit2: fjfalcon's rom is also tested when I test my new kernel on XT711. swap and ext3 is supported automaticly in fjfalcon's rom.

Edit3: hi,Mioze7Ae,

I want to nandroid restore logo.img. Xt711's logo partition is not in "cat /proc/mtd". Please tell me how to edit and compile mtdhack. Thank you!
[Milestone XT720 Android Development] OMGN00B:
I know many users use Link2SD but is Apps2SD bundled in froyo available here? Because I can't find its functionalities.
[Milestone XT720 Android Development] telnet777:
App2SD is supported by froyo. I'm not sure about this.

What I said is app2ext which links data/app to sd-ext/app. I'm not sure about this.

Edit：I’ve uploaded the XT711swap.zip. The readme is written by chinese.
[Milestone XT720 Android Development] telnet777:
I've a question to ask.

When reboot, sometimes the phone says android is updating. About 76 items to update.

I googled that this is android 4.0's phenomenon. Who knows why? Thanks!
[Milestone XT720 Android Development] lwxddlqkillapp:
Do anybody have the original of ics framework-res.apk .. . Please give me the link. thinks.
[Milestone XT720 Android Development] telnet777:
Hi, Mioze7Ae,

I've build mtd-hack.ko. I'll test it then edit it and re-build it.

Thank you for your instructions!

Edit1:

I've tested. The new part-STR.ko works on my Xt711.

Now, I'm trying to edit it.

Edit2:

I found it's useless after adding mark_logo_writeable() , so I want to debug using adb logcat.

But the logcat can't be used in openrecovery.

It says '/sbin/bash: line 0: exec: logcat: not found'.

I don't know how to handle this.

So I googled, find a linux command 'dmesg' and debug with it.

I found when mtd_init calls mark_logo_writeable(), the logo partition is still unvisible because it is hidden on XT711. So I put mark_logo_writeable() before return.

The final code is below:

erase [B]/*[/B] and [B]*/ /* cdt arg */[/B] from this line to mount logo partition:
{ mtd_hack_part( 640, 6784, "logo", MTD_RO ) },

static int __init mtd_init(void)
{
struct device_driver *devdrv;
int err = 0;

mark_boot_writeable();

devdrv = driver_find("omap2-nand", &platform_bus_type);
printk(KERN_INFO "mtd-hack: found driver %s modname %s\n", devdrv->name, devdrv->mod_name);

err = driver_for_each_device(devdrv, NULL, NULL, create_missing_flash_parts);
printk(KERN_INFO "mtd hack loaded");

[B]mark_logo_writeable();[/B] //[I][B][COLOR="Red"]move to here![/COLOR][/B][/I]

return 0;
}

And I've changed the moto logo to apple logo, great thanks to Mioze7Ae!
[Milestone XT720 Android Development] Mioze7Ae:
Ah, I see now. Sorry, I assumed logo was like boot. Logo just isn't available on standard boot in XT711. What you did does work. In this case there's also a shortcut since "logo" doesn't exist before the module is inserted.

The way you did it (which is perfectly fine):

(1) create read-only logo

(2) find logo data structure and mark it read-write

The shortcut is:

(1) create read-write logo

So, you could get rid of mark_logo_writable() and instead just use MTD_RW instead of MTD_RO and :

{ mtd_hack_part( 640, 6784, "logo", [B]MTD_RW[/B] ) },

ew, gross :p
[Milestone XT720 Android Development] telnet777:
I see. Because boot partition is already mounted, so we need mark_boot_writable() to make it writable. Thank you!

BTW, when I'm porting a rom(LHD-CM7-7098-NIGHTLY-JY-XT720@.zip) to XT711, I've do all things I know. But the phone reboot by itself a few seconds after seeing the bootanimation. It enter bootloop state. Do you know how to solve it or have you meet with this kind of problems?
[Milestone XT720 Android Development] fjfalcon:
Guys, i got lost sometime ago.. what does mtd_hack do? )
[Milestone XT720 Android Development] telnet777:
hehe, fjfalcon,long time no see!

To change logo.img on XT711 because logo partition is not available on this phone. So we need to re-build mtd-hack.ko and rename it to part-STR.ko. Thanks to MiozAe7, I did this following his instructions.

I'm now using the logo I attatched. It's very beautiful than ‘M'.

Edit:

I want to report a bug I found today.

When listening to the radio, I made a call. The called party answered. Then hangup. The FM radio keep working(not volumn down automatically) during the entire process.

I think the phone.apk or the telephony should give a signal to notify the fm radio to enter silence when the call start and restore its volumn when the call ended.

If you want logcat, I can re-test and upload the log.
[Milestone XT720 Android Development] Mioze7Ae:
It's for OpenRecoveryXT720 (but not included yet). When you 2nd-init to recovery via normal boot.img you only see a few of the partitions that you could see if you booted to stock recovery.img directly (but of course we can't really do anything in stock recovery.img except via the update.zip vulnerability on xt720mod.sbf). In full recovery you see all partitions r/w. mtd_hack.ko adds the missing partitions.

In OpenRecovery, mtd_hack.ko is called part-STR.ko and we've had it for a while, but part-STR.ko is actually made for A853 and has always segfaulted on insmod on XT720 (check dmesg after entering OpenRecovery). mtd_hack fixes that and adds missing partitions (bpsw etc). It also makes boot writable so you can flash boot.img from OpenRecovery (flashing boot actually never worked previously from OpenRecovery--that's why we have to remove the install boot.img from the CM updater_scripts or install fails--boot is read only).
[Milestone XT720 Android Development] oddo1907:
does require to divide sd card(fat32,linux swap and ext4) when installing this?
[Milestone XT720 Android Development] Mioze7Ae:
I have had that sort of problem, the only answer is to get logs (both logcat and esp. dmesg). dmesg will tell you about library incompatibilities. It could be many things really. Very likely it's related to the files that are included in the bootfixes or other library incompatibilities.
[Milestone XT720 Android Development] telnet777:
I added this line, and it works:

$BUSYBOX sed -e 's@^on early-boot@\n# Insert modules missing from Milestone XT720 2.6.29 kernel\n insmod /system/lib/modules/twofish_common.ko\n insmod /system/lib/modules/twofish.ko\n insmod /system/lib/modules/dm-mod.ko\n insmod /system/lib/modules/dm-crypt.ko\n insmod /system/lib/modules/mbcache.ko\n insmod /system/lib/modules/jbd2.ko\n insmod /system/lib/modules/crc16.ko\n insmod /system/lib/modules/ext4.ko\n\n&@' -e 's@insmod /system/lib/modules/jbd.ko@#&@g' -e 's@insmod /system/lib/modules/ext2.ko@#&@g' -e 's@insmod /system/lib/modules/ext3.ko@#&@g' /system/etc/rootfs/init.mapphone_umts.rc.orig > /system/etc/rootfs/init.mapphone_umts.rc

And how to get logs (both logcat and esp. dmesg)? the phone is in bootloop state.

---------- Post added at 03:49 PM ---------- Previous post was at 03:14 PM ----------

Haha，I found fjfalcon's latest rom support app2ext(need 'mkdir app' under /sd-ext and the second partition should be ext3, other partition not tested). It's great!

Edit:

Maybe I'm wrong. I'm using LHD-CM7-7098-NIGHTLY-JY-XT720@.zip. It seems that it make a copy of /sd-ext/app to /data/app.

So need confirm under fjfalcon's rom.

The apk under /sd-ext/app is installed when using fjfalcon's rom. It's very strange!

---------- Post added at 03:58 PM ---------- Previous post was at 03:49 PM ----------

I've a question to ask.

What's the meaning of flash boot.img from OpenRecovery?

The bootloader locked the boot partition.