yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Q&A, Help & Troubleshooting] blackdaw:
Hello!

First of all, I'm not a native speaker so let me know if there is something that is not clearly stated / confusing.

I got a little problem with my phone and was unable to find a solution to my problem in this forum or anywhere else so I just registered moments ago :)

My phone: Samsung Galaxy S2 GT-i9100, running freshly flashed stock ROM (android 4.1.2 , stock recovery)

*HISTORY*

I tried to flash a custom recovery and after soft-bricking it I flashed a "stock ROM" from Samsung which I found on the internet and everything works perfectly again.

However, this shouldn't be of any relevancy to the following problem(s).

*WHAT I WANT*

I want to install the latest snapshot build of Cyanogenmod 12.1 (I would choose CM13 but there are only nightly builds and I don't want that).

As I'm new to all of this I followed manuals which told me to install the custom recovery "TWRP".

To do so I followed this manual: https: //twrp.me/devices/samsunggalaxys2i9100. html

and used "twrp-3.0.2-1-i9100.img"

*THE PROBLEMS*

After Heimdall tells me that everything was successfully flashed (noreboot is set) I turned the phone off and restarted it straight to recovery mode.

Instead of booting the TWRP custom recovery which I just flashed the android stock recovery was booted.

QUESTION 1: Does anyone have an idea why that happens?

As far as I know there is just a 'vestigial' recovery partition on the i9100.

Apparently 'isorec' offers a way to make it available for my custom recovery so that TWRP does not get overwritten by the recovery

which is part of the CyanogenMod (which I'm going to install later on). Is that correct?

QUESTION 2: Is there anything I need to do to make isorec work which is not covered by the manual I use?

Apparently the system partition is too small for CyanogenMod13 + GoogleApps (but I want to use both later on).

QUESTION3: How can I repartition, how much space will I need and how do I do it? Do I have to do it before I flash recovery or before I flash the CM12.1 ROM?

So far I found several really unspecific tutorials and now I'm afraid to brick the phone.

Looking forward to any advice, thanks a lot! :)

blackdaw
[Galaxy S II Q&A, Help & Troubleshooting] noppy22:
Hi [MENTION=7604110]blackdaw[/MENTION]

I'll explain what went wrong and how to do what you want...

1. The TWRP 3.0.2-1.img is a isorec recovery. It won't boot unless you have an isorec-enabled kernel. If the kernel you have is not, then the recovery that is bundled with the kernel is booted instead(ie. the old style monolithic kernel/recovery in the kernel partition). So you need a newer kernel(which means a newer rom that runs with a isorec enabled kernel). Until you have that don't worry, we'll get to that.

2. Re-partitioning. You will eventually need to re-pit, as the newer roms(android 6+) often need a bigger system size even if you don't use gapps. 1GB should be ample. Here is a good guide for updating to MM roms, but also has links for re-partitioning. Take your time and study the different ways to re-pit, but personally I would just re-pit before flashing any roms, then it's done. I use odin(windows) and re-pit at the same time as installing a recovery using this method. As I said there are other ways....

3. What I would do:

Odin re-pit method

*I use gustavos kernel to flash with odin at the same time as the .pit file. Some .tar kernels don't work(Idon't know why)

Once you are in the TWRP/CWM recovery, do your backups/wipes and flash the rom and gapps(if you want) and TWRP 3.0.2-1.img, then reboot.

(No yellow triangle method)

download a kitkat compatible kernel such as the one I've attached

find the correct philz kernel for your stock rom from here. It needs to be in .zip format. Flash the kernel in the stock(3e) recovery, then reboot to recovery. This is all you need to flash older custom roms(you will be rooted and could stay on stock if you wanted but the recovery is obsolete for kitkat and above)

