Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,768,490 Members 50,657 Now Online
XDA Developers Android and Mobile Development Forum

[DEV][ROM][ALPHA]CM 10.1 Asus MeMO Pad HD7 (MTK)

Tip us?
 
BSydz
Old
#1  
BSydz's Avatar
Member - OP
Thanks Meter 227
Posts: 76
Join Date: Jun 2012
Default [DEV][ROM][ALPHA]CM 10.1 Asus MeMO Pad HD7 (MTK)

Introducing CyanogenMod for the Asus MeMO Pad HD7



I have been working on CM 10.1 for ME173X for a couple months now, it took me a while as I had never heard of MTK before I got this device. I have come to a good start point for anybody that wants to build for MTK devices.

Anybody should be able to use this source to start building for there own device, so please do not ask if this can be ported, you can build it yourself.


RULES OF THIS THREAD:
1. Do NOT ask for an ETA!
2. Do NOT ask if this can be ported to another device!!!
3. Do NOT PM me with questions about this, if you are trying to develop for another device then comments are welcome.
4. Please use the thanks button instead of posting a thanks reply

Let's keep this as clean as we can to help devs get going and contributing to the development.


This is an alpha build, so expect nothing to work.

Links will be up soon, please be patient.

If you would like to help in the development, you can initialize the repo with this command to get started. For now these are simple changes that should get you to a point that it will boot. The only thing required is for you to set up your device files. This also includes my latest CWM based recovery so it should work for small recovery partitions.

Code:
repo init -u git://github.com/BSydz-MTK/android.git -b cm-10.1
My sources can be found here: http://github.com/BSydz-MTK
Kernel Source can be found here.

Credits: xplodwild, chrmhoffmann, bgcngm

XDA:DevDB Information
CM 10.1 Asus MeMO Pad HD7 Alpha, a ROM for the Android General

Contributors
BSydz
ROM OS Version: 4.2.x Jelly Bean
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod

Version Information
Status: Alpha

Created 2014-03-21
Last Updated 2014-03-21
The Following 34 Users Say Thank You to BSydz For This Useful Post: [ Click to Expand ]
 
BSydz
Old
(Last edited by BSydz; 22nd March 2014 at 01:42 AM.)
#2  
BSydz's Avatar
Member - OP
Thanks Meter 227
Posts: 76
Join Date: Jun 2012
Default General Installation info

INSTALLATION:

Flash in a custom recovery:

1. Copy zip to sdcard
2. Boot to recovery
3. Make backup
4. Install zip from sdcard
5. Select custom ROM zip
6. Accept install
7. Reboot
8. Enjoy!

Sideload after build:
In same terminal as the build
Code:
adb reboot recovery
In recovery:
Make backup in recovery if needed
Choose Install from sideload
Code:
adb sideload out/target/product/ME173X/cm-10.1-20140322-UNOFFICIAL-ME173X.zip
You will have to change the date according to the date of build.
The Following 9 Users Say Thank You to BSydz For This Useful Post: [ Click to Expand ]
 
BSydz
Old
(Last edited by BSydz; 21st March 2014 at 09:48 PM.)
#3  
BSydz's Avatar
Member - OP
Thanks Meter 227
Posts: 76
Join Date: Jun 2012
Default Change logs and other details

This will be for change logs and details about issues and fixes
The Following 8 Users Say Thank You to BSydz For This Useful Post: [ Click to Expand ]
 
BSydz
Old
(Last edited by BSydz; 22nd March 2014 at 01:44 AM.)
#4  
BSydz's Avatar
Member - OP
Thanks Meter 227
Posts: 76
Join Date: Jun 2012
Default General instructions for building

Build Instructions:

1. Build Environment:
You will have to have your Android build environment set up, here is a guide, you do not have to "download the source" at the end.
http://source.android.com/source/initializing.html

2. Create an Android directory on your computer:
This can be named anything you like. I use /CM-10.1-MTK.

3. Open directory in terminal

4. Initialize the repository:
Code:
repo init -u git://github.com/BSydz-MTK/android.git -b cm-10.1
repo sync
After everything is downloaded/synced:

This downloads prebuilt files for CM
Code:
./vendor/cm/get-prebuilts
5. Connect your device to the computer and make sure adb is working

