Related
Hey there , I'm a new Lg P500 User and I am really Unclear how to flash a custom recovery mod / megatron v1 / screen lag touch fix by milk_os
About Phone
Model: LG-P500
Android Version: 2.2.2
Kernel Version: 2.6.32.9
Software Version:V10F
Rooted with Superuser using GingerBreak .
The original thread: http://forum.xda-developers.com/showthread.php?t=1044765
Also Installed with busybox from the market.
So if anyone can show me a step by step guide to how to install custom recovery mod , megatron v1 and touch screen lag fixer by milk_os. I will reward
you with $100 Singapore by PayPal.I believe in meritocracy
Links
Custom Recovery Mod:http://androidforums.com/getitnowmarketing/221388-custom-recovery-optimus-one-p500-thunderg.html
Megatron V1: http://forum.xda-developers.com/showthread.php?t=870640
Touch Screen Bug: http://forum.xda-developers.com/showthread.php?t=929941
Let the hack rage begin!
Thank You.
danialrocker said:
Hey there , I'm a new Lg P500 User and I am really Unclear how to flash a custom recovery mod / megatron v1 / screen lag touch fix by milk_os
About Phone
Model: LG-P500
Android Version: 2.2.2
Kernel Version: 2.6.32.9
Software Version:V10F
Rooted with Superuser using GingerBreak .
The original thread: http://forum.xda-developers.com/showthread.php?t=1044765
Also Installed with busybox from the market.
So if anyone can show me a step by step guide to how to install custom recovery mod , megatron v1 and touch screen lag fixer by milk_os. I will reward
you with $100 Singapore by PayPal.I believe in meritocracy
Links
Custom Recovery Mod:http://androidforums.com/getitnowmarketing/221388-custom-recovery-optimus-one-p500-thunderg.html
Megatron V1: http://forum.xda-developers.com/showthread.php?t=870640
Touch Screen Bug: http://forum.xda-developers.com/showthread.php?t=929941
Let the hack rage begin!
Thank You.
Click to expand...
Click to collapse
lol luckly i live in singapore
first of all, lets start with custom recovery
1. Download the custom recovery file from here and here
2. DO NOT rename them, and put them neatly inside the ROOT of the SD CARD (that means it should be at /sdcard/ on androids
3. next, get Terminal Emulator from the market. search it.
4. Get a nice keyboard to work on for a while. you need to type A LOT
5. get titanium backup and backup everything. menu > batch
6. reboot phone.
7. Turn on phone and go to terminal and type the following
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
cat /sdcard/flash_image > /system/bin/flash_image
chmod 755 /system/bin/flash_image
mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /system
flash_image recovery /sdcard/recovery-RA-GNM-thunderg-1.1.0.img
Click to expand...
Click to collapse
*there should be no error except at stage 5 there could be, but not always.
8. good. flash complete. now grab the megatron ROM and the lagfix. they both should be .zip . DONT OPEN IT.
9 put the two inside the root of SD card
10. go to terminal, write
su
*press enter*
reboot recovery
11. you should have a menu of things. go to flash zip or sth (you will know) w/ ur volume buttons
12. press menu and you will be able to choose the two zips. flash any of them first, and do the second afterwords.
13. YAY DONE
14. no need for bucks thanks. just press the thanks button down there. its free.
*PM or EMAIL ME IF YOU WANT FURTHER HELP*
*[email protected]*
Also, isnt 2.2.2 not rootable??
I think it has to be downgraded to 2.2 and then rooted..
Edit:
Sorry, My mistake.. Didnt realize 2.2.2 is rootable now..
2.2.2 it's now rootable
It says that "/system/etc/install-recovery.sh ": No such file or directory.
I'm sure that I placed both of the files on the root of my sdcard
Well, I guess the hardest part is getting the recovery. Well I share my method so, here we go.
What you need:
1. terminal emulator(download from market - free)
2. recovery installer(download here)
3. your ROM which is megatron(download here)
4. Touch-screen bug fix(download here)
5. Back-up all your SD contents to your PC.
-. optional: if your file explorer doesn't support unrar/unzipping, download one. but since you have a PC just use winrar.
when you have everything, lets start.
1. extract contents of "recovey_installer.rar" to the root(meaning the base) of your SDcard.(it contains 3 files, so you should also see 3 new files on your SD card).
2. open terminal emulator, enter these lines(press enter after each line):
Code:
su
sh /sdcard/rf.sh
just wait and this should reboot you directly to recovery.
3. now in recovery(remember: "vol + and - button" is "up and down" "menu button is ok/select" and "back button" is back) select options:
Partition sdcard > partition SD
4. when asked choose your desired partition size then choose swap size as 0. This should format your SD card.(initially this will leave you with an ext2 partition, if you want ext3 then upgrade it to ext3 and so on using the same menu)
5. when done, press back repeatedly and reboot.
6. now, move your ROM(megatron) and the touchscreen-lag-fix files to the root of your SD card.
7. open terminal again and enter these commands
Code:
su
reboot recovery
just wait and it should bring you back to recovery.
8. in recovery, choose option:
- flash zip menu
- to avoid hiccups just toggle the signature verification
- flash zip from sdcard
- first flash your rom(megatron), when done immediately flash touchscreen-bug-fix
- press back repeatedly then reboot.
9. enjoy
danialrocker said:
It says that "/system/etc/install-recovery.sh ": No such file or directory.
I'm sure that I placed both of the files on the root of my sdcard
Click to expand...
Click to collapse
just ignore that error message. this line is only there for those with different phone models which has the mention file in the phone internal storage. so this shouldn't affect optimus one users.
@ungaze, i did your way . It took me to android system recovery .
Anyway it didnt ask me for partition sdcard. So should i just reboot my phone?
congratulations, you now have recovery. you should see some options.
press volume buttons to navigate up and down(menu button=select/ok). Choose the option:
- Partition sdcard
- Partition SD
If you want to explore your phone a bit more, you could just reboot your phone for now. Just remember, to go back to recovery you could open terminal and enter:
Code:
su
reboot recovery
or when phone is off, press and hold "power/lock button"+"home button"+"vol down button" until recovery menu shows up.
Alright , did that . My friend told me about nandroid how can i do that before i flash the other roms ?
theres a menu option "backup/restore" open it and choose "nand backup". when done, there should be a folder in your SD named "nand" copy the contents to a pc or somewhere safe as this will serve as your backup file.
Okay, i did a nandroid and ready to flash roms . Wish me well =)
Anyway why do i receive E:Bad boot message when i reboot recovery.
everyone has it. it's perfectly fine. good luck
Anyway, as I was nandroid-ing i saw this video http://www.youtube.com/watch?v=s5GWgjJT2zo in the end, it shows the guy having no reception?
edit: He didnt have it on at the first place anyway. Sorry for the inconvenience.
i didnt view the link but im guessing hes using amon_ra v1.1, the method i gave you installs amon_ra v1.2 which fixes most bugs with ext4 and nand recovery/backup
By toggl-ing signature verification do you mean to enable or disable it?
disable. this is really not necessary as the zips youre about to apply are surely signed. but in case you have problems in the future, just remember that disabling sig veryfication may fix the problem.
Thanks man, how do i donate to you?
Btw i just screw my phone. Stuck at android screen page ;(. How do i restore the nandroid backup? Should i wipe my phone first, then do nandroid restore?
Will it restore me my version 2.2.2?
When i nandroid it , my phone was on ver 2.2.2
Ungaze?
Sent from my LG-P500 using XDA Premium App
Check your inbox
yeah.. so bought phone from swappa a couple years ago. It had a ROM on, was rooted, but I wanted to update / install cyanogenmod and so decided to factory restore (4.2.2) and then upgrade device to lollipop. Rooted again using http://forum.xda-developers.com/galaxy-s4-verizon/general/root-of1-t3249971 (worked like a champ), but was having trouble with Barnacle tether app. Used this procedure: http://bbs.elephone.hk/thread-5991-1-1.html~
----
1. Download SQLite Editor from Play store – Open it and grant the root access
Go with a file root explorer into data/data/com.android.providers.settings/databases. Make a copy of settings.db if you are not sure about what you are doing
Open SQLite Editor and grant the root access. Go into data/data/com.android.providers.settings/databases and open settings.db and Global option
Select the "add" button and create a new pair entry
id= 108
name=tether_dun_required
value=0
Save and exit
2. Open a file explorer with root access (root explorer, ES File Explorer…). Go in /system and edit build.prop
At the end of the file, add this line:
net.tethering.noprovisioning=true
Save and exit
3. Shutdown your phone and restart in recovery mode, then go in Wipe/advanced and select Dalvik and Cache. Wipe this 2 files. Then reboot the phone.
-----
(made copies of db and build.prop, named with '_orig' in same (respective) directories, but reboot failed after clearing cache. Now all I can do is get into download mode. Kies says not meant for this device. repeated attempt to reload factory image using odin fail. booting into recovery mode gives message "software update failed - your device didn't update successfully. Use the Verizon Software Repair Assistant on a computer to repair your device and complete the update"
I read some things about verizon recovery app, but the download I managed to find doesn't actually install anything (yes, strange I know), and Verizon steered me toward samsung / Kies 3.
Is there a way to crack into the CLI (using adb for example) while in download mode so I can try to revert back to orig. settings.db and build.prop?
(should have left well-enough alone, pdanet was working
clymer said:
yeah.. so bought phone from swappa a couple years ago. It had a ROM on, was rooted, but I wanted to update / install cyanogenmod and so decided to factory restore (4.2.2) and then upgrade device to lollipop. Rooted again using http://forum.xda-developers.com/galaxy-s4-verizon/general/root-of1-t3249971 (worked like a champ), but was having trouble with Barnacle tether app. Used this procedure: http://bbs.elephone.hk/thread-5991-1-1.html~
----
1. Download SQLite Editor from Play store – Open it and grant the root access
Go with a file root explorer into data/data/com.android.providers.settings/databases. Make a copy of settings.db if you are not sure about what you are doing
Open SQLite Editor and grant the root access. Go into data/data/com.android.providers.settings/databases and open settings.db and Global option
Select the "add" button and create a new pair entry
id= 108
name=tether_dun_required
value=0
Save and exit
2. Open a file explorer with root access (root explorer, ES File Explorer…). Go in /system and edit build.prop
At the end of the file, add this line:
net.tethering.noprovisioning=true
Save and exit
3. Shutdown your phone and restart in recovery mode, then go in Wipe/advanced and select Dalvik and Cache. Wipe this 2 files. Then reboot the phone.
-----
(made copies of db and build.prop, named with '_orig' in same (respective) directories, but reboot failed after clearing cache. Now all I can do is get into download mode. Kies says not meant for this device. repeated attempt to reload factory image using odin fail. booting into recovery mode gives message "software update failed - your device didn't update successfully. Use the Verizon Software Repair Assistant on a computer to repair your device and complete the update"
I read some things about verizon recovery app, but the download I managed to find doesn't actually install anything (yes, strange I know), and Verizon steered me toward samsung / Kies 3.
Is there a way to crack into the CLI (using adb for example) while in download mode so I can try to revert back to orig. settings.db and build.prop?
(should have left well-enough alone, pdanet was working
Click to expand...
Click to collapse
Greetings,
Thank you for using XDA Assist. To get you the specific help you need, I'm going to move this thread to your device's Q&A forum. The experts that own your device are located there and will be able to help.
Good luck!
OK to start off this thread is meant to continue the work done in the thread here huawei-ascend-xt2-h1711 their were some good people working on stuff their but most seem to have moved on.
I decided to pick up the Elate this week from Best Buy and thought it might be time to start a new thread on rooting and restoring the Cricket version of this phone.
Rooting the H1711z Huawei Elate
First step is to unlock your bootloader at Huawei here > https://emui.huawei.com/en/unlock_detail
Well it seems Huawei is no longer unlocking the bootloader so you need to pay DC Unlocker to unlock your bootloader
follow the instructions posted here >> https://forum.xda-developers.com/honor-7x/how-to/how-to-unlock-huawei-bootloader-removal-t3780903
Also please make a backup of your own boot.img as soon as you flash TWRP before flashing the patched _boot.img provided
~Huge thanks to @aslezak for these instructions~
Root instructions: (I used Magisk Manager v5.5.3 boot.img patching to create the boot.img)
here is the stock boot.img for the Elate H1711z
I am not responsible if you brick your device. I didn't brick mine, but if you don't type the correct commands you could be in trouble
Copy this patched_boot.zip to your sdcard. You can download it from the device directly if that's easier. Insert the sdcard into the phone if it wasn't there already (e.g. if you downloaded from a computer).
Reboot phone into fastboot. The easiest way is, if phone is on, unplug phone from USB, hold power button / select "Power Off". Hold VolDown+Power. Phone will boot into fastboot mode.
(skip this step if you've already flashed TWRP) Flash TWRP into your recovery partition. The link was provided in an earlier post by yuweng twrp-xt2-v3.img
plug usb cable in (from phone to computer). From your computer / cmd.exe window, cd \adb:
fastboot devices #make sure computer adb/fastboot sees your device
fastboot flash recovery twrp_xt2_v3.img
Boot into TWRP. From the above step, you should "fastboot reboot", immediately unplug phone from USB, then
With the phone unplugged from the computer, hold VolUp+Power. Release power after the device reboots. It might take a couple tries .. select reboot from eRecovery if that starts instead. Alternatively you can boot into recovery through adb via "adb reboot recovery".
Tap "Keep Read Only" when TWRP starts.
Tap "Install", then tap "Install Image" at the bottom. Browse (Up a Level) then "external_sd"
If you unzipped the patched_boot.zip you will see patched_boot.img here. Select it.
Select "boot" (uncheck "recovery") partition to flash.
Swipe to confirm Flash
Tap "Reboot" once it's completed.
You should be rooted!
Note: if Magisk Manager does not appear in your list of installed applications, download & install it from here latest Magisk Manager. Without this, you won't be prompted to allow root!
Click to expand...
Click to collapse
Note: Magisk Manager will update you to version 16 on first run, it's OK to update in fact feel free to flash it in recovery before you reboot if you want it.
A couple notes about twrp_xt2_v3.img
when you start TWRP choose keep system read only - Unless your planing to restore a backup then choose to make system writable
You cannot backup or restore /data (it's encrypted so don't even try)
Do not use Wipe / factory reset or format data unless you have a good working backup of your userdata partition that you dd to your external_sd yourself see below
From TWRP / adb shell
paste these commands
dd if=/dev/block/bootdevice/by-name/userdata | bzip2 -9f > /external_sd/userdata.img.bz2
to restore--> bzip2 -dc /external_sd/userdata.img.bz2 | dd of=/dev/block/bootdevice/by-name/userdata
dd if=/dev/block/bootdevice/by-name/system | bzip2 -9f > /external_sd/system.img.bz2
to restore--> bzip2 -dc /external_sd/system.img.bz2 | dd of=/dev/block/bootdevice/by-name/system
again thanks go to aslezak
When choosing a backup always prefer the image instead of the stock files (system image - custom image - vendor image are best )(Never choose both system and system image at the same time it's too big and a waste of time and space)
when you exit TWRP do not choose to install the twrp app
Also be sure and thank aslezak for his post here > https://forum.xda-developers.com/showpost.php?p=75115521&postcount=286
Notes on booting up the phone (from power off)
Bootloader (fastboot) = power + volume down + USB hooked to pc
eRecovery = power + volume up + USB hooked to PC
TWRP = power + volume up
Restoring your phone to Stock
We now have the B120 Stock dload update See here >> https://forum.xda-developers.com/showthread.php?p=76902495&highlight=dload#post76902495
I've created a Stock Rom to easily return your phone to Stock Factory Settings (b120)
Warning this will completely Wipe your phoneTo Install
1) Download and copy the H1711z_stock_ROM_v2.zip to your external_sd
2) Boot to TWRP recovery
3) Go to Settings check Use rm -fr instead of formatting / Wipe / Format Data / Type "yes" to confirm
4) Choose Home / Install /Select storage Micro sd / H1711z_stock_ROM_v2.zip / swipe to install
5) when it finishes choose the wipe cache button and then reboot and choose Do not Install
Your phone is now back to stock
Extra's By Request
Here's the XT2_Stock_Rom and XT2_Magisk_ Rom here > https://androidfilehost.com/?w=files&flid=266256
If you like to try my CleanRom for the Elate I uploaded it here >> Elate.CleanRom.v2.zip
flashing instructions are the same as the stock file above
here's whats added/removed
Apps deleted from /Data/hwinit/:
Google Editor Slides
Google Editor Sheets
Google Editor Docs
Apps deleted from Cust:
the entire h1711 folder
AT&T Remote Support
myAT&T
AT&T Visual Voicemail
AT&T Hot Spots
Google Talkback
OMACP
Apps deleted from System:
Amazon shopping
App select
Call Protect
CricketWiFiManager
Device Help
Deezer
Facebook
Facebook App Installer
Facebook app manager
Gmail
Google Duo
Google Chrome
Google Drive
Google Maps
Google Play Photos
Google Play Video
Google Play Music
Google Text to Speech Engine
Ignite
Lookout
myCricket
Protect Plus
Setup & Transfer
Added
FX Root File Manager (as a system App)
Magisk V16 (as a system App)
QuickBoot Reboot (as a system App)
I didn't include Xposed because it's useless without a decrypted Data partition
Note: To remove the Cricket bootanimation, use the FX File Manager with root permission and rename
..\system\version\special_cust\H1711z\cricket\us\media\bootanimation.zip" to bootanimation.zi_ and reboot
I got tired of seeing the error in twrp_v3 about not mounting patch_hw and fixed it ->> Here
you can unzip it and flash it to recovery with TWRP or fastboot
NOTE: added by scrungydoolittle I had a problem with the bz2 image. I prefer to not run it through bz2
dd if=/dev/block/bootdevice/by-name/userdata /external_sd/userdata.img
to restore--> dd if=/external_sd/userdata.img of=/dev/block/bootdevice/by-name/userdata
dd if=/dev/block/bootdevice/by-name/system /external_sd/system.im
to restore--> dd if= /external_sd/system.img of=/dev/block/bootdevice/by-name/system
Of course, the downside is you need a fairly large external sd card.
@scrungydoolittle Please edit you post and remove the Quote of the first post
also the file you posted is not for this phone please remove the link
as to you having problems with the bz2 image they work fine if you follow the instructions
I instructed the user to create their OWN backup of userdata before they format / wipe their data partition
this file most likely contains the users IMEI and should not be shared.
clsA said:
@scrungydoolittle Please edit you post and remove the Quote of the first post
also the file you posted is not for this phone please remove the link
as to you having problems with the bz2 image they work fine if you follow the instructions
I instructed the user to create their OWN backup of userdata before they format / wipe their data partition
this file most likely contains the users IMEI and should not be shared.
Click to expand...
Click to collapse
O.k. I removed the link. It was for the H1711 AT&T phone as it turns out.
And I don't think that image has the IMEI in it, because it is clearly the /system image, and I don't think that data is stored in that partition.
Otherwise all of the posted system images would have the same issue...
scrungydoolittle said:
O.k. I removed the link. It was for the H1711 AT&T phone as it turns out.
And I don't think that image has the IMEI in it, because it is clearly the /system image, and I don't think that data is stored in that partition.
Otherwise all of the posted system images would have the same issue...
Click to expand...
Click to collapse
Thanks ...yeah the userdata contains the IMEI not the system.img
Sent from my LG-H910 using Tapatalk
I would not share a userdata backup unless it was after a factory reset and before I entered any personal account information or data. Agree with you on that
I'd love to see a reliable reference that says userdata contains the IMEI or if you know specifically where it's stored, because l thought IMEI is stored in a totally different partition.
clsA said:
Thanks ...yeah the userdata contains the IMEI not the system.img
Sent from my LG-H910 using Tapatalk
Click to expand...
Click to collapse
divineBliss said:
I would not share a userdata backup unless it was after a factory reset and before I entered any personal account information or data. Agree with you on that
I'd love to see a reliable reference that says userdata contains the IMEI or if you know specifically where it's stored, because l thought IMEI is stored in a totally different partition.
Click to expand...
Click to collapse
IMEI is stored in data/data/com.android.phone
Thank you
Found the IMEI in
/data/data/com.android.phone/shared_prefs/
com.android.phone_preferences.xml on my H1611 after your post.
I'm guessing the IMEI is copied from another partition, but the fact that it's in /data is news to me.
I wonder if the IMEI is in the above file after a factory reset , but I'm not planning to find out anytime soon .
People, be careful sharing your userdata partition backups and other sensitive data containing partition backups out there - unless of course you don't give a crap about security - which you should preface up front so as to not mislead uninformed people of the risks involved in sharing those sensitive data partitions.
clsA said:
IMEI is stored in data/data/com.android.phone
Click to expand...
Click to collapse
It sure would be nice to get one of these stock flash zip's for the H1711 XT2. Would this zip work on it?
clsA said:
Restoring your phone to Stock
I've created a Stock Rom to easily return your phone to Stock Factory Settings (b120)
Warning this completely Wipe your phoneTo Install
1) Download and copy the H1711z_stock_ROM_v2.zip to your external_sd
2) Boot to TWRP recovery
3) Go to Settings check Use rm -fr instead of formatting / Wipe / Format Data / Type "yes" to confirm
4) Choose Home / Install /Select storage Micro sd / H1711z_stock_ROM_v2.zip / swipe to install
5) when it finishes choose the wipe cache button and then reboot and choose Do not Install
Your phone is now back to stock
Click to expand...
Click to collapse
freedomwarrior said:
It sure would be nice to get one of these stock flash zip's for the H1711 XT2. Would this zip work on it?
Click to expand...
Click to collapse
Nice.
What partitions does this install?
And can you make this for the H1711 At&T phone?
freedomwarrior said:
It sure would be nice to get one of these stock flash zip's for the H1711 XT2. Would this zip work on it?
Click to expand...
Click to collapse
No don't use this on the XT2
I / you need system/boot/recovery/ and cust.img files from a XT2 to build it.
Sent from my LG-H910 using Tapatalk
clsA said:
No don't use this on the XT2
I / you need system/boot/recovery/ and cust.img files from a XT2 to build it.
Sent from my LG-H910 using Tapatalk
Click to expand...
Click to collapse
If I send you (or point you to )
system
boot
recover
and cust images could you create one?
The image for system is available, a patched bootloader that installs magisk, an unpatched boot loader, the recovery and e recovery are the same.
I'd like to see 2 flashable zips.
1. that does stock
2. that installs twrp and magisk.
I have all those, but I'm not sure how to make the zip. Is it simply a matter of opening it in a zip prgram and replacing the mentioned image files
with appropriate ones?
scrungydoolittle said:
If I send you (or point you to )
system
boot
recover
and cust images could you create one?
The image for system is available, a patched bootloader that installs magisk, an unpatched boot loader, the recovery and e recovery are the same.
I'd like to see 2 flashable zips.
1. that does stock
2. that installs twrp and magisk.
I have all those, but I'm not sure how to make the zip. Is it simply a matter of opening it in a zip prgram and replacing the mentioned image files
with appropriate ones?
Click to expand...
Click to collapse
I have the Stock system.img and erecovery.img
put the others in a google drive and I'll build them
clsA said:
I have the Stock system.img and erecovery.img
put the others in a google drive and I'll build them
Click to expand...
Click to collapse
Here is the cust.img I just pulled from my XT2 using the dd command.
https://drive.google.com/open?id=1euUHZiJrzfyUVNqgOT76rTk45clPwv9F
Here is a copy of the stock boot I have had sitting on my hard drive.
https://drive.google.com/open?id=1-dAJuwgYdM9F3fBn4dU3x9s74SucocBP
And here is a copy of patched boot (with magisk) if you need it.
https://drive.google.com/open?id=1Tfb7zkcX6auoYEVnMLKDN6tibfzHSPEW
And thank you in advance for doing this! :good:
freedomwarrior said:
Here is the cust.img I just pulled from my XT2 using the dd command.
https://drive.google.com/open?id=1euUHZiJrzfyUVNqgOT76rTk45clPwv9F
Here is a copy of the stock boot I have had sitting on my hard drive.
https://drive.google.com/open?id=1-dAJuwgYdM9F3fBn4dU3x9s74SucocBP
And here is a copy of patched boot (with magisk) if you need it.
https://drive.google.com/open?id=1Tfb7zkcX6auoYEVnMLKDN6tibfzHSPEW
And thank you in advance for doing this! :good:
Click to expand...
Click to collapse
Files are uploading now > https://www.androidfilehost.com/?w=files&flid=257749
Instructions are the same
Backup anything on internal storage it will be wiped
To Install
1) Download and copy the Rom to your external_sd
2) Boot to TWRP recovery
3) Go to Settings check Use rm -fr instead of formatting / Wipe / Format Data / Type "yes" to confirm
4) Choose Home / Install /Select storage Micro sd / your_rom.zip / swipe to install
5) when it finishes choose the wipe cache button and then reboot and choose Do not Install
Your phone is now back to stock
Click to expand...
Click to collapse
after flashing the Magisk rom install the magisk manager and update to v16 (or whatever the newest is)
Awesome! Thank you so much for these. They will definitely come in handy! Much Appreciated!! :good::
clsA said:
OK to start off this thread is meant to continue the work done in the thread here huawei-ascend-xt2-h1711 their were some good people working on stuff their but most seem to have moved on.
Does this wipe out the recovery, and relock the bootloader, or will the bootloader remain unlocked, and twrp remain in place?
Thanks for the XT2 versions.
I decided to pick up the Elate this week from Best Buy and thought it might be time to start a new thread on rooting and restoring the Cricket version of this phone.
Rooting the H1711z Huawei Elate
First step is to unlock your bootloader at Huawei here > https://hwid5.vmall.com/CAS/portal/...ndex&loginChannel=22000000&reqClientType=2023
Also please make a backup of your own boot.img as soon as you flash TWRP before flashing the patched _boot.img provided
~Huge thanks to @aslezak for these instructions~
Note: Magisk Manager will update you to version 16 on first run, it's OK to update in fact feel free to flash it in recovery before you reboot if you want it.
A couple notes about twrp_xt2_v3.img
when you start TWRP choose keep system read only - Unless your planing to restore a backup then choose to make system writable
You cannot backup or restore /data (it's encrypted so don't even try)
Do not use Wipe / factory reset or format data unless you have a good working backup of your userdata partition that you dd to your external_sd yourself see below
From TWRP / adb shell
paste these commands
dd if=/dev/block/bootdevice/by-name/userdata | bzip2 -9f > /external_sd/userdata.img.bz2
to restore--> bzip2 -dc /external_sd/userdata.img.bz2 | dd of=/dev/block/bootdevice/by-name/userdata
dd if=/dev/block/bootdevice/by-name/system | bzip2 -9f > /external_sd/system.img.bz2
to restore--> bzip2 -dc /external_sd/system.img.bz2 | dd of=/dev/block/bootdevice/by-name/system
again thanks go to aslezak
When choosing a backup always prefer the image instead of the stock files (system image - custom image - vendor image are best )(Never choose both system and system image at the same time it's too big and a waste of time and space)
when you exit TWRP do not choose to install the twrp app
Also be sure and thank aslezak for his post here > https://forum.xda-developers.com/showpost.php?p=75115521&postcount=286
Notes on booting up the phone (from power off)
Bootloader (fastboot) = power + volume down + USB hooked to pc
eRecovery = power + volume up + USB hooked to PC
TWRP = power + volume up
Restoring your phone to Stock
I've created a Stock Rom to easily return your phone to Stock Factory Settings (b120)
Warning this will completely Wipe your phoneTo Install
1) Download and copy the H1711z_stock_ROM_v2.zip to your external_sd
2) Boot to TWRP recovery
3) Go to Settings check Use rm -fr instead of formatting / Wipe / Format Data / Type "yes" to confirm
4) Choose Home / Install /Select storage Micro sd / H1711z_stock_ROM_v2.zip / swipe to install
5) when it finishes choose the wipe cache button and then reboot and choose Do not Install
Your phone is now back to stock
By request I have also added the XT2_Stock_Rom and XT2_Magisk_ Rom here > https://www.androidfilehost.com/?w=files&flid=257749
Click to expand...
Click to collapse
Does this wipe out the recovery, and relock the bootloader, or will the bootloader remain unlocked, and twrp remain in place?
Thanks for the XT2 versions.
scrungydoolittle said:
Does this wipe out the recovery, and relock the bootloader, or will the bootloader remain unlocked, and twrp remain in place?
Thanks for the XT2 versions.
Click to expand...
Click to collapse
Really ?? You quoted the first post again
Flashing a Rom will never relock your bootloader
All 3 roms wipe TWRP
Sent from my LG-H910 using Tapatalk
@scrungydoolittle,
I was going to say the same.. .. The reason for clsAs comment is.. .
It's considered bad practice to post the OP or any other long posts unnecessarily. It makes it extremely difficult and annoying for others to wade past the huge quoted post to see what you said.
You can just quote the relevant part of a post (as I did below), refer to post 1 as the OP, or put a link to the post you are referring to.
Hopefully this explanation will get you to edit your last post and reconsider quoting long posts in the future.
Thanks
PS: Consider the fact that some of us read forums via email, XDA forum app, and browsers on mobile devices which have limited screen real estate and require more scrolling than a large desktop monitor.
clsA said:
Really ?? You quoted the first post again
...
Click to expand...
Click to collapse
I'm hoping for some help in rooting my Elate. I was able to get the unlock code from Huawei. I downloaded the ADB and Fastboot drivers from the Android Tutorials page.
ADB recognizes my device when in normal mode. But when I reboot into Bootloader mode, the device is not recognized. It does not show up in Windows device manager and the command "adb devices" is null. I can't get past this point which is clearly a driver problem.
I also have installed and uninstalled Hi-suite a number of times.
Does anyone have any advice? Thanks.
Debloated Rom For The Fire TV Stick 4K 6.2.7.1 93/6.2.7.7 Revised
NOTE: Firmware versions after 6.2.7.7 will not work with this debloated rom. It's been a few months since I've updated this guide so be cautious with installing this. The latest fw implements an efuse to prevent downgrading.
IMPORTANT!!!
NEVER FLASH A STOCK ROM >= 6.2.8.0 AFTER FLASHING 6.2.8.1_r2 OR LATER! THIS WILL BLOW AN EFUSE.
Steps: Boot into TWRP from either the OTG cable or through an ADB command by enabling ADB debugging in My Fire TV, Developer Options. After booting into TWRP, make sure to wipe system, dalvik, and cache before flashing but before doing any of that take a backup of the system image, vendor image, boot and finally your data. After restoring remember Amazon will automatically have a verification to sign you in again because of security reasons.
XDA:DevDB Information
Debloated Rom For Fire TV Stick 4K (6.2.7.1 93/6.2.7.7)
Contributors
Skel40
ROM OS Version: 6.2.7.7 Debloated Rom. Based off the Stock Image of 6.2.7.1/93. 6.2.7.7 Pre-rooted Image.
ROM Firmware Required: 6.2.7.7 and less, efuse is now blown in version 6.2.8.0
Version Information
6.2.7.7 Revised
Debloated Latest Rom with 146 applications left out of the 171 installed with this new version found in /system/priv-app. The folder lists the removed files along with built in build.prop tweaks. (New) I moved the rom to MEGA for easier access. A little bit more packages have been added back for stability reasons. The package, com.amazon.tv.turnstile is the problem when pairing remotes so the issue is fixed!
6.2.7.1 93
Debloated Rom with 126 applications in priv-app, same information as above. With Build.prop Tweaks and no boot animation on reboot. Read the Changelog in the 6.2.7.1 93 Rom below for more information in the Removed Files Folder.
Issues: Prime Video is still having problems downloading and installing an additional app after installing it from the Amazon Appstore. The incremental updates won't work on 6.2.7.1 93 because of attempting to update to 6.2.7.7
Current Stable Version: Revised Version 1.1 6.2.7.7
Stable Release Date: 2021-01-04 (6.2.7.7 revised)
Created 2020-04-18
Last Updated 2021-01-04
Debloated Rom 6.2.7.1 93 with Removed Files: https://drive.google.com/drive/folders/1bmZwmkyJw4e7Y9cjtiAfdr0KuQnA-CHK?usp=sharing
Debloated Rom 6.2.7.7 MEGA Revised 1.1
642.99 MB folder on MEGA
36 files and 45 subfolders
mega.nz
Changelog of 6.2.7.1 93
With this downgraded release of 6.2.7.1 93, expect a few problems with several packages that I've removed for a reason:
Changelog of the 6.2.7.1 93 Debloated Version (FTVLaunchX/Accessibility features are working)
The apps that aren't working is solely because of the missing "System Components" update
* Amazon FreeTime won't work
* IMDB won't work (Use the Free section on the Fire TV Home UI for Free Movies/TV)
* News won't work
* Updating won't go through unless you choose to upgrade to the latest OS (Meaning it'll keep downloading 6.2.7.7 but will fail because of otacerts.zip being removed)
* Build.prop Tweaks are added to this rom, use a computer to transfer the prop file if you choose not to have the tweaks yourself.(My post can be found here: https://forum.xda-developers.com/fire-tv/general/fire-tv-stick-4k-tweaks-root-keyboard-t4064269)
* Make a TWRP backup before flashing this rom of the following partitions: System Image, Boot, Data, and Vendor Image in case you want to go back however you want
* Most of things if not many of the packages and files are gone for maximum storage as possible (Removed Files can be found on the OP of this page)
* Please note that the mbcache.db file is a storage decreaser, use these commands for chmod 0 and make the file frozen with 0 MB
adb connect 192.168.x.x (change it to your IP)
adb shell
su
cd /data/data/com.amazon.tv.launcher/databases
rm mbcache.db*
touch mbcache.db
touch mbcache.db-shm
touch mbcache.db-wal
chmod 0 mbcache.db*
ls-all
To re-enable
adb connect 192.168.1.101 (change it to your IP)
adb shell
su
cd /data/data/com.amazon.tv.launcher/databases
rm mbcache.db*
touch mbcache.db
touch mbcache.db-shm
touch mbcache.db-wal
chmod 660 *.db
chmod 600 *.db-*
* All three files are zeros. Reboot and you'll now see more increased storage.
* Amazon Home will throw an error so enable Do Not Disturb in Settings
* Magisk is pre-installed, and the System is in RW mode.
* The Setup Wizard SHOULD go through no matter what. No need to worry about being stuck
Changelog of 6.2.7.7 Revised
* Magisk is pre-installed, and the System is also in RW mode.
*Priv-app, app, and media have been modified for debloating with a list of every file I've removed and being able to download the removed files as an apk without unzipping.
*Added Build tweaks except for the no boot animation
*Added packages back for stability
This guide is outdated but can still be flashed with this neat trick I learned from AFTVnews' guide about VoiceView found here:
How to Skip Software Updates during Initial Setup or Factory Reset on a Fire TV, Firestick, or Fire TV Cube
Since the latest software update for Fire TV devices is blocking the ability to use custom launchers, you may want to avoid updating a new or factory reset Fire TV.
www.aftvnews.com
I've pulled the 1.2 version to see what's wrong with the rom. Wip will be soon when I have time available
So far everything seems good .
Can you write the command to make a Backup
An how to restore over adb shell?
0815hoffi said:
Can you write the command to make a Backup
An how to restore over adb shell?
Click to expand...
Click to collapse
I just used a usb mouse hooked to a little hub I got off Amazon for about 6 or 7 dollars to use TWRP
Ok.
Thanks
0815hoffi said:
Ok.
Thanks
Click to expand...
Click to collapse
I used this one : https://www.amazon.com/gp/product/B07SZTHPPR/ref=ppx_yo_dt_b_asin_title_o07_s00?ie=UTF8&psc=1
I have been using your rom and it seems real snappy and smooth. So far no problems.
brick00444 said:
Tried it and am stuck on black fire tv screen. I will unbrick and try again in a bit.
Got it going, I wasn't on the 6.2.7.1 the first time and it didn't work. Updated using the 6.2.7.1 rom you posted in another thread then used your backup. So far everything seems good .
Click to expand...
Click to collapse
Maybe Skel40 should add a boot.img (suitable to his rom backup), in order to avoid such problems.
Sus_i said:
Maybe Skel40 should add a boot.img (suitable to his rom backup), in order to avoid such problems.
Click to expand...
Click to collapse
Updated the OP with the boot.img on Google Drive! Thank you!
brick00444 said:
Tried it and am stuck on black fire tv screen. I will unbrick and try again in a bit.
Got it going, I wasn't on the 6.2.7.1 the first time and it didn't work. Updated using the 6.2.7.1 rom you posted in another thread then used your backup. So far everything seems good .
Click to expand...
Click to collapse
Ok flashing the rom I posted on the other forum with this backup erases the modifications done for debloating due to the zip acting like its an update therefore re-adds the deleted apps I deleted myself!!!!! Try downloading the boot.emmc.win and boot.emmc.win.sha2 with the debloated rom you downloaded, and restore the boot.img along with the system image, vendor image. (Put the boot.emmc.win and boot.emmc.win.sha2 inside the ftvs4kdebloatedv1.0 folder IF downloaded already) Before doing this, wipe /system, data, and cache THEN restore the system image, vendor image, and boot! Get back to me as soon as possible!!!!
Skel40 said:
Ok flashing the rom I posted on the other forum with this backup erases the modifications done for debloating due to the zip acting like its an update therefore re-adds the deleted apps I deleted myself!!!!! Try downloading the boot.emmc.win and boot.emmc.win.sha2 with the debloated rom you downloaded, and restore the boot.img along with the system image, vendor image. (Put the boot.emmc.win and boot.emmc.win.sha2 inside the ftvs4kdebloatedv1.0 folder IF downloaded already) Before doing this, wipe /system, data, and cache THEN restore the system image, vendor image, and boot! Get back to me as soon as possible!!!!
Click to expand...
Click to collapse
The first time I tried it, I was on an older rom version. When I used your backup it was stuck at the black fire tv screen. I was able to get into TWRP and flash your 6.2.7.1 rom you posted then used your backup and it worked great. I should have made that clear. Sorry for that. That being said, with the new files you listed can a person use your backup on another rom version " say 6.2.6.8 " or should it be on 6.2.7.1.? I have another 4k stick I might have time tomorrow to test the new method on.
brick00444 said:
Twith the new files you listed can a person use your backup on another rom version " say 6.2.6.8 " or should it be on 6.2.7.1.? I have another 4k stick I might have time tomorrow to test the new method on.
Click to expand...
Click to collapse
A backup with boot.img should work, without it won't.
Can it be restored without otg .
Twrp Commandline?
Sus_i said:
A backup with boot.img should work, without it won't.
Click to expand...
Click to collapse
Thank you
Have tried this rom to pass updating configuration screen on my Fire TV 4k without success. Restored this rom from TWRP without a problem but stucked again at configuration updating screen.
WarrenDen said:
Have tried this rom to pass updating configuration screen on my Fire TV 4k without success. Restored this rom from TWRP without a problem but stucked again at configuration updating screen.
Click to expand...
Click to collapse
Any solution to skip updating screen?
Yes you must decompile com.amazon.tv.oobe.apk
with APK Easy Tool.
!!!!! For Sure save a backup of this file !!!!
and customize NativePageProvider.smali file
Replace the Update command like
Lines
??????? 》with NOP
example attached , decompile it and compare the file to understand how it works
than compile with APK Easy Tool and replace the file over twrp.
------‐-----------'
Easy way delete com.amazon.tv.oobe.apk over twrp.
Pair remote with use of TV-CEC Remote.
An then do the Configuration.
But then it is not possible to enable adb over the settings.
Can be done in twrp maybe.
in TWRP type:
echo -n 'mtp,adb' > /data/property/persist.sys.usb.config
echo '' >> /system/build.prop
echo '# Enable ADB' >> /system/build.prop
echo 'persist.service.adb.enable=1' >> /system/build.prop
echo 'persist.service.debuggable=1' >> /system/build.prop
echo 'persist.sys.usb.config=mtp,adb' >> /system/build.prop
Reboot
Do it at your own Risk!!!!!
If it works, run.
adb shell settings put global setup_wizard_has_run 1
adb shell settings put secure user_setup_complete 1
adb shell settings put global device_provisioned 1
To set oobe succesfully run.
----‐---------
Own Risk you can try replace com.amazon.tv.oobe.apk with the attached file, run the Setup Wizard and After that copy back the backuped com.amazon.tv.oobe.apk to /system/priv-app/com.amazon.tv.oobe/com.amazon.tv.oobe.apk
0815hoffi said:
Yes you must decompile com.amazon.tv.oobe.apk
with APK Easy Tool.
!!!!! For Sure save a backup of this file !!!!
and customize NativePageProvider.smali file
Replace the Update command like
Lines
??????? 》with NOP
example attached , decompile it and compare the file to understand how it works
than compile with APK Easy Tool and replace the file over twrp.
------‐-----------'
Easy way delete com.amazon.tv.oobe.apk over twrp.
Pair remote with use of TV-CEC Remote.
An then do the Configuration.
But then it is not possible to enable adb over the settings.
Can be done in twrp maybe.
in TWRP type:
echo -n 'mtp,adb' > /data/property/persist.sys.usb.config
echo '' >> /system/build.prop
echo '# Enable ADB' >> /system/build.prop
echo 'persist.service.adb.enable=1' >> /system/build.prop
echo 'persist.service.debuggable=1' >> /system/build.prop
echo 'persist.sys.usb.config=mtp,adb' >> /system/build.prop
Reboot
Do it at your own Risk!!!!!
If it works, run.
adb shell settings put global setup_wizard_has_run 1
adb shell settings put secure user_setup_complete 1
adb shell settings put global device_provisioned 1
To set oobe succesfully run.
----‐---------
Own Risk you can try replace com.amazon.tv.oobe.apk with the attached file, run the Setup Wizard and After that copy back the backuped com.amazon.tv.oobe.apk to /system/priv-app/com.amazon.tv.oobe/com.amazon.tv.oobe.apk
Click to expand...
Click to collapse
Should work even for 4k Fire TV? Or only for 2 gen?
@dadme
I have played around this with 4k , and it works.
But with the Restrictions i Described.
This i have testet 4k.
Flashable 4k Twrp zip attached.
It delete oobe and amazon launcher and install leanbacklauncher.
try it at your own risk
Error in zip fixed, please redownload
0815hoffi said:
@dadme
I have played around this with 4k , and it works.
But with the Restrictions i Described.
This i have testet 4k.
Flashable 4k Twrp zip attached.
It delete oobe and amazon launcher and install leanbacklauncher.
try it at your own risk
Click to expand...
Click to collapse
Thanks for the info! I make a try on the weekend. Restrictions.. I don;t have Amazon Prime... Just for Kodi and HBO Go. And mirroring phone display..
That would be another question. In case of an software update, the process of decompile and patching will probably have to be restarted?
How to flash phh's system arm64-A/B GSI on the Redmi 9's (lancelot) dynamic system partition
All the development credits for this GSI go to @phhusson. For more information head over to his thread.
Bugs:
• Auto brightness (works with an overlay)
• Brightness slider
• Headphone jack
• Offline charging?
• VoLTE?
For bug fixes refer to Post #2 or search for reported bugs on Phh's treble experimentations issues tracker on GitHub.
What is working:
Everything else
WARNING:
Only proceed if you know what you are doing! Be aware of the risks associated to unlocking your bootloader. Ensure to have the MIUI Fastboot ROM downloaded to restore your device in case it soft bricks. All your data will be deleted during the process so a backup is essential. Charge your device to at least 50% before proceeding.
Requirements:
1) Unlocked bootloader here
2) Latest Android platform tools here
3) MIUI stock recovery (maintain it to be able to boot into userspace fastboot)
4) Xiaomi fastbootd drivers here
5) Phh-Treble GSI (Use a system-arm64-ab-gapps) here
6) vbmeta.img here
Steps:
Run the commands below within the platform-tools folder after enabling debugging in Developer settings on your phone.
1) adb devices (to authorize debugging)
2) adb reboot bootloader (to boot into fastboot mode)
3) fastboot reboot fastboot (to boot into userspace fastboot)
4) fastboot flash system system.img
5) fastboot -w
6) fastboot flash vbmeta vbmeta.img (use attached null vbmeta to disable avb)
7) fastboot reboot
Notes:
• First time boot takes 1 minute. phh's GSI has root by default however the logical system partition is read only. Any system mods should be done as Magisk modules systemlessly. A patched boot.img may cause bootlooping on Android 11 GSIs however Magisk now works fine even on R GSIs on MTK devices, thanks to @topjohnwu!
• System can be RW such as to push overlays. Thanks to the great phhusson!
• A better way to disable Android Verified Boot is by running below command using a stock vbmeta image file:
Code:
fastboot --disable-verification flash vbmeta vbmeta.img
Fixes:
I'll post fixes to bugs as suggested by users in this thread here.
• Brightness slider and headphone jack [Credit to @M47Z and @Shas45558] — Run code below in root ADB shell or any Terminal app on your phone:
Code:
su
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)
setprop persist.sys.overlay.devinputjack true
reboot
• Note that CAOS by @eremitein has the above fixes integrated and is based on phhusson's AOSP.
How is the performance .any lag ?
Once you boot there are no lags. FYI my device is only 3 GB RAM. I just observed that booting is a little faster with the lighter Phh-Treble system installed as compared to Havoc. Maybe that's something for you to consider.
nielsync said:
Once you boot there are no lags. FYI my device is only 3 GB RAM. I just observed that booting is a little faster with the lighter Phh-Treble system installed as compared to Havoc. Maybe that's something for you to consider.
Click to expand...
Click to collapse
Is your headphones work??is brightness work?
Headphones not working but good enough BT audio works with speakers. Haven't tested in call audio on BT earphones though. Also not sure about USB-C audio output. Someone who has tested can share with us. Brightness is also broken.
I need testers
I built the overlay but I need testers to see if the overlay is working
Overlay link : github.com/mehdiFa-web/overlay
Mido2222 said:
I built the overlay but I need testers to see if the overlay is working
Overlay link : github.com/mehdiFa-web/overlay
Click to expand...
Click to collapse
Edit: Not working. Refer to post #18 for info.
Mido2222 said:
I built the overlay but I need testers to see if the overlay is working
Overlay link : github.com/mehdiFa-web/overlay
Click to expand...
Click to collapse
how did you pushed it into /vendor/overlay/ ?
I get the permission denied error everytime with adb and with any root file explorer on the phone too.
kW_ said:
how did you pushed it into /vendor/overlay/ ?
I get the permission denied error everytime with adb and with any root file explorer on the phone too.
Click to expand...
Click to collapse
I didn't test it I just build it . You should have root just copy it into your phone's /system/overlay/, and set permission to rw-r--r-- / 0644. If you can't then maybe we can't edit system partition . You can use root explorer.
Well. I can't change permissions and copy it. I have seen that other roms doesn't have read only on the system partition so i will try it later. Lineageos is one of these roms maybe.
Gsi will not boot with magisk_patch boot.img.....
So no root access......
How you push file into system or vendor??
Shas45558 said:
Gsi will not boot with magisk_patch boot.img.....
So no root access......
How you push file into system or vendor??
Click to expand...
Click to collapse
Phh-Treble has root so you are good to go. On the other hand without flashing a custom recovery I got root on Havoc-OS through flashing the patched boot image and even installed a module in Magisk manager without any issues. Its just that the way the system partition is mounted on these new phones released with Q makes it almost impossible to modify it. Let a genius surprise us.
nielsync said:
Phh-Treble has root so you are good to go. On the other hand without flashing a custom recovery I got root on Havoc-OS through flashing the patched boot image and even installed a module in Magisk manager without any issues. Its just that the way the system partition is mounted on these new phones released with Q makes it almost impossible to modify it. Let a genius surprise us.
Click to expand...
Click to collapse
In my case when I flash patch boot my gsi wili not boot....
What gsi are you use?? Give the link plz
@nielsync
So im a genius nd going to surprise you if anyone wants to modify system partition then custom recovery is must required e.g in Twrp mount /system , /vendor then go to file manager in twrp i forgot the name of tab in which you ll find the filemanager you can find it yourself lmao ,then select the file by finding in ur storage nd then copy and paste it in desired location and then after pasting go to path where you pasted it,Select it and give it 0644 permissions and restart ..Boom.( I think root is necessary because without root the changes revert )
Abdul [email protected] said:
@nielsync
So im a genius nd going to surprise you if anyone wants to modify system partition then custom recovery is must required e.g in Twrp mount /system , /vendor then go to file manager in twrp i forgot the name of tab in which you ll find the filemanager you can find it yourself lmao ,then select the file by finding in ur storage nd then copy and paste it in desired location and then after pasting go to path where you pasted it,Select it and give it 0644 permissions and restart ..Boom.( I think root is necessary because without root the changes revert )
Click to expand...
Click to collapse
File manager is in Advanced tab of TWRP. In theory and in devices released with the now old partition structure it was that simple. You have a right to claim anything Mr. Genius You seem to be ahead of even @Dees_Troy and his team over at TWRP despite this wonderful explanation!
Shas45558 said:
In my case when I flash patch boot my gsi wili not boot....
What gsi are you use?? Give the link plz
Click to expand...
Click to collapse
I've used both Phh-Treble and Havoc-OS and can confirm that Magisk works on both without any issues. My boot image was already patched on MIUI so I only installed the manager application each time after flashing the GSI. See screenshots of Magisk Manager on Phh-Treble below.
Mido2222 said:
I built the overlay but I need testers to see if the overlay is working
Overlay link : github.com/mehdiFa-web/overlay
Click to expand...
Click to collapse
no it does not work
i mount the gsi system file on linux via loop disk...
then i place your apk /system/overly/
but the brightness is not work...
you can mount raw img file on linux ......
first creat folder on root via this cmd..
sudo mkdir /mnt/system
mount system.img via this cmd
sudo mount system.img /mnt/system
now you can edit system.img via root permission via this cmd...
sudo nautilus
now a file manager pop up with root
go to /mnt/system
copy your file where you want...and unmount via this cmd...
sudo umount /mnt/system
Thanks @Shas45558 for confirming that, it's still difficult to mod the installed system on the phone itself. I tried and got a 'permission denied' error via terminal in a custom recovery.
nielsync said:
Thanks @Shas45558 for confirming that, it's still difficult to mod the installed system on the phone itself. I tried and got a 'permission denied' error via terminal in a custom recovery.
Click to expand...
Click to collapse
That's why I use pc with Linux and do the above things to puss the file inside system.img....