from the new philz/CWM recovery, flash the TWRP kernel I attached then reboot straight to recovery once again. (This kernel won't boot the rom; you will end up with a bootloop if you try. You only need the newer recovery)

now from this TWRP 2.8.7.0, flash the TWRP 3.0.2-1.img just to make sure you have that recovery installed to the recovery partition, and CM12.1(*note below) and gapps(if you want).

use Lanchons re-pitting tool to re-partition

Install diskinfo app from the store to check your partition sizes and if you want an easy way to see free space etc.

Note: I would strongly recommend you use the last nightly or newer unofficial build of CM12.1 if you are set on that rom. There are several major fixes(including the implementation of isorec) that are not included in the last official snapshot build. I've uploaded the last nightly here

I hope I've covered everything. Happy flashing
[Galaxy S II Q&A, Help & Troubleshooting] blackdaw:
Hello noppy22,

thank you so much for your reply! I literally spent days reading all sorts of stuff so I would know and understand all alternatives and not brick my phone. However, I didn’t succeed so far, I’m stuck with the first step where I am supposed flash the philz kernel as preparation for flashing the TWRP stock kernel (which you attached).

So far I had about 15 different attempts with different methods but I try to remember what I did and what went wrong:

First I tried to repartition and flash the philz kernel

(versions “philz_touch_6.07.9-i9100.tar.md5” and “philz_touch_6.05.6-i9100.tar.md5”)

at the same time, following the manual you linked under “this method”.

Here is the log of what happens:

<ID:0/004> Added!!

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> philz_touch_6.07.9-i9100.tar.md5 is valid.

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/004> Odin v.3 engine (ID:4)..

<ID:0/004> File analysis..

<ID:0/004> SetupConnection..

<ID:0/004> Initialzation..

<ID:0/004> Set PIT file..

<ID:0/004> DO NOT TURN OFF TARGET!!

<ID:0/004> Get PIT for mapping..

<ID:0/004> Firmware update start..

<ID:0/004> recovery.img

<ID:0/004> NAND Write Start!!

It was stuck at “NAND Write Start!!”. After a long, long time I just pulled the cable.

Afterwards I booted into recovery and tried flashing zip files of the same philz kernels.

Here I encountered an error looking something like this: “ This package is for "9100, …, …" devices; this is a ‘’ “

Instead it should say “ this is a ‘9100’ “ but the space between the ‘ ‘ is just empty, it doesn’t seem to recognize my device.

Others have this problem too: http://xdaforums.com/showthread.php?t=2602107

Next thing I tried was the manual in cyanogen wiki:

(https:// wiki.cyanogenmod.org /w/Install_CM_for_i9100 )

Before the softbrick (as mentioned in first post under ‘history’) this enabled me to use CWM recovery.

Now that I tried it again it does not work any more, saying something like “no kernel partition detected”.

I thought this problem was caused by the new partitioning so I used the repart option in odin together with stock PIT-file. No success.

Now I ran out of options, I tried everything that came to my mind.

Any idea how to fix this? Try fifferent Kernel? I was not brave enough to pick one on my own.

Btw, after all this messing around I’m stuck in bootloop but can still reach Download Mode and Stock recovery.

If you need more detailed information/logs I'll try to reproduce the errors.

Thank you so much, I'm quite desperate! :eek:

All the best, blackdaw
[Galaxy S II Q&A, Help & Troubleshooting] noppy22:
Hi [MENTION=7604110]blackdaw[/MENTION]

I realise reading your post I was a little unclear on a couple of points. Sorry about that. I'll edit my post above to make it clearer for anyone needing the same help.

All you need to do is flash this kernel I've attached, in odin. Just untick reboot device and when you get a pass, turn off the device and boot into recovery. You will get a bootloop if you try to boot your rom. Before you do this, make sure you have your rom and gapps(if you want them) ready to flash from this new recovery.

Alternatively find the stock rom from sammobile.com and flash the .tar.md5 file from odin and start again. This is usually my goto step if I've messed anything up.

The two points I didn't explain very well were to use philz kernel in .zip format to flash from stock recovery before re-pitting, and I didn't explain when to re-partition. Again sorry about that.

EDIT: I've edited my first post. Hopefully it explains thing a bit better. Let me know how you go
[Galaxy S II Q&A, Help & Troubleshooting] blackdaw:
Hi [MENTION=6418283]noppy22[/MENTION],

it works, thank you so much! :)

So here is what I did in the end:

1. First I followed gsstudios guide to Increase system partition size and used all the software he attached.

The Samsung drivers were already installed so I launched Odin 3.07, loaded the "I9100_1GB-System_4GB-Data_512MB-Preload.pit" in the pit file section, checked "repartition", unchecked "reboot", loaded the "AOSP-LP-Kernel+_26-07-2015_TWRP-2.8.7.0.tar" (which you attached in your last post) in the PDA section and hit start. It took a while but in the end the odin log said something like "1succesfull / 0 unsuccessful"

2. After turning the phone off I rebooting to recovery mode which was now TWRP 2.8.7.0. Just to have the latest version I wanted to flash TWRP 3.0.2-1 but I didn't work because the device was "unable to mount emmc".

However, I justed flashed "cm-12.1-20160203-NIGHTLY-i9100" which you linked to in your first post and rebooted to system. TA DA! It worked!

There was still a problem with the storage. The now 4GB large Data partition and the 32GB external SD-Card were visible but not the 9GB internal SD-Card (UMS) wasn't. After rebooting to recovery to fix the problem a little surprise awaited me: TWRP version 3.0.2 was displayed, even though the previous update pretended to have failed. Well, I can't complain. Wiping the Data partition resolved the problem so android could successfully mount it.

End of story.

Now that everything is working, how can I get updates to the latest CM version? What really puzzles me is that they deleted the latest nightlys of CM12.1 and only left CM13 nightlys on the official CM download page.

Where did you get the CM12.1 nightly version you uploaded?

Is it safe to just do and OTA update?

I read in that one thread that OTA update is not safe for CM13 so if I find a reason to flash it I'll do it via recovery.

Thanks again!

All the best,

blackdaw
[Galaxy S II Q&A, Help & Troubleshooting] noppy22:
Hi [MENTION=7604110]blackdaw[/MENTION],

I'm glad you got it working! The step you missed straight after the re-partition was formatting the new partitions from recovery. Especially sdcard0: without formatting sdcard0, the system will normally report that as corrupted or unable to read.

The 3.0.2 TWRP only booted after you had flashed the isorec enabled kernel(that is, by flashing CM12.1) The older kernel you used re-pitting wasn't isorec enabled, and so it used its own bundled TWRP 2.8.7 recovery. This was over-written by the kernel in CM12.1 when you flashed it......TWRP 3.0.2-1 will now work whenever you have isorec enabled kernel/rom and you don't need to flash it again; it will survive any normal wipes or flashes you make as it resides in the recovery partition.

Don't use OTA when you want to upgrade to CM13. You will need to do a full wipe and install with recovery.

The CM12.1 I still had on my computer from when it was on the CM page. They normally wipe older builds and keep newer ones for space I imagine. They will keep "snapshot" builds a lot longer, but CM12.1 never got a final snapshot, and we've never got a snapshot CM13 build despite being mostly stable depending on when they introduce new features/commits. Check on posts in the official CM13 thread for more info on bugs and which versions are more bug-free.

Good luck
[Galaxy S II Q&A, Help & Troubleshooting] moreamits:
Changing kernel sorts all issues

Changing kernel sorts all issues, thanks you for your help. :good:
[HTC 10 Questions & Answers] Frunch:
This is my first post here, so please bear with me if I'm in the wrong forum or if this question doesn't belong here.

I got my HTC10 a few months ago and decided to try rooting it. It was my first time rooting a phone, and it took lots of research and following guides to make it happen. Anyway, i successfully rooted my phone, and installed LeeDroid's custom ROM. I've been very happy with it. I just realized earlier today that i haven't been updating the ROM, though! I downloaded the latest update .zip, but have no idea how I'm supposed to perform the update. I'm quite a noob at this stuff, and hope someone has the patience to help me pull this off.

Help, please! :D

Trevor
[HTC 10 Questions & Answers] xunholyx:
Boot to recovery, tap install, then find the ROM download and swipe the bar right to flash
[HTC 10 Questions & Answers] SacredDeviL666:
apart from what the above is mentioned you could also try reading through Lee's thread if you are stuck somewhere while updating...

latest nightly for lee's would be r124
[HTC 10 Questions & Answers] Frunch:
Thanks for the responses! Looks like it's easier than i suspected. I'll check out Lee's thread for more info too.

Thanks again!
[HTC 10 Questions & Answers] SacredDeviL666:
also you could download the standalone nightly zip from there and flash it directly from twrp...

r124 is the latest nightly zip

https://www.androidfilehost.com/?fid=24591000424948510 (mine)

or

http://xdaforums.com/showpost.php?p=67824074&postcount=6471 (sardroid's upload)
[Motorola Droid Bionic] ZVNexus:
So I tried flashing the Resurrection build for the Bionic, and it failed in Safestrap. Phone just competly shut off and refuses to power back on. I can plug the phone directly into the wall, without a battery in the phone and I can get into AP Flash, but it says battery too low, cannot program. This is of course, without battery so that would make sense. But even when I plug the battery back in, it comes up with a Battery symbol with a question mark. I tried 3 different batterys, one that I just bought, and they all had the same problem. What should I do?
[Motorola Droid Bionic] ahmadaamer6:
Buy a Motorola Fastboot Cable from Amazon and flash the phone with RSD Lite. Then, charge the phone like normal with any of the batteries you bought.
[G 2014 Q&A, Help & Troubleshooting] aditya214:
recently I flashed an incompatible kernel to my moto g 2014, it then messed up my phone badly, I was able to recover the phone to working state,only to find that the Wifi MAC address has been changed to 02:00:00 (something like that).

which I believe is is not right ,can anyone please suggest me some ideas to correct this issue and get wifi working up again?Thanks in advance.:D

I think i messed up mt EFS partition anyway of reverting that change
[G 2014 Q&A, Help & Troubleshooting] techlover93:
i guess u should restore your phone to stock rom
[G 2014 Q&A, Help & Troubleshooting] aditya214:
thanks for the reply I appreciate it.

in the system/pds/wifi, it is empty so is the bt folder

though I am able to use Bluetooth and Cell networks.

any help with this mate
[G 2014 Q&A, Help & Troubleshooting] techlover93:
try restoring to stock firmwire i guess it should work.. atlst worth a try
[LG G5 Questions & Answers] Alttu:
Well hello!

Is it really that no one has made twrp flashable stock roms for H850, except 10c? :confused:

Would someone be so kind and make a stock rooted twrp flashable rom from 10d? Or is there even newer available.

I would do it my self i knew how..

I know that i could use LGUP, but i am currently without a computer..

And i know that i am not alone with this issue!
[LG G5 Questions & Answers] misteurz:
I need that too.

If someone could do this for the community....

Envoyé de mon LG-H850 en utilisant Tapatalk
[LG G5 Questions & Answers] nchantmnt:
Fluence HD rom (without patch) is almost stock. Why dont you use this one?

Gesendet von meinem LG-H850 mit Tapatalk
[LG G5 Questions & Answers] misteurz:
Because I would have to wipe everything and I don't want that

Envoyé de mon LG-H850 en utilisant Tapatalk
[LG G5 Questions & Answers] Alttu:
And it does not include modem and other partitions..
[Nexus 5X Q&A, Help & Troubleshooting] AbanadonedFace:
I have DoubleTwist (for syncing to my PC) and BlackPlayer (for actually playing music) installed and would like to set BlackPlayer as my default music player. However, whenever I go to Apps > Configure Apps > Default apps, the only four lines I see are:

Browser App: Chrome

Phone App: Phone

SMS App: Textra

Could be a side effect of the new Marshmallow philosophy of "only ask for something (e.g. permissions) when needed, as there's no option to create a new default.

But I even opened an mp3 file from my downloads folder, got the prompt to select a music player, checked off "BlackPlayer" and "always" instead of "just once", and the Default Apps screen didn't change. Also, when I try to open a file manually, BlackPlayer says "Error loading track!" - though this may be a separate issue.

This is a problem, because I cannot start music playback with the screen locked most of the time (sometimes it works, but usually not) using my aux cord, which has inline volume and playback controls. If I try to use OK Google to play music, it says "you don't have a default app selected for playing music, please choose one on the screen at your convenience". But when I open the screen, there's no list of options, and if I say "play music" again it just brings up a search box showing search results for the Play Music app.

This is really starting to get on my nerves that I can't use the cord I bought with controls without first opening my phone and starting music playback manually. Anyone know how to force Marshmallow to automatically play from a specific app using controls?
[XDA Assist] Cyborgjones12:
Hello guys im new here and here is my problem i have a sgs4 sc-04e docomo i was in android 4.2 but last few days i ugraded it on android 5.0.1 with odin tool. but when i do that i see 2 dialer app the docomo dialer and the samsung dialer the samsung dialer app crash everytime i try to use it only the docomo dialer work and i cant delete it. it really not good :crying: i dont know what to do right now i also trid cleaning cache still not working please help and sorry for my english :(
[Xiaomi Redmi 3 Questions & Answers] darwin_kristi:
Does anyone know how to fix this bug? Applications like call master pro and extreme call blocker (stealth) won't open after dialing the code. I tried using different miui roms (lollipop). Thanks
[Xiaomi Redmi 3 Questions & Answers] antr34:
why did you use other call block app when miui already has the feature in the 1st place
[Xiaomi Redmi 3 Questions & Answers] darwin_kristi:
I'm just giving an example. I tried other applications that can be open by dialing the pin in the dialpad. they're not working.
[Xiaomi Redmi 3 Questions & Answers] darwin_kristi:
I finally found the solution.. :o
[XDA Assist] Garrycr7:
Plz...tell me is the bootloader also present in htc desire 620g.and how to unlock it
[ZenFone 2 Android Development] A_Bunny:
Reserved
[ZenFone 2 Android Development] A_Bunny:
Reserved as well
[ZenFone 2 Android Development] mudinhu:
access denied
[ZenFone 2 Android Development] thallyswb:
https://www.androidfilehost.com/?w=files&flid=82576
[ZenFone 2 Android Development] Russiamen:
Good work:o

Waiting Z008)
[ZenFone 2 Android Development] _WiNNa_:
Just to make sure: This one is really based on AOSP? So Ingress is working with this ROM?
[ZenFone 2 Android Development] krasCGQ:
DU is AOSP-based, but don't expect that Ingress will work.
[ZenFone 2 Android Development] A_Bunny:
A build for the Z008 should be up today or tomorrow.
[ZenFone 2 Android Development] A_Bunny:
Download links have been fixed in the OP.

Or you could use the link that [MENTION=4955319]thallyswb[/MENTION] mentioned. (there the same)
[ZenFone 2 Android Development] A_Bunny:
Build for the Z008 model is now up on AndroidFileHost.

Link is here: https://www.androidfilehost.com/?w=files&flid=82582 and in the description.
[ZenFone 2 Android Development] A_Bunny:
Build for the Z008 model is now up.

Link is here: https://www.androidfilehost.com/?w=files&flid=82582 and in the description.
[ZenFone 2 Android Development] kjinx01:
Gud job...
[ZenFone 2 Android Development] saldymhmd:
Installed on Z008 clean install, have problem with picture orientation taken on Camera App

Edit: It's just fine after i formatted /system partition :eek:
[ZenFone 2 Android Development] khaled7mailru:
Hello thanks for this rom,anyone having problems with sdcard??
[ZenFone 2 Android Development] giveme13s:
Congrats! [MENTION=5504962]A_Bunny[/MENTION], good job
[ZenFone 2 Android Development] conduisant:
just flashed on Z00A : after 2 reboot i can't get any network through SIM CARD ?

EDIT : working now after selecting same SIM under setting
[ZenFone 2 Android Development] Nital:
So guys after a week of usage I can confirm the signal drop issue is now a past issue.

Rom is fine and smooth. I'd just put a note on battery life that seems low. To solve that I'd like to enable USB fast charge but that doesn't seem possible on that rom build. Anyone knows differently?

Cheers
[ZenFone 2 Android Development] A_Bunny:
For USB fast charging you need the Asus fast charger... Almost anything else won't work.
[ZenFone 2 Android Development] A_Bunny:
Probably not. Heating can be caused by many things such as apps running in the background, playing heavy games, etc. And it shouldn't be a major problem anyhow.
[ZenFone 2 Android Development] A_Bunny:
When it comes out as there are no etas as of yet.
[ZenFone 2 Android Development] Nital:
The Asus charger is not for USB charge but for normal charge (as I call it). By USB charge I mean charging from a computer.

Atm the USB charge is limited to 500mAh,while with a normal charger from power socket it can be 1000mAh (and 2300 mAh from Asus charger). I know there are roms or kernels that allow to increase USB charge to 1000mAh, and I was wondering if this DU build was or if it was planned...
[ZenFone 2 Android Development] A_Bunny:
Oh sorry about that. Due to the fact that it's a kernel feature it won't be added to DU. The only way you can get that feature would be to use a kernel with it.
[ZenFone 2 Android Development] Nital:
OK no problem. That's good to know :)
[ZenFone 2 Android Development] sanjay tutiki:
I'm using asus camera app and from last few days after taking picture,it turns green and i can't use camera further. Battery drains like crazy when this happens and the only solution is reboot and uninstall the app.Any one facing this issue?
[ZenFone 2 Android Development] polrus:
I think all non stock roms suffer this

Wysłane z mojego ASUS_Z00A przy użyciu Tapatalka
[ZenFone 2 Android Development] sanjay tutiki:
but in the last builds there was no such problem and also supersu keeps asking for binary update though it's on latest build v2.78
[ZenFone 2 Android Development] polrus:
In the one from 06.08 i had the camera issue too

Wysłane z mojego ASUS_Z00A przy użyciu Tapatalka
[ZenFone 2 Android Development] sanjay tutiki:
I'm on the 06.08 version now. I'll flash 25.08 build tomorrow..I hope this issue will resolve in this build:)
[ZenFone 2 Android Development] Nital:
No such issues here on 25/08 build

Supersu binary update went smoothly.
[ZenFone 2 Android Development] lowsum:
Again awesome job Abunny, I'm getting a little over 5h SOT.

https://www.dropbox.com/s/4vbcwv2rmvuc64b/Screenshot_20160903-183354.png?dl=0

https://www.dropbox.com/s/zaat8bkh0x84nez/Screenshot_20160903-183348.png?dl=0

Only using Amplify and Greenify with xposed boost mode, during 35hr on an average brightness of 40%.

Not too shaby! Best ROM around!
[ZenFone 2 Android Development] sanjay tutiki:
It's still there in 25/08 build:(
[ZenFone 2 Android Development] polrus:
Are you saying that you don't have any issues with asus camera on 25.08?

Wysłane z mojego ASUS_Z00A przy użyciu Tapatalka