yashsingh1/xdaforums huggingface dataset:
[Android General] Sudarshankakoty:
I tried all of your lollipop ROMs and all boots successfuly but they sounds reversed in audio. Stereo test apps says left but the sound comes from right. This is the only bug I have all on these ROMs. I do listen to music a lot.
[Android General] @ki:
Glad that my roms are working......

Do u have a reverse stereo option in your rom?????

and what do you want........ balanced....left....or right??

well u can try this....

https://xdaforums.com/xposed/modules/app-audio-balance-t3189218
[Android General] MallowsAndGooey:
LineageOS 14.1 possible to be ported?

Can LineageOS14.1 from Samsung Galaxy Grand Prime VE (SM-G531H) (SC8830) be ported to our spreadtrum lollipop devices? It says in the description that the firmware required is 5.1 Lollipop. Is it possible? How? Please teach meeeeee. ?
[Android General] Sudarshankakoty:
Sound from left channel comes from right channel and vise versa
[Android General] MohamedEhabHalim:
all lollipop roms dosnt booted it show white screen
[Android General] @ki:
follow​ the tutorial properly.........

and provide more info of your problem......like...os..which rom you tried to port....etc
[Android General] @ki:
First of..... Samsung roms are different.........they are not easy to port.....as they have different partitions.....and use their own propietry libs.........

But it is not impossible......it can be....ported........but....how???

dont know.......

And about the lineage os......i think.....that require the lollipop bootloader not the kernel......the kernel will be of 14.1 ......so.... not possible......

Update for all lollipop users.....soon i will provide the Cm 12 for lolllipop......but with a hotspot bug.........:silly:
[Android General] MohamedEhabHalim:
I tried to port su droid and M os

I followed your guide well

BUt it dosnt show boot animation it shows white screen ?

Iam lollipop 5.0 based my phone is lenovo a1000

kernel version: 3.10.64
[Android General] @ki:
Provide me some logs...
[Android General] MallowsAndGooey:
Oh thank youuuuu I will be anticipating for it. Thumbs up mate. ? I'm using your CM12.1 Alpha1. It's so cool but it actually gets so laggy and it stutters when I browse stuffs in the cm browser. It's RAM is only 512mb so I'm expecting this kind of issue. I'm gonna buy myself a Samsung Galaxy Grand Prime too to test this ROM. I want to upgrade to 7.1.2 so baaaaaaaaad. ?
[Android General] @ki:
Have i given the link of cm 12......????i dont think so......

but... it is available on a website...........i am taking from there only.....

what.....???cm 12.1 and its laggy....maybe.....due to ur stated reason.........use any other browser........but i would suggest u that......cm is only good when compiled particularly for a specific device.....porting...... doesn't gives a good performance rom.....unless it is based on stock..........

For ram problems.....u can try swap ram....

Are u joking.......Dont take a grand prime for testing 7.1........

If u have good budget then go for other phone.......or whatever phone u buy ....must have open source software........??
[Android General] MallowsAndGooey:
Oh that was in the other post LOL I'm so silly. Can you give me some tips on how to fix the camera in cm12alpha1? Also the wifi. ? Changing some libs make my device fall into an endless spinning of bootanimation.
[Android General] Jitheshwar:
etc/permissions change xml relating to camera

lib/hw change the files relating to camera

Under lib for change these libs.. libcamera*****.So

If you are directly adding files then don't forget to set permissions as-rw-r-r- .....If this also not worked then it might be a source bug
[Android General] MallowsAndGooey:
It didn't work for me. Gets me stuck into a bootloop. How about the wifi?
[Android General] Jitheshwar:
Replace xml in etc/permissions

---------- Post added at 03:45 PM ---------- Previous post was at 03:42 PM ----------

Since it's not source having bugs is common try to find new build of the same rom
[Android General] MallowsAndGooey:
The beta build of CM12.1 Samsung Galaxy Grand Prime VE is not yet ported to work on Lollipop Spreadtrum devices though. That build was actually better. I'm using Alpha1 and it has tons of bugs. Wifi, hotspot, camera, the earphone indicator icon is not shown, and memory management is hell. But I edited the configurations in the memory management. Its running smooth now. I have 512mb of RAM.
[Android General] Ahmed_DA7:
Recovery

I tried everything to port recovery for my phone {huawei y3c (y336-u02)} but it does not work :crying: :confused:

If you can help me, I will be thankful :good: :D :good:
[Android General] Jitheshwar:
I think you should Port recovery from Huawei device that's having same chipset which you are having.

---------- Post added at 07:57 AM ---------- Previous post was at 07:55 AM ----------

You can try from this thread https://xdaforums.com/android/development/recovery-twrp-2-8-5-0-huawei-y560-u02-t3386486
[Android General] Ahmed_DA7:
thanks

thanks
[Android General] Jitheshwar:
Hey [MENTION=7598239]@ki[/MENTION] do you know how to Port this ROM

http://www.mtkromdevlopment.tk/2017/04/sc7731-4.4.4-miui-7-global-stable-rom-for-advan-s50f.html?m=1
[Android General] tdpi:
Any have lava x28 twrp custom recovery
[Android General] Jitheshwar:
Try to Port recovery by yourself follow the guide according to your chipset
[Android General] Spry Shanto:
i have samsung J105H which is sc8830..

i followed your guide for rom porting.. but it doesn't boot..just splash screen with samsung logo & bootloop..

how to fix that??

Do i have to port boot??? then how??
[Android General] Jitheshwar:
This will not work on Samsung devices. Find ROMs that are made for Samsung devices (which is having same chipset as of yours) then Port using porting guide for Samsung devices.
[Android General] Spry Shanto:
oh.. can you give me some rom link which i can port for my samsung???
[Android General] Jitheshwar:
Use XDA search plus- search for "Samsung sc8830 custom ROM" or "Samsung sc8830". I suggest you to search over Google and XDA whether there is already built ROMs and recoveries for your device.
[Android General] Jitheshwar:
[MENTION=7598239]@ki[/MENTION] why no updates since months
[Android General] anpr22:
As helped by Jiteshwar, I have ported twrp working ...

Now please suggest reliable, daily use, having nice features custom rom for Trio selfie3 T45, device model sxc35_sp7731geaplus_dt, cpu h/w sc8830 , android kitkat 4.4.2 having 512mb ram, 4gb internal storage(usable 1gb only),

Please tell me about the fixes, and should i copy whole /lib or selective files as told..

how to copy all data and apps without going through the pains of setting up and running whole system again without much effort ?

Thank you !
[Android General] mtkmanjaro:
hey aki can you provide a guide to port roms for 9830I my device is samsung j1 ace and i search in xda but i don't found nothing thanks in advance
[Android General] Jitheshwar:
See this thread https://xdaforums.com/android/software/rom-cleanertlite-os-j1-ace-t3585567

Ask that guy for porting method because for Samsung devices the porting method differs from non-samsung. Use XDA search plus/Google for getting info regarding already build/ported ROMs for your device.

Don't search as "Samsung j1 ace" because you'll get less info search with model no. Like "SM-G531H" or something like that.
[Android General] mtkmanjaro:
thanks for reply, but the post is about stock rom slightly modified no custom rom i doubt these guys know something about porting custom rom for samsung devices base on spreadtrum socs due to they never release a port rom for his device, i search on internet but i can't find nothin about porting for 9830i as i know this processor was made only for samsung devices, anyone can help me
[Android General] Jitheshwar:
there are some more Samsung devices having spreadtrum chipset look at the roms of those devices.

i think this guide may work for Samsung to Samsung this means you can port ROM of another Samsung device only having same chipset and I think kernel version may also needs to be same.

For getting basic idea regarding porting read porting guides of all chipsets(spd,mtk and Snapdragon also)
[Android General] mtkmanjaro:
thanks dude i will try, i port before for mtk and Qualcomm so this guide is easy to understand

note i sussefuly ported twrp thanks again
[Android General] Agwarrior:
Proplem of Philz_non_touch_recovery