6. Pull files from device: Note: Some files may not have permission so you may have to pull them from the device manually using root explorer or similar.
Code:
cd device/asus/ME173X
./extract-files.sh
cd ../../../
7. Build:
Code:
. build/envsetup.sh && brunch cm_ME173X-eng -j4
Optional Build:
Copy BSydz_ME173X_build.sh to the root of the Android directory, i.e. the dir you created and are using for your build.
This will give you information through out the build, like what step it is at and how long the build took.
Code:
./BSydz_ME173X_build.sh
Most Common Errors:

make: *** No rule to make target
discription:
This simply means that the file that it is being told to build is not where you said it would be.
Solution:
Make sure the file is where it is supposed to be.
"If somethings in your way, you gotta move it or use it." - Me

If you would like to thank me, beyond just saying thanks, you can donate to my coffee fund to keep my eyes open. Donate
The Following 7 Users Say Thank You to BSydz For This Useful Post: [ Click to Expand ]
 
jrk190
Old
#5  
jrk190's Avatar
Senior Member
Thanks Meter 83
Posts: 853
Join Date: Sep 2012
Location: McLeansville
First off, this is stellar. I'm pretty sure you just managed to achieve the impossible. You'll go down in history as the man who got Cyanogenmod on a MTK device! Congrats!

Sent from my Galaxy Nexus using xda app-developers app
I've owned a lot of phones. Too many, probably.
So I'm just holding out for a new phone, hanging in there with my Droid Razr M (CM 11, JB Bootloader) and Nexus 7 2013 (CM11).
Feel free to buy a poor college student a new phone... Like, any phone...
Please?
The Following User Says Thank You to jrk190 For This Useful Post: [ Click to Expand ]
 
BSydz
Old
#6  
BSydz's Avatar
Member - OP
Thanks Meter 227
Posts: 76
Join Date: Jun 2012
Quote:
Originally Posted by jrk190 View Post
First off, this is stellar. I'm pretty sure you just managed to achieve the impossible. You'll go down in history as the man who got Cyanogenmod on a MTK device! Congrats!

Sent from my Galaxy Nexus using xda app-developers app
Thanks, but I am not the only one. Lots of credit goes to xplodwild, chrmhoffmann, and bgcngm. I am just setting it up so that it is accessible to anybody that wants to help. They have made more progress than me as far as getting things working, I just know from experience that if you put the code in front of peoples face, they will be more likely to contribute something to the project. Since we don't have that base to start from, I figured I would put it together and let everybody at it.
"If somethings in your way, you gotta move it or use it." - Me

If you would like to thank me, beyond just saying thanks, you can donate to my coffee fund to keep my eyes open. Donate
The Following 7 Users Say Thank You to BSydz For This Useful Post: [ Click to Expand ]
 
shoxxy
Old
(Last edited by shoxxy; 23rd March 2014 at 11:11 AM.)
#7  
shoxxy's Avatar
Senior Member
Thanks Meter 188
Posts: 152
Join Date: Sep 2013
Congrats !!!! Would try a build this night !!

Thanks for your work b !!!!

Gesendet von meinem Ascend G510 mit Tapatalk

edit:

short feedback:

The build process runs very clean !!! and ends with no errors. " cm-10.1-20140323-UNOFFICIAL-ME173X.zip "


i think your work is an very good base man

...i had only 15 minutes to playin around with, because i musst work

For the very first cm Alpha on MTK it works very good....
THX again,

sorry did read this now...
Remember this is just a basic boot, nothing works. There is no sound, wifi, bluetooth, and there is still an issue with the mounts and permissions. So the sdcards don't work. I have updated my github and you should be able to build a bootable ROM from it. I will post a link for the flashable ROM after I get a few things taken care of.
The Following User Says Thank You to shoxxy For This Useful Post: [ Click to Expand ]
 
mavishow
Old
#8  
mavishow's Avatar
Senior Member
Thanks Meter 4
Posts: 108
Join Date: Sep 2011
Location: adıyaman
Thank you. you get all the goodies. Have no guess. about the beta release.?
Android *stock or all custom)....*NEXUS 4 ###
Asus Memo pad hd 7* stock rom and root
Dell-i5*5110###
Vu+solo###samsung 117' 6000 led
Audi a3
 
spanitzer
Old
#9  
spanitzer's Avatar
Junior Member
Thanks Meter 6
Posts: 29
Join Date: Oct 2013
Location: Germany
Hi BSydz
Nice work!
Download Link?

Gesendet von meinem ME173X mit Tapatalk
 
1asbak1
Old
#10  
1asbak1's Avatar
Senior Member
Thanks Meter 45
Posts: 211
Join Date: Feb 2013
awesome news! looking forward to this weeks!!

Sent from my ME173X using xda app-developers app

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes