yashsingh1/xdaforums huggingface dataset:
[Android General] Jitheshwar:
no need of .tar.gz, .tar is sufficient. As it is backuped in recovery by disabling "Enable Compression option" means we'll see the system files after extracting the system.ext4.win and not the system.ext4.win (compressed system image).
[Android General] tatai@123:
Now which software extracts .tar file. Plz tell me a software for windows
[Android General] @ki:
Yup....i forgot to mention that......just thought why anyone wants to backup without compression......
[Android General] Jitheshwar:
A zip archiver like 7zip, Winzip, etc. Mist if these software will be available for free. If you are using mobile to port I recommend ZArchiver.
[Android General] RustyDiamond:
After i'm port cm12 rom to sc7731 my device, is say Android is starting.... After that is restart and do that again, what i'm do wrong?
[Android General] hungvip2001:
your kernel....
[Android General] Jitheshwar:
You may not replaced necessary lib(s).

Wipe everything before flashing the ROM (it is suggested to wipe internal storage also).

Don't replace everything (like camera libs) because they might give issues that you are facing, first key the device boot then fix bugs. If possible take logs using adb.
[Android General] RustyDiamond:
i'm using mobell s39, kernel 3.10.65, android 5.1

---------- Post added at 12:36 AM ---------- Previous post was at 12:00 AM ----------

i take a log for adb out but is empty, don't know what problem is
[Android General] Jitheshwar:
You may not setup adb properly and also make sure you have installed proper device drivers. Search on XDA, there are guides take an understand the adb logs. Also make sure you have properly ported boot.img (I recommend AIK).

Are you using AromaFM to replace files? If not I suggest you to go with that method 'cause improper unpacking an repacking .dat files may also cause issues.

Simple steps to boot (should work 100%)

Port boot.img properly as per guide

Replace ROM's boot.img with ported one

Flash ROM by wiping system, data (wiping internal storage is also recommended)

Replace only the files under /system/lib/modules leave rest

Now boot the system

It's should boot but you may end up with bugs, don't worry follow bug fixing guide also learn to debug issues on your own. You may need to change build properties (build.prop editing) like changing dalvik cache heap size and other values to your stock build values.

Since it's not bootloop it seems some error with data or problem while creating dalvik-cache (since it's sticking at optimizing step). Also logs can help in this type of situations.
[Android General] RustyDiamond:
I do what exactly you told me, port boot.img and put file in system but still not work either, just run the CM boot animation ----> Android is starting (Optimizing app....) ---> Starting boot..... ----> repeat
[Android General] Jitheshwar:
Only logs can help to figure out what's going wrong.
[Android General] RustyDiamond:
Ok so i've try again and is worked, but

no vibrate

,

no sound

(even heard music or on youtube still not),

FM radio force stop

and

sdcard not detected

, can you give me how to fix it please??
[Android General] Jitheshwar:
For sound and all follow bug fixing guide. Most of the bugs will be fixed just by replacing the libs under /system/lib/hw (core hardware driver lib(s) that are directly instruct kernel to access hardware), don't replace every lib only replace which are stated in guide.

FM radio FC is because the lib that is related to FM radio is not replaced (which will be under /system/lib/hw). I think FM is not working in port ROM itself.

Bonus: For fixing memory management and some other things you have to change the default values with the stock ROM values. Most of the values can be easily changed build.prop like DPI, Dalvik-Cache VM values, and some frequencies,etc

And for some kernel related values like LMK (Low Memory Killer) and some other important frequencies to you stoch frequencies.

Note: Change values only if you know what you are doing and to recommended values only.

P.S. I'm suggesting to change those default because those values are of some other devices by changing them you'll see better results.

For making the ROM as daily driver all you just need to do is Debug! Debug! Debug!
[Android General] Mo'men2001:
can you tell me how to port roms for spd sc7715
[Android General] Jitheshwar:
Probably this guide should work with SC7715 too. The only difference is chipset model and few chipset specific lib(s) (ex: camera.sc8830.so, etc). See if the there is any such difference with your device if there is no such difference then you are good to port ROM (s) that are available with guide or else you need to find your chipset specific ROM(s) and then port.
[Android General] Server Ghost:
Port MIUI 7 KitKat Sc8830

Dude in MIUI 7 ROM there are files with extension .ext4.win I tried flashing them without doing anything to the ROM but it didn't showed anything on screen and then I tried extracting and porting the ROM then I find out that updater-script won't flash the ROM untill it's in .ext4.win format so I tried another cm11 meta-inf but didn't work then I guess the only way of flashing is to make the ported files in .ext4.win so please tell how can I make the ported/system folder .ext4.win
[Android General] tatai@123:
Just use the aroma file manager...to move the above mentioned files from the system folder (that you must extract from the stock rom and keep it in sd card) to system file of the system partition in internal storage...after flashing the rom.
[Android General] Jitheshwar:
I suggest even simpler method i.e., by using ZIPme.

Select necessary files from system folder and then zip 'em with ZIPme, you've to flash it after flashing the ROM. So then get rid of Unpacking and repacking tars and day compressions. But you need to verify the updater script of the zip to see whether the files are gonna get flashed to the directories as expected with proper owner and group permissions. We can create this kind of simple flashable zips on our own without the need of any app as it doesn't involve highly technical and symilinking (maybe a little) things.
[Android General] tatai@123:
Is zipme is for Android or windows...??
[Android General] Jitheshwar:
It's for Android
[Android General] Server Ghost:
Tried but it stucked at bootanimation
[Android General] Jitheshwar:
Maybe you didn't replaced all the necessary files, also make sure you've properly ported the boot.img.
[Android General] Server Ghost:
C'mon i'm sick of it I tired this several times , tired all the possible ways to make it boot but seems like it's just a piece of crap wondering who made this ROM portable
[Android General] Jitheshwar:
Which ROM and version you're porting. If you are porting KitKat, you probably might facing the same kind of problem that once I've faced. Make sure you've replaced /system/lib/libmali.so also try replacing files in /system/lib/egl and also try deleting this file->/system/lib/egl/libGLES_mali.so (this seems odd one which is holding the device from booting). Be careful while porting boot.img (especially while moving files under sbin) most of the errors might come from this only.
[Android General] MAHABUBMARAJ:
With rar,its lot easier. No need of aroma fm.

---------- Post added at 05:27 AM ---------- Previous post was at 05:15 AM ----------

Brother, your post needs many corrections.Because of your buggy post,no one is able to boot.&,sorry for my buggy English?

---------- Post added at 05:28 AM ---------- Previous post was at 05:27 AM ----------

Brother, your post needs many corrections.Because of your buggy post,no one is able to boot.&,sorry for my buggy English?
[Android General] MAHABUBMARAJ:
There is no file or path as /system/etc/audio & system/etc/media,but in /system/etc/ there is some files prefixed with audio & media. Also,there is no path or file as system/egl/libGLES_mali.so,but there is a file as /system/lib/egl/libGLES_mali.so.Just wanted to help you,that's all...

---------- Post added at 11:03 AM ---------- Previous post was at 11:01 AM ----------

Some files in your mm fixes is not present in my stock rom,what should i do?
[Android General] tatai@123:
Bro winrar fails to extract system.ext.bin....or whatever it is...
[Android General] Jitheshwar:
Once you understand how to use Aroma you'll prefer Aroma only. Because it saves time of extracting and compressing (in case of normal zips) and using of additional tools and softwares (in case of compressed images)

I'm open up for suggestions bro. And I made this guide in this way because I've been able to boot ROM(s) in this way and yes you might not be able to boot some ROM(s), it doesn't mean the guide is buggy but the ROM(s) are. None if those are fully stable (on original device from which they are taken as port).

I mean audio related files under /system/etc, sorry my bad.

Typing system/egl/libGLES_mali.so instead of system/lib/egl/libGLES_mali.so is also my bad.

Gonna edit both of them. Note that I'm always open up for suggestions.

If you can't find some of the files in stock then please ignore them.

And finally, what I would like to say is I'm not trying to provide complete solution in porting and bug fixing of ROMs rather I'm trying to provide y'all just an Idea (a push) to do and make things on your own.
[Android General] MAHABUBMARAJ:
But it worked for me to extract system.ext4.win!not winrar,its rar[Android version of winrar,named rar].

---------- Post added at 04:48 PM ---------- Previous post was at 04:33 PM ----------

