yashsingh1/xdaforums huggingface dataset:
[Android General] turnipz:
I really need some help, I've got a phone which can only get to download mode wont shut off, and I've run out of OEM commands since I did not update the cert_timecount. Now I cant get to EDL mode, and dont really understand the instructions to get to EDL mode to pull my partitions.

edit) well 'fastboot --set-active=b', then 'fastboot continue', then turn it off by holding vol down+power, then reboot into recovery by holding up volume+power, then format data(?), then reboot system got me into my system finally at least.
[Android General] heineken78:
SS2 twrp WW1380(Sharp S3) mod backup

ONLY SS2 MODEL WITH OREO AND TWRP

Hi friends,

I gave out again SS2 and made back up of modified ROM of S3 (1380WW).

This ROM includes fixes, tweaks, mods by other users and all drivers of camera from S3(in vendor)

You can try this backup on Oreo unlocked device with TWRP (official, trebled).

Backup includes twrp(boot), system and vendor partitions.

https://drive.google.com/open?id=1vs35baT9WfSOjGwkStO7I0riZCResF3w

U can use it without data wipe on Oreo roms (trebled).

ROM hasn't be tested much, because sharp ist my main phone. So just backup BOOT, FIHCDA, SYSTEM, VENDOR and use this backup.

Note: ril drivers and most from vendor is used from trebled 3.1 rom. So that will not fix network on AICP rom.

To use GooglePay install Magisk.apk, use install option from magisk and tick "recommended" way as on trebled 3.1 rom.

