1. 2015 is going to be a great year for Android! Why wait??
    Samsung Galaxy Note 5 | Samsung Galaxy S6 | HTC One M9
  2. New Forum Created: Samsung Gear VR!

Huawei Ascend g510 development thread


  1. UGN Devs

    UGN Devs Member

    I have decided to start this thread in order to allow development for the Huawei ascend g510:D
    #ROOTING
    #CUSTOM ROMS
    #BOOTLOADER UNLOCKING
    #THEMES
    #+More:)

    Advertisement
    :
    Guru82 likes this.
  2. UGN Devs

    UGN Devs Member

    1.Rooting- I have the huawei ascend g510.
    Use the tutorial from this link.https://m.youtube.com/results?q=roo.....14.19.3432.Yn87mg_iVEU#/watch?v=M3oeBWClgNc

    2.Bootloader Unlock - The huawei website has problems with this phone's unlocking code. I sent huawei an email directly and got the code within 30 minutes
    .#NOTE- you must give them your IMEI;S/N;Model;ID

    Here is their direct email- mobile@huawei.com
    3.Custom Roms - To be edited.
    #HIT THANKS BUTTON IF I HELPED
    #EMAIL ME IF YOU HAVE ANY QUERIES
    #MY EMAIL-enkunaenkuna@gmail.com
    Guru82 likes this.
  3. Haloflyer

    Haloflyer New Member

    Hi i have just got the Ascend 510 and want to root it but not sure how. any help would be a god send ty
  4. UGN Devs

    UGN Devs Member

    Step by step procedure:ROOTING
    1.Download the DRIVERS and ROOTG510.zip files from the YouTube link above ( expand the more info button and you will see the two links below the video)

    2. Place the Drivers.exe file into your PC and install on your PC/laptop.

    3.Extract the Rootg510.zip file using phone or PC software.You will see two files DLOAD and ROOTX.bat.

    4.Place the ROOTX.bat into your PC

    5.Place the dload file into the root of you SD card(This simply means you don't place it any other folders as it will be a folder 'in front' of your SD)

    6.Turn off fast boot in settings. Turn on USB debugging in settings>developer options

    7. Switch off your phone and wait 2 seconds.

    8.Hold the volume up;volume down and power buttons together. If done correctly the phone will start UPDATING for about 6 seconds and It will reboot.

    8.When the phone has rebooted connect the cable and make sure it is connected as an installer ( pull status bar down and click the box to verify).

    9.Now open the Root.bat file and just click the enter button until it's done.

    10.Phone will reboot and Will say Android is Upgrading.

    11.You have successfully rooted your phone :)
    #To check root download root checker from play store or from the filecrop.com
    #If you need any more step by step procedures just say so:)
    #Hit thanks button if I helped:)
    bbosstjan and Guru82 like this.
  5. UGN Devs

    UGN Devs Member

    BOOTLOADER UNLOCK-Send mobile@huawei.com this email and you will recieve your unlocking password.You must provide your own phone details.
    --
    Dear Sirs,

    Please can you send me the code to unlock the BOOTLOADER, the Ascend G510 is not listed on your unlock bootloader webpage. This is really frustrating:(

    Here are the required details--

    Model: Ascend G510-0100

    IMEI: 8680***********

    S/N: T6N9************

    ID:********


    Baseband: I am on Jelly Bean official ROM (4.1.1)

    Thank you.

    *Your name*
    --
    #You will find the IMEI and S/N on the backside of your phone on battery area.
    #To get Phone ID type-*#*#1357946#*#*
    #Once you have the password follow this procedure
    LINK-http://www.huaweidevice.com/worldwide/servicePolicy.do?method=getUnlockStep

    #Hit thanks button if I helped:)
    #If the procedure is still unclear just say so and I'll help you out!
    wap72 and Guru82 like this.
  6. Guru82

    Guru82 Well-Known Member

    The site does have it listed now; Unlock Bootloader - Huawei Device Co., Ltd..

    I'm not sure if I could be bothered unlocking the bootloader and rooting at the moment. Would be doing it if I knew of a 100% solid CM10.1 (4.2.2) ROM
  7. Guru82

    Guru82 Well-Known Member

  8. joestone

    joestone Member

    Hi !

    You can find more information on modaco.[ROM] [All] CyanogenMod 10.1 Daytona projekt build 20131117 working FM Radio - Huawei Ascend G510 Development - MoDaCo

    It is developped on a single sim GSM version (G510-0100).

    My previous works :
    LG GT540 AOSP 2.3.2
    ZTE SmartTab CM9/CM10
    Guru82 likes this.
  9. Guru82

    Guru82 Well-Known Member

  10. joestone

    joestone Member

    It will work on G510-0200 GSM . It is not working on G510-0010 dualsim model.
  11. ali200reza

    ali200reza New Member

    hi
    I have g510 0010 dual sim.
    I want to update it to CyanogenMod rom.but i cant find it for my phone.
    Is there any other updated roms that i can use it?
    Thank you very much.
  12. Guru82

    Guru82 Well-Known Member

    Guide Root Huawei Ascend G510 with a Windows PC
    ! Backup any phone data; pics and music you wish to keep, to your PC before proceeding.
    ! First take note of your software details ('Settings' > 'About phone')
    ! Have your battery charged to at least 30%. Try for 100%
    + You don't need a SIM card inserted. It doesn't matter if a SIM card is inserted.
    Before you start:
    Enable USB debugging: 'Settings' > 'Developer options' > 'USB debugging'
    Disable Fast boot ('Settings' > 'Fast boot') Off
    You will need:
    To decide if you will try a custom ROM or stock ROM or custom ROM with other kernel or Stock ROM with custom kernel.
    Covered here; An Unlocked Bootloader, Custom Recovery (TWRP2 recommended), ROM and Google Apps (gapps)... Next post is Stock stuff, though you may need to refer to this post when following those guides.
    Custom Recovery:
    TWRP2: http://teamw.in/project/twrp2/170
    CWM: http://www.modaco.com/topic/365942-recovery-all-cwm-clockworkmod-recovery-v6045-cm-last-updated-2112/
    Superuser: http://download.chainfire.eu/supersu
    Some custom Rom suggestions to search: SlimKat by Chil360, CyanogenMod 11 by Dazzozo,

    How to access Fastboot & Recovery:

    * BOOTLOADER = Phone is off, 'Volume Up + Volume Down + Power' together for 10sec (only used for Unlocking or flashing stock firmware from SD Card)
    - Is a purple/pink screen, only exit is battery pull
    * FASTBOOT = Phone is off, 'Volume Down + Power' together for 10sec (this is used in unlocking and then for flashing a custom recovery)
    - Is a solid white screen (on Optus Australia firmware), only exit is battery pull
    - Is Huawei Ascend logo on black for others, pull battery to exit
    * RECOVERY = Phone is off, 'Volume Up + Power' together for 10sec (this is magic sauce)
    + Use the Reboot menu in Recovery to Power off, Reboot Recovery or Reboot System

    1. Prerequisites. Download and setups for unlocking:
    1-1. Download and and install
    ADB, Fastboot and Drivers (http://forum.xda-developers.com/showthread.php?t=2588979).
    * If the Google Samsung driver included above doesn't work, try and install Huawei Drivers found at (http://consumer.huawei.com/en/support/downloads/detail/index.htm?id=11802)
    2. Unlock Bootloader*:
    2-1. Go to https://www.dc-unlocker.com/free-huawei-bootloader-unlock-tutorial
    * When unlocking, the purple/pink screen requires battery pull to exit
    * The FASTBOOT mode is solid white or Huawei Ascend logo screen that requires battery pull to exit
    3. Flash Recovery:
    3-1. 'FASTBOOT' & USB to PC (Fastboot USB)
    3-2. Put "*recovery*.img" into your adb folder (C:\adb), 'shift + right-click' the folder and 'Open command window here'
    3-3. Then in cmd:
    fastboot flash recovery Recovery_EDIT_THIS.img
    <or>

    fastboot flash recovery openrecovery-twrp-2.7.1.0-u8951.img

    * Now might be a good time to backup your original firmware with Recovery and push that backup to your PC
    4. Prepare your phone:
    4-1. 'RECOVERY'
    4-2. Select 'Wipe' and go Advanced; Wipe Everything (wipes your SD Card!). Then back out and swipe (factory reset)
    4-3. Reboot Menu > Recovery > Swipe to Reboot > Swipe to Install (don't think it actually installs SU)
    5. Push some files to your SD card:
    There are multiple ways to get files onto your SD card. You can wipe the Micro SD from Wipe menu before this step.
    My preferred method is to mount the SD card with Recovery;
    5-1. 'RECOVERY' & USB > 'Mount'
    5-2. Copy these files to your SD card; "ROM.zip", "gapps.zip" (google apps)
    * Copy across *SuperSU*.zip if your going to be using a stock rom with root. Most custom roms include SU root
    5-3. Disconnect the storage when done (dismount in Windows first)
    6. Install ROM zip:
    You can choose your own ROM
    6-1. 'RECOVERY'
    6-2. 'Install'
    6-3. Choose zip from SD card, install ROM zip first
    6-4. Choose zip from SD card, install the Gapps zip then Wipe Cache/dalvik
    6-5. Go to step 7 or Reboot System if your ROM has SU
    * You should now have a custom ROM installed that boots
    7. Superuser:
    * This step may be NOT REQUIRED, if your ROM has SU root built in
    7-1. 'RECOVERY'
    7-2. Select 'Install'
    7-3. Then Select storage 'Micro SD'
    7-4. Choose zip from SD card, install '*SuperSU*.zip' then Wipe Cache/dalvik
    7-5. Reboot System
    Notes:
    * Allow Google to backup phone, but you don't always have to restore. It's easy enough to multiple select apps to install from your previous downloads.
    * In SlimKat you can clear that recent list from memory with a 2 finger vertical pinch
    * In SlimKat you might have to disable and re-enable Superuser in Settings > Advanced options > Superuser > Settings > Superuser Access -> switch to Disabled and then to Apps and ADB

    Locked at blue screen or a logo on boot?
    Find official firmware , follow the included flashing instructions using a card reader or friends phone to place the update.app files into sdcard\dload. 1. transfer, 2. dload, 3. vendor. The bootloader may remain unlocked.

    Problems I've had with ROM's:
    #1. On SlimKat, CM10.2 and CM11, Facebook videos load and play fine first time. On relaunching Facebook (after releasing FB from memory using clear recents), the video causes system reboot or plays choppy. The problem is not present on stock roms. And therefor I'm sticking with modded stock roms for now. Huawei need to release b200 source for the kernel devs.
  13. Guru82

    Guru82 Well-Known Member

    Root your Stock Firmware:
    Official build (editors choice): B200
    Kernel (editors choice): Synopsis Kernel by moddingg33k ([KERNEL] [Y300/G510] Stock Huawei - Huawei Ascend G510 Development - MoDaCo)[using latest Stable build]
    1. Download firmware:
    http://huawei-g510.com/
    and force upgrade:
    Put the 'UPLOAD.APP' file to 'sdcard\dload' folder for each; transfer, dload and vendor.
    ['update.app' in 'sdcard\dload' + 'vol up' + 'vol down' + 'power']
    1-1. transfer; then hold vol up when it is restarting. That will get back to custom recovery to mount and get next 'UPLOAD.APP' file
    1-2. dload (main); then hold volume down when restarting (for 10sec), to get to fastboot mode (ascend logo). So you can flash custom recovery, pull battery and then vol up + power back to recovery
    1-3. vendor, then hold vol up when restarting, to get to recovery
    2. Set time zone in recovery, install custom stock kernel
    ([KERNEL] [Y300/G510] Stock Huawei - Huawei Ascend G510 Development - MoDaCo) from sdcard and wipe cache/dalvik. Install SuperSU, wipe cache/dalvik and reboot system
    3. Give it some time to boot. Setup Google Account, reboot phone.

    4. Install BusyBox with https://play.google.com/store/apps/details?id=stericson.busybox to system\xbin
    5. You probably want a custom launcher. Nova Launcher :)
    6. You can delete system apps with System app remover (https://play.google.com/store/apps/details?id=com.jumobile.manager.systemapp&hl=en). Be careful. It would be great to remove all apps, but removing the wrong thing could be very bad.

    My safe to remove list. Save ~280MB of internal storage: https://docs.google.com/spreadsheet/ccc?key=0AjWTtTovoeN0dDNjS3JaV2NkeGZSVmdMdXFQUUtSZlE&usp=sharing
    * Replace Home, Keyboard and change Lock screen type, if you plan to remove them.
    * Before removing "Themes", open it > customize and set Lock Screen Wallpaper to match your home screen wallpaper
    Tips:

    * Before you start downloading heaps of apps, consider switching your SD Card to Default storage location under Settings > Storage. Restart phone after changing the storage location. Found that my pictures are actually getting stored on the SD Card anyway, but enabling this option allow you to move parts of big games etc to the Micro SD.
    * Use Android Tweaker 2 (https://play.google.com/store/apps/details?id=com.bam.android.androidtweaker.two&hl=en) to Zipalign your apps on internal storage. So for apps you use regularly, leave on the internal storage. Put the big 20MB> apps to the sdcard (USB storage), Zipalign first if you want pretty green ticks in that list.
    Auto Tweaker... try this... Performance + Extreme, restart, Performance + Safe and restart again. Not sure if setting the extreme first really leaves anything else 'tweaked', but if you only do extreme you may have problems with 3D rendering and possibly video. Ensure that 'Persist Sys UI HW' is off after restart.
    * Use Trickster Mod (https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod&hl=en) to enable 'ZRAM' (10% of RAM) under 'Specific' and also tick the 'Kernel Settings' to 'SET ON BOOT'
    * Use Andromizer (https://play.google.com/store/apps/details?id=com.j.y.daddy.customizer&hl=en) to enable 'zRAM' and mess around :)
    Find zRAM setting under One-Touch Kernel Tweaks. Apply it so that it always enable, after reboot (Fix). Applied the Tools -> One-Touch Optimize (all options) and then set Memory(RAM) Settings to Appropriate settings (though One-Touch Optimize should've/would've set that anyway).

    Modded Stock ROM's:
    Installing a modded stock rom is typically done as a zip install via TWRP2 or CWM Recovery. Although some may come as an UPDATE.APP file that is flashable via the official forced upgrade method.
    __ [ROM] [4.1.1] [B209] AOSP MOD is a Y300 custom B209 stock rom that works well with the G510-0200. Yes, CPU is reported to still run at 1.21GHz, even though the Y300 is 1GHz DC (Huawei Ascend Y300 vs Huawei ASCEND G510 - Phone specs comparison)
    Modded ROM: [ROM][4.1.1][B209] AOSP MOD [22/07/2014] - Huawei Ascend G510 Development - MoDaCo | Base ROM: Ascend Y300
    "AOSP_MOD_(16072014).zip" contains Nova Launcher (default), SuperSU 2.01 and BusyBox 1.21.0.
    H3ROS (the dev) didn't throw in the latest BusyBox v1.22.1, instead packing v1.21.0. Why? You can, if you insist, uninstall and reinstall the latest BusyBox using Stephens installer (Free, Play Store). Though, I don't think that's required.
    Apps that I Removed: Browser, FM Radio, Google Keyboard and News & Weather using Titanium Backup. Replaced Browser with Boat Browser and Google Keyboard with Kii, but left the others in place, as they do not autostart or have persistent services.
    __ Previously I removed Android Firewall, but have now found that it is indeed very useful. It does not run a persistent service to maintain blocking either, which is very much appreciated. It works, as tested with OS Monitors connection readout. Very handy if you have an app reading a sensitive file (such as an office app reading a document) and you are worried the app may upload the personal information. It doesn't display apps to block that do not connect to the internet, which is excellent.
    Paranoid installation guide:
    1. Upgrade to latest official G510 firmware (B200), using forced upgrade method. Put the 'UPLOAD.APP' file to 'sdcard\dload' folder for each; transfer, dload and vendor.
    ['update.app' in 'sdcard\dload' + 'vol up' + 'vol down' + 'power']
    -a. transfer; then hold vol up when it is restarting. That will get back to custom recovery to mount and get next 'UPLOAD.APP' file
    -b. dload (main); then hold volume down when restarting (for 10sec), to get to fastboot mode (ascend logo). So you can flash custom recovery, pull battery and then vol up + power back to recovery
    -c. vendor, then hold vol up when restarting, to get to recovery
    2. Set time zone in recovery, wipe and install custom G510/Y300 ROM from sdcard, wait a minute, wipe cache/dalvik and reboot system
    3. Give it some time to boot. Setup Google Account, reboot phone.

    Stock or custom ROM missing Notification Panel?
    Power Toggles. https://play.google.com/store/apps/details?id=com.painless.pc

    Test Kernel performance. Same configuration. AnTuTu Benchmark v4.5.2
    * Fully loaded test (Facebook, CM Security and a haul of others installed)
    * Kernel installed via TWRP2 Recovery and dalvik/cache was wiped before reboot
    * AnTuTu was allowed to Optimize memory
    Stock rooted and stripped B200 using CeXstel v0.62 [STOCK - 407MB].zip ([Kernel] CeXstel v0.62 (Y300/G510) [Stock/CM] [29/03/14] - Huawei Ascend G510 Development - MoDaCo)
    1. 7,232 (after kernel install, dalvik/cache wipe and 10m wait)
    2. 7,035 (after reboot from another dalvik cache wipe and 10m wait)
    3. 7,097 (as soon as 2 finished)
    4. 7,244 (after another reboot and 5 minute wait)
    avg: 7152
    --- RUN #2 ---
    1. 7,022 (after kernel install, dalvik/cache wipe and 10m wait)
    2. 6,799 (after reboot from another dalvik cache wipe and 10m wait)
    3. 7,305 (as soon as 2 finished)
    4. 6,969 (after another reboot and 5 minute wait)
    avg: 7023.75
    + Works OK. Facebook OK, though not perfect performance
    - Benchmark performance is rather low
    - There were a couple of non-responding wait or close messages for apps (Facebook and Fancy Widgets).
    Stock rooted and stripped B200 using kernel_y300_synopsis_20140717.zip ([KERNEL] [Y300/G510] Stock Huawei - Huawei Ascend G510 Development - MoDaCo)
    1. 7,919 (after kernel install, dalvik/cache wipe and 10m wait)
    2. 7,609 (after reboot from another dalvik cache wipe and 10m wait)
    3. 7,700 (as soon as 2 finished)
    4. 7,557 (after another reboot and 5 minute wait)
    avg: 7696.25
    --- RUN #2 ---
    1. 8,008 (after kernel install, dalvik/cache wipe and 10m wait)
    2. 8,236 (after reboot from another dalvik cache wipe and 10m wait)
    3. 8,007 (as soon as 2 finished)
    4. 7,542 (after another reboot and 5 minute wait)
    avg: 7948.25
    + Works great.
    + Good performance, better than CeXstel's v0.62

    Battery review:

    Stripped stock B189:
    24% @ 1d 7h 48m - Screen Time 1h 53m, Voice calls 19m. WiFi on, GPS On. ((((1x24)+7)*60)+48) = 1908 minutes over (100-24) 76%. 1908/76 = ~25 minutes per percentage. Estimated total time at very mild usage: ~40 hours
    12% @ 1d 11h 41m - Screen Time 2h 6m, Voice calls 20m. (as above). ((((1x24)+11)*60)+41) = 2141 minutes over (100-12) 88%. 2141/88 = ~24 minutes per percentage. Estimated total time at very mild usage: ~40 hours
    37% @ 1d 8h 49m - Screen Time 1h 43m, Voice calls 21m. ((((1x24)+8)*60)+49) = 1969 minutes over (100-37) 63%. 1969/63 = ~31 minutes per %. Est total time: ~51 hours
    Stock B200 General:
    17% @ 1d 11h 43m - Screen Time 1h 42m, Voice calls 36m. ((((1x24)+11)*60)+43) = 2143 minutes over (100-17) 83%. 2143/83 = ~26 minutes per %. Est total time: ~43 hours
  14. Guru82

    Guru82 Well-Known Member

    Keyboards:
    As an Australian, having Sydney Harbour given as a correct prediction/suggestion is important in a keyboard. Google Keyboard, would usually work great, once US dictionary was removed and UK installed. But currently, for me, it won't suggest properly at all. In fact, it just suggests names, like the UK dictionary wouldn't load. So, I'm not sure if it's the modded rom or an update of Google Keyboard, but I dumped it for Kii (Free, Play Store), which allowed correct (UK) spelling 'for me'.
    This used to work, for Google Keyboard:
    Settings > Language & input > Google Keyboard (cog) > Add-on dictionaries >> Now select and delete everything but English and English (UK), unless you use another language. This allows words such as Sydney Harbour to be spelt more easily. Also go to Select Language at the top of Language & input settings and re-select English (Australia) from the list.
    __ The problem with UK add-on dictionary comes with version
    3.1.19633.1257820. Previous v3.0.19423.1102675a does not have the issue. If you insist on Google Keyboard and want correct Australian suggestions, you can download apk's from http://forum.xda-developers.com/showthread.php?t=2312179 . Note that clearing the apps data after updating to latest version on Play store will recreate the problem.

    My favourite Launcher:

    Nova Launcher is very much customisable.

    Other Tips/Suggestions:
    __ After removing apps with
    System app remover, or other system app remover, get back to TWRP2 Recovery. Don't stress. Select Wipe > Advanced > Dalvik Cache (also tick Cache).
    __ Don't forget to go to https://www.google.com/android/devicemanager , sign in and "Set up Lock & Erase". I use CM Security's Find Phone with full options as well. Also, add your name and phone number to your lock screen owner info.
    __ I've tested PurePerformances
Loading...

Share This Page