Thanks,Thanks,Thanks....many many Thanks for waisting your time after me...I have some questions[Please answer]...what should i do with the boot.img in fix?&,i found a cm13.1 rom in [http://www.romclaims.com/2017/07/sc7731-sc8830-6.0.1-cm13.1-rom-for-polytron-r2507.html?m=1]...The thing is,there are 3 boot img's[boot.emmc.win,boot1.img,boot3.img]...should i port them all?&,they added some fixes in the package[for a particular phone.should i replace them with my own?Hope youll ans my questions.

And last...

Your a Genius...☺
[Android General] MAHABUBMARAJ:
They copied your post,porting[www.romclaims.com/2017/07/tutorial-how-to-port-cyanogenmod-13-to-spreadtrum-devices.html?m=1]fixing[http://www.romclaims.com/2017/10/gu...trum-custom-rom-bugs-after-porting.html?m=1].
[Android General] Jitheshwar:
If that ROM is for spreadtrum you can port it and not all of the boot images might not be actual one try porting one by one at last stick with one which is most stable.
[Android General] Jitheshwar:
Maybe not. I have taken few elements from the persons and sites/groups that I stated in the credits they might have taken elements from the same/similar sources that I did, look at the credits of the particular site you'll find the sources.
[Android General] MAHABUBMARAJ:
Thanks... Thanks... Thanks...☺

---------- Post added at 06:07 AM ---------- Previous post was at 06:04 AM ----------

If i could only give more like's
[Android General] MAHABUBMARAJ:
Can you please post on how to use this mm fix.can i use it on lolipop?

It seems,i dont have a brain with basics pre-installed...?
[Android General] Jitheshwar:
Porting instructions from Lollipop and later are lot similar. But few things may need specific alterations. I'll come up with possible solutions I can. Even after putting much hard work we may never make ROM stable because the most of the port ROMs themselves are not stable then how we can expect them to be stable on our phone. You can try some other ROMs of same chipset by following my guide. Try to learn slowly, don't mess up things in hurry.
[Android General] MAHABUBMARAJ:
Thanks for you're advice. Even if i'm a beginner, I'll try to learn slowly from now on.I just had some questions,why cm couldn't be ported like others. So,i was gathering informations.

---------- Post added at 09:08 PM ---------- Previous post was at 09:04 PM ----------

Please, ask me if i could be of any help to you...?
[Android General] Jitheshwar:
All other ROMs available on the other thread are all modified stock ROMs (except for EMUI as that ROM is a Huawei's manufacturer skin). But CM/CM based ROMs are pure custom ROMs can be build from source according our needs due their fully open source nature, but to build ROM from source we must need kernel sources and device tree of our devices, sadly for most of the spreadtrum chipsets (not only SPD I think for most of the midrange and low range) sources are not available. So only option for us is to port ROMs.
[Android General] MAHABUBMARAJ:
:crying:

---------- Post added at 12:59 PM ---------- Previous post was at 12:49 PM ----------

:crying:

It didn't work for me...stuck on the boot logo...
[Android General] Jitheshwar:
Which ROM? Next time while asking for help don't quote post instead mention me.
[Android General] MAHABUBMARAJ:
CM 13.1 :crying: .Ok,i won't quote post ,instead ill mention you.
[Android General] Jitheshwar:
What's your stock android version and how you are porting the ROM, I mean what kind if IMG and zip tools you are using and how you are replacing system files AROMA or unpacking and repacking the system.ext4.win.
[Android General] MAHABUBMARAJ:
I'm very much sorry for late reply?.:) I'm using winrar.and,i'm not replacing any files in system.ext4.win.I was taking advantage of the system folder which is located in the root directory of flashable zip.Did i do anything wrong? I was thinking if lib64 has any effect in porting,cause i have this directory in system.

Thank you very much for trying to help me.:)
[Android General] hungvip2001:
7.0+ port guide please:silly:
[Android General] BagoUser:
From 7.0 on 8.0 :p
[Android General] MAHABUBMARAJ:
Oh!forget to mention that my Android version is 5.1
[Android General] @ki:
This folder shows that you have a 64 bit device
[Android General] Jitheshwar:
No they'll also appear in ARM. Starting from Lollipop, Android is having few 64bit (a little maybe) compatibilities in ARM also.
[Android General] Jitheshwar:
I think there are no compatible Android 7 ports for SPD. The guide might be similar to Android 6 but we may need to do lots of debugging in case of bootloops.
[Android General] Jitheshwar:
The system folder is dummy folder, all files in system.ext.win. Replace files from recovery after flashing the ROM with the help of AromaFM. Don't rush through the guide, patiently go through it and prevent your device from being paper wait.
[Android General] hungvip2001:
No. My SC7731 device is running Los14 7.1.1. But the developer stopped working:(
[Android General] Jitheshwar:
Is your device is Samsung device?
[Android General] hungvip2001:
Yes. Galaxy ace 4 sm-g318h
[Android General] Jitheshwar:
Story of Samsung and other spd devices is completely different bro, for all other SPD devices no manufacturer (only few will release) is releasing sources. That's why this porting headache comes into picture.
[Android General] hungvip2001:
Why they are different ?
[Android General] Jitheshwar:
They are not Samsung is. Also most of them are either mid or low range devices and no manufacturer wants to waste their time by providing frequent updates and by releasing kernel sources and device tree.
[Android General] MAHABUBMARAJ:
The link takes me to aroma rom installer.I cant find aroma fm!Needs Help here...
[Android General] hungvip2001:
https://xdaforums.com/showthread.php?t=1646108&page=120
[Android General] tatai@123:
It may be silli...but I was thinking if there is some way to extract kernel source and device tree from stock rom.....????:confused:
[Android General] @ki:
By 64 bit ...i mean to say arm64......arm is of two types....32 bit and 64 bit version.

like windows having 32 bit and 64 bit

And if the cpu is arm32 then i am sure there will be no arm64(they contain libs) folder

---------- Post added at 10:51 PM ---------- Previous post was at 10:49 PM ----------

Ya its possible....if you go to manufacturer and ask them for source....no other means
[Android General] tatai@123:
Do you think intex is going to provide those...the customer care doesn't understand what I am taking about....:D
[Android General] @ki:
Exactly.....brands like Micromax,intex,etc doesn't follow the gpl rule
[Android General] tatai@123:
Hey jiteshwar....the links are not working....!!!

I need pacman rom(KitKat)
[Android General] Jitheshwar:
I know bro there are two ARM architectures, even in ARM (32bit) there is folder called lib64 and it's part of system.

Don't expect that from them.

They are working for me, check again. View thread in browser in app it's not looking good and most of the content is not appearing.

It maybe possible in the case of apk but not in the case of kernel and ROM, but some people are saying that it's possible but didn't find anything about that.
[Android General] tatai@123:
I checked from pc but it failed to connect...(my network is ok, I have checked that)..

---------- Post added at 07:17 PM ---------- Previous post was at 07:13 PM ----------

Bro I have a request...if you r having unlimited internet connection then plzz download the roms and upload it to Google drive...so that viewers could have a second option if previous links were not working...
[Android General] tatai@123:
Ok it worked...the links are fine...it was the problem with my network provider (BSNL). They were blocking the links....!!!
[Android General] tatai@123:
How to fix wifi hotspot in cm11...plz help
[Android General] tatai@123:
MIUI 7 is not booting up... stuck in Black screen... someone plz help
[Android General] Andissace:
Will this work on SC9830?
[Android General] fleX_:
When i rename the boot.img file to boot.emmc.win it shows me that it is an disc image file not a win file.Can i place that boot.emmc.win(as an disc image file) in the Custom ROM.It's safe to flash the rom?Or i have to repack as a win file?and how to do that?
[Android General] Mo'men2001:
SC7715

PLEASE I WANT TUTORIAL OF PORTING ROMS TO SPREADTRUM SC7715 CPU :o :)
[Android General] Mo'men2001:
SC7715

Please it will work for sc7715....................... I didn't find any tutorial for porting Roms to sc7715 phones
[Android General] Ashutosh1122:
I flashed pac-man rom 4.4.4 but device not booting ,I have modified boot.img deleated system/libs/egl/libGLES_mali.so its only loads manufacture logo . I have flashed rom using temporary philz recovery

My device is intex aqua q1+ sc8830 with 512mb ram

please reply:crying::crying:
[Android General] Jitheshwar:
If anybody want to flash and test ROM without wiping original ROM I recommend using Dualboot patcher. I have got official support from developer. To use it either you have to pull request to add your device to dbp sources or you can modify device's list of dbp.apk by adding your device name and partition paths or you can simply change your device name to mine, the name is 'X1 Beats'. I hope this will be lot simpler in using with my simpler guide.

Note: If your device's partitions are different from mine better to try another method.

Important Note: You must change name in all the ROMs that you're going to flash to other slots otherwise you'll stuck in other ROM. In case of bootloop in other ROM simply restore stock boot.img (before installing dbp) and device will boot properly and no need to flash primary ROM again.

My device's partition paths

system

/dev/block/mmcblk0p17
/dev/block/platform/sprd-sdhci.3/by-name/system

cache

/dev/block/mmcblk0p18
/dev/block/platform/sprd-sdhci.3/by-name/cache

data

/dev/block/mmcblk0p21
/dev/block/platform/sprd-sdhci.3/by-name/userdata

boot

/dev/block/mmcblk0p16
/dev/block/platform/sprd-sdhci.3/by-name/boot

recovery

/dev/block/mmcblk0p19
/dev/block/platform/sprd-sdhci.3/by-name/recovery
[Android General] Jitheshwar:
Don't know but give it a try
[Android General] Jitheshwar:
Windows might promt you whether to rename extension or not, you can rename it there is no problem in renaming it.
[Android General] Jitheshwar:
Windows might promt you whether to rename extension or not, you can rename it there is no problem in renaming it. And .win is not some particular file format it's just an extension given by twrp to the backups made by it. Since we are using twrp backups to flash we need to keep the extension unaltered. Otherwise you'll get errors while flashing.
[Android General] tatai@123:
Look bro...the file extension (whether .img or .emmc.win) it doesn't matter how windows execute the file....what matter is how the updater script is written...it is better to check whether the updater script is written according to .img or .emmc.win and rename it accordingly.
[Android General] Dhina17:
Bro ..i ported cm13 for my mobile successfully...rom boots and works fine....but the main bug is sim card not working problem (ril) .... please help me to fix ril ...

Device:Xolo Era X

Chipset:Spreadtrum sc9830a

Stock: Marshmallow
[Android General] LiaFourté:
Ugh. Hello? I ported Resurrection Remix for my device running Android Marshmallow with Sc7731c Chipset but it didn't boot. Please help me, I have followed your tutorials perfectly but it doesn't help. I think the only problem I have is about porting boot img. If you have time, please port me a boot image. From stock to port. Please I'm begging you. This is the stock boot image of my device (https://www.mediafire.com/file/46h0o6d3bswtsy3/stock_boot.img/file). This is the boot image of the Resurrection Remix custom rom that you provided (https://www.mediafire.com/file/4y9r3539s43549i/boot.emmc.win/file)...... THANK YOU VERY MUCH IN ADVANCE
[Android General] MAHABUBMARAJ:
You can use aik in android,search on google how you can port speadtrum boot img.Hope it helps
[Android General] Deepak98:
Pls port lava iris x1 beats rom sc8830chipset
[Android General] Fire _Phoenix:
Deleted
[Android General] Fire _Phoenix:
I m successfully ported and booted this rom evercross m50 star to my micromax q402+ sc9832a cpu.
[Android General] syedhadi98:
I got an error while flashing CM12 in TWRP, it says could not find META-INF /com/google/android/update-binary in the zip file
[Android General] Klein61967:
Hi!

Can you help me?

at /system/vendor/lib/libbt-vendor.so with stock ROM /system/lib/libbt-vendor.so I don't see a filename called "libbt-vendor.so" is that ok to ignore?
[Android General] Himesh patil:
Is it work in Micromax canvas spark 3 (q385)
[Android General] vividdream:
Do anyone have the common device tree for SoC, I used J320FN and it used the Spreadtrum SC9830, the file should look something like "android_device_samsung_sc9830-common"
[Zuk Z1 Q&A, Help & Troubleshooting] btme:
Hi!

Does anyone know of a recent ROM with working disc encryption? The last one to work for me was Cyanogenmod, I think. Lineage 14 does not work and with Oreo on the horizon I don't expect it to in the near future.

So, does a ROM with working encryption actually exist?
[Zuk Z1 Q&A, Help & Troubleshooting] Sharma_Ji:
Aex has, but in alpha stage, give it a shot.
[Zuk Z1 Q&A, Help & Troubleshooting] btme:
Thanks, AEX actually is really nice. A little scared of the alpha label of file-based encryption, though. Would also be nice if there were some officially unencrypted folder (which is only possible with file-based encryption) to store updates in.
[General Questions and Answers] zead3wd2:
Sorry for my bad English..

I have a Sony mobile and I need to find the best firmware for it because it is stack on logo.

How do I know the model of it and the current version of android?!

Thanks ? a lot..
[OnePlus 5 Questions & Answers] _lechuck:
Hi Guys,

I have imported my SMS messages from iOS to my new OnePlus 5 and I am facing a strange issue.

I have used iSMS2droid with a backup from iTunes and also SMS Backup and Restore. The weird thing is the messages show up only in the OxygenOS stock messages app and not in Google Messages. Also they are not grouped correctly (some SMS from the same number show up in different threads) and they are not ordered by date.

Any help would be really appreciated. I've already tried to delete them and re-import from SMS Backup and Restore but with no luck.

Thank you