Sunday, April 26, 2015

AOSP 442 ROM for H30-U10

 

Acknowledgement

 

Thanks to ကိုနက္ခတ်သစ် ( ကိုသီဟထွန်း) who sold me many devices on credit including the device I tested to port this ROM.
Thanks to Ye Myat Thu who initially helped me with compiling ROMs back in late 2013.
Thanks to Ko Htoo Myint Naung who helped me with detecting Zawgyi.
Thanks to Ko Thura Hlaing, Ma Poe Poe Myint Swe and Ko Swan Htet Aung ( sorry, if you're younger than me :P) for helping me with zawgyi => unicode. 


About ROM

 

This ROM helps Zawgyi users move to Unicode. Plus, Unicode users will be able to see Zawgyi because the ROM detects Zawgyi and convert it to Unicode. After being converted, the original text is also added below followed by "========" just like in the photo.


Source on github


If you wanna to compile such ROM for other device models, you can head over to this repository on github.


How to install

 

First of all, do it at your own risk but that doesn't mean I won't help you if you encounter any problem. I'm right here trying to be helpful. :)

I'll list the steps you could take to install this ROM.
You can skip reading and head over to download link in number 8 if you know how to do it properly.


1.  Install drivers

 

Install Huawei Driver & MediaTek VCOM Driver. These driver links are copied from a xda thread.


2. Root your device

 

Download iRoot and install it on your phone. You will see Root now button in the app. Tap it and tap grant if it asks for permission. Now, your phone is rooted.


3. Backup your user data

 

If your phone is international variant, you have google service. So, you can backup contacts to your google account. if not, go through these steps.
  • open contact app
  • setting menu
  • search for Export and export it to sdcard
  • Now search for .vcf in your sdcard and copy it to somewhere safe ( probably your computer )
Now, you can backup your apps.
  • download Moborobo and install it to your computer ( search for Direct Download Link)
  • Open up Moborobo
  • connect your phone via usb and wait for connection being established
  • After that, in the top blue bar, you can see Apps button. Click it.
  • look at the left. There you will find User Apps.
  • In User Apps, select all your applications and click Export
  • Select Export app and app data. If you can select it head over to next step. If you can't, click obtain Super User Permission. It will ask permission on your phone. grant permission on your phone.
  • Click confirm. Choose directory ( folder ) where you wanna keep your backup apps and click OK. It would take a little while.
Copy all your files from internal sdcard to your computer.

4. Backup NVRAM

 

Why backup nvram? After installing ROM, your phone will lose NVRAM. Without NVRAM, you cannot make phone call or use mobile data. You need to backup NVRAM before you proceed so that you can restore it back. Please, refer to this link for backuping up NVRAM.


5. Unlock bootloader

 

If your phone is china variant, your bootloader is already unlocked. If not, you need to unlock it before you proceed. With locked bootloader, you cannot install ROM easily. So, follow these steps to unlock your bootloader: ( these steps are copied from this site and edited )
  • Download Honor3CBootUnlock.zip on the computer and unzip it too.
  • Download Tools.zip, unzip it and look for SPFlashTool folder.
  • In SPFlashTool, you will find FlashTool.exe. Right click on it and choose run as administrator
  • Click Scatter-loading and select MT6582_Android_scatter file placed inside Honor3CBootUnlock folder.
  • After that, click Window menu and check Write Memory. A new tab named Write Memory should appear.
  • In Write Memory tab, click Open Raw Data and select preloader_huawei82_wet_jb5.bin.
  • Set Memory Setting to EMMC, Beginning Address to 0x800 and Container Length to 0x1B0EC. Finally click Write Memory button.
  • FlashTool is waiting for connection, now connect your phone to computer using USB cable, WITHOUT the battery inserted. I repeat. WITHOUT the battery inserted. 
  • When Flashtool has successfully established a connection with the phone, the writing process will begin.
  • GREEN circle will be displayed if the writing succeeded.
  • Now DISCONNECT the USB cable from your phone.
  • Go to Download tab and make sure you’ve disconnected the USB cable. Check DA DL All With Check Sum option. Then, press the Download button. 
  • A Download Warning message should pop up, click Yes.
  • Reconnect your phone to computer using USB cable, WITHOUT the battery inserted. Wait for a few minutes until it gets completed.
  • GREEN circle will be displayed if the writing succeeded just like before.
  • Now DISCONNECT the USB cable from your phone.
  • Do not close your FlashTool and do not insert your battery yet. we need it in the next step.

6. Make Nandroid backup

 

Nandroid backup means the whole backup of your phone. Why nandroid backup? just in case you might break your phone. Follow these steps to make nandroid backup: ( This tutorial is referenced from a xda thread I described earlier at the first stage )
  • Run FlashTool.exe as administrator
  • Click Scatter-loading and select MT6582_Android_scatter file extracted from Tools.zip
  • Now switch to Read back tab.
  • Clear all existing items in the list and click ADD button to create a new read back item. 
  • Double click on the newly created item in the list. (Double click anywhere in the highlighted blue area)
  • Select ROM_READ folder extracted from Tools.zip
  • Change the output file name to ROM_FULL and then click Save button.
  • Edit the read back settings as following: ( Type: Hex, Start Address: 0x0, Length: 0x62380000), then click OK
  • Double check everything is correct and press Read back button.
  • FlashTool is waiting for connection, now connect your phone to computer using USB cable, WITHOUT the battery inserted.
  • When Flashtool has successfully established a connection with the phone, the read back process will begin. ( This process could take 30 minutes or more, please be patience... )
  • GREEN circle will be displayed if the read back succeeded.
  • Double check the output file has been saved successfully in ROM_READ folder. 
  • Now DISCONNECT the USB cable from your phone, you may re-insert battery and opne your phone normally.
  •  go to ROM_READ folder.
  • Now run dumpSplitter.exe provided in the folder. (Required .NET 2.0 or .Net 3.5)
  • The program starts and begins splitting the ROM dump into it's individual partition.
  • The processed files will be saved in OUTPUT folder.
  • After that, I suggest you take a break for about 30 minutes. Your phone may really hot right now. 

7. Install Custom Recovery

 

You need custom recovery to install custom ROM. The original recovery cannot do such thing. Follow these step to install custom recovery.
  • Download H30-U10_Recovery_TWRP_2.8.6.0.zip and extract it.
  •  Run FlashTool.exe as administrator
  • Click Scatter-loading and select MT6582_Android_scatter file extracted from H30-U10_Recovery_TWRP_2.8.6.0.zip and press Download
  • You will receive a warning message that not all images are loaded, press Yes to continue.
  •  FlashTool is waiting for connection, now connect your phone to computer using USB cable, WITHOUT the battery inserted.
  • When Flashtool has successfully established a connection with the phone, the download process will begin
  •  GREEN circle will be displayed if the read back succeeded.
  • Now DISCONNECT the USB cable from your phone, you may re-insert battery to open your phone normally.( if you cannot open your phone anymore, don't worry we'll install the ROM later on )

8. Install ROM

 

  • Download hwH30-U10_AOSP_442_Tada.zip and gapps-kk-20140105-signed.zip from goo.im 
  • Copy them to sd card.
  • Shut down your phone and remove battery.
  • Insert the battery back in. Hold power button and volume up.
  • Now you're in recovery mode. Release the buttons.
  • Tap Install. Tap ( Up A Level ). Search for hwH30-U10_AOSP_442_Tada.zip and tap it. ( you can scroll if you can't find it )
  • Now Swipe to Confirm Flash.
  • When it's done. does the same thing to gapps-kk-20140105-signed.zip
  • After that, go back to main menu and tap Wipe 
  • Swipe to Factory Reset
  • Go back to main menu. Tap Reboot. Tap System.
  • The animation would take a few min.
  • Then, you will see Android is upgrading message. wait for a few min.
  • Congratulation! you have successfully installed the ROM. but wait no signal and all your data is lost. Oh, no!!!!!
don't worry. You have back them up earlier. :P In the next step, you will restore all your data.

9. Restore NVRAM

 

Please, refer to this link for restoring NVRAM. It's the same link from backup NVRAM stage.


10. Restore Data

 

Copy all your files back to your internal sdcard which you have copied to your computer earlier.

If you have backup your contacts to google, I guess I don't need to write how to restore for you. if not, go through these steps to restore your contacts.
  • Make sure you .vcf file is in your sd card
  • open contact app ( contact app is named People )
  • setting menu
  • Tap Import, choose SD card and next...next
  • Choose Import one vCard file and OK
  • Choose your .vcf file and OK
  • This would take a while
  • After the process complete, you will have all your contacts back.
Now, you can restore your apps.
  • Open up Moborobo on your computer
  • connect your phone via usb and wait for connection being established
  • After that, in the top blue bar, you can see Apps button. Click it.
  • look at the left. There you will find User Apps.
  • In User Apps, select all your applications and click Install
  • Select all your apps you have backup earlier and click OK
  • It may ask for permission on your phone. Grant it if it asks.
  • Now, at the right bottom corner, click Task Center
  • You can right click on each task and restart it if it fails.
  • After all complete
  • After all complete
  • Well, After all complete
  • :P
  • This is the final step :P :P
  • Enjoy!



    Hope you love my tutorial and the ROM.
    Brought to you by Aung Thiha

No comments:

Post a Comment