There's no file in philz_non_touch_recovery its been remove pls give me A link for philz_non_touch_recovery(for flashing zip file only)
[Android General] @ki:
http://www.mediafire.com/download/aluiyy7q318qssx/Philz_Non_Touch_Recovery_advan_s4k_#2.zip#2.zip
[Android General] PaULoRd_BlaZe:
how to fix can't play video and ril bugs in cm12.1 please help!
[Android General] Jitheshwar:
what is your chipset and if you have ported the rom where did you get that. Note that if your port ROM is having bugs you too have all those bugs these bugs will remain until the port rom sources get stable. Look for any patches,fixes,if any, available for the port rom from where you downloaded it.
[Android General] PaULoRd_BlaZe:
my chipset is sc7731c and the rom is from fb ported by hadi k. from sm-g531h, we tried to port it in our device but their is so many bugs like ril,video and rotation and i don't know how to fix it the only known bug in that rom is hotspot they say that it is impossible to fix!
[Android General] Jitheshwar:
I have ported that rom for me everything worked except rotation and hotspot. For fixing rotation there is one flashable zip flash it after flashing ROM. I didn't faced any problem with ril,wifi anyway make sure you have replaced required files from stock to port,see the porting guide available in Advan s4p official group.
[Android General] :
How to fix touchscreen problem guys? Please help
[Android General] Jitheshwar:
What kind of touch screen problem?I mean whether the touch isn't responding at all or touch is working like pointer.

FIX:.

------------If touch is not at all work make sure the port rom has no touch if Port rom itself buggy then obviously you will not able to fix otherwise make sure you have replaced files in /system/lib/hw and /system/lib/modules and /system/lib/libMali.so which core libs and modules for booting custom ROM and in almost all cases will not have touch or graphical issues.

------------If the touch is working but like mouse pointer like white circle then you should add one missing file from stock to port.

add copy file with name "focaltech_ts.idc" from your stock ROM's /system/usr/idc and then place it to the same directory of port ROM.

Note:If you are adding files via root browser or AromaFM then reset the permissions as rw-r-r.

I hope this will be helpful to you.
[Android General] :
Hello . This is my video. http If you watch the end of the video there is a problem with the touch.

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

I think the problem is in the kernel or boot.img. If I quit the kernel of the other device that is flashed to the stock ROM , the touch works incorrectly.

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

