yashsingh1/xdaforums huggingface dataset:
[Moto G5S Plus Questions & Answers] Lazy_virgo:
Sorry,but mode_set, mode_clear don't solve my problem, my phone still boot to recovery on restart.

But if you have said some other solution I think I missed it between thousands of messages, please post it again and sorry for the trouble.:confused::confused::confused::confused:

Please help:crying::crying:

post have been edited and sorry for adding unnecessary Confusion
[Moto G5S Plus Questions & Answers] Phazmos:
Flash stock recovery, reboot, then flash twrp and reboot into twrp once before booting to system.
[Moto G5S Plus Questions & Answers] Lazy_virgo:
Let me try
[OnePlus 6 Questions & Answers] androidz br:
Hi there, I've installed Magisk but when I go to search the downloads, FC the app. I've already fastboot clean flash the rom, and the issue still go on. What cana I do?
[OnePlus 6 Questions & Answers] Azhar_Fahry:
which version of oxygenos u are right now ?

which version of twrp ?
[OnePlus 6 Questions & Answers] exelinguy:
First flash the magisk uninstaller from here and then flash the magisk 17.1 zip

Don;t forget to apply the buil.prop edit to pass SafetyNet checks successfully.
[OnePlus 6 Questions & Answers] Roger.T:
The problem I have synonymous with Magisk 17.1.

Seems to be a bug of the Magisk app...
[OnePlus 6 Questions & Answers] cobusr:
I dont think so, many people are using Magisk and have no problems ?
[OnePlus 6 Questions & Answers] androidz br:
Oxygen Os 5.1.11

TWRP 3.2.2.0
[OnePlus 6 Questions & Answers] androidz br:
how to apply the edit?
[OnePlus 6 Questions & Answers] androidz br:
https://raw.githubusercontent.com/to...full-debug.apk This apk solved my problem, but no safetynet pass
[OnePlus 6 Questions & Answers] androidz br:
I was searching in the foruns, and there is a lot of users that's facing this issue. I upgrading to a 1.72 version and no more have this error. I think they will solve this problem in a future update. For a While, I solved the problem doing this update
[OnePlus 6 Questions & Answers] exelinguy:
Search is your friend. Follow method 1 from this thread.
[General Questions and Answers] vivekxda121:
How i can make own custom rom for any devices..??
[General Questions and Answers] Halamix2:
It depends on many factors, there is no one universal way of doing it.

If you want to just modify existing ROM, there's quite good (although a little bit outdated) tutorial: https://xdaforums.com/showthread.php?t=1801690

Making custom ROM from the ground up will be harder and would require more knowledge. [MENTION=5216756]jackeagle[/MENTION] made tutorial from start to end about creating custom ROMS: https://xdaforums.com/chef-central/android/guide-android-rom-development-t2814763 (I'd recommend reading other topics in chef central as well if you really want to make custom ROM from the ground up)
[Huawei P20 Pro Themes, Apps, and Mods] kumarsid7:
Use your notch as a battery bar in this live wallpaper.

The pro version has customization options. Check it out!

Trial - Play store link

Pro version- customizable - Play store link
[Huawei P20 Pro Themes, Apps, and Mods] 19bjk03:
Not working on the standard app.
[Huawei P20 Pro Themes, Apps, and Mods] kumarsid7:
Please give more details about what is not working.
[Huawei P20 Pro Themes, Apps, and Mods] Mittlebenskrise:
It works!

Works perfectly fine on my P20 Pro! I set width to 305 and height to 85 and now have a very thin battery indicator around the notch. Finally the notch has some use... ;)
[OnePlus 6 Accessories] Thariq hussain:
Please let me know which is the best in-ear headphones for one plus 6 within a price range of 2k.
[OnePlus 6 Accessories] shree alwaz:
I am using anker slimbuds+. I got it from ali express. It's worth. I got it for 1.8k. It's having Bluetooth 4.1 with aptx support and ip support. Battery back is like 7hours play back. I have not tested over call. View attachment 4599937
[OnePlus 6 Accessories] RiTCHiE007:
I would go for the meizu EP52 because they almost the same as the official oneplus buds and they wireless and use APTX and have a better battery life
[OnePlus 6 Accessories] Jeik:
I have the SONY XB-50 earphones and they sound great,, especially for the price ( they cost 50 $ but I got refurbished ones for 24$ back in February ).
[OnePlus 6 Accessories] ButtonBoy:
I use Etymotic Research HF3's. Great isolation, perfect sound. Tiny size in my laptop bag. $125 at Amazon.
[General Questions and Answers] asif_ami?:
Hi XDA

