MTK ROMs.. Very confusing - Android Q&A, Help & Troubleshooting

Hey everyone, So early this year I got myself a Jiayu G4S (MTK6592) mobile phone. I knew that I wouldn't be able to port Cyanogenmod and all the others over due to something about MTK not releases source code for their SoCs or something..
But I downloaded a stock ROM of my phone and looked inside and.. I have no idea what I am looking at and how to remove apps, add them or do anything now.
I did notice the System.img But no idea what to do with it..
This is the stock ROM of my MTK Jiayu G4S (At least i think it is..)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is a Cyanogenmod 11 ROM from my HTC Sensation XE
This is inside the System folder that everyone is familiar with, where you can remove built in apps and do most of your personal editing.
Can someone please help me understand the ROM better?

You can't port CyanogenMod from one device to another . You should build it from source . Even if you want to port , both device should be of same soc hardware and MT6592 has no CM builds till now .Sorry
And in your stock rom the system folder is packed as system.img in ext4 format and you can use any ext4 unpacker to extract system folder.
Your stock rom backup is used to flash the rom to your device using SP Flash tool (like Odin for Samsung)[Official MTK flasher].
And your CM 11 rom backup is used to flash rom using custom recovery (CWM/TWRP)
You can convert your stock rom into recovery flashable zip by extracting system folder from system.img and your stock boot.img and buiding a flashable zip using them.
Hope it helps !!

4shreyas said:
You can't port CyanogenMod from one device to another . You should build it from source . Even if you want to port , both device should be of same soc hardware and MT6592 has no CM builds till now .Sorry
And in your stock rom the system folder is packed as system.img in ext4 format and you can use any ext4 unpacker to extract system folder.
Your stock rom backup is used to flash the rom to your device using SP Flash tool (like Odin for Samsung)[Official MTK flasher].
And your CM 11 rom backup is used to flash rom using custom recovery (CWM/TWRP)
You can convert your stock rom into recovery flashable zip by extracting system folder from system.img and your stock boot.img and buiding a flashable zip using them.
Hope it helps !!
Click to expand...
Click to collapse
Do you know of a tutorial that shows how make a flashable .zip from my backup ROM?

Here is the guide to make a flashable zip,
http://forum.xda-developers.com/showthread.php?t=2276056
Hit thanks if it works

Related

[Guide] Make CM 11 ROM Compatible with CWM 5.x ~ Cooper Device

[Guide] Make CM 11 ROM Compatible with CWM 5.x ~ Cooper Device
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For installing KitKat ROMs on Galaxy Ace, you need to install ClockWorkMod Recovery 6.x. While installing CWM 6.x, most of the users will get a BLUE screen as recovery. If you want to get out from there, you need to reset your phone by flashing stock firmware via Odin.
I Personaly love ClockWorkMod Recovery 5.0.2.6, coz it's stable and also supports RFS, Ext4, Ext3 or Ext2 formatted Custom ROMs. Currently CWM 6.x does not support any stock ROM or stock based RFS custom ROM.
Here's one trick to modify any CM 11 / Android 4.4.x ROM for Galaxy Ace (Cooper) to support installation with CWM 5.x.
It's actually a small change in tag of updater-script. The new CWM 6.x uses 'set_metadata' tag for setting permissions. While old CWM 5.x uses 'set_perm' tag for that. I just simply changed that tag. So it may be installed with CWM 5.x.
Instructions:
Step:1 - Download this zip file. [CM 11] With CWM.5.x.zip (Dev-Host, 255 KB)
Step:2 - Download the ROM zip file, you wish to install.
Step:3 - Open ROM zip file with WinRAR/7Zip.
Step:4 - Extract 'boot.img' & 'system'-Folder to current folder.
Step:5 - Open '[CM 11] With CWM.5.x.zip' with WinRAR/7Zip.
Step:6 - Select and Drag the 'boot.img' & 'system'-Folder to WinRAR/7Zip window.
Step:7 - Wait until the files are added to the new ROM zip file.
Step:8 - Close the Zip file.
Step:9 - Rename it as you wish.
Step:10 - Copy the new ROM zip file to SD Card, and install with CWM 5.x
Warning: Take a Nandroid backup of your current rom, before doing this....
Credits: xsalahx's thread post for this idea.
Guide Screens:
Screens:-
Nice guide!
But, cwm 6 without bluescreen is already available. Download it in cm11 by mardon thread.
Also i dont know for now,,, why CM11 by Maclaw Studio can flashed by CWM 5.x,,,, and the way isn't change updater script..