My stock ROM not include "focaltech_ts.idc" :(
[Android General] Jitheshwar:
It seems to be some problem with touch calibration ,for this try to replace files in /system/usr/idc folder and for the hardware keys replace this /system/usr/keylayout/Generic.kl .

Have you ported this rom on your own? if yes then try to replace the about files and then make sure you have replaced all the files in ramdisk/lib/modules of boot.img and then compare init.rc of port with stock.

If you have downloaded this ROM from your device's​ specific thread then ask dev for fix(read the thread from which you have downloaded this ROM Devs will provide small fixes and patches for this kind of problem).

If the bug still exists there might be some​ problem with the kernel which is tough to fix work around for this is either compiling kernel with stable sources or using another kernel which has no touch issues.
[Android General] Jitheshwar:
I thought you are using some other device with spreadtrum chipset but for Samsung the file will be different try replacing some other files in /system/usr/idc folder
[Android General] :
Not working dude ;( Touchscreen still laggy.
[Android General] Jitheshwar:
Is that rom meant for your device(then ask Dev for fix/work around) or you have ported it(then port some other rom see whether it has the same bug) or it belongs to predecessor/successor model of your phone(if this the case try changing,you need to port boot img,kernel with your​ device & files in system/lib/modules and also see whether any permission​s relating to touch like multitouch are missing in system/etc/permissions folder)
[Android General] xrempon:
hi, thanks for the tutorial. i'm following the step and successful booting to home screen. but when i'm open camera app , it say "cannot open camera" and "cannot start camera driver". can you help me? :crying:

brand = Mito a82

Android OS = 5.1

Chipset = SC7731c
[Android General] Jitheshwar:
replace system/libs having file names libcamera****.so from stock to Port
[Android General] xrempon:
thank's for the solution. i'm tried replace files in /system/lib that related camera ,but didn't work :confused:
[Android General] Jitheshwar:
make sure you have replaced the files in system/lib/hw .
[Android General] xrempon:
yes, i have replaced camera.8830.so
[Android General] Jitheshwar:
I think there will be another file named camera2.8830.so replace it also change permissions in etc folder relating to camera try replacing each and every lib relating to camera one by one.
[Android General] xrempon:
i have replaced all file that related with cam. but still not work
[Android General] Jitheshwar:
May be you need to modify​ boot.img too
[Android General] xrempon:
can you show me the correct how to edit boot.img for sc7731c?
[Android General] AddyRoxxzZ:
Hello @ki

First of all thanks for your valuable tutorial, I've successfully ported recovery for my device, but Hero S5 ROM doesn't boot up in my device, i got a blank brown screen after that i flashed stock ROM to recover my device.

I followed every step as mention in the threat. Help me to fix this issue.

Thanks in advance.

Device: Micormax Canvas Spark

Chipset: SC7731G
[Android General] Jitheshwar:
sorry I don't know how to do it. I read it somewhere for fixing camera and ril bugs search on XDA/Google you may find some. Have you replaced libtiny**.so. Make sure the port rom has no camera bug try to port another ROM and see whether you getting the same bug.

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

Have replaced the port Rom boot.img with stock ROM boot.img
[Android General] AddyRoxxzZ:
I guess not, i did everything as mentioned and replacing boot.img wasn't there
[Android General] xrempon:
alright, thanks a lot before. maybe my smartphone have special treatment :laugh: . and now i will go back to stock ROM
[Xperia Z5 Compact General] Bobzee:
Hello!

I updated to 7.0 last Friday and the phone has been acting very well, overall.

But I am having some problems with the battery life. In actuality, it can last 3 days in standby, but I feel like the "Phone Idle" is eating WAY too much battery regardless.

The drain when in standby, for example, should be closer to 1% for 7-8 hours, but for me it is closer to 7-8%, almost 1 % drain per hour in a supposedly sleeping state.

Right now, my stats are as follows, after 1 day and 10 hours (with 1 day 3 hours left):

Screen 30% (2h 23m SoT, 677mAh)

Phone Idle 20% (1d 10h, 459mAh)

Google Play Services 11% (radio active 1h 24m, 246mAh)

Cell Standby 10% (radio active 4m 45s, 234 mAh)

Android OS 6%

Android System 5%

... the rest is some apps with negligible usage.

So, this tells me that something is very wrong with Phone idle. It has consumed almost as much as the screen.

I read a lot about this issue and a large number of reports claim that doing a factory reset does not fix the problem. I am scared to do a reset, since Debloater no longer works in Android 7, and I will not be able to deactivate crap like all facebook services and What's New. So, it's a bit of a no-exit situation... I don't think rooting and using custom roms is a good idea for me, as I would like to retain warranty of my device until it expires. I plan to root and modify it after that.

Still, are any of you experiencing this issue since the Nougat update? Any ideas on how to solve it?

So far, suggestions include:

- removing SD card

- turning adaptive brightness OFF

- turning location accuracy to battery-saving mode

- turning Wi-Fi awake ON (only when charging), or OFF

- going to App settings and selecting 'reset all app settings'

- wipe cache partition by holding power and volume up keys (while phone is on) until you feel 3 vibrations

I've already done these things today (except sd cards, no way I am giving that up) so it's early to say if they helped.

Feel free to use this thread even if you just want to share your problem-free battery experience on android 7 with your Sony Z5C. I am curious to see how does a "perfectly fine" z5c unit perform in terms of battery, on Android 7. What is the "real" expected real-life performance?

Thanks for reading. :o
[Xperia Z5 Compact General] --jenana--:
The things you suggest are not gonna change too much.

* Resetting app settings or removing your SD card is not gonna do anything at all.

* The location accuracy can make a little difference (let's say 2% at the end of the day) but the problem with location settings isn't HOW it's gonna look for a location, but HOW MANY TIMES. If you want longer idle, location services should be off (in one or another way) when your phone is sleeping.

In my eyes, with the things you have been doing is not worth the hassle.

** With Nougat, you still have the opportunity to extend your battery life a lot with apps like

Doze Settings Editor

My Android Tools

And you'll have to debloat.

I'm still testing these possibilities. But I just got on Nougat today, and with my initial settings, I broke some functionality I need. (Alarm Clock didn't work in deep sleep and I couldn't install WhatsApp). Maybe I get it working the way I want in the next few days or week, but I guess so.

** Having a kernel that allows you to change governors can also make a huge difference. Governors will give you the opportunity to buy (a lot of) battery life and to reduce heat, but you pay with performance.

** One more thing that can make a huge difference, is performing a clean install. So you need to install Nougat (or whatever ROM you use) on a clean system, and install your apps manually.

"I am curious to see how does a "perfectly fine" z5c unit perform in terms of battery, on Android 7. What is the "real" expected real-life performance?"

-->> With these things done and Doze/MyAndroidTools optimized, your phone shouldn't use more than 2-3% overnight. On an optimized MM (with XPosed/Greenify/Amplify) I had to recharge about 2 times a week. Maybe on Nougat it will be a little bit less because there's no XPosed/Amplify, but it should be possible that your battery life will be about three times as long as you have right now.

** If you want a better understanding about battery life, forget about these stats. You won't learn anything from the stats (like you gave us). Instead you can use an app like Better Battery Stats. Especially in (deep) sleep, knowing as much as possible about wakelocks is quite essential.

By the way, you can't call that a "real" expected thing. Battery life is always a compromise, and balanced with performance. Optimization (in the way I'm speaking about) is that much more than limiting performance/apps/widgets while you use your phone, and turning your phone in a dead object as soon as possible when the screen is off.
[Xperia Z5 Compact General] Bobzee:
Thank you for this response, it's quite elaborate. But I am fully convinced that the Phone Idle issue is not due to ANY of my settings and should not plague a device, even if it is non-rooted. Most of the suggestions you added would require root, or operations that are beyond what I am willing to risk right now. Even the simple root would likely require me to downgrade to 6 and most likely brick my device due to unreliable nature of many of these guides.

I will definitely be trying out the BBS non-root edition as soon as I get home and manage to activate it properly.

But, overall, a stock non-rooted android 7 should not drain as much battery in idle mode. I know that via rooting you can get as close to 0.2% battery drain per hour. But what about no root?

Ultimately, I will root the device at some point when warranty has expired, or is close to, and I will get it to drain extremely slow with xposed and some tweaking. But we shouldn't be required to do this for normal battery life. It's becoming ridiculous at this point.

BTW. Is doing the "Repair" thing from Sony PC Companion equatable to doing a "clean install"? In other words, can I do this without having to actually re-install a rom completely and without rooting the device?
[Xperia Z5 Compact General] --jenana--:
Haha, I'm bad in keeping my stories short. :D

If you're non-rooted, you won't ever get that experience. Not even close. It depends on the apps you're using, but a few messenger-apps (like facebook/fb messenger/whatsapp) + some google apps like maps/calendar/... or weather apps rely heavily on location settings, and they always want to sync or connect with their mothership. To illustrate my point, at a certain point last year I had done some dirty flashes, I had quite some apps and widgets like this installed, but in the end it drained 30% battery overnight. After clean install + debloater it went down to 10% overnight. After heavily tweaking with Amplify/MyAndroidTools/Greenify and so on, it went down to 1% overnight.

Without root, the only thing major thing you can do is: clean install. Almost everything else (with a large enough impact on battery life) is beyond your control. Apparently the choice of developers is to implement smooth and always-up-to-date apps and widget, always ready to serve you the latest news/messages and so on. I agree with you that smartphones these days aren't lean at all. And there are no secret settings that will give you a much better battery life all of a sudden.

I've never used PC Companion. I've no idea what it does or how it works exactly. I don't think it's powerful enough to solve issues with wakelocks.

Literally:

* If you want control over Android, you need to root. Without root: no control whatsoever;

* Clean install = everything out, fresh start. You can't paint your wall without removing your paintings.