I have a Symphony v65. I have tried many apps to root my phone like( King root kingoroot we root z4root ect). But all the apps failed to root my phone specially King root also can't root my phone. Please help me if you can by showing me how can I do this device without PC because I don't own a PC.

Please help me because I want to play PUBG on my phone. The device Run with Android 6.0 .

Bye :D
[JAMin, XDA Neo, S200 Software Upgrading] Nosferatos:
Hello, I need any *.unl for HTC Prophet, from IMEI Check. With any IMEI. If you use Imei check unlock please attach this file here. I want make some experiment with free unlock for G4 devices. Great thanks.
[JAMin, XDA Neo, S200 Software Upgrading] l3v5y:
There is already a free tool for unlocking prophets (G3 and G4). It is called lokiwiz and I think the latest version is 03a.
[JAMin, XDA Neo, S200 Software Upgrading] Nosferatos:
I mean CID unlock not sim. Or you can CID unlock G4 devices from bootloader?
[JAMin, XDA Neo, S200 Software Upgrading] l3v5y:
I didn't realise you meant CID unlocking.

I think HardSPL gets around the problem of CID locking because it stops the CID checks being performed. However, if people can give you the information needed I can see advantages to this over HardSPL.

I personally cannot help you with the *.unl file as I haven't unlocked my device using IMEI checks services.
[JAMin, XDA Neo, S200 Software Upgrading] wapvirus:
no this dude wants *.unl for HTC Prophet, from IMEI Check. With any IMEI. so he can hack the code and make an unlocker or keygen
[JAMin, XDA Neo, S200 Software Upgrading] Nosferatos:
Chm, I doun't want to pay 40$ to IMEICheck but will =(

Nobody want to have a free and safely CID unlock for G4 ?
[JAMin, XDA Neo, S200 Software Upgrading] Immb:
it's here:D ...................

remember change your IMEI first(if u can):D
[JAMin, XDA Neo, S200 Software Upgrading] Nosferatos:
Thank you, I will try and post here.
[JAMin, XDA Neo, S200 Software Upgrading] bayupraya:
cant wait your experiment

:D goodluck:)
[JAMin, XDA Neo, S200 Software Upgrading] zhanif2009:
I cant download the attachment

can u please upload it somewhere else

Thank you
[Huawei P9 Questions & Answers] Kr3Ep:
Device: eva-l09

Software: EMUI 5, Android 7.0

Kernel: 4.1.18-gd97adb9

Build: EVA-L09C432B386

I flashed the newest twrp and when I reboot the device to recovery it hangs on the "device is booting" screen and it freezes.

I tried flashing twrp to recovery2 too but that did not help (I can't even boot back to huawei's eRecovery).

I can't update with OTA because it gets softbricked if I do.

Please help.
[Huawei P9 Questions & Answers] rupiec/:
Have you unlocked the bootloader?
[Huawei P9 Questions & Answers] zgfg:
What does it mean 'newest TWRP' - are you flashing the proper TWRP as ported to Huawei P9 Nougat?

Find the 'newest' in this post:

https://xdaforums.com/showpost.php?p=75787111&postcount=1

With the wrong TWRP (not supporting encryption etc), you may brick the phone
[Huawei P9 Questions & Answers] Kr3Ep:
I did
[Huawei P9 Questions & Answers] Kr3Ep:
I flashed this one. It's weird because I can still access Huawei's recovery. Isn't it supposed to overwrite it?
[Huawei P9 Questions & Answers] zgfg:
Do you know the trick that you must, and how, to boot to TWRP immediately after flashing, otherwise you loose TWRP

https://xdaforums.com/p9/developmen...rainbow-v4-t3759292/post77622126#post77622126
[Huawei P9 Questions & Answers] Kr3Ep:
Thank you but it got solved by the correct twrp. Thought that the latest zip on twrp's official site would be the correct one, but no.
[Huawei P9 Questions & Answers] Kr3Ep:
Thanks, it worked. How can it be that the zip on the official twrp site doesn't work?
[Huawei P9 Questions & Answers] zgfg:
There are different TWRPs for Huawei for Android 6, 7 and 8

Who knows what they have

there (maybe for M), but search on XDA to find what and how will work (eg, there is also TWRP for O but not supporting encryption/decryption, hence unable to access Data partition and Internal mem)
[Huawei P9 Questions & Answers] Kr3Ep:
Ohh thanks!
[Galaxy S6 Q&A, Help & Troubleshooting] Mansnake:
Hi Guy's,

Long story short, i managed to get water in the phone on holiday, needless to say the phone didn't take kindly to that!

I have tried the usual stuff i.e. left it to dry out in rice for a few days (although im not convinced that actually does anything).

It did boot up for a bit eventually but the battery was on 2%, so i plugged it in to charge which to my amazement it did. However it got to about 25% and then within about second jumped up to 95%. Obviously my first thought is the battery is damaged as when you plug in a charger, all the phone does is boot loop (samsung galaxy screen...off...repeat).

So i have replaced the battery....still the same. My next thought is the USB charge board as i thought it may not be able to let enough power through to hold charge on the battery, so replaced the USB board....still the same.

I cant get it to boot into safe or download mode as it just boot loops.

What can i try next? or is it now beyond saving?

Appreciate your replies and any advise.

Thanks
[Galaxy S6 Q&A, Help & Troubleshooting] Mansnake:
*BUMP*
[Nokia 8 Questions & Answers] Kiattisaks34:
I can't boot / failed (remote boot is not allowed in lock state) how to install twrp for nokia 8 TA-1004
[Nokia 8 Questions & Answers] Kiattisaks34:
:crying::crying::crying:
[Nokia 8 Questions & Answers] KonikoO:
You'll need to unlock your bootloader first in order for the fastboot to accept and flash images without proper signature.
[Nokia 8 Questions & Answers] Kiattisaks34:
How to unlock bootloadder thank you
[Nokia 8 Questions & Answers] KonikoO:
HMD lately released a tool for it, update to september revision and just use their APK.
[Nexus 4 Original Android Development] Clamor:
Nexus 4 Repartition​

No one is responsible for your actions except yourself. Everything written further may potentially brick your device, although risk is reduced to minimum.

This repartition package offers 1.5G /system; a /vendor partition and it is fully backward compatible with any ROM (including stock system.img).

Known-issues

- If repartition pack says that device isn't correct,
than, if partition table wasn't modified before,
congrats! your device has different memory chip
that those I worked with. No worry, PM me and
I'll add support for it.

DO THE BACKUPs. Repartition will erase all your data

USB connection to PC is MANDATORY else you will not have opportunity to push ROM to your device

Installation

# Before processing further we highly recommend you to use our TWRP which has support of EFS/Persist backup
# Or you might lose your IMEI/WIFI + BT mac addresses

# This mod is backwards compatible with any ROM so we highly recommend NOT to reverse it if repartition went well.
# You should use ONLY recovery from this thread since other don't support all benefits of this mod.
# When installing ROM just after you flashed zip and before installing GAPPs you MUST make a resize in TWRP since all roms are build for ~800M system.
# To restore stock layout use same zip and steps as for repartition.

1. Boot into recovery (You need to allow system partition modification to be able resize /system in recovery).
2. Backup your data & Move your files from flash to your PC.
3. Flash repartition pack zip.
4. Do the actions asked by repartition pack (go to Terminal in ordinary recovery and input word that pack will tell you. Everything else will be done automatically).
5. Phone will reboot into recovery.
6. Install TWRP from below (it is build with support of new partitions layout and sizes. It can be differed from official TWRP by next format 3.x.x-1 UA).
7. Format everything. (mount errors will not affect formatting!)
- In TWRP: Wipe > Format data
- Type yes
- Once this completes go to: Wipe > Advanced Wipe
- Tick all the boxes and wipe. There should be no further mount errors.
8. Install ROM which you like.
9. Enjoy better flash partition layout.

If something gone wrong - we recommend you using this guide to restore your phone back

Downloads:

Repartitioning package: GitHub

Credits:

Special thanks to

- Unlegacy-Android team;

- Sudokamikaze;

- ddaggebi for 8GB model layout;

- surfrock66 for his gide for Nexus 5;

As usual, feedback is appreciated :)

XDA:DevDB Information

Nexus 4 Repartition, Tool/Utility for the Google Nexus 4

Contributors

Clamor, sudokamikaze

Source Code: https://github.com/clamor95/android_device_unlegacy_recovery

Version Information

Status: Stable

Created 2018-09-19

Last Updated 2019-01-18
[Nexus 4 Original Android Development] Clamor:
Common issues and F. A. Q.

Repartition pack should be safe for most devices. Common mistakes, issues and their solution will be published here.

1. You shouldn't flash any internal parts of repartition pack (*.sh files) only flash whole zip using TWRP. You may use my scripts for personal use or projects but authorship should to be kept.

2. If something isn't mounting after repartition try to format partitions that don't mount using Wipe -> Advanced Wipe in TWPR. Ideally you should format in that way all partitions in Advanced Wipe menu (see 5-th step of installation guide).

