yashsingh1/xdaforums huggingface dataset:
[Upgrading, Modifying and Unlocking] Dnupselina:
Hello guys!

First of all, a very big THANK YOU to all that help others (like me) here. You're great!

Now, Why I'm writing here:

I tried to install LineageOS 17.1 on a BV5500pro device (MediaTek) according to this guide. It's not the first time I do root or flash a custom ROM, but I'm far away from being a pro. I did this using my HP ProBook with Debian 10 (kernel version 4.19.0-13-amd64). Fastboot and adb installed. MK67xx drivers not sure, I think not. But communication with the phone was always neatless.

Now, I have problems with flashing TWRP. I did it according to this quide which was linked in the guide for the LineageOS install mentioned above. So I flashed with fastboot flash recovery recovery.img. Then, afaik, you have to boot directly into TWRP after installing it, which is what I did (or rather: tried). After about 20x of flashing and rebooting again, I managed to boot into TWRP once directly after a flash. (Booting into recovery on a BV5500pro is very annoying - you can't directly boot into bootloader or recovery, you have always to pass a selection screen to select recovery/fastboot/normal mode).

When I finally managed to boot into TWRP, the problem was, that the screen was not responding and TWRP asked me for a password to decrypt the storage. But the phone shouldn't have any encrypted storage?!?!

Then I tried flashing several other TWRP images I found on the net. I did not manage to boot onto them. At some point, a 'Orange state' Warning message started to appear on boot, but this didn't change anything except the 5sec boot delay.

Then I got frustrated and told me: "Hum, why not try to install LineageOS without TWRP?" Since I didn't find any guide to do this without TWRP (except by SPflash tool, which I didn't manage to get to work on my laptop), I thought that I can just wipe cache, system and data partition with fastboot erase <partition>, which was obviuosly a very bad idea. Sorry for that. Then I tried to flash LineageOS by fastboot flash system <LineageOS-file>, which worked obviously not.

Since then I can neither boot into recovery nor boot normally, and the phone is stuck in a bootloop with showing orange state message for 5 sec then reboot.

Fastboot is luckily no problem, I reach fastboot mode without any problems and I can communicate with the device through the fastboot commands by terminal.

So, how do I manage to make TWRP work? When I have TWRP, I think LineageOS will not be a problem (or at least I hope so).

So, I really appreciate any help I can get. It's the phone of my boyfriend and we hope both that I can fix this (:

Cheers and thanks in advance!

Dnupselina
[Upgrading, Modifying and Unlocking] tek3195:
First thing you should do would be flash stock firmware back to your device and get control of it. I wouldn't keep trying to install to it the way it is. You will wind up somewhere you don't want to be with no way back. Once booting on stock firmware again then try twrp again if you can find solution for booting recovery. You may try

fastboot reboot-recovery

or

fastboot oem reboot-recovery

and see if that gets you past bootloader screen.

WHOA, I just looked at your links and those are like form letters that they put your device name in the template and call it a "how to" to get paid for each one. They run them with all kinds of devices and all identical except for device name. The twrp folder from mega link is empty now. I haven't searched very hard but I don't know if there is a twrp for your device. Flash it back to stock if you can and don't try recovery or ROM unless you get from XDA. The Lineage site you pointed to was same people with fake info. Hope you can recover with stock firmware, good luck.

There is a twrp for your device according to default.prop pulled from .img, it was on a different site but don't know where it comes from. The Lineage you pointed to is a GSI so you need to make sure you flash the right variant, whether it's A-only or A-B or any of the other 4 or 5 it could be. I spoke too quickly when I tried to download twrp and folder was empty, those sites have never been any good when I used to check them and empty folder threw up red flag. I apologize for that but still think you should find dev for twrp rather than one of those type sites. The Lineage GSI you got is from well known developer so you should be good to go with that. Go back to stock and start over.
[Upgrading, Modifying and Unlocking] Dnupselina:
Ok, Thank you very much! I'll do exactly like that. I'll keep you updated.
[Upgrading, Modifying and Unlocking] Iron_Overheat:
ROM porters, how hard is it for someone with Linux program building and kernel patch fixing experience? I don't know C, C++ or anything but I know how to find patterns and thats how I manage updating incompatible Linux kernel patches made for older versions into new ones (depending on how broken). And I've built LLVM, Linux, Wine, and others.

Is porting LineageOS to the phone I use (Realme GT Master) just a matter of cloning Lineage source, cloning the kernel source that was released by brand (which I plan to patch into latest tagged Linux release if possible), build kernel, tune parameters (edit variables to match the phone's) and then build Lineage, getting the vendor and Qualcomm images, and packing them into a ROM?

Is there a universal one-stop guide for doing this? Additionally, is there a universal way to download OTA firmware (the ones online aren't the latest)?
[Upgrading, Modifying and Unlocking] JackBlack138:
Hello there, I recently aquired a used Nokia 8.3 5G which sadly has no custom roms yet.

I'm not too well versed in the Java/Android world, but am I correct in thinking that, If I want to build and flash a custom rom for this phone, the general steps are:

1. unlock bootloader (done by others)

2. build and flash TWRP for my device

3. build custom rom

4. install custom rom through TWRP

Can I use code that is build for a device with the same chipset as base, like the Google Pixel 5? Are there major drawbacks in doing so?
[Upgrading, Modifying and Unlocking] Halino:
Energizer Power Max P600S STOCK ROM

Hi

I need some help with my Energizer Power Max P600S phone. It started freezing up some days ago, giving me a series of stop pop-ups from apps (both manually installed and system apps). It responds to click actions in time (it takes like a couple of minutes to respond to a particular click or action, or it does not respond at all and keeps stuck on the current process). It continuously keeps running like that and ends up restarting itself, which also takes like 5 times longer than the normal time to startup. I have performed a system factory reset and custom ROM flashing, but I'm still faced with the same issue. Maybe I didn't get hold of the official stock ROM or so, I don't know.

I really need help on this one, in any way possible.

Regards!
[Upgrading, Modifying and Unlocking] Novice_independence:
My tw102 sense phone is stuck in fastboot, i cannot access the recovery, or the adb i was downloading a twrp.img and i think it occupied my storage space so now i can't delete it.

I am now following this guide: https://xdaforums.com/t/fastboot-unbrick-your-device-with-no-display.2949356/ and im stuck at "fastboot update update.zip"

I am pretty sure i don't have the right update.zip but i am also afraid that my obama phone wont have enough space for when I do find the right update.zip same with the "recovery.img" mentioned in that guide.

I know that my device is oem unlocked and i know how to delete cache.
[Upgrading, Modifying and Unlocking] kani1544:
Hi I need some help please. I am very new to the site so was not sure where or how to create a new post. I need Fully create a working fake gps phone to mock location with two phones I am testing with atm. Samsung note 9 and what android versions is best. Like which versions will be easy to get and set up.

Also I am looking doing the same for Google pixel 5 full set up. I need mainly how learn how to Unlock bootloader, If I need to upload boot.img, smali patcher; what is the best stable way and lastly Magisk root and what modules are best to use to hide fake and apps. Sorry if this is the wrong place to post at, or this post is really long. I need to learn for both this process please. Cheers
[Upgrading, Modifying and Unlocking] InfinityBelow:
Is there any way to run android 5+ apps on android 4.4.4?

Any way to run android 5+ apps on android 4.4.4?
[Upgrading, Modifying and Unlocking] daniturn3:
Mysterious Random Unroot

Ok I have a nexus s and has been rooted and has cyanogenmod cm7 nighty's for a few weeks but all of a sudden ive tried open a rooted app and found that it has unrooted without me knowing when i tried root another rom it just never started the first step
[Upgrading, Modifying and Unlocking] samuel2706:
How to make the kernel source?

you can't it must be released by toshiba, by law.
[Upgrading, Modifying and Unlocking] samuel2706:
Try updating the superuser app from market or if that doesn't work try reflashing CM7 and check that in system/bin there is a file named SU

if there isn't then it's not rooted ;)
[Upgrading, Modifying and Unlocking] samuel2706:
It should do, if it's supported try it pal, if not try that gingerbreak thing iv'e heard about, supposed to be pretty nifty in rooting your device (:
[Upgrading, Modifying and Unlocking] daniturn3:
ive tried to up date superuser app via the app update and it told me to flash it via recovery and ive tried that and it says cant open /sdcard/su-2.3.1-bin-signed.zip (bad)

Installation aborted

Does this mean I'm no longer rooted?

Also I have found the file SU in system/bin
[Upgrading, Modifying and Unlocking] speeed_demon47:
Why is it when I use amonra recovery to flash something it sometimes gives an error message and it doesn't work,but when I use clockworkmod flashing the same thing it does it without errors.

And it's the same thing around when I use clockworkmod sometimes it gives me errors but when I flash it with amonra it doesn't give errors and it's flashed correctly.

So,what's the difference between amonra and clockworkmod that makes this happen?

And which one is better,amonra or clockworkmod?

And great job by the way doing this,I think it's truly a fantastic idea and saves a lot of time and effort for everyone.

Keep up the good work.
[Upgrading, Modifying and Unlocking] darius99:
thanx alot for your help Samuel!
[Upgrading, Modifying and Unlocking] daniturn3:
Dont forget to hit the thanks button
[Upgrading, Modifying and Unlocking] ohen:
Unlocked bootloader, S-OFF and rooting

Hi.

I am impressed by your willingness to spend time helping others get "up to speed".

I have quite recently entered the world of Android, so I openly admit that I lack much valuable knowledge. I'm a long time developer and computer tech, but I've actually never felt more "noob" than I do now.

Anyway:

* I have an HTC Sensation

* I want full control, i.e. root privileges

* I decided to wait for HTC's official bootloader unlocking procedure, thinking that it would be wise to do it "the proper way"

So, basically I have an unlocked HTC Sensation now.. But the bootloader still says "S-ON", and for example, I'm unable to have it accept Clockwork Recovery images etc..

I thought that S-OFF == unlocked bootloader, but I have been proven wrong. Perhaps someone could help me clarify these terms and their relationship with each other. Believe me, I have tried to locate this information by reading many "introductions to rooting" and various articles across the web, but I find contradictory statements, suggesting that at least some authors don't really know what they're talking about (and I am not capable of sorting what's correct and what's not at this point).

For example, does an unlocked bootloader mean that it will no longer require manufacturer-signed images? What does S-OFF really mean? I have assumed that:

S-OFF != root access and writable filesystem

S-OFF == unlocked bootloader

Many, many people seem to look for "simple" solutions and binary files they can just push to their devices to obtain root (without understanding any of the "dirty details" themselves). I want to understand how it works, but I won't find all I need to know in the Google Android's docs, and am under the impression that much -- especially manufacturer or model specific aspects -- is not properly and officially documented (for whatever absurd reason).

Perhaps you could help me understand a bit more than I do today (which is, quite frankly, very little, it seems).
[Upgrading, Modifying and Unlocking] samuel2706:
I'd say clockworkmod is better due to it's easy feel menu interface and it's ability to log errors and export them, but i haven't had much experience with AMONRA but i know it's fast at wiping data compared to that of clockworkmod but it's all down to user preference i mean i could say yeah clockworkmod allows you to nandroid and backup and all sorts and restore certain partitions but amonra allows the same thing so really it's down to you

Personally i'd go with clockworkmod as it sounds like you have problems with amonra anyway
[Upgrading, Modifying and Unlocking] samuel2706:
First of all your not a noob so don't worry about it, your learning this all. i was the same as you :)

Now the part you wanna hear, S-OFF is an unlocked bootloader

screw the HTC way, i'd personally go and get it done via revolutionary io at least that way you can put it back (i think, don't quote me) and HTC would be none the wiser, now that would allow you to root and install apps that require root

The root itself is actually a beautiful thing named SUPERUSER it has a binary in system/bin named "SU" this allows you to be BOSS of your phone, it allows you to execute low level commands and mess with system files/remount and write things to your phone, then when you go to flash a rom it allows you to, as your S-OFF you can flash to your hearts content!

Now the other thing SUPERUSER does is it installs a system application named SUPERUSER it's a little skull and cross bones and it gives you GUI access to root, so when you open up say titanium backup, you need root and instead of going through the big process of setting it as root and going through terminal you can just click ALLOW which means its set by SUPERUSER to allow you to use all the root features of the program!

Clever tool if i may say so myself!

I hope this answered your question if not, feel free to tell me i'm wrong and to not quit my day job ;) cheers pal, just write back if your unsure on anything i'll be happy to help.
[Upgrading, Modifying and Unlocking] speeed_demon47:
Thanks for the response and the advice,I'm going to use clockworkmod from now on.

But you still haven't answered my first question,why is it clockworkmod flashes something amonra fails to flash,and vice versa?:confused:
[Upgrading, Modifying and Unlocking] samuel2706:
Well i haven't a clue on that, sounds strange to me pal
[Upgrading, Modifying and Unlocking] speeed_demon47:
Ya,it is pretty strange.

Happens when I try to flash some roms on my Huawei U8100.

Anyways,I also have another question.

I'm trying to develop a dice game (it's a fairly simple game).

