yashsingh1/xdaforums huggingface dataset:
[Android General] @ki:
New roms....All for lollipop

#-#-#-#-#-Idos#-#-#-#-#-#-#-#

https://drive.google.com/file/d/0B5b3X4emeb53d05RcG4tYVE4RUk/view

How To Port IDOS Rom to Any SC7731c / SC7731g / SC8830 Lollipop Device

STEP 1: Extraxt Idos.zip and your stock rom*

STEP 2: Replace the folloing lib files stock to idos

system/lib/modules/mali.ko

system/lib/egl/ (folder)

system/lib/hw/camera.sc8830.so

system/lib/hw/sensor.sc8830.so

system/lib/hw/lights.sc8830.so

system/lib/libsensorservice.so

Replecing preiod ended.

STEP 3: You may get*com.android.phone*has stop error.*

Follow*this tutorial*to fix it.

*https://m.youtube.com/watch?v=CH1AO0AOCdY

STEP 4: Make zip and enjoy the beautiful rom.

#-#-#-#-#-Mix ui-#-#-#-#-#-#-

https://drive.google.com/file/d/0B1jcrOYXuJq7a2owVVZwUUdQNTg/view?usp=drivesdk

Install 5.1 gapps

First Step : System Files

Replece This files Stock To Custom Rom

EGL ( Folder)

MODULES ( Folder)

libcamera_client.so

libcamera_metadata.so

libsurfaceflinger.so

libsensorservice.so

libmedia_jni.so

libEGL.so

libGLES_trace.so

libGLESv1_CM.so

libGLESv2.so

Second Step : Porting Boot.img

1. Unpack Both boot.img (stock and port)

2. Replece spilt.img stock to port

3. Repack

#-#-#-#-#-Pacman rom#-#-#-#--#

https://mega.nz/#!JQhCxKwJ!pxHuwwrFm7B3uA9if3uOi2a15_JH69JfiX64l8lvzYo

Requirements :

Android Image Kitchen*(Mobile or PC)Know How To Unpack RepackSprd SC7731/8830 Device*and Porting Experience*Porting Boot

First unpack both boot.img stock and port.

Now replece stock spilt-img folder to port boot.

Replece stock ramdisk/sbin files to port ramdisk/sbin.

Now you have to replece usb rc files, example: init.scxxxx.usb.rc, init.usb.rc

The final steps is to repack port boot.After completed repacking rename image-new.img t boot.img

Replacing System Files:*

1. Replece sytsem/lib/modules

2. Copy files /system/lib/libbt-vendor so & replace files on cm-11.0 /system/vendor/lib

3. Replece this files from system/lib/hw*

camera.sc8830.so camera2.sc8830.so gralloc.default.so gralloc.sc8830.so hwcomposer.sc8830.so keystore.default.so lights.sc8830.so local_time.default.so power.default.so sensors.sc8830.so sprd_gsp.sc8830.so

Now zip and flash cm 11

How to flash?

Format Data and System

Install Zip
[Android General] Jitheshwar:
Kindly don't quote entire OP
[Android General] @ki:
+1
[Android General] thedeviltauisf:
ported twrp but touch bug

hi I am new user

I have lava a79 android 6.0 plzzz I want to install custom recovery.

