Hello,
I've got all the ROM from sp flash tools, when I repack the folder where I unpacked everything gets a smaller size than the system.img file, when I repack, I also get a smaller size even that I use make_ext4fs with the correct size.
So when I flash the system.img the phone goes straight to bootloader and doesn't boot.
How can I fix this?
Also, I want to add system apps to the system.img, how can I do that?
ProIEZRush said:
How can I fix this?
Also, I want to add system apps to the system.img, how can I do that?
Click to expand...
Click to collapse
Hello and good afternoon, @ProIEZRush
Welcome to XDA! I hope you'll alawys get the support your require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
Hi there! I am trying to learn the same thing as well! I feel down the rabbit hole a year ago trying to get "tools" to work, and was not successful, maybe someone can teach us.
I can however, share with you a theory of different way of doing what we are trying to do that might? work for you? Depends if you have working firmware or not.
If you are able to flash your firmware and then preinstall your apps, you can pull the partitions.
It seems not all the partitions are the same on each device, so you would have to poke around to figure out what all is what.
running command df - h in adb shell can give you some clues. If you are able to install magisk and watch it in twrp, it can give you another clue about your boot.img partition.
I have all the commands and stuff I worked out in this comment as well as what I have tried and worked out. Maybe this can work for us!
Just note your mmc blocks- what they actually are- is likely different than mine
Also maybe someone can elaborate more, I just learned how to do this yesterday and it worked for me to not bootloop with the modded boot.img, just trying to find the right partition for my system now.
Thanks for your answer, I'm gonna try that, but I can't get the new system.img to boot on the device, I'm using a basic device that doesn't have TWRP.
Also, when I flash the edited system.img the device doesn't boot, I think its because of the size, any clue to fix that?
I know there is a command with it, one of the tool kits that carries the individual exe or bins whatever os you are running had it in there but I cannot think what it was but it could capture the original file size and amend the new one, I remember manually doing it by hand and not with a all in one tool. Your line of thinking is right, maybe check out some of the old toolsets on here. That is likely where I found it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It was something like this, I tried running these in cmd and reading their help files but I didn't see what I was looking for, but some toolset like this on this site has the exe or bin (if linux) you need
I used make_ext4fs but I'm still getting smaller size
Related
i want to root aquos r2,i looked for months on web but couldn't find it,one thing more iam unable to enter bootoader mode when i enter "adb reboot bootloader" it just reboot normally i tried recovery also but it didn't work either.pls help
Have you find something.....
If yes then help me too bro. I just need to install magisk on my sharp 706sh model.
Install the USB-drivers related to Qualcomm chipset based Android devices:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
xxx06 said:
i want to root aquos r2,i looked for months on web but couldn't find it,one thing more iam unable to enter bootoader mode when i enter "adb reboot bootloader" it just reboot normally i tried recovery also but it didn't work either.pls help
Click to expand...
Click to collapse
I did Too Bro.....
I searched For A Very Very Long Time On Web For The Solutions.
But Couldn't Find One.
The Only Problem Is, That You Cannot boot into Fastboot Mode.
If you enter The Commands On ADB, It Will Just Normally Reboot To OS Again.
We Need Help Please .
I want To Boot Into Bootloader On My Sharp Aquos R2...
Someone Help Please..
I Thought Xda Developers Come Quickly For Help..
Simy Khan said:
I want To Boot Into Bootloader On My Sharp Aquos R2...
Someone Help Please..
I Thought Xda Developers Come Quickly For Help..
Click to expand...
Click to collapse
And you thought crying like a baby would help getting assistance faster? You've been a member for half an hour, this is a 2-year old thread.
┤Thread Closed├┤You've already asked this question here, be patient.├
5. Create a thread topic or post a message only once, this includes external links & streaming media.
As a large forum, we don't need unnecessary clutter. You're free to edit your message as you like, so if you do not receive an answer, revisit your message and see if you can describe your problem better. Not everyone is online at the same time so it might take a while before you receive an answer.
You can bump your unanswered question once every 24 hours
Duplicate threads and posts will be removed
Always post in an existing thread if a topic already exists, before creating a new thread.
Use our search function to find the best forum for your device.
Links to an external source are only allowed if relevant to the topic in hand. A description must be included, no copy & pasting from the original source.
Self-promotion is forbidden, this includes blogs, social media and video channels etc. Random links will be removed.
Read more...
Click to expand...
Click to collapse
Hey, noob developer here. I'm trying to make an app as a privileged module because I need to access a few files on the device that I can't access using a normal app (with no privileges and permissions). I have an android.mk (its located at {packagename}\app\src\main) with the command LOCAL_PRIVILEGED_MODULE := true in it. I'm not sure how to include that into my gradle.build file so that I take in that command and hopefully spits an apk which is a privileged module. I'm using Android Studio Chipmunk (2021.2.1).
I'm sorry if i missed any details, I have recently started developing android applications so I don't have a lot of knowledge and experience, please ask any clarification questions and I'll try my best to simplify my problem for you to understand.
EDIT: I did a bit more research and added this to my gradle.build file
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
the code builds successfully but i still havent been able to access files in the /data/ folder. Any help would be greatly appreciated. TIA!
pranshullol said:
Hey, noob developer here. I'm trying to make an app as a privileged module because I need to access a few files on the device that I can't access using a normal app (with no privileges and permissions). I have an android.mk (its located at {packagename}\app\src\main) with the command LOCAL_PRIVILEGED_MODULE := true in it. I'm not sure how to include that into my gradle.build file so that I take in that command and hopefully spits an apk which is a privileged module. I'm using Android Studio Chipmunk (2021.2.1).
I'm sorry if i missed any details, I have recently started developing android applications so I don't have a lot of knowledge and experience, please ask any clarification questions and I'll try my best to simplify my problem for you to understand.
Click to expand...
Click to collapse
Hello and good evening, @pranshullol
Welcome to XDA! I hope you'll always find and get the support you require.
However. prior to your next posting please read the guidances that are stuck on top of every forum like
[ATTN] : Read before posting - Any questions posted here will be MOVED or CLOSED
Please read the below before posting. Any questions not development related will be moved or closed. Forum Searching | Posting | The Basics: (Make sure you've read them before starting a new thread) Forum Rules Forum Search Google Forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
I am having a problem accessing files pushed to my Android 12 tablet via ADB under a root account (see picture 1).
(Picture 1)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
When doing a directory listing using a regular user in ADB I am unable to view the contents of the two files that were uploaded via ADB root user . Both '1.jpg' and '3.jpg' where uploaded using ADB root. The file '2.jpg' was uploaded using a the regular ADB user (i.e. ADB unrooted)
(Picture 2)
If I do a directory listing under the root shell user I can see all the files
(Picture 3)
Note: that on '1.jpg' I changed the user & group (via 'chown shell:ext_data_rw 2.jpg') so that it matches '2.jpg'. So you would think '1.jpg' would be visible to a regular user since it has the same permissions, user, & group as '2.jpg' which is visible to regular user (See picture 3). Prior to running 'chown shell:ext_data_rw 2.jpg' it had the same user and group as '3.jpg' (i.e. root).
(Picture 4)
I used ADB to demonstrate this problem, but what I am really trying to solve is the same problem that occurs when I upload files via our sFTP server which running under a rooted SSH daemon. I figure most people don't have rooted SSH servers running on their Android device. I figured this would be closer to what they know. Not sure to do to make these files accessible to a regular user. What I'm trying to do is update files that are used by our Kotlin application (running under a regular user).
I think this is file permissions issue, but one of the other developers mentioned it may be a encryption issue (Encrypted Files System or File Based Encryption). He seemed to imply that the files where not visible between separate users. Not sure that makes sense to me as root user can see the file (2.jpg) uploaded by a regular user.
Any help would be appreciated.
smedlytonker said:
Any help would be appreciated.
Click to expand...
Click to collapse
Hello and good morning, @smedlytonker
Prior to your next posting please read the guidances that are stuck on top of every forum like
[Read Before Posting]QUESTIONS DO NOT BELONG IN GENERAL
Hello Everybody, In order to attempt to keep this forum neat and tidy the moderation team is asking you to post your questions into the Questions and Answers (Q&A) forum and not into the General section. You can find the Q&A forum by clicking...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
So I tried to root my Xiaoxin pad 2022(TB128FU snapdragon 680 model) the usual way( adb + magisk) but after flashing the magisk patched img, my tablet kept bootlooping into fastboot. Im trying to fix this using QFIL but can't seem to find the stock firmware for my device online,. I tried using the Rescue software from lenovo itself but its own firmware for Lenovo Tab M10 Plus 3rd gen( the global version ) still wouldn't fix the bootloop. any help in finding this firmware is very much appreciated.
AZ007T said:
So I tried to root my Xiaoxin pad 2022(TB128FU snapdragon 680 model) the usual way( adb + magisk) but after flashing the magisk patched img, my tablet kept bootlooping into fastboot. Im trying to fix this using QFIL but can't seem to find the stock firmware for my device online,. I tried using the Rescue software from lenovo itself but its own firmware for Lenovo Tab M10 Plus 3rd gen( the global version ) still wouldn't fix the bootloop. any help in finding this firmware is very much appreciated.
Click to expand...
Click to collapse
Hello and good afternoon, @AZ007T
Welcome to XDA! I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
AZ007T said:
So I tried to root my Xiaoxin pad 2022(TB128FU snapdragon 680 model) the usual way( adb + magisk) but after flashing the magisk patched img, my tablet kept bootlooping into fastboot. Im trying to fix this using QFIL but can't seem to find the stock firmware for my device online,. I tried using the Rescue software from lenovo itself but its own firmware for Lenovo Tab M10 Plus 3rd gen( the global version ) still wouldn't fix the bootloop. any help in finding this firmware is very much appreciated.
Click to expand...
Click to collapse
Flash the unpatched boot.img
I have the same problem with joke19. with qfil install dump files for zui 476 ( i find in forum ) but my tb128fu stock into fast boot. I use qfil with original boot img the same problem . With qfil and pached boot the same problem. with qfil and fixed content the same problem patched and unpatched boot img i have the same problem . The start up image say bootloader mode , devise locked and it can't boot into recovery or any other boot options.
After qfil used the first startup sceen say device is corrupted and it can't bood or some like this.
The xiaoxin pad buy it comes with 20 row. It can't update ota. The seller he don't help me .
Sorry for my poor english.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
hello every one.
i hope i make myself understand, i'm french and not fluent in english.
i have a Mucar CDE900 a wired autonomous obd2 diagnostic tool running on android.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
it runs ok but lacks some common car brands/models, and it has many "dlc" purchase options to unlock its full potential
i have found on youtube someone showing this device rooted unlocked and able to run any software, but absolutely zero details on how he managed to do it.
video here :
i would like to try the same to test to run other obd software, like torque for example hoping it is more "complete" for my use here in france with local car brands
so far i get it runs on android (version?) , it has a usb3 port, wifi (i managed to get the mucar update OTA) and a sdcard reader and a file explorer, where i can see and launch an apk from the sdcard but the apk install auto close automatically and it send me back to the original device interface.
can someone coach me on what to do /what to try please ?
kaiz47 said:
can someone coach me on what to do /what to try please ?
Click to expand...
Click to collapse
Hello and good afternoon, @kaiz47 Welcome to XDA! I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
I dunno. I'd rather lose the device and use either a OBD-II/Bluetooth or OBD-II/USB adapter and a stock Android device.
Me? My vehicle is 28 years old and uses OBD-I (a/k/a ALDL)
I use my own µC to go from OBD-I to USB and I have a custom Android app.
In another decade I might own a vehicle with OBD-II.
thank you oswald. sorry for not posting in the good place, i thought "hacking" was appropriate.
renate : i understand what you say : less trouble getting it to work. but since there is a video showing it is possible with my device, i want to try, if i can get a little help here.
anyone : some hints ? should i treat it like a locked tablet ? what are the methods - steps to investigate ?
edit : some info found online :
Android system: 6.0
Running memory: 2G
Storage memory: 16G
Screen size: 4 inch IPS (480×800)
CPU: MT6580 CORTEX-A7 1.3GHz 4 cores
can this point me towards some unlocking/rooting methods ?
Me, I'd see if there is a UART running console inside there.
Is ADB enabled?
I'm all for hacking/rooting a device for all access, but if they have paid tiers I wouldn't hack that.
By the same token, I wouldn't buy a Kindle with ads then defeat the ads.
OTOH, I wouldn't buy a Kindle anyway.