+ Reply to Thread
Results 481 to 500 of 2415
[project]Port android to meizu M8
This is a discussion on [project]Port android to meizu M8 within the Meizu M8 Android forums, part of the M8 Firmware category; Originally Posted by r3wDy This evening i will clone the android branch from thier server compile it and will build ...
-
10-24-2009 #481Member
- Join Date
- Nov 2008
- Location
- Germany
- Posts
- 152
- Thanks
- 8
Thanked 12 Times in 8 Posts
-
10-24-2009 #482Freshman
- Join Date
- Oct 2009
- Posts
- 20
- Thanks
- 3
Thanked 1 Time in 1 PostOoh F*** it's the final goal??! After that we can run Android???
-
10-24-2009 #483Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 Postsrun android doesnt mean to use it...
bill already said that there is stlil no modem driver so no phone functionality will be avaliable at start. I dont know how it is with wlan and stuff....
Therefore we do dialboot at first while we develop further
-
Member who thanked r3wDy for the post:
-
10-24-2009 #484Passing By
- Join Date
- Oct 2009
- Posts
- 1
- Thanks
- 0
Thanked 0 Times in 0 PostsDoes this android created could be used on the new M8 SE version? Since beginning of Oct, the M8 SE version replace the old version.
Bill may have some idea about this SE version?
-
10-24-2009 #485Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 Poststhere are notmuch changes between m8 and m8se especially not in cpu/memory hardware so im pretty sure android would run just as good as on normal m8
-
10-24-2009 #486Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 Postsindeed the most hardware should be still the same (except audio),
and same hack (xip mod) would be possible to use on SE.
Only serial debug and Jtag will need to be checked..
Btw R3wdy,
if you manage to run some kernels,
please spoil us with some more pictures!
Would love to see them!
You mean this ? and if so, You did it while using the bootcd or..?with the paragon partition tools you can resize
Ow and did you notice if movinand was already been partitioned in 2 by factory or not?
btw
bad news; it could be that i wont receive a replacement meizu m8 since my reseller can not place his hands on the replacement i need .. bit pissed since the project finally gets somewhere.
-
10-24-2009 #487Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 Postsyes this is what i used.
And mhn i saw only one partitiion on the movinand but this was 7,6 GB ansd not 8. now its 7,2 and 400mb ext2
Iwil spoil pix wenn android boots from rootnfs
i will try this now
argh its all shit :D i have no dedicated linux machine and a ubuntu live cd has no nfs server so i need to install linux first...Last edited by r3wDy; 10-24-2009 at 04:38 PM.
-
10-24-2009 #488Member
- Join Date
- Jul 2009
- Location
- Germany
- Posts
- 144
- Thanks
- 23
Thanked 9 Times in 7 Postsi love this progress :D my first page i load in my browser every day is this thread...
alpha next week ? and can we test ist ? :DLast edited by Skoddi; 10-24-2009 at 04:56 PM.
-
10-24-2009 #489Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 PostsR3wdy,
like i mentionned:
try dualboot with ubuntu and a bootloader like easyBCD
( saves the mess on MBR , howto link )
or try wubi his saves you time and removes easily afterwards!
woooeehoee!wil spoil pix
now that is logic since gb is a marketing trick and GiB is for all linux nerds like me, but i hoped it would show a hidden partition (still think it is there)7,6 GB ansd not 8
So that is why this topic has about 50.000 hits ?i love this progress :D my first page i load in my browser every day is this thread...
lol
-
10-24-2009 #490Member
- Join Date
- Mar 2009
- Posts
- 127
- Thanks
- 1
Thanked 113 Times in 35 PostsI repaired my multicable (serial+usb) right now. I think it can allow me use serial + nfs at same time.
VMWare can connect to real network, you do not need a phys installation.
in my tests, bill's kernel can build in to xip with litexipbuilder and startup, just like our aesop_M8 one.
atag memory configuation seems overwrited by hard code in both kernel.
our aesop based kernel will get a pointer dereference panic in onenand partition parsing.
It's not important now, yes I am going to write a lite touch screen position retrieve for bare M8TinyLoader, instead full driver in kernel, and detect which menu user clicked.
-
Member who thanked banxian for the post:
-
10-24-2009 #491Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsI just booted android (ife tried :D) over nfsroot, and the first parts of android wanted to start, but the movinand wasnt correct configured so i failed.
One problem now:
i cant reflash my m8 anymore back to meizu os because my upgrade mode got destroyed.
Mhn what to do now??++ShadowNK()
ShadowNK : _ReadImage() ERROR...
luckyliy i have a working nfsroot so i could try to build a script (maybe with dd??) to write a new image to the device.
anyway i must flash the upgradesystem trhough rootnfs back to the device. Any idea how to do this? or can i reflash this through the samsung jtag cable?
Any ideas how to get my m8 back to work, because i cant do further development without upgrade system...Last edited by r3wDy; 10-24-2009 at 07:40 PM.
-
10-24-2009 #492Member
- Join Date
- Mar 2009
- Posts
- 127
- Thanks
- 1
Thanked 113 Times in 35 Postswhat a bad news!
how you get mzupdate broken?
by a kernel startup, or stone maker?
... mzupdate parts/partition on onenand (in other device use nor flash for xip) seems get corrupted.
A cheap LPT jtag cable can do this work but I can't confirm.
-
10-24-2009 #493Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsAndroid mounts mtdblock4 as system. mtdblock4 seems to be the upgradesystem patition or something
And it tried to mount it yffs2 but this is fat or somethig to i just killed the image
The only thing i think to get my m8 back is to write an init.rd script on the machine with nfsroot and use dd to write an binary image of the upgradesystem.
Following the logs android tried ti initialize its system on mtdblock4 which then seems to be just this partitiion
i tried to execute dd to dump parts of mtdblock4 but it dont know how exactly to do this, nor i really know the name if this device.
i tried dd if=/dev/mtdblock4 of=/test bs 1024
or
dd if=/mtdblock4 of=/test bs 1024
but nothing happens. this could be because my nfs system is mounted readonly...
so i tried
mout -o remount,rw /
to get it rw and then did touch test
but nothing happens....-
So i will try to build a jtag cable :/
Now i have a phone which boots an android kernel and wants to start it over nfsroot, but cant do this and cant get back to meizu os.
So any ideas how to geht the upgrade system back on the phone would be appriciated :D
-
10-25-2009 #494Freshman
- Join Date
- Oct 2009
- Posts
- 32
- Thanks
- 0
Thanked 12 Times in 6 Posts
-
10-25-2009 #495Member
- Join Date
- Mar 2009
- Posts
- 127
- Thanks
- 1
Thanked 113 Times in 35 PostsI think it's impossible because update interaced is a running CE,
first of all he get his mzupdate corrupted.
and can't emulate in your kernel.
may be he want to use a "free" partition in kernel building but get mzupdate fucked.
-
10-25-2009 #496Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 Postsquite right banxian.
I cant enter mzupdate.
as said it seems to me that mtdblock4 got destroyed by the yaffs2 FS driver and now the checksums arnt correct and it wont boot anymore.
What i now try to do is to remount the nfsroot writable and do a dd of this partition. then i will see if there are fragments of mzupdate innit. If i can find some there i can flash it back with dd i think.
or someone here from the forums makes a nfsroot and does a dd dump from his mtdblock4 and i write this intomy phone.
Another way i think i could go wuld be trhough jtag.
Can i flash with jtag to a defined adress in nand or can i just write form top?
If i cant flash it direkt to its location i could flash uboot, copy xip.bin fro biospack in ram and let it execute. it then will flash mzboot and mzupdate again.
Ill try :/ hope t get my phone backLast edited by r3wDy; 10-25-2009 at 06:12 PM.
-
10-25-2009 #497Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 Postsr3wdy that is terrible news!
Hope you can fix it asap!
lets hope it does the trick!Can you press power + play button to enter the update interface.
If can, you can copy the xip.bin file from nfsrootfs: "cp nfs/xip.bin nfs/sdcard",then update by normal way.
But i still did not understand what happened;
you mounted nor instead of movinand and trashed the upgrade system?
If you press the upgrade keys, do you notice "enter upgrade.." onscreen and get an error through debug cable that it can not find the data to proceed with..?
I hate to say it , but i was already a bit affraid this could happen one day.
Therefor it could be interesting to make backups of all data through jtag so everything can be flashed back to original...
@banxian(or bill), you have jtag?
could you try and dump those files, it could help r3wdy!
edit,
another way around:
patch a uboot to load wince from movinand?
(maybe we have this way the dualboot system)
[U-Boot] [PATCH] Add WinCE image load/boot cmd
[U-Boot-Users] U-Boot WinCE booting support?Last edited by evow04; 10-25-2009 at 06:40 PM.
-
10-25-2009 #498Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 Poststhe android startup script mounts a device called mtd@system and this was the problem. this mtd@system seems to bemtdblock4 and there is the updater i think.
So yaffs treid to "fix" the filesystem @ mounttime and this killed my image.
So
@banxian,bill
Anyone who could boot a linux kernel and do a diskdump of mtdblock4 and up is somwhere to me? i wil try to dd it into the system...
-
10-26-2009 #499Freshman
- Join Date
- Oct 2009
- Posts
- 32
- Thanks
- 0
Thanked 12 Times in 6 Posts
Hi,r3wDy
Pleae try this way:
http://www.mobi28.com/m8/M8_DNW_tools.asp
step by step:
1,power off M8.
2,connect USB line and serial line to M8.
3,Press space key enter eboot mode in serial console.
4,press u key
5,open DNW tools,if connect success,it will display [USB:OK]
6, select "USB port" --> "UBoot" ,select the xip.bin file download to M8.
7,if faile,try again 1-6.
-
10-26-2009 #500Member
- Join Date
- Mar 2009
- Posts
- 127
- Thanks
- 1
Thanked 113 Times in 35 Posts@bill
see my reply in url=http://www.meizume.com/modding-development/9371-how-serial-debug-connection.html
, follow evow04's instruction, as he montioned, I can write UART2 but can't read.
so press enter takes no effect.
I need rework my serial cable to get right RX pin (maybe 7/8), then ask r3wDy to make a new one.
Similar Threads
-
PROJECT: Meizu M8 Nederlandse taal
By MaikelRunia in forum DutchReplies: 47Last Post: 09-02-2009, 10:11 AM -
Port Meizu OS to Samsung Omnia i900
By natedogg20050 in forum Modding & DevelopmentReplies: 8Last Post: 08-17-2009, 12:09 PM -
What does the Meizu Rockbox project need?
By Err0r in forum RockboxReplies: 21Last Post: 05-17-2008, 12:12 PM -
Meizu M8 Project On Temporary Hold
By Err0r in forum Meizu M8 NewsReplies: 68Last Post: 04-20-2008, 04:02 AM -
The USB port
By vipert in forum TechnicalReplies: 3Last Post: 05-03-2007, 04:03 PM




Reply With Quote