But I don't know how to make use of graphic acceleration.

What I want is a 6-sides cube dice to bounce around,but I want it to look good and not just a drawing.

How do I do it?
[Upgrading, Modifying and Unlocking] Td8f4:
please steer me in the right direction

Hi i've been working on adding external wifi support for the galaxy s2

i'm not expecting android os to use the wifi adapter to connect to wifi.

i have a chroot session of ubuntu (compiled for ARM) running on my phone and i do however want the ubuntu session to be able to access the wifi adapter

i've gotten the ubuntu session to be able to view all the devices currently connected to the phone (it supports Host mode) but of course since the phone doesnt have the drivers necessary, it it seen as unrecognized. (even when powered correctly)

the driver set it rtl8187 and is supported under linux (x86).

i want to port the driver over to the phone and load it as a kernel module. (ARMv71)

Question:

should i be trying to recompile a new ubuntu session with the drivers embedded and hope that when i do the cross compile process itll work?

or

keep the existing ubuntu session, cross compile the drivers individually and load into the actual android kernel. (or the chroot kernel?)

i've never embarked on this kind of compiling/porting voyage but i've got decent linux knowledge and i know C/C++. i'm willing to learn.

any suggestions on what to do? Am i way off? Thanks in advance, this is a great idea.
[Upgrading, Modifying and Unlocking] samuel2706:
Have you added the vectors or a mask to fill? like a smoke mask but a texture?