3. To be sure that repartition went well I enclose loging zip. Flash it after repartition (when device reboots into TWRP). It won't modify anything only generates a partition.log in root of internal storage and outputs your current partition layout to screen. You shoud check if your layout is same as those fragments I provide under spoiler (file systems doesn't matter). If there are any differences you have to discribe what you did and enclose partition.log to your post.

MAKO STOCK

21 159383552B 1040187391B 880803840B system
22 1040187392B 1627389951B 587202560B cache

MAKO MODIFIED

21 159383552B 1732247551B 1572864000B system
22 1732247552B 1994391551B 262144000B vendor
23 1994391552B 2099249151B 104857600B cache

4. If you have touchscreen problems use common instructions till you reach entering word. Than plug your phone to PC while you remain in recovery. Enter adb shell from cmd (if you don't know how - google) and enter word that repartition pack asked. Than your phone will reboot automatically into your old TWRP but with new partition layout.

5. Flashable resize zip for ROMs that support addon.d (automatic resize when dirty flashing updates).
[Nexus 4 Original Android Development] bgoel4132:
actually the lower left corner of my phone screen doesnt work so can you please elaborate what kind of commands are we used to use and terminal and is there any other way to access terminal

mine q,a,z,1 these key are inaccessible in twrp as screen rotation is not supported
[Nexus 4 Original Android Development] Clamor:
Plug your phone to PC while you remain in recovery. Enter adb shell from cmd (if you don't know how - google) and enter word that repartition pack asked. Than your phone will reboot automatically into your old TWRP but with new partition layout.
[Nexus 4 Original Android Development] ddaggebi:
What can I do to add support for 8GB models? Can I send you some partition tables that you can tinker with? Or sth else? Anyway, huge thanks for your dedication for this device!
[Nexus 4 Original Android Development] Clamor:
PM me, I need a partition table and I'd ask you to test if you have 8GB model.
[Nexus 4 Original Android Development] cyberon:
Something went wrong and now I have only 552mb space. When I try to flash again it says it's not a Nexus 4.

Can anyone help please?
[Nexus 4 Original Android Development] Clamor:
Sure. In PM.
[Nexus 4 Original Android Development] Nathan4923:
OK so my nexus 4 can't transfer files to or from PC at all so if I do this and have the ROM downloaded it will wipe the ROM and the ROM would be gone and my phone would be a nice brick because I can't transfer any files to my PC like it charges with the PC but data transfer doesn't work so again would I be screwed?
[Nexus 4 Original Android Development] Clamor:
[MENTION=6625988]Nathan4923[/MENTION] correct. Usb connection and PC are mandatory
[Nexus 4 Original Android Development] Clamor:
For those who downloaded repartition pack before this message is published, please redownload pack since previous version might have a problems with repartition. If repartition was already made, don't worry everything should be fine. Just use up-to-date pack.
[Nexus 4 Original Android Development] jluspo:
can i return back to old partition if i want to? i hope someone would post a video tut for this one :)
[Nexus 4 Original Android Development] Clamor:
[MENTION=5681088]jluspo[/MENTION] you can with same zip and same steps as for repartition. You didn't read first post carefully.
[Nexus 4 Original Android Development] jluspo:
im using xda appits different layout on browser :)
[Nexus 4 Original Android Development] jluspo:
I'm I doing it right? I still can't flash gapps
[Nexus 4 Original Android Development] cqloveqc:
failed to mount Vendor, any suggestions ?
[Nexus 4 Original Android Development] Clamor:
[MENTION=5681088]jluspo[/MENTION] resize /system with TWRP after ROM install before GAPPs because ROMs are designed to use ~800MB system.

[MENTION=4713564]cqloveqc[/MENTION] you had to format all partitions available in advanced wipe after repartition.
[Nexus 4 Original Android Development] cqloveqc:
Thanks for the help !

I've found that even with that error, i still succed the process
[Nexus 4 Original Android Development] Mato_xXx:
Hello ho can I do ,,resize /system with TWRP after ROM,,??? I can't find how to do that...

I installed your TWRP > backup > repartition zip > format all partitions > ROM

And now I'm stuck because I can't flash GAPPS...
[Nexus 4 Original Android Development] bgoel4132:
just read the OP carefully it already mentioned that you had to resize system after installing rom