CHeerz.
[Android General] St.Noigel:
Restored your backup. Everything looks great. I`ll test it few days and leave feedback )

P.S. I have no any network issues on AICP with 3.1 treble vendor and boot
[Android General] heineken78:
Me too, that's why I didn't try to fix.
[Android General] os_man:
I get this error, any idea? I have two S2's, first one I unlocked BL without any issue, but the second one can't because of count=0. This error I get with the second phone with locked bootloader. Thank you.

PS : I get this error at the end of flashing, before %100
[Android General] heineken78:
Ignore it
[Android General] babado0kk:
Пытаюсь прошить через qpst выдает ошибку sahara, как ее решить?

Короткий путь делал, пробовал на 3х компах.

Мб быть файл ххх_ufs_xxx660.ddr.elf может в нем проблема так как он для 660 дракона.
[Android General] os_man:
I do ignored of course :) But no twrp or patched boot img for root as you described in rom definition.
[Android General] heineken78:
Cant be, only if phone is updated to Android 8 OTA, you will have to open case to enter 9008 mode.
[Android General] os_man:
https://drive.google.com/open?id=1cp0_z8XfewbqAFeRbqVnSC2uP7kQtfHr , is that right link for the pre-rooted rom ? If yes, rom boots, version is ok, but no twrp or patched boot.img. And trust me, Im very experienced in al these EDL/9008 stuff. androidbrick.com
[Android General] Jhonyx7:
I can not see instructions

Porque cuando le doy al botón "haga clic para mostrar" no puedo ver nada. No se abre la vista con las instrucciones. Y estoy registrado en la web.

Because when I click the "click to show" button I can not see anything. The view is not opened with the instructions. And I'm registered on the web.
[Android General] shurikello:
2 Jhonyx7

Because when I click the "click to show" button I can not see anything. The view is not opened with the instructions. And I'm registered on the web.

change the browser. or do not use adblock or something like that...
[Android General] Jhonyx7:
OK has worked. Forgive my ignorance, but what is OST?
[Android General] sergsinger:
Online Service Tool. Tool which allows you to flash the phone.

Read the post.
[Android General] os_man:
Sorry, it was my fault, I downloaded wrong rom file in the first attempt. Now with the right rom OST hangs up at this screen and at the end again same error and won't go further after twrp screen (after I manually reboot to bootloader again).
[Android General] aingerunn:
[MENTION=1611492]heineken78[/MENTION] I am very happy to know that you work on this phone. I bought it today.

I was passing your ROMs on the Spanish web movilesdualsim of the INFOCUS m810. With your permission.

Now I hope to enjoy the same of this phone. Waiting for me to arrive and start working.

When I know what ROM is coming from, I'll ask how to start. If you have to unlock it, or not.

Edit: I forgot. Bring Spanish in the Languages?
[Android General] traylord:
Hi, Will this work on the SS2 (4/64) CN version to make it WW and have Google Play or is it mandatory to do it thru OST flash?

Thank's
[Android General] heineken78:
Since (may be) I own this device again I will do this.
[Android General] heineken78:
Yes rename downloaded WW rom to same version you have . Ex you have 135F_CN, rename it to 135G_CN..

But you can setup 135E rom with OST from here.
[Android General] traylord:
Thank you very much for your answer, I have a few more questions.

For what I know the CN version being shipped now is 135H_CN. Will this work if the latest WW version available for download is 135F_WW. Can I update to a previos WW version by renaming it?

If I do this I get the WW version with OTA updates, right?

The next thing I should do is unlock the bootloader and if I want to flash custom rom, first flash the twrp recovery, right?

Method 1 to unlock

If I flash it with "OST SS2-135E-WW-open_bl.nb0.zip" all I have to do is boot in fastboot mode and fastboot oem unlock.

Method 2 to unclock

If I install the WW version renaming the letter I should do it thru fastboot getvar product id and then convert serial to md5 hash, flash abl unlock.elf, etc

Is this correct? What method is safer to get the WW version and unlock? Would you recomend to unlock bootloader or just flash WW firmware?

Thanks
[Android General] heineken78:
Yes

may be

it works on locked too. But so far locked bootlader deleting unlocking signature in deviceinfo (if present) So I recommend to backup personal partitions before do it.

Both methodes are good depending what is easier for you. Stock firmware doenst need unlocked bootloader
[Android General] nestul:
I want to know if Spanish language is included too, please.

Thanks
[Android General] MOCHOTRE:
Me too
[Android General] Lovetz:
There are no Spanish language at official WW fw.
[Android General] aingerunn:
magnificent. I'll try it right away
[Android General] ippon:
I noticed another issue. The phone would not let me send pictures taken with the phone with whatsapp. I am able to send pictures I received from other whatsapp users, but nothing from my own phone, or older images taken from previous phone. I've never seen this before with any other device I've used.
[Android General] heineken78:
what you write note version of firmware.

Stock Oreo of Sharp S2 has so many security issues-it blocks many Android operation by selinux, also needed for some programs. That's why I have added manually many new rules to selinux at custom firmware.
[Android General] Karbofo7:
Dear heineken78, after installing your backup for S3 v3.1, the camera takes pictures with care in green tones, that is, any photo turns greenish. This happens both in the native application, and in other applications of the camera.
[Android General] heineken78:
Open vendor\etc\camera\camera_config.xml

everything where you find "s3p" change to "s2p"

Save. Reboot.

That's a fix!

this is the original start of config:

<CameraConfigurationRoot>

<!-- //B2N Rear wide //-->

<CameraModuleConfig>

<CameraId>0</CameraId>

<SensorName>s5k2l7sa_s2p</SensorName>

<ActuatorName>ak7371_s2p</ActuatorName>

<EepromName>s5k2l7sa_s2p_m24c64s</EepromName>

<FlashName>pmic</FlashName>

<ChromatixName>s5k2l7sa_s2p_chromatix</ChromatixName>

<ModesSupported>1</ModesSupported>

<Position>BACK</Position>

<MountAngle>90</MountAngle>

<CSIInfo>

<CSIDCore>1</CSIDCore>

<LaneMask>0x1F</LaneMask>

<LaneAssign>0x4320</LaneAssign>

<ComboMode>0</ComboMode>

</CSIInfo>

<LensInfo>

<FocalLength>4.28</FocalLength>

<FNumber>1.75</FNumber>

<TotalFocusDistance>5.0</TotalFocusDistance>

<HorizontalViewAngle>65.8</HorizontalViewAngle>

<VerticalViewAngle>51.7</VerticalViewAngle>

<MinFocusDistance>0.1</MinFocusDistance>

</LensInfo>

</CameraModuleConfig>

<CameraModuleConfig>

<CameraId>1</CameraId>

<SensorName>s5k4h8_s2p</SensorName>

<EepromName>s5k4h8_s2p_m24c64t</EepromName>

<ChromatixName>s5k4h8_s2p_chromatix</ChromatixName>

<ModesSupported>1</ModesSupported>

<Position>BACK_AUX</Position>

<MountAngle>90</MountAngle>

<CSIInfo>

<CSIDCore>0</CSIDCore>

<LaneMask>0x1f</LaneMask>

<LaneAssign>0x4320</LaneAssign>

<ComboMode>0</ComboMode>

</CSIInfo>

<LensInfo>

<FocalLength>2.51</FocalLength>

<FNumber>2.0</FNumber>

<TotalFocusDistance>1.84</TotalFocusDistance>

<HorizontalViewAngle>71.5</HorizontalViewAngle>

<VerticalViewAngle>56.7</VerticalViewAngle>

<MinFocusDistance>0.51</MinFocusDistance>

</LensInfo>

</CameraModuleConfig>

<CameraModuleConfig>

<CameraId>2</CameraId>

<SensorName>s5k3h7_s2p</SensorName>

<EepromName>s5k3h7_s2p_chicony</EepromName>

<ChromatixName>s5k3h7_s2p_chromatix</ChromatixName>

<ModesSupported>1</ModesSupported>

<Position>FRONT</Position>

<MountAngle>270</MountAngle>

<CSIInfo>

<CSIDCore>2</CSIDCore>

<LaneMask>0x1F</LaneMask>

<LaneAssign>0x4320</LaneAssign>

<ComboMode>0</ComboMode>

</CSIInfo>

<LensInfo>

<FocalLength>3.51</FocalLength>

<FNumber>2.0</FNumber>

<TotalFocusDistance>0.41</TotalFocusDistance>

<HorizontalViewAngle>65.4</HorizontalViewAngle>

<VerticalViewAngle>51.5</VerticalViewAngle>

<MinFocusDistance>0.3</MinFocusDistance>

</LensInfo>

</CameraModuleConfig>
[Android General] Karbofo7:
Many thanks)
[Android General] heineken78:
Note this user on 4pda https://4pda.ru/forum/index.php?showuser=8108544

Is distributing ntool
[Android General] ippon:
my bootloader is locked on 2080WW. what is the best way to unlock the bootloader?

man, I miss the days when it was super easy to root phones and not worry about bootloader. it used to be so easy to flash custom roms. I decided to avoid flashing custom rom this time, because the steps outlined did not seem clear. we need a dedicated forum for this phone. way too many topics discussed all under one thread...
[Android General] heineken78:
You can write me pm about it
[Android General] xdaubor:
First post here so please forgive my ignorance.

I have question about my SS2 and I don't know where I can post it in non-development section of the xda forum.

I got my SS2 in June and I immediately loaded the WW version of rom 7.1. In July, it was upgraded automatically to WW version of 8.0. In late July, the phone became unresponsive and it took long time to start up (stayed with the Sharp logo for long time). It became so unresponsive, I decided to do a factory reset. After reset, the problem was still there and I did a couple of factory reset without resolving the problem.

I then followed the instruction of this forum unlocking the bootloader (using unlockcode.bin) and tried to flash treble. The OST flash took long time and failed eventually. I did that a few times without any success (failed after 2-3 hours). The phone was still usable after the failure but wifi was not working.

I tried flashing SS2-135E-WW-open_bl.nb0 using OST last week and it took even longer time. However, this time it didn't fail but was stuck at "Flashing partition "system_a" (system.img)..." at 41960 sec. I finally clicked the "x" to end out of it.

The phone was able to start up and I checked the OS was back to 135E. Wifi was working and the phone was usable. I decided not to do anything because a slow phone is better than a dead phone after all.

I have become very patient with my phone now because almost every app gives me the message "... is not responding. Wait or Close". I always click Wait and put the phone down until I can use it again.

If anyone has any idea what I can do to fix the problem, please let me know?

Thanks and any idea will be appreciated.
[Android General] Lovetz:
Before flash anything in OST (if you have Oreo based room) you must flash old bootloader it TWRP! That's why you can't flash in OST and got this error.
[Android General] ss.toedjoeh:
I'm trying to downgrade my unlocked bootloader ss2 from oreo to nougat, but kinda confused since with ost portable I've got blank/no menu ?

Here's the screenshot from the ost portable, could someone tell me what's wrong with the installation?

EDIT : I use another pc, and now it's work
[Android General] adamuadamu:
I made a TWRP flashable zip with updated camera_config.xml in order to get rid of greenish tones after the update:

camera_config.xml with s2 proper values given by heineken78: https://www.dropbox.com/s/jud991nlqc3dtus/cameraxmls2.zip?dl=0

camera_config.xml with s3 values (greenish) in case to revert in case anything goes wrong: https://www.dropbox.com/s/69454zwslwirwfw/cameraxmls3.zip?dl=0

created with ZipME app
[Android General] xdaubor:
I did that if you're talking about Bootloader_oldservice.zip.
[Android General] aingerunn:
Thank you. I have used it and it works.
[Android General] adamuadamu:
glad to see you (and others) like it

As I own the phone for 72 hours now, I still have some questions regarding usage/flashing:

- LED notification light - how many colors are available? Tried Light Manager and could only achieve red and green. And maybe is there a hidden setting somewhere in the system (trebled), so that we won't have to use third-party apps for LED notifications?

- Is there a google camera modded app for the ss2 that uses all google's oreo benefits? currently I'm using a version 5.1.018 designed for nougat - works nicely, but I believe some of the advanced options that I saw on my former xiaomi mi5s are missing

- what exactly am I supposed to do in order to install aicp? As far I understand, when on trebled ROM, go to TWRP, factory reset, install 'system-arm64-ab-vanilla-nosu.img' to system, install gapps, magisk and reboot? Is that correct?
[Android General] aingerunn:
for the moment I am also satisfied. I've been alone for 24 hours Camera I use is and I'm doing very well, try it and tell me https://drive.google.com/file/d/19uVVowvYbQuidtuLExe1hUWBJmOPC32B/view . To install AICP is as you say, but after installing gapps you have to do wipe.
[Android General] Darkside1984:
[MENTION=5169444]AndroPlus[/MENTION] I've seen an AICP update today. What's new? Do you recommend to install it?
[Android General] AndroPlus:
Currently I am testing changes for Mi Pad 4 and there is no changes for S2.

If there is my GSI specific change, I'll write it to https://treble.andro.plus/
[Android General] djs521007:
How to Boot Into twrp Recovery?

combo key with usb line or not?

how can I login the recovery model
[Android General] Darkside1984:
[MENTION=5169444]AndroPlus[/MENTION] Thanks for the answer.

By the way, does exist some kind of incompatibility with ViperFX or Dolby Magisk mods? I can't make to work any of them in AICP.

I never had problems with them in previous Heineken 3.1 rom...
[Android General] longu:
Is it possible to have [MENTION=1611492]heineken78[/MENTION]'s Treble 3.1 ROM without root and with Google Pay working? Do I understand it properly that in order to achieve that you have to:

1. Unlock bootloader

2. Install 3.1 Treble rom

3. Don't install magisk

4. Lock bootloader again

Is that correct?

One more question: is it possible to enable finger print button gestures (go back, home screen, etc) in this rom? I like this feature
[Android General] turnipz:
Anyone have very poor signal with this phone? I was not getting connected to a cellular network and figured out thats what it is, I have 0 bars with this phone unless I'm right out in the open.
[Android General] Gee-Bee:
On [MENTION=5169444]AndroPlus[/MENTION] AICP ROM. Everything works great including Google Pay.

One thing missing is stock camera. Any way to extract it from [MENTION=1611492]heineken78[/MENTION] v3.1 to install it in AICP?
[Android General] AndroPlus:
Maybe ViperFX doesn't support treble GSI. Please ask developer to fix it.
[Android General] Lovetz:
Handsfree don't work . Only as earphones.

Led don't work at all.

Google Pay work only with props module for magisk.

Magisk work special version only.
[Android General] Darkside1984:
What version is this? I've a constant problem to trying Viper4Android module...
[Android General] Lovetz:
I followed this manual: https://xdaforums.com/project-trebl...g-safetynet-treble-roms-t3816146/post77106003
[Android General] salihcei:
Thanks for the backup. I trying like 24 hours. Everyting is a fine. Just battery discharges quickly and phone is getting hot.
[Android General] czarodziej:
Thank You! Worth installing over Treble 3.1 with default 8.0 rom and updates?
[Android General] Darkside1984:
Thanks. Have you installed any audio mod like Viper or Dolby?

Enviado desde mi FS8032 mediante Tapatalk
[Android General] Nskmus:
Hey guys, why on 3.1 OS NFC a long turns on (5-7sec.)?
[Android General] adamuadamu:
definetely: YES

btw. a bunch of questions regarding trebled ROM:

- is it possible to change icon / text size on status bar? change clock position on statusbar

- add toggles via 3rd party apps - tried some 'quick settings' / 'quick tiles' apps but new toggles don't appear

- display next alarm on lockscreen / add own widget to lockscreen and/or add next alarm to be displayed on expanded statusbar/notifications?

- enable mode that ignores notch and expands to maximum height available

- how to change the language/locale automatically and make it persistent? more locale and similar apps work, but changes are not kept over reboot. Tried to change it in build.prop (en_EN to pl_PL) but no go. I also see that Polish translation to system is OK, but why isn't it available via android settings? Is there a way to make it visible via system settings?
[Android General] Lovetz:
No. I don`t like any audio mod. Poweramp audio player is the best "mod")
[Android General] czarodziej:
It's a pity that Poweramp can't start with Treble default ROM. I tried with 3.1 default ROM, the same with the newest heinekens backup I restored :(
[Android General] Lovetz:
What version do you try? v3 build 790.
[Android General] mc_gee:
Is there any chance to get Snapchat working on trebled? Or it is necessary to be on official ROM?

At the moment I have both with locked and unlocked bootloader, but without root. App worked fine on official 7.1.1
[Android General] hlopak:
[MENTION=1611492]heineken78[/MENTION] or [MENTION=5169444]AndroPlus[/MENTION] what about LED indicator? is there any chance to be fixed?
[Android General] mc_gee:
HELP, I've bricked my unit today :-C

Long story short - I've relocked bootloader on Trebled ROM (with TWRP still installed ...yeah, I know).

Now it is just stuck on boot screen [SHARP / powered by android] (waited for 3hrs).

I can enter downoad mode, but that is pretty much it.

fastboot oem device-info
...
(bootloader) Verity mode: true
(bootloader) Device unlocked: false
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: true
OKAY [ 0.031s]
finished. total time: 0.031s

I've even generated .bin in nTool ...no luck:

fastboot flash unlock key.bin
target reported max download size of 536870912 bytes
sending 'unlock' (0 KB)...
OKAY [ 0.010s]
writing 'unlock'...
FAILED (remote: Fail to verify)
finished. total time: 0.027s

Changing slot from A to B didn't help either... ANY ideas?

[UPDATE] somehow I have managed to start with TWRP - to scared to reboot

what can I do from here?

adb sideload isn't starting unfortunatelly

[UPDATE2] after choosing Wipe=>Format data, trebled ROM has booted, but I cannot get past languague screen (got looped)

I'm gonna try to install SS2-Bootloader_old_service.zip from SD and revert to 7.1.1 via OST

[UPDATE3] Plan has worked, it's alive :)
[Android General] heineken78:
You havent enabled OEM unlocking in Android.

Now you can only use Ntool (thieft tool) to pay credits to b*tch who made it.

and flash this file https://drive.google.com/file/d/12L8Nf4fltc6_EIK9r4IrpomZFJnZqbmJ/view
[Android General] longu:
Hi Heineken,

So in order to relock bootloader with your rom all you have to do is to enable OEM unlocking in Developer options and then

fastboot oem lock?

Do you know if Google Pay will work after that operation?

I know that Google Pay works after installing magisk, but I can't have device rooted due to corporate restrictions.

Regards
[Android General] heineken78:
If you have unlocked bootloader- follow instructions from first page.

If you lock bootloader every custom rom will not work with Google Pay

Also 2100 and 2120 , that you will find in nbx format.

Only official ROMs & locked bootloader will let you pass googlepay protection -Safetynet without root.
[Android General] longu:
Thanks for your reply. I'm aware that Google Pay won't work with unlocked bootloader, that's why I asked if it's possible to relock it when you have Treble 3.1 installed.

I just want to make sure if it's possible to avoid bricking my device.

Regards
[Android General] heineken78:
Read how you can use Google pay with magisk at trebled 3.1 post. You don't need to lock bootloader. Just do few steps.
[Android General] longu:
Yeah, I know that. I already did that some time ago and I confirm it's working. But as I stated earlier: I can't use rooted phone due to my company restrictions. I'm using my phone also for business purposes and I have to install Maas360, which detects rooted devices (also tried to fool it with some Xposed module and few other methods, bit without success).

Because of that I had to get back to stock, but I really liked your Treble 3.1 and I would like to get back to it, that's why I wonder how to achieve it.

So to sum up: do you think I'll succeed when I:

1. Unlock bootloader once again

2. Install Treble 3.1

3. Don't install magisk

4. Lock bootloader again

This way I would have non-rooted device, so Maas360 will work and have Google Pay working?

Regards

EDIT: I've just read the message your quoted once again and the problem with not working Google Pay is not unlocked bootloader, but the fact that Oreo for S2 was not certified, so it won't work, right?
[Android General] heineken78:
The only thing is to try to hide Maas in magisk or look for workaround.

Or Install stock boot.img from 2080WW or Oreo CN instead of twrp- cos twrp is premagisked
[Android General] longu:
Also tried this. See my posts in this thread:

https://xdaforums.com/showthread.php?p=77316517#post77316517

https://xdaforums.com/showthread.php?p=77319608#post77319608

I also tried to Google for the solution how to fool Maas360, but with the new version of the software nothing seems to work. I managed to find some tricks for very old version only.

Does stock boot.img from 2080WW work with Treble 3.1? Is there any link where I can download it from? Oh how can I extract it from the rom?

Regards
[Android General] SHARPPP:
[MENTION=1611492]heineken78[/MENTION]

Are not the new ww1380 v3 treble upgrades for the SAT model?
[Android General] Darkside1984:
I'm having a weird bug for several days. In-call voice sounds too loud. Even lowering the volume, the sound seems to come from inside the phone and it's heard when I'm having a conversation outside.

Any way to change the audio settings in any system or vendor file? (mixer_path.xml and others). I'm on [MENTION=1611492]heineken78[/MENTION] treble rom.

Thanks! :)
[Android General] aingerunn:
[MENTION=1611492]heineken78[/MENTION] do you know if the spectrum apk is compatible with your latest copy of rom? I would like to make adjustments and everything I can in dark
[Android General] channy1210:
Hi, I upgraded to the official Android Oreo 2080WW rom without unlocking my bootloader. Is there a way to get GCAM to work or do I need to unlock my bootloader. Thanks
[Android General] longu:
What is Smart RoboS?

Regards
[Android General] Lovetz:
Nothing interesting. Weather widget and reminder that it's time to sleep.

---------- Post added at 05:41 PM ---------- Previous post was at 05:41 PM ----------

You must unlock bootloader
[Android General] longu:
Are you sure about it? I can see there a separate settings menu dedicated for this feature (to enable/disable and RoboS health reminding)

Regards
[Android General] mc_gee:
Just some quick google result:
[Android General] Lovetz:
This is all just words and nothing more.