[ MultiRom ] Update Script

To all ROM Developers currently working on Android Lollipop Roms.
There is a problem with the Update Script in your ROM, which does not allow MultiROM installs. There is an updated Update-Script for your ROMs that allow Multi ROM installations.
MOD EDIT: LInk removed
Thank you all in advance!
NOTE: If any Admin finds that this post is in the wrong place, I will gladly move it.
Also I haven't tested this since I don't know how to replace the Script in the Rom zip. So if someone could help c:
FluffyFox20 said:
To all ROM Developers currently working on Android Lollipop Roms.
There is a problem with the Update Script in your ROM, which does not allow MultiROM installs. There is an updated Update-Script for your ROMs that allow Multi ROM installations.
https://www.dropbox.com/s/k0kklawxwc7o7xb/updater-script.zip?dl=0
Thank you all in advance!
NOTE: If any Admin finds that this post is in the wrong place, I will gladly move it.
Also I haven't tested this since I don't know how to replace the Script in the Rom zip. So if someone could help c:
Click to expand...
Click to collapse
You just need to replace the updater-script, it is located in \META-INF\com\google\android\ inside rom zip file.
Extract rom zip, replace the script with the extracted file and repack the zip again, flash it.
However, it doesn't work with all roms but works with most of the CM based roms.
HTCore said:
You just need to replace the updater-script, it is located in \META-INF\com\google\android\ inside rom zip file.
Extract rom zip, replace the script with the extracted file and repack the zip again, flash it.
However, it doesn't work with all roms but works with most of the CM based roms.
Click to expand...
Click to collapse
I tried that, but when I went to flash it, it said incomplete ROM.
FluffyFox20 said:
I tried that, but when I went to flash it, it said incomplete ROM.
Click to expand...
Click to collapse
Then you do something wrong
FluffyFox20 said:
To all ROM Developers currently working on Android Lollipop Roms.
There is a problem with the Update Script in your ROM, which does not allow MultiROM installs. There is an updated Update-Script for your ROMs that allow Multi ROM installations.
https://www.dropbox.com/s/k0kklawxwc7o7xb/updater-script.zip?dl=0
Thank you all in advance!
NOTE: If any Admin finds that this post is in the wrong place, I will gladly move it.
Also I haven't tested this since I don't know how to replace the Script in the Rom zip. So if someone could help c:
Click to expand...
Click to collapse
why would you create a thread with someone else's work?
http://forum.xda-developers.com/showpost.php?p=57648137&postcount=13
http://forum.xda-developers.com/showpost.php?p=57657301&postcount=23
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Please do not share other people's work without permission.
Thread closed.

Asus Fonepad 7 FE170CG development

Hello Friends, today I am giving some stuffs of Asus Fonepad 7 FE170CG for devs which might be useful for them to unlock, create custom recoveries and ROMs. I hope some day this device would have a custom ROM and recoveries.
Boot.img extracted - Lollipop: here
Droidboot.img extracted - Lollipop: here
Kernel extracted from Boot.img: here
Partition details
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Stock recovery.img - To be flashed only if you're in Lollipop: here
Stock Boot.img: here
Recovery.fstab: here
Build.prop from stock lollipop ROM: here
KitKat kernel source: here
Lollipop kernel source: here
Stock ROM(unstable) - Lollipop - version=WW-12.8.1.26 : here
Asus has pulled this firmware since it was buggy
Stock ROM - KitKat - Version=WW_V11.2.3.33 : here
Please note that all these are for development puposes only and applies to Asus Fonepad 7 FE170CG!!! Never use for daily life...
Don't post this else where, respect my work!
Hit thanks if i helped you...
hi....did you know how to unpack boot.img from intel device....?
in my last device, qualcomm device, i use android image kitchen....
but it not working on my k012....
(sorry for my bad english)
yudh4.php said:
hi....did you know how to unpack boot.img from intel device....?
in my last device, qualcomm device, i use android image kitchen....
but it not working on my k012....
(sorry for my bad english)
Click to expand...
Click to collapse
Sorry for late reply! Yeah, our device is NOT supported by Android kitchen at all. And the Fonepad images are recognized as "Intel x86 bootsector" So, we have to do the official way. The tools for unpacking and working with Intel Android images are located here. But this is an entire Android AOSP source of Intel x86 devices with the size of awesome 23GB. You need Linux PC with this source code to get it working... We need a real hardcore Dev to work with this device!
You can also get more details from the PDF attached below.
Is there any custum recovery for FE170cg?
siamak5561 said:
Is there any custum recovery for FE170cg?
Click to expand...
Click to collapse
a temporary recovery is available
check this thread https://forum.xda-developers.com/fonepad-7/general/discussion-asus-fonepad-7-me175cg-t3145725