any one can help me that how I can install custom recovery plzzzzzzzz:(:(:(:(

I have ported twrp and flashed it success but does not touch plzzz help me
[Android General] AddyRoxxzZ:
Port boot.img for black screen issue
[Android General] Sofia74:
Same problem
[Android General] Jitheshwar:
Guys look at my new thread for porting CM/CM based Marshmallow, Lollipop and KitKat ROMs
[Android General] tatai@123:
Hey the camera fix mentioned here isn't working. What to do ?
[Android General] Jitheshwar:
Yes it didn't worked for me too at first but I replaced all libs related to camera then I got camera working.
[Android General] tatai@123:
I also did that but didn't work. Hey could you name the lib files you replaced.

---------- Post added at 01:45 PM ---------- Previous post was at 01:38 PM ----------

I replaced these:

Libandroidfw.so

Libexif.so

Libutils.so

Libbinder.so

Libcamera-client.so

Libskia.so

Libcutils.so

Libhardware.so

Libbae.so

Libawb.so

Libaf.so

Libuvdenoise.so

Libmorpho_easy_hdr.so

Libcamera_metadata.so

Libc.so

Libstdc++.so

Libm.so

Plz tell me if there is something more to be replaced.
[Android General] Jitheshwar:
Watch this video on fixing camera bug, this may help you.
[Android General] tatai@123:
Ok it is fixed.....!!!!

The libandroidfw was causing this problem
[Android General] Jitheshwar:
Enjoy.......!!!
[Android General] shekhar4u:
https://www.needrom.com/category/spreadtrum/sc9832/

On the given site there are many official spd ROMs are available.

Please if some specify the method of porting 5.1 to 7 for same soc. Like spd 9832 lolipop to 9832 nougat.

---------- Post added at 08:22 AM ---------- Previous post was at 08:19 AM ----------

After compairing boot image from lolipop rom and nougat rom lots of different files are thre in nougat rom.

Please help.
[Android General] Jitheshwar:
The porting method is almost same whether it is sc7731/sc8830 or sc9830 the only difference is some files are named different in different chips. Just replace basic files and flash the ROM and see adb logs and then change the files accordingly.

For porting Nougat ROMs you may need to dig into deep like selinux patching and modifying init scripts to be able to boot ROM with lollipop kernel you can't just port it directly unless there is already ported (by using lollipop kernel) for similar chip.

For porting boot.img you have to use port ROM Ramdisk with Stock ROM's split_img you can't just edit init scripts of lollipop kernel to be able to load nougat ROM, but you may need to modify (slightly) the init scripts of Nougat to properly boot and function.
[Android General] @ki:
Hey....hey....... don't give hope...........thats possible but it almost like impossible to jump the Android versions.......... anyways you can try.......log is the help
[Android General] kkultimate:
Sc7731 intex aqua dream 2

Hey [MENTION=7598239]@ki[/MENTION] can i port lollipop rom to my intex aqua dream 2 which has kitkat and sc7731? Thanks for this awesome GUIDE.
[Android General] tatai@123:
I do have the same question but its probably impossible or too hard.......but I am still finding a way out for my intex aqua star 2 hd :(
[Android General] @ki:
yup its possible.........ask jiteshwar

he already done that
[Android General] tatai@123:
Yes........he told that we need to search a compatible kernel of lollipop that will work with our phone.....thats difficult....isn't it...
[Android General] @ki:
yaa......once i was also searching.......and i was successful in finding a compatable kernel.......but not done that as i don't have the device.....

well finding is the only hope.......
[Android General] tatai@123:
Hey can we port that boot.img to make it work
[Android General] @ki:
nope.....no other alternative except finding a compaitable one

the thing that doesn't work is in the zlmage.....which means we cannot alter the boot img to make it work
[Android General] Jitheshwar:
See if there are kernel sources and device tree available for your device. You can even boot Oreo with those sources.
[Android General] tatai@123:
No its not available....its intex aqua star 2 hd....:(
[Android General] Jitheshwar:
For getting the compatible lollipop kernel keep in mind below steps

Search the device which have same chip as of your within the list of your device manufacturer

Also check the devices of same kernel host (can be seen in about-on top of kernel version)

Also see the device which is released next after your device like different variants with same name like in your case it might aqua instead of HD.

Also see in Advan group there is a list of lp kernels you can test with.
[Android General] tatai@123:
Hey can u suggest some other website...???
[Android General] Jitheshwar:
I thing there is no such website with regard to this. The only option to use the recoveries that are provided in the Advan S4p's Lollipop recovery list for testing purpose or finding the devices that have same chipset and trying their recoveries. I'm telling that that will a mess using this method even though you succeed in booting the Lollipop ROM. In my case I was able to make singnals and wifi to work (hardly) and camera (with some glitches and no flashlight, luckily). As some of the incompatibilities will left with kernel, HAL(s), Modules, and other core hardware lib(s) which can't be easily fixed and may be never. In my case even though I'm able to boot to Lollipop but was unable to fix bugs due to insufficient knowledge about things and no help from intended members and also unavailability of guides to fix things which will occur even if we build a ROM from source (I this a some private things that Devs don't want to share openly).

So don't waste time with that instead try to port CM/CM based ROM(s) and learn to how to get things done properly, efficiently and effectively.
[Android General] tatai@123:
Do we have to use the recoveries or the boot.img from those devices.
[Android General] Jitheshwar:
Recovery bro, as the boot.img and recovery.img consists of kernel (zImage) necessary for booting whether it is system or recovery. Since we need to test whether the kernel will be able to boot on our device testing with the recovery will be convenient as there is no much init scripts etc,etc needed to boot a recovery and almost all scripts in ramdisk are common in all devices (having same chipset) but regard to boot.img the scripts in ramdisk will change from device to device and from ROM to ROM of the same device also in our case we are using lollipop kernel which is impossible to boot the KitKat ROM with lollipop kernel but in rare cases we can boot lollipop ROM with KK kernel (not for every device) considering all these we must use recoveries to test the kernel.

Note: Don't port the recoveries flash as it is. If you see blank or weird screen means kernel is incompatible with your device if you see the recovery booted to recovery options means you are good to go.
[Android General] rupesh joshi:
How to port
[Android General] Jitheshwar:
That's what the guide says.
[Android General] Server Ghost:
Thanks for the roms!

I tried some of your roms and it worked for me though i have to edit them after porting to use them like screen density softkeys etc. BUT it worked for me and ya i tested them on my Intex Aqua Star 2 HD(sc8830) , and you can also add CM11 for sc8830 Kitkat i found somewhere else that and that gave best performance.

THANKS DUDE FOR SC8830 KITKAT ROMS!
[Android General] tatai@123:
Hey bro...I do have the same device...I ported the roms too but in some roms the softkeys didn't worked...like the rushpop and asus rom...every time I enable them the systemui crashed...do you have any fix for that....??
[Android General] Jitheshwar:
There is a thread (by me) specifically for CM/CM based ROMs
[Android General] Server Ghost:
Just add these lines in build.prop under system folder before flashing the rom

#buttons

qemu.hw.mainkeys=0

ro.show.navigationvbar=yes

And do change the screen resolution to 720x1280 and density 320 else it might not show 'cause many roms have very less density which makes things smaller

---------- Post added at 05:08 PM ---------- Previous post was at 05:06 PM ----------

Is it for KitKat kernel??

Share the link of thread
[Android General] @ki:
oh.....pUssyfap added.....

for.....can u pls attach the init.environ.rc file of both nevada os and emui boot img??
[Android General] @ki:
for dolby flash this

https://mega.nz/#!sQpEDZpB!ufFUzkND5srVAcSbp8N1o8V5cbtBIkVPS6vWJid4EwQ

sorry but those features are un built.....u cannot add them.....but u can check it using a xposed module called double tap to wake...

and if they are not supported by your kernel then there are some apps(may be) for that ( but drain battery) ......
[Android General] Jitheshwar:
Here is the link https://drive.google.com/folderview?id=0B-8eEgl5y093LV9wSDRjNW9ROTQ . Ok I will use pocket mode instead.
[Android General] @ki:
Can u upload to any other place.....i am not able to download that file.....

Anyways.....emui prblm solved.....

i have updated the code of init.environ.rc

and for emui b114.......first tell me if emui b116 works??
[Android General] oidicle:
Like I said earlier the TWRP 3.0.2 from here doesn't load/boot, not even UltraCWM, but I really just want/prefer TWRP.

The rotation fix didn't work for me. I flashed using TWRP 2.8.7.0 for the LEWA OS ROM.
[Android General] @ki:
Have u tried with the kitkat one.....?pls try with that.....

well i am giving u more twrps try with these also.....

https://www.file-upload.cc/mzpjtj4e28e8

https://www.androidfilehost.com/?fid=24438995911968717(first extract the recovery from zip then port)

Good luck....

Ok my rotation fix .....not worked. ..huh.....

can u give me ur partitions name with address

use disk info app for more info
[Android General] oidicle:
Here you go:

/boot	emmc	/dev/block/platform/sdio_emmc/by-name/boot (mmcblk0p16)

/data	ext4	/dev/block/platform/sdio_emmc/by-name/userdata (mmcblk0p24)

/system	ext4	/dev/block/platform/sdio_emmc/by-name/system (mmcblk0p17)

/cache	ext4	/dev/block/platform/sdio_emmc/by-name/cache (mmcblk0p21)

I tried the recovery from the second link(androidfilehost) but it also didn't boot.

I can't download from file-upload.cc, I tried using a different browser but still the same. Please provide a MEGA or Google drive link so that I can try that recovery 3.0.3
[Android General] Jitheshwar:
https://mega.nz/#!6gABzJgQ!O_NKgeHs_S2MEuAJKkhWONLtzbfqJAEUzndPU41xho8

https://mega.nz/#!ipw2RbSS!ldgbL11_k1TMpkz8taZIni9UW4Is53a4O0EK4uikvnU
[Android General] Jitheshwar:
That doesn't worked for me....No boot.... Previously I was using temporary philz to flash which seems to be little bit time consuming and buggy TWRPs not working (touch bug) then I ported ultra CWM it's working but I haven't seen any option to go back to previous menu. Can you fix this I am bored with temporary recovery.
[Android General] @ki:
It doesn't booted??have u correctly followed the porting process......i am asking this because......it should at least boot.........touch is another problem.....but it should boot.....

pls clear what is the problem.....touch or........?
[Android General] @ki:
Have u tried the lower version twrp.......they are working...fine....

on which one u have tried??b116 or b114
[Android General] Jitheshwar:
On both the ROMs.
[Android General] Jitheshwar:
My phone is bricked... :( .I flashed last TWRP in the list recovery, touch is not worked then I pulled the battery out and then tried to restart it,but phone is directly booting into recovery. I was not enabled the USB debugging since I was just flashed a ROM before flashing the recovery. PC is not detecting.... Tried to enter into fastboot mode using different key combinations​ but no luck it's always going into recovery which is useless......If PC might have detected my phone I may flash it using spreadtrum upgrade tool..... Please help..Googled a lot but didn't find solutions for my case.
[Android General] oidicle:
The phone isn't detected? Does it at least make a sound on the computer when connecting? If so, then maybe you could still use the upgrade tool.

1. Open the upgrade tool, load the ROM and click the flash button.

2. Power off the phone(remove battery and then insert), press the volume down button while connecting the phone until you see the flash tool processing(it takes a few seconds to detect) and release the volume button.

If it detects, then flashing will procede and you'll recover your phone.

IMPORTANT: If you're using windows 8.1 or 10, then before doing all that you must first disable driver signature enforcement, it is important in order for your driver to be loaded by the upgrade tool. Don't disable with command prompt, it doesn't work for everyone(me too). Instead do the method with "Pressing 'Shift' button while clicking restart, then choose troubleshoot, startup settings, click restart. On the startup menu press 'F7' or '7', select 'Driver Signature enforcement' and it will boot into windows.

Now you can follow all the other steps.

Remember also that for some phones you have to connect the phone without the battery(while pressing the volume down button) in order for the flashing to begin.

Good luck.

---------- Post added at 19:05 ---------- Previous post was at 18:14 ----------

Here is my stock recovery:

https://mega.nz/#!tVNBkD6K!rcAvinLFEal_zxXfrgh4f_e5izhe5qt_H_uBWWKKj8o

Maybe you could port twrp 3.0.3 and let me test it.
[Android General] Jitheshwar:
Yes PC is making sound saying failed to install device drivers. Ok I'll follow as you said and let you . Even if I am able to revert back to my stock recovery I can flash from there by using temporary recovery for this entering into fastboot might be the solution . I do have another phone in which I was able to enter into fastboot mode and flash images .
[Android General] Jitheshwar:
PC is detecting as unknown device while phone is on recovery mode. But I have installed drivers which were provided in the flash tool that I have downloaded (for my LAVA Iris X1 Beats) Do you know trick to get it done flashed.
[Android General] oidicle:
Did you follow my instructions? I never said anything about recovery method. Try to follow the exact instructions I gave without skipping any steps and then give me feedback on that.

Later we will discuss other method.
[Android General] Jitheshwar:
Yes I followed (pulling out battery and reinserting it, press and holding volume- key while plugging USB) but flashing process didn't begin. I think drivers which I have found are not supporting but I have installed universal drivers too. It's going into recovery mode when on any power source (USB or otherwise) , is there any way to flash back atleast stock recovery.
[Android General] oidicle:
No, unfortunately your only hope is the SPD Flash Tool. Remember that you must install the drivers and use the flash tool while you have disabled driver signature enforcement, install drivers from the device manager. For detailed instructions go here: http://gsmusbdriver.com/lava-iris-x1-beats

Try these drivers:

https://mega.nz/#!IFtinDrZ!qREYOd0FKYw7YdT-qCpgs5dBTPee522C-1P6PA1u5PU

From the device manager, first uninstall all the previous drivers related to your phone and then install these ones from the link.

Each time you restart your computer you need to disable the driver signature mode in order for everything to work.

---------- Post added at 05:49 ---------- Previous post was at 05:40 ----------

@ki

I need to upgrade from my 5.1 Lolli to 6.0 Marsh. Is it possible using your method?
[Android General] @ki:
No u cant.....for upgrading ur phone to marshmallow......u need to find or make compatible kernel which supports ur device.....
[Android General] @ki:
give link ....people are lazy to search
[Android General] Jitheshwar:
Link to thread.
[Android General] tatai@123:
Is it ro.show.navigationvbar=yes or ro.show.navigationbar=yes
[Android General] tatai@123:
Hey bro that didn't work...the system ui crashes every time I enable those navigation bar but if I don't it remains stable
[Android General] @ki:
in which rom it is happening???
[Android General] Server Ghost:
there is no V in between and it worked for!

Device : Intex Aqua Star 2 HD sc8830

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

Hey dude, Can tell which roms are based on Android Version 5.x.x and for KitKat kernel
[Android General] Jitheshwar:
There ain't any Lollipop ROMs based on KitKat kernel for spreadtrum chipsets.
[Android General] Server Ghost:
Seriously you are kidding, if you can't upgrade Android version then what's the use of installing custom ROM

Well for your knowledge I found ROM which 've Android version 7.0, 6.0 and even 5.0 but I didn't like the UI so I'm look for another one!
[Android General] Jitheshwar:
Starting from Lollipop there are plenty of They are all fake ones. The intention of making custom ROMs is solely not upgrading to higher version it is to enhance the performance without compromising better life also by considering security as key aspect. selinux and inkernel changes means Lollipop and above ROMs can't be just ported except in the case of MTK chipset. If you want a true custom ROM with greater stability and performance then you should have stable kernel sources and device tree of your device to build a fully functioning stable ROM also bunch of knowledge in making things work. You can even upgrade your device to further Android version.
[Android General] tatai@123:
Can you tell me which rom it worked on....???
[Android General] Server Ghost:
cm 11

miui 6

lg g4

xperia z

simple rom

mini rom v3
[Android General] tatai@123:
Have you tried the asus rom given in this thread...and I have started a new thread specially for the intex aqua star 2 hd and uploaded 3 custom rom ported by me there...plz share the roms you have successfully ported in that thread.

Link of that thread: https://xdaforums.com/android/development/custom-rom-intex-aqua-star-2-hd-sc7731-t3684471
[Android General] Server Ghost:
hey, i can't find ASUS rom in your thread i only see EMUI 3.0, RUSHPOP V3, EVERCROSSMOD

---------- Post added at 10:10 AM ---------- Previous post was at 10:08 AM ----------

and if you want an offical looking TWRP recovery for intex aqua star 2 hd then try this https://xdaforums.com/showthread.php?p=74565006#post74565006
[Android General] tatai@123:
Hey....no the asus rom is in this porting guide...I haven't completed fixing the major bugs in asus rom so I haven't uploaded it...

---------- Post added at 02:31 PM ---------- Previous post was at 02:28 PM ----------

And can U upload some more roms for intex aqua star 2 hd that U have successfully ported in my thread or your one...

And thanks for recovery but I already have one...by the way what is the version of the twrp you have ported
[Android General] MAHABUBMARAJ:
Can i port cm13 for my sc7731 lolipop device using this method...
[Android General] Jitheshwar:
This method will not be going to work with CM based ROMs. Are you able to boot CM ROM using my guide, aren't you?
[Android General] MAHABUBMARAJ:
I ported the rom,but didnt flashed it.I was just gathering informations.Just curious☺...
[Android General] kaew158:
Need help to port twrp recovery.

SC8830 LP5.0 3.10.64

I can not unpack it.

Boot & Recovery
[Android General] @ki:
Use Aik or you can also use apktools old version to unpack it
[Android General] kaew158:
It show format error.

---------- Post added at 05:46 AM ---------- Previous post was at 05:44 AM ----------

It shown unpack error.

---------- Post added at 05:48 AM ---------- Previous post was at 05:46 AM ----------

It shown error unpack.
[Android General] @ki:
I think your boot img is curropted..... extract again the boot img
[Android General] kaew158:
Boot is ok. I save boot from working device.
[Android General] @ki:
Post your boot img here .....i will try out to find the error
[Android General] kaew158:
My Boot & Recovery.
[Android General] @ki:
Don't know what is happening with you i am successfully able to unpack the boot and recovery

See the ss
[Android General] kaew158:
Please port twrp for my device.
[Android General] @ki:
Follow this Guide
[Android General] arshjatt:
:Dsir i am using sc9832(intex cloud string v2.o) please tell me how i can find custom rom for porting please help.

i cant find any custom rom plz sir help & i want to know that with cross porting can i port ios11 for sc9832 :confused: if yes,then plz tell me how to cross porting :)
[Android General] kaew158:
Do you have twrp for SC9832 N7.0 kernel 3.10.65
[Android General] arshjatt:
:D i installed a twrp port recovery for sc9832,but i dont know my recovery's kernel but my phone's kernel is 3.10.65,& i dont know what is N7.0 :confused:

soo plz tell me where i get a custom recovery for SC9832 4g. & sir my phone has a fingerprint scanner also is that any effect to it after install a custom rom. could i add fingerprint to custom rom by porting & how.
[Android General] kaew158:
My device had SC9832 kernel 3.10.65 Nougat 7.0 and I need twrp for it.

Do you have your stock firmware on needrom ?
[Android General] arshjatt:
could i port rom(needrom)& flash it ?

my phone's(intex cloud string v2.o) stock rom is not available on needrom so that mean i can download any rom from needrom(sc9832)and i can port the rom & flash to my phone ,is that possible or not. reply faster
[Android General] kaew158:
Yes, but you need twrp and know kernel inside that rom.

It must be the same as your device then extract pac and port it.
[Android General] arshjatt:
could i port rom(needrom)& flash it ?

i have downloaded rom(pac sc9832) but i cant extract .pac file i tried by coping the loaded data of spd tool but it provides only .img files of boot,system,oem,,,etc. so now tell me bro how to extract system for port the rom fast brother :D