also you will need to make sure the Graphics can fill it

seriously though im clutching at straws here, i haven't a clue how to do that :(
[Upgrading, Modifying and Unlocking] samuel2706:
What you mean like an internet sharing thing? hmmmi suppose it'd be the second option as then you can keep the thing open as well so you can connect to both, i'm not getting what you mean by the question but it seems something i wouldn't be able to answer i'm not strong in C/C++ i'm learning how to read it, but it's taking time!
[Upgrading, Modifying and Unlocking] ohen:
First off, thanks a lot for your time. It is much, much appreciated.

I guess my biggest problems in this regard comes from a combination of lacking knowledge and stubbornness. 1) I have no clue as to how the low-level stuff works -- e.g. I don't know what people are talking about when they're referring to "the radio", and 2) I prefer to do the basic steps myself, entirely manually (such as turning off the secure flag -- i.e. S-OFF)

It is evident that I have been naive when expecting to find official documentation from HTC, outlining how their bootloader security model works. Everything is so "secret"! Not the "open source" spirit I had expected the world of Android to represent.

I have trouble understanding why HTC has "unlocked" their bootloader and why there has been a large demand for this, if privileged and undocumented knowledge is still required to draw any benefits from it. I don't understand what possibilities are actually available to me now, compared to before I completed the "unlock" procedure. I was confident that it would enable me to proceed without third-party binary exploits (such as is involved in the Revolutionary approach).

I guess I will try revolutionary.io, if it will actually support my device now that it is unlocked the "HTC way". But I would very much prefer to do the necessary steps manually without any exploits. Why? To learn! Like I did with Slackware and Gentoo many years ago to learn the basic "ins and outs" of Linux-based systems.

Sorry for being wordy.
[Upgrading, Modifying and Unlocking] speeed_demon47:
Ok,forget about that for now.

Another questions is:

I want to get started on ROM development,where do I start,and where can I get to know the basics?

How did U start?
[Upgrading, Modifying and Unlocking] samuel2706:
I started with the HTC ANDROID KITCHEN then after that i went on from there, once you start you pick things up as you go along, you get for instance a stock ROM, you deodex it, you root it and busybox and add a few tweaks, and use it yourself if it's fine and doesn't force close then you can release it into the wild! :cool:
[Upgrading, Modifying and Unlocking] speeed_demon47:
Ok,cool,but if there's something I don't understand or something don't know how to do,where can I go for help?
[Upgrading, Modifying and Unlocking] samuel2706:
Just private message me, i'll help you mate

Good luck!
[Upgrading, Modifying and Unlocking] speeed_demon47:
Ok,thanks a lot.

And really great job,keep up the good work.;)
[Upgrading, Modifying and Unlocking] mngt135:
Good day, is there any way to root Huawei X3 U8510
[Upgrading, Modifying and Unlocking] dyliho:
Holy Mazzoli - what a dizzying array of how to!!!! They really tried to put the heat on buddy - LOL, this is gonna be a great thread and a good learning experience. Already learned a bunch!

Now - for the reason I am back. I tried flashing honeysense onto my super Nintendo, and it didn't work. My tv screen is black? I rooted using Amonra - and ate the donut. ??? What did I do wrong!?

LOL, your crazy cool. But I may bailout on that offer to help. It's a party in here - Phew!!!! All across the board, questions - devices. My only thought was Dang - no ones mentioned a Super Nintendo, so there we go. Keep it up man - and hope I didn't offend! Thought you might like a lil joke.... Peace man and more power to ya...
[Upgrading, Modifying and Unlocking] samuel2706:
Here you go pal

the only way you can root that phone is via this!

Root tool
[Upgrading, Modifying and Unlocking] samuel2706:
Ahh yes the super nintendo, you see what you have to do there pal

1) Take the cartridge out

2) Blow into the cartridge

3) Insert cartridge back in the console

4) ????

5) Profit!!

;) easy guide, seriously though if that doesn't work, try sticking a donut in it and playing Simpsons ;)

Cheers mate :cool:
[Upgrading, Modifying and Unlocking] samuel2706:
if i miss your question by accident and you don't get a response within 24 hours please feel free to ask it again

also this thread is one big learning lesson feel free to challenge my answers if you think i have gone wrong i accept criticism
[Upgrading, Modifying and Unlocking] suebaby14:
Xperia X10a GB upgrade

I have an X10a that I have rooted and now have the 2.1 update. It's showing basebrand version 2.1.54 . I am craving the GB upgrade, but the only thing I can find is for X10i. Can you help me find the software for this phone? ( originally ATT, but that doesn't show up anywhere now!)
[Upgrading, Modifying and Unlocking] Copp:
SMS File Location

I recently ported CyanogenMod over to my DroidX after I got a new replacement phone. Despite using the Google Apps add-on, MAPS and Gmail didn't "make" it over. I used Titanium to get them back. I did a Nandroid backup of my old stock Gingerbread a few days ago.

I badly needed some SMS info and even though I used SMS Backup Pro, the only messages seem to be more than a month old. I used unyaffs to separate out the SMS files from my Nandroid backup's .data.img. I was even able to retrieve my information from a sub-table of the sqlite DB file.

But where do I put the folders & files found in com.android.providers.telephony? Directory structure appears different. I can see the two database files, mmssms.db and telephony.db, but there are others in each location that don't match at all.

I did do reset data and wipe cache between every reflash. Are more than one needed?

I wiill take my answer "off-the-air"
[Upgrading, Modifying and Unlocking] samuel2706:
Lol what has this to do with android i haven't a clue pal
[Upgrading, Modifying and Unlocking] vamsi4012:
nope z4root doesnt work either my inspire

seems to be a super secured bunker!
[Upgrading, Modifying and Unlocking] KrisHilbun:
Been looking into tweaking android with the "Kitchen" custom/stock roms and im wondering how to take my Sensation (which ive found how to extract system.img and boot.img from RUU files..but those are currently 2.3.3) But now that T-mobile Rolled out 2.3.4... How would i get the 2.3.4 system/boot img to use kitchen from there? How do i go about making my own recovery.zip? Any information would be helpful!

not sure if it would be called a recovery zip but either way how can i get ahold of a stock base of this rom myself id like to learn but honestly have no clue which direction to look on this one . ill even take answer in what to search for on forums if its just something that easy :P

Thanks for creating the support thread appreciate it alot! (as im sure are others)
[Upgrading, Modifying and Unlocking] mission26:
what is flash rom. what is the benefit of flash kernal.

Hey i am a newbie and wanna know how to flash a kernal and what r the benefits and what is flash rom. how to go about it

plz explain a simple step. and in lay mans term.

Thanks.