TWRP Recovery moto c Plus for 1g/16g eu model

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i decided to port the Twrp Recovery from @shr!pad so thanks go to him.
i didnt want to risk flashing the 2g model recovery so i used my own kernel, the guide from shr!pad works fine,
so use his guide to flash my recovery, just make sure you get sp flash tool working before you decide to write to phone memory.
i'd advise you to back up your own recovery first if you cant do that then you shouldnt be flashing files yet.
​
having issues with SP Flash Tool?
make sure you load all needed files into SP Flash Tool from one folder ONLY
Here's my folder setup for download note how preloader is present along with the scatter file.
Download
Click to expand...
Click to collapse
firmware
I would like to install your recovery for the moto 1c plus.
On the filehost page it says.
Download
sp flash folder.zip
for the Lenovo Motorola G4 Plus
Is that realy for the 1c? Do I have to replace the files from the Guide of shripad with these files?
Thank you anyway for porting the recovery. I wait for your answer before trying!
And....shall I take the begin adress
0x2d80000
for moto c plus 1 16
To clarify:
My device is
Moto c plus 1G 16G
Build Number
NRD90M.07. 023
And another question:
Could you help? How could I backup my recovery?
Thank you!
I couldn't wait any longer and installed your recovery with success on moto c plus 1G 16G.
Thank you!!
I was finally able to install recovery for my xt1723. Thx.
But I have issue that recovery wrongly recognizes phone, aka "xamath" so moto c, not moto c plus. It makes impossible to install any ROM. Do you maybe have an idea how can it be fixed.?
shfil119 said:
I was finally able to install recovery for my xt1723. Thx.
But I have issue that recovery wrongly recognizes phone, aka "xamath" so moto c, not moto c plus. It makes impossible to install any ROM. Do you maybe have an idea how can it be fixed.?
Click to expand...
Click to collapse
Try this: https://mega.nz/file/ct0x0ThL#PlJaBCZ8ILox7pDJmYXNF5qoKN7gucs2uHPsd5j6U7Y
I repackaged the recovery.img with the correct props. I don't have this phone anymore but I still know how to port, let me know if it works!
Thx. It's working.

I have 0 MB partition on my sony xperia lt30p. Can I solve this problem?

TWRP is working and I can't upload new roms to this phone. Second partition too have the same problem. I try upload stock rom with flashtool and it the end of error. I can turn on flashmode and fastboot mode. I solve this problem? Sorry for my bad english
This phone is based on Qualcomm Snapdragon chipset, hence use QFIL Flash Tool - what is created and distributed by Qualcomm Mobility LLC - to re-flash phone's stock ROM.
My rom is in .ftf file, but this program need files .mbn. I don't find this file for my phone. Can you link me this file for my phone?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Xperia M TWRP İnternal Storage 0 MB Problem!
Hello to everyone. I am using Xperia M and can not mount data, system mount via TWRP Recovery. I also can not load the stock version and kernel with Flashtool. The device goes into recovery mode, is charged and is recognized as a nickname when...
forum.xda-developers.com
I saw similar problem with other xperia. That comands are not working on my phone. Somebody can give me working commands? I am beginner in roms
Ok, so I partly solve this problem. I changed TWRP and system partition has 19GB size. I upload original stock rom by flashtool and no change. Second partition has 0MB and i can't take photos on stock rom and upload many roms. I know, that i can solve problem with photos in other method, but i want, would every rom work on this device. Somebody have a idea? What can i do?
jareczex said:
but i want, would every rom work on this device. Somebody have a idea? What can i do?
Click to expand...
Click to collapse
On your phone works Stock ROM and any Custom ROM that is suitable at 100%.
IMHO it's on you to find it. GIYF ...
jwoegerbauer said:
On your phone works Stock ROM and any Custom ROM that is suitable at 100%.
IMHO it's on you to find it. GIYF ...
Click to expand...
Click to collapse
No, but many roms need second partition to install and on stock rom i cant install aplications

Categories

Resources