you can do that by going to advanced wipe in twrp
[Nexus 4 Original Android Development] Mato_xXx:
[MENTION=5424240]Clamor[/MENTION] please add warning to 1. post about that you need to allow system partition modification to be able resize /system in recovery. Because that was causing my problem because I couldn't find that till I tried... This could save some time for n00bs as me. :D Installed ROM after maybe 3 years and forget almost everithing...
[Nexus 4 Original Android Development] rhmt1210:
How to back stock partition?
[Nexus 4 Original Android Development] Akhilesh S V:
deleted
[Nexus 4 Original Android Development] bgoel4132:
no don't ever do that to get the stock partition as it would brick your device and it might be a hard time for you to repair that
[Nexus 4 Original Android Development] rhmt1210:
directly install the factory image or without the need to unbrick on page one?
[Nexus 4 Original Android Development] bgoel4132:
dont flash factory image with different partition it will brick your device and you would have to use lgnpst method to fix it

Read the OP carefully it had already mention that you would have to do the same steps to repartition the system to stock

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

don't flash factory image directly buddy it will brick your device

i believe one should not give advice without knowing its consequences akhilesh

buddy i had already done this mistake and got a hard time up fixing that
[Nexus 4 Original Android Development] rhmt1210:
yes I will try the method on page one
[Nexus 4 Original Android Development] bgoel4132:
[MENTION=5424240]Clamor[/MENTION] please clean up the thread as it would misguide someone leading him/her in trouble..

---------- Post added at 03:49 PM ---------- Previous post was at 03:48 PM ----------

you had to try that there no method out except that without bricking your device
[Nexus 4 Original Android Development] rhmt1210:
I am from Indonesia, sorry if my language is strange
[Nexus 4 Original Android Development] Clamor:
[MENTION=8251477]bgoel4132[/MENTION] [MENTION=9463105]rhmt1210[/MENTION] [MENTION=7710674]Akhilesh S V[/MENTION] first of all flashing factory img won't return stock partition table as it doesn't have one included, ONLY my repartition pack has capability to return stock layout (if you don't know how to work with parted of course). Second is that factory img can't be flashed as is, BUT as a img collection it can be flashed with fastboot (excluding cache and data since they won't flash anyway).
[Nexus 4 Original Android Development] rhmt1210:
so I have to reinstall the zip to return to stock?
[Nexus 4 Original Android Development] Clamor:
[MENTION=9463105]rhmt1210[/MENTION] repartition pack, yes. It will return you to stock (don't forget to enable /system modifications in TWRP before returning to stock).

P.S. As I said in first post returning to stock is VERY non-recommended, but if you need go ahead.
[Nexus 4 Original Android Development] rhmt1210:
I want to install kitkat odex rom, do I have to change the system size?
[Nexus 4 Original Android Development] Clamor:
[MENTION=9463105]rhmt1210[/MENTION] no, this layout is fully compatible with any custom ROM, just resize system after ROM flash before GAPPs install
[Nexus 4 Original Android Development] rhmt1210:
okay thanks, maybe i should go back to the stock layout table
[Nexus 4 Original Android Development] Sam Nakamura:
Well, I got a stupid situation here, even though I'm on official lineageOS I wanted to re-partition the table to be able to flash nano GApps, it all went smoothly along the explanations outlined in post #1, however after flashing the latest lineageOS build and returning to TWRP's advanced wipe section to change partition size of /system before flashing the bigger then usual nano GApps, which works perfectly as after the procedure checking /system size it's notably larger but still the open GApps installer aborts installation because package exceeds the partition size, which does not make sense by checking & judging from the numbers TWRP provides...

Would appreciate any help, I ran the logging tool and would want to share it, just didn't found where it's stored yet - I of course did try it several times by wiping all installed partitions (even formated all partitions individually as suggested), then flashing ROM and resize /system before doing so, still GApps aborts the option...

Edit: also using version 2 of the re-partition script!

So I can't figure out what I'm doing wrong here, only thing I did was restoring data from my previous old partitioned backup, may this be responsible for breaking the whole process?

Haha, right after posting here I saw that I unintentionally also copied a "open gapps" folder to the internal storage that had instructions to just perform a test installation / space calculation, deleted the folder and all is functional and fine, sorry for bothering, it's definitely on my side and your procedure is super easy and brilliant!

Thanks for the work, the sharing and supporting...
[Nexus 4 Original Android Development] Clamor:
[MENTION=7125933]Sam Nakamura[/MENTION] log is copied by path /sdcard. What do you mean by "version 2 of the re-partition script"? There is only one version, attached to download section.
[Nexus 4 Original Android Development] Sam Nakamura:
I mean the script was re-uploaded also OP mentioned that it was replaced by slightly updated version and people should re-download if downloaded before this specific announcement from you but you're right, there aren't flowing around 2 different versions - not in this sense...

Even though all worked just fine in the end here's my log:

https://drive.google.com/file/d/1P3fE-Rj-TprS1ptKTxqfq_lQbhnQG5fU/view?usp=drivesdk