yashsingh1/xdaforums huggingface dataset:
[Android General] kabeermitra:
Hi I have successfully ported marshmellow follow your instructions :good: and all things done very well but problem I have facing on notification status bar, I can pull status bar down but can't pull it back so I have to press back button everytime :( Where is the location to edit it in systemui.apk or in framework-res.apk and where to edit the correct code please help for it thanks.
[Android General] Jitheshwar:
I think it's a ROM bug. And make sure you didn't deleted any system apps. Read the description in the site/thread from which you are downloading the ROM to see if there are any bugs those bugs may also result in ported ROM. I know a workaround for this it may or may not work for you..

Fix: Install Xposed Framework app after that in install section install the framework after that reboot your device from power menu option (don't use built-in reboot option) and download N-ify or O-ify module enable it and reboot your device. Now you'll see new look on your quick settings panel with the fixed bug
[Android General] kabeermitra:
Hi thanks for your reply i think it might be something to do with systemui.apk in /values folder anyone else can help me for that? spreadtrum mobile support older version 2.5.1 Xposed framework will try that thanks once again.
[Android General] Jitheshwar:
No use the Latest one that version of xposed is meant for KitKat it won't work on lollipop or later.
[Android General] @ki:
Hello.........well........sorry folks...........i am not able to give any support.......but..........can watch many upgradation which had occured........so...........can anyone......tell me those things.......which are not in this thread........i will add them......so more people can access it ..........i will be very much thankful......

In short.........PM me the things......which are not in the thread ........like.......new porting method.......upgraded links for any recovery or rom........:fingers-crossed:
[Android General] @ki:
Hi folks..........i am not able to provide support.......sorry for that.......

Can anyone tell me the things.....not mentioned in this thread.........in simple words........upgrading the thread..........new things.....like porting rom methods or new links.......

If anyone wanna help.......PM me :fingers-crossed:
[Android General] Jitheshwar:
Many things from Advan s4p group. There is even a 3.1.1 twrp (and it is compatible with my KitKat device:silly: ) . I think some guy in SUDroid Tech group knows the way to fix touch bug in kernel of most of the sprd devices while porting recovery I'm not sure but I read it in comments of one of the post can you find it? And let us know. And I suggest you to add the guide to resize the partitions of device this is the part of KitKat to lollipop upgrading by using Hadi's method. Due to small system partition (650mb) I was unable to flash most of the ROMs but this helped me a lot to flash the huge ROMs like MIUI 7, CM12.1 ,CM 13.1 but now I'm on my stock ROM because there are some bugs which are impossible for me to fix because the kernel I used is not meant for my device and KitKat system files are not compatible with lollipop and above versions so I left all those things and currently using my A6000+ with tasty Nougat (official RR).
[Android General] kabeermitra:
Last at least please help me on xperia z Ported to intex aqua y2 1gb every thing work fine but there is no WiFi connection, unable to switch on wifi even options also not working. did any one face this problem and any solution for this. Thanks in advance
[Android General] AddyRoxxzZ:
Guide me to get a cyanogenmod for lollipop based SC-7731

Already a member of Advan s4p facebook page
[Android General] Jitheshwar:
replace the following

In /etc folder

WiFi folder and tiny.xml

In /lib folder

all files under /hw and /modules folder (some of the files are WiFi related)

libhardware.so

libhardware_legacy.so

libtinyxml.so

libtinyalsa.so

libwpa_client.so and any files with the name libwpa****.so

---------- Post added at 01:56 PM ---------- Previous post was at 01:46 PM ----------

There is link in the files section of the group download the ROM from there then port it the porting guide is same as RR porting guide (it's in files section).
[Android General] kaew158:
Need help to create TWRP v3.x for Lenovo A1000 SC8830 Android 5.0 . I flash many files but still stuck on boot logo screen.

Boot & Recovery
[Android General] Jitheshwar:
Bro I already said that your partition too small to fit the twrp 3.x so you need at least 16 MB space. I suggest you to repartition the recovery size it's simple but you need to have knowledge of flashing the device using SPD research download/upgrade download tools. Use Research download to load packet. After loading the pac file to the flash tool move to the directory were the tool extracts the contents of the pac (stock firmware) in those files there will be a .xml files open it with your note editor and look for the line like this

<Partitions>

<! - size unit is MBytes ->

<! -

<Partition id = "splloader" size = "0" />

<Partition id = "ubootloader" size = "0" />

->

<Partition id = "prodnv" size = "5" />

<Partition id = "miscdata" size = "1" />

<Partition id = "wmodem" size = "8" />

<Partition id = "wdsp" size = "2" />

<Partition id = "wfixnv1" size = "1" />

<Partition id = "wfixnv2" size = "1" />

<Partition id = "wruntimenv1" size = "1" />

<Partition id = "wruntimenv2" size = "1" />

<Partition id = "wcnmodem" size = "1" />

<Partition id = "wcnfixnv1" size = "1" />

<Partition id = "wcnfixnv2" size = "1" />

<Partition id = "wcnruntimenv1" size = "1" />

<Partition id = "wcnruntimenv2" size = "1" />

<Partition id = "logo" size = "1" />

<Partition id = "fbootlogo" size = "1" />

<Partition id = "boot" size = "15" />

<Partition id = "system" size = "1200" />

<Partition id = "cache" size = "256" />

<Partition id = "recovery" size = "14" />

<Partition id = "misc" size = "1" />

<Partition id = "userdata" size = "0xFFFFFFFF" />

</ Partitions>

among them change the size of recovery partition to 16mb or 17mb at last create new pac by using the packet option available at the bottom right corner of the settings in the research download tool choose the version and name then press enter within few minutes you'll get a notification of completion of packet operation which is your modified pac file of stock firmware then flash this via research download/ upgrade download. You are facing this because your kernel is bigger. are you sure that your device is a1000 and not clone or other variant of a1000.
[Android General] kaew158:
Thank you but still the same.

Do you have other solution?
[Android General] Kurajmo:
Spreadtrum SC7731 myphone user here. I need custom recovery and safety root method. Any help with this? I have stock 5.1 android here
[Android General] rajeebr32:
My phone is lava iris atom 2 I installed a twrp made for another device which posted here "TWRP-3.0.2-0 for A1000 By Mokhtar Abid" but it's working well in my phone but lost my custom recovery now I can't updat my phone from KitKat to lollipop & can't install custom rom what should I do?? Plsss help me somebody give me the original custom recovery made for lava iris atom 2
[Android General] shekhar4u:
https://www.needrom.com/download/lava-iris-atom-2/

Folow above link

Dont upgrade yr phone....just open the location of files extracted in yr pc. Copy the recovery before closing the program.
[Android General] kaew158:
Try this. I does not know KK or LP?

Lava Iris Atom 2
[Android General] rajeebr32:
Frndz I just need a custom recovery for my device I have the ROM file but I can't install it bcoz current recovery is not made for my device pls somebody give me the custom recovery or tell me where can I get a custom recovery for lava iris atom 2
[Android General] kaew158:
Extract your stock recovery image from stock ROM.

Extract PAC Files

Flash stock recovery image on rooted device with flashify apk then update to LP.

or

Find LP ROM and flash it.
[Android General] Jitheshwar:
First port the recovery(TWRP provided in the list of Custom recoveries) by using recovery porting guide and then flash it either using Flashify (simplest way) or Fastboot mode.
[Android General] Kurajmo:
No answer to my question? I only need root Access without use kingo root /King root app.

Some weeks ago i rooted Myphone compact with kingo root. And now even if i unroot phone. When i turn on data transmition or WiFi Myphone install crapware. I dont know those apps like cleaner etc
[Android General] rajeebr32:
OK I will try this. do u have any other options

---------- Post added at 06:27 AM ---------- Previous post was at 06:20 AM ----------

i dont have pac file i have only zip files of rom and update can I extract stock recovery from that files ??
[Android General] Jitheshwar:
Search for stock firmware by typing your device model. You'll find stock firmware zip containing drivers flash tool and firmware (.pac file). I suggest you to flash the KitKat firmware using spdtool before upgrading to lollipop since your device is rooted you may end up with errors while flashing and even soft brick.
[Android General] tatai@123:
Hi.. I ported the Emui in the way you wrote. Eveything is fine except the dialer. When someone calls or I call someone it stops responding and I couldn't recieve the call .Any fix for that .....????
[Android General] tatai@123:
Can anyone solve my problem plzz ...???:(
[Android General] Jitheshwar:
You may need to port boot.img. Make sure you are using AIK-MOBILE for porting not other tools. Read the guide carefully once again also the bug fixing guide.

Please don't quote entire OP.
[Android General] tatai@123:
I used the android image kitchen for pc and notepad++ to edit.

---------- Post added at 07:54 AM ---------- Previous post was at 07:47 AM ----------

Another problem . I replaced the dialer of emui with my stock dialer and now the crashing is fixed. But now the ringtones are not working. Other sound such as media, alarm and notification are working fine. All the volume bars are maxed out.
[Android General] Jitheshwar:
Hey you can't just replace the System apps of one ROM with other. Most of the system apps does have libs located in system/lib which also need to be replaced apart from this those apps may also need to be ported, so don't do those things. The FC of dialer likely related to not replacing of certain libs. You need to replace libs which are related to network,signal and telephony. Most of the libs having 'ril' in it are comes under this category but not every lib has to be replaced. Here is a video guide on fixing Dialer FCs and other minor bugs.

Edit: Link fixed.
[Android General] tatai@123:
Link not working. Is the video posted in youtube ..?
[Android General] Jitheshwar:
Yes. I fixed the link. Look again.
[Android General] tatai@123:
That video didn't work. The problem still remains.
[Android General] tatai@123:
I mean the link worked but the tutorial failed to resolve my problem.
[Android General] Jitheshwar:
Try to replace all libs except libandroid.so and libandroid_runtime.so.
[Android General] tatai@123:
Thanks....I will definitely try that out..
[Android General] Jitheshwar:
You may get bootloop this trick only works with stock based ROMs not sure whether it'll work with EMUI.
[Android General] tatai@123:
What if I port some files in the res folder of the apk...??
[Android General] Jitheshwar:
red folder only contains drawables and pngs code of an app contains on classes.dex (.Somali files after decompiling dex file). It's not that much easy to modify an app instead we can easily port ROM. As I said apks has nothing to do with the dialer FC it's all about libs under /system/lib randomly replace some libs and see whether bug has been fixed use logcatX app to find what is causing issue.
[Android General] tatai@123:
So I checked the logcat for over an hour and couldn't understand anything.

Is there is something in framework-res.apk that could be the cause in this problem
[Android General] Jitheshwar:
Apks has nothing to do with the FCs unless they are unstable (to say newly developed and lot of things need to be fixed) the crashes are occurring due to in correct (or missing) lib(s). Libs are really important to function the System properly. You can't use some other device's camera related libs on your device because camera app won't even open it doesn't mean that camera.apk has some error it's because of incorrect lib. Sometimes you don't need to replace some libs (ex: libandroid_runtims.so) if you replace those libs won't even boot up. And in some cases the problem might be causing by the kernel. To fix those bugs you need to understand first what actually causing the issue. You said you couldn't find anything on logs but there must be something that you missed (maybe the hard/confusing terminology which is used to define particular aspect for ex: ril is used for network related things or if we see in logs as "unable to load camera HAL" or something like that it means camera related bugs are existing. First try to learn how to understand the logs (honestly I lot little about that to learned while fixing hotspot/WiFi bug in CM ROM).
[Android General] tatai@123:
Yes the are lot of error in the logcat but actually I am just a beginner and I have no idea of the errors.
[Android General] Jitheshwar:
Some times in the logs error related file(s)'s names were shown directly some times it's processes will be indicated. If you see an error try Google to know what actually it is you'll get some answers. In XDA there are some threads for bug fixing you may find them as helpful. I have question since a year (at that time only I this porting and all even though I rooted my phone 2 years back because messing up old phone doesn't hurt that much) how developers and Senior porters fix bugs some them very hard specifically with the CyanogenMod/based ROMs bug fixing is not that much easy. In those ROMs bug fixing means not just replace specific files it may involve lot more stuff. But I didn't find any thread like that( I think those devs doesn't have that much time to share or they are not willing to share).
[Android General] ken ish:
Experia sony

Hello sir. How about how to port experia sony, lollipop. The link you have given. I tried it without porting the boot.img. im running 5.1 sc7731. And when I flashed the ported sony cus rom it stacked on white screen only. I dont know if it was only on my stock rom files problem or whatever. What method should I follow sir? Do I need to port the boot img?

What I did is, I wiped the dalvic, cache, data, and system, then flashed the ported rom. Is there any mistakes? Also, I'm so new to this.

Thank you. And by the way, your thread is so so so much helpful.
[Android General] rajeebr32:
Thanks for the advice bro I directly flashed the lollipop firmware with research upgrade tool :laugh:
[Android General] tatai@123:
I tried it but there was a bootloop.
[Android General] tatai@123:
I ported another rom that is evercross mod . Everything is fine here except the camera. I followed the camera fix as said in this guide but when I opened camera8830.so with notepad I couldn't understand what was written there. So plz help to fix the camera.
[Android General] Kushal kar:
Can you make one for sc7715 please please I'm in need of one recovery please:crying: ???
[Android General] kaew158:
Please port twrp for me.
[Android General] Jitheshwar:
Use hex editor from play store open lib file using it after opening you'll see hex code as well as the related lines to hex code in next column there some libs which are necessary for the system function.
[Android General] tatai@123:
Download the stock rom of your phone. I think it will be in .pac format. Extract the recovery.img from that using upgrade tool. Download a custom recovery for your chipset i.e sc7715. Now download android image kitchen ( search on xda ).

Open your stock recovery.img with unpackimg.bat in the android image kitchen folder. Now copy the split-img folder to some other place from where you can bring it back. Now double click on the cleanup.bat.

Now unpack your custom recovey.img with unpackimg.bat and replace the split img folder of your stock recovery. Now click repackimg.bat and you will get a new img. Now copy this img to your phone's sd card and flash it via flasify app(you will get that in play store). You will need a pc running windows xp or later versions. Click thanks if I have helped you.
[Android General] tatai@123:
I tried that method and also replaced the files in evercross rom . Unfortunately it didn't work. I will try this method with other roms later.:(
[Android General] Jitheshwar:
If you are porting that ROM replace the following files in lib folder

from system/lib

egl (whole folder)

hw (whole folder )

modules (whole folder)

all libs exept libandroid-runtime and libandroid-servers
[Android General] AddyRoxxzZ:
I've successfully ported Nova ROM but media playback(main speaker) & camera is not working.

Tried porting Xperia ROM too but it's showing black screen after boot animation, seems like I've to Port boot.img for this too

One more thing is all roms are made for 4.5 inch screen phone so its seems a bit stretched in 5.5 inch screen phone, is there any way to define this somewhere.

Last thing is will you please guide me to port a Cyanogenmod ROM for my device.

I've found this place with ROM and porting guide too, will you please check once and let me know is it good or not. LINK: http://www.sudroidtech.info/2017/08/cm-13-custom-rom-for-spreadtrum-sc7731.html?m=1
[Android General] tatai@123:
I did that but except the asus rom every rom was stuck at the boot logo.

---------- Post added at 10:41 AM ---------- Previous post was at 10:34 AM ----------

For fixing the screen resolution find and change these lines in build.prop as per your stock build.prop :

ro.sf.lcd_density=320

ro.sf.lcd_width=54

ro.sf.lcd_height=96

Those are my phone's value....do not copy this values...use the value as provided in your stock build.prop. And use notepad++ for editing this in windows.
[Android General] Kaled Franco:
hello

I try to port fusion Os to my Archos 40helium but i have "unfortunately com.android.phone has stopped" and My imei is null

the other rom not boot

sorry for my english
[Android General] AddyRoxxzZ:
For this: I did that but except the asus rom every rom was stuck at the boot logo.

Have you tried porting boot.img . coz i was getting black screen after boot animation, you've to port boot.img to boot it successfully.

---------- Post added at 01:17 PM ---------- Previous post was at 12:27 PM ----------

Try flashing stock firmware
[Android General] tatai@123:
I did not port the boot.img but made some changes for emui as mentioned in the first post in this thread and then placed it in the ported rom. I was getting bootloop due to some lib files....I guess..?
[Android General] AddyRoxxzZ:
First of all revive your phone by flashing stock firmware.

For custom firmware try replacing boot.img from stock go port

If it didn't worked you've to port boot.img using Android kitchen which i already briefed by a senior member in same post
[Android General] tatai@123:
Ok I tell you my problem in details....I ported emui rom running on kitkat. Every thing is fine . I booted up perfectly. But the only problem is with the dialer . When someone calls me or I call someone the dialer stops responding and crashes but the call continues making me unable to receive or disconnect the call. Plz help me.
[Android General] Jitheshwar:
Port this EMUI. I guess that bug might be there in the ROM itself.
[Android General] tatai@123:
Ok I will try .....hope it works
[Android General] tatai@123:
This rom is not available. Can you give some other link
[Android General] Kushal kar:
Thanks for replying :o But I have one question

Can I cross port TWRP?? Any sc7715 doesn't have TWRP Samsung Galaxy V has it but it's chip is sc7715T. And can you tell me how to extract .PAC file
[Android General] Jitheshwar:
I guess the site is no longer in active then try CyanogenMod or othet CyanogenMod based custom ROMs.
[Android General] Jitheshwar:
Guide to Extract .pac (firmware flash file)
[Android General] tatai@123:
What is .odex file
[Android General] Kushal kar:
Thanks for the instructions
[Android General] Jitheshwar:
.odex file is part of the app's code (contains files with .smali extension) . We can even deodex the ROM (means pushing the odex files to their respective app by converting to dex files). You see that file inside the normal user apps named as classes.dex.

---------- Post added at 09:51 AM ---------- Previous post was at 09:48 AM ----------

Before asking anything do a little search/research it might have already answered somewhere. This will save your as well as others time. Take this as advice.
[Android General] tatai@123:
Why the rom with .odex files causing bootloops ( like the lg g4 rom given in this thread) ? Does deodexed roms r better to install
[Android General] AddyRoxxzZ:
Iwas waiting for you :)

How to port Cyanogenmod 13 for sc7731

I've a working TWRP and a bugless cyanogenmod 13, just tell me the easiest way to port it.

Thanks in advance
[Android General] Jitheshwar:
If you have fb account then join Advan S4p Official Group. There is detailed guide to port CM 13 ROM.
[Android General] AddyRoxxzZ:
Bro I've an FB account but i can't find out that group, even I'd joined some unofficial group, will you please provide me link of that group. Your efforts are highly appreciated.

Thanks in Advance
[Android General] tatai@123:
Can we port cm13 for sc7731 devices running on kitkat .
[Android General] Jitheshwar:
No we can't port CM13 to KitKat device. To port marshmallow ROMs we need be on at least lollipop.

---------- Post added at 07:37 AM ---------- Previous post was at 07:29 AM ----------

OK add me as friend and then I'll add you to the group. Search my No. 8520856595 on fb and add me.

---------- Post added at 07:39 AM ---------- Previous post was at 07:37 AM ----------

Odex and deodex has nothing to do with bootloops
[Android General] tatai@123:
Plz accept my friend request on fb. My name is Soumyajit Das
[Android General] Jitheshwar:
Done.
[Android General] Hrishabh Sharma:
black screen

Thank bro for this

But I portball Roms but in every ROM black screen is coming all is working but showing green screen after boot logo my device is mmx spark 3 q385 sc7731/sc8830 keenel 3.10.65.

plzz help
[Android General] @ki:
